/* === RESET ET BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Crimson Text', serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

/* === VARIABLES CSS === */
:root {
    --primary-color: #D4AF37; /* Or doré */
    --secondary-color: #8B0000; /* Rouge profond */
    --accent-color: #D4AF37; /* Or pour les accents */
    --dark-bg: #0a0a0a;
    --darker-bg: #000000;
    --light-text: #e0e0e0;
    --dark-text: #b0b0b0;
    --overlay-color: rgba(0, 0, 0, 0.8);
}

/* === EFFET DORÉ MÉTALLISÉ RÉUTILISABLE === */
.golden-text {
    background: linear-gradient(135deg, #fff2b2 0%, #d4af37 30%, #cfa807 60%, #fff8dc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 1px 1px 2px #00000088;
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--primary-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(135deg, #fff2b2 0%, #d4af37 30%, #cfa807 60%, #fff8dc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 1px 1px 2px #00000088;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    background: linear-gradient(135deg, #fff2b2 0%, #d4af37 30%, #cfa807 60%, #fff8dc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #fff2b2 0%, #d4af37 30%, #cfa807 60%, #fff8dc 100%);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Menu burger pour mobile */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: linear-gradient(135deg, #fff2b2 0%, #d4af37 30%, #cfa807 60%, #fff8dc 100%);
    margin: 3px 0;
    transition: 0.3s;
}

/* === SECTION HERO === */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* 
    MODIFICATION DE L'IMAGE DE FOND :
    Remplacez 'portfolio-bg.jpg' par le nom de votre image
    L'image doit être placée dans le même dossier que ce fichier CSS
    */
    background-image: url('portfolio-bg.jpg');
    background-size: 80%;
    background-position: center;
    background-attachment: fixed;
 
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-color);
    z-index: 1;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 2rem;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    background: linear-gradient(135deg, #fff2b2 0%, #d4af37 30%, #cfa807 60%, #fff8dc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 1px 1px 2px #00000088;
    letter-spacing: 2px;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--light-text);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-description {
    margin-bottom: 2rem;
}

.hero-description p {
    font-size: 1.1rem;
    color: var(--dark-text);
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === BOUTONS === */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    border: 1px solid #d4af37;
    background-color: transparent;
    background: linear-gradient(135deg, #fff2b2 0%, #d4af37 30%, #cfa807 60%, #fff8dc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    border-color: #d4af37;
}

.btn-primary:hover {
    background-color: #d4af37;
    color: #000;
    box-shadow: 0 0 10px #d4af37;
}

.btn-secondary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: #fff;
    box-shadow: 0 0 10px var(--secondary-color);
}

/* === EFFET PARTICULES === */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 1px;
    height: 1px;
    background: linear-gradient(135deg, #fff2b2 0%, #d4af37 30%, #cfa807 60%, #fff8dc 100%);
    animation: float 8s ease-in-out infinite;
    opacity: 0.3;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    top: 80%;
    left: 40%;
    animation-delay: 4s;
}

.particle:nth-child(4) {
    top: 30%;
    left: 70%;
    animation-delay: 1s;
}

.particle:nth-child(5) {
    top: 70%;
    left: 10%;
    animation-delay: 3s;
}

/* === SECTIONS === */
.section {
    padding: 5rem 0;
    background: var(--dark-bg);
    border-bottom: 1px solid #333;
}

.section:nth-child(even) {
    background: var(--darker-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #fff2b2 0%, #d4af37 30%, #cfa807 60%, #fff8dc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 1px 1px 2px #00000088;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    line-height: 1.2;
}

.section-description {
    text-align: center;
    font-size: 1.1rem;
    color: var(--dark-text);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* === PROJETS === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 2rem;
}

.projects-pro-section {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid #333;
}

.projects-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #fff2b2 0%, #d4af37 30%, #cfa807 60%, #fff8dc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 1px 1px 2px #00000088;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 0.5rem;
}

.projects-subdescription {
    text-align: center;
    color: var(--dark-text);
    max-width: 750px;
    margin: 0 auto 2rem auto;
}

.projects-grid-pro {
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.project-card-pro {
    padding: 3rem;
    border-color: rgba(212, 175, 55, 0.35);
    background: rgba(20, 20, 20, 0.9);
}

.project-card-pro:hover {
    border-color: var(--primary-color);
    box-shadow: 0 14px 40px rgba(212, 175, 55, 0.15);
}

.project-category.project-category-pro {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn.btn-disabled,
.btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(0.2);
}

.project-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.project-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.project-title {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 600;
    background: linear-gradient(135deg, #fff2b2 0%, #d4af37 30%, #cfa807 60%, #fff8dc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.project-category {
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.project-content {
    margin-bottom: 2rem;
}

.project-description {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-features h4,
.project-features-main h4,
.project-tech h4 {
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-features ul,
.project-features-main ul {
    list-style: none;
    padding: 0;
}

.project-features li,
.project-features-main li {
    color: var(--dark-text);
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.project-features li:before,
.project-features-main li:before {
    content: "▸";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.project-features-main {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-tech {
    margin-top: 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-btn {
    flex: 1;
    text-align: center;
    min-width: 120px;
    font-size: 0.9rem;
    padding: 10px 20px;
}

/* === MENU DÉROULANT PROJETS === */
.project-toggle {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.details-toggle {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Crimson Text', serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    justify-content: center;
}

.details-toggle:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.details-toggle.active {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.toggle-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.project-details {
    margin-top: 1rem;
    padding: 1.5rem;
    background: rgba(40, 40, 40, 0.3);
    border-radius: 10px;
    border: 1px solid #333;
}

.tech-details {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.tech-category {
    color: var(--light-text);
    padding: 0.5rem 0;
    border-bottom: 1px solid #333;
}

.tech-category:last-child {
    border-bottom: none;
}

.tech-category strong {
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

/* Galerie d'images (détails techniques par projet) */
.project-gallery {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
}

.project-gallery h4 {
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-images img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #333;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-images img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.gallery-images img {
    cursor: pointer;
}

/* Lightbox (agrandir image au clic) */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    cursor: pointer;
}
.lightbox.active {
    opacity: 1;
    visibility: visible;
}
.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    pointer-events: none;
}

@media (max-width: 600px) {
    .gallery-images {
        grid-template-columns: 1fr 1fr;
    }
}

/* Animations pour le menu déroulant */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* Placeholder pour futurs projets */
.project-card.project-placeholder {
    opacity: 0.6;
    border-style: dashed;
}

.project-card.project-placeholder:hover {
    transform: none;
    box-shadow: none;
}

/* === VEILLE TECHNOLOGIQUE === */
.veille-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 1.5rem;
    background: rgba(40, 40, 40, 0.3);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.veille-intro p {
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.veille-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.veille-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.veille-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.1);
}

.veille-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 1rem;
}

.veille-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(135deg, #fff2b2 0%, #d4af37 30%, #cfa807 60%, #fff8dc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.veille-type {
    background: var(--secondary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.veille-description {
    margin-bottom: 1.5rem;
}

.veille-description p {
    color: var(--light-text);
    line-height: 1.6;
}

.veille-analysis {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.analysis-section h4 {
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.analysis-section ul {
    list-style: none;
    padding: 0;
}

.analysis-section li {
    color: var(--dark-text);
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.analysis-section li:before {
    content: "▸";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* === STYLES POUR LES ALTERNATIVES === */
.veille-alternatives {
    margin-top: 1.5rem;
    border-top: 1px solid #333;
    padding-top: 1.5rem;
}

.alternatives-toggle {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    padding: 12px 16px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Crimson Text', serif;
    font-size: 1rem;
    font-weight: 600;
}

.alternatives-toggle:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-2px);
}

.alternatives-toggle .toggle-text {
    background: linear-gradient(135deg, #fff2b2 0%, #d4af37 30%, #cfa807 60%, #fff8dc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.alternatives-toggle .toggle-icon {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.alternatives-toggle.active .toggle-icon {
    transform: rotate(180deg);
}

.alternatives-list {
    margin-top: 1rem;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
}

.alternative-item {
    padding: 12px 16px;
    border-bottom: 1px solid #333;
    color: var(--light-text);
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.alternative-item:last-child {
    border-bottom: none;
}

.alternative-item:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    padding-left: 20px;
}

.veille-conclusion {
    background: rgba(40, 40, 40, 0.5);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid #333;
}

.veille-conclusion h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.veille-conclusion p {
    color: var(--light-text);
    margin-bottom: 1.5rem;
}

.trend-points {
    display: grid;
    gap: 1rem;
}

.trend-point {
    color: var(--light-text);
    padding: 1rem;
    background: rgba(20, 20, 20, 0.5);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.trend-point strong {
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
}

/* === STYLES POUR LA COMPLÉMENTARITÉ === */
.complementarity-table {
    background: rgba(20, 20, 20, 0.6);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid #333;
}

.complementarity-table h4 {
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.tool-role {
    background: rgba(40, 40, 40, 0.8);
    border: 1px solid #444;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.tool-role:hover {
    border-color: var(--primary-color);
    background: rgba(50, 50, 50, 0.9);
}

.tool-name {
    display: block;
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.tool-function {
    color: var(--light-text);
    font-size: 0.9rem;
    font-style: italic;
}

/* === STYLES POUR LES CAS D'USAGE BTS === */
.bts-usage {
    background: rgba(139, 0, 0, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid var(--secondary-color);
}

.bts-usage h4 {
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.usage-points {
    display: grid;
    gap: 1rem;
}

.usage-point {
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--primary-color);
    padding: 1rem;
    border-radius: 5px;
    color: var(--light-text);
    line-height: 1.5;
}

.usage-point strong {
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    font-weight: 600;
}

/* === SECTION CONCURRENTS === */
.veille-competitors {
    background: rgba(40, 40, 40, 0.3);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid #333;
    margin-bottom: 3rem;
}

.veille-competitors h3 {
    font-family: 'Cinzel', serif;
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.competitor-section {
    margin-bottom: 2rem;
}

.competitor-section:last-child {
    margin-bottom: 0;
}

.competitor-section h4 {
    color: var(--light-text);
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #444;
}

.competitors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.competitor-item {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid #444;
    border-radius: 8px;
    padding: 1rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.competitor-item:hover {
    border-color: var(--primary-color);
    background: rgba(30, 30, 30, 0.8);
}

.competitor-name {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Cinzel', serif;
}

.competitor-strength {
    color: var(--dark-text);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Responsive pour veille */
@media (max-width: 768px) {
    .veille-grid {
        grid-template-columns: 1fr;
    }
    
    .veille-analysis {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* === SECTION À PROPOS === */
.profile-content {
    display: grid;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-card,
.skills-card,
.experience-card,
.motivation-card {
    background: rgba(40, 40, 40, 0.5);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.profile-card:hover,
.skills-card:hover,
.experience-card:hover,
.motivation-card:hover {
    border-color: var(--primary-color);
    background: rgba(50, 50, 50, 0.6);
}

.profile-title,
.skills-title,
.experience-title,
.motivation-title {
    font-family: 'Cinzel', serif;
    background: linear-gradient(135deg, #fff2b2 0%, #d4af37 30%, #cfa807 60%, #fff8dc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Informations personnelles */
.info-grid {
    display: grid;
    gap: 1rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.info-icon {
    font-size: 1.2rem;
    min-width: 24px;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.info-content strong {
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    font-weight: 600;
}

.info-content span {
    color: var(--light-text);
}

/* Compétences techniques */
.skills-content {
    display: grid;
    gap: 1.5rem;
}

.skill-category {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #444;
}

.category-title {
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(212, 175, 55, 0.1) 100%);
    border: 1px solid var(--primary-color);
    color: var(--light-text);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

.skill-tag:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(212, 175, 55, 0.2) 100%);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Motivations */
.motivation-content p {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.motivation-points {
    display: grid;
    gap: 1rem;
}

.motivation-point {
    background: rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--primary-color);
    padding: 1rem;
    border-radius: 5px;
    color: var(--light-text);
    line-height: 1.5;
}

.motivation-point strong {
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    font-weight: 600;
}

/* === SECTION EXPÉRIENCES === */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-color), rgba(212, 175, 55, 0.3));
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 2px solid var(--dark-bg);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.timeline-date {
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.timeline-title {
    color: var(--light-text);
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.timeline-description {
    color: var(--light-text);
    line-height: 1.6;
    margin-bottom: 1rem;
    text-align: justify;
}

.timeline-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.timeline-skill {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.timeline-skill:hover {
    background: rgba(212, 175, 55, 0.2);
    transform: translateY(-1px);
}

/* Missions dans la timeline */
.timeline-missions {
    margin: 1.5rem 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1.2rem;
    border-left: 3px solid var(--primary-color);
}

.missions-title {
    color: var(--primary-color);
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.missions-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.missions-list li {
    color: var(--light-text);
    line-height: 1.5;
    margin-bottom: 0.6rem;
    padding-left: 1.2rem;
    position: relative;
}

.missions-list li::before {
    content: "▸";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.missions-list li:last-child {
    margin-bottom: 0;
}

/* Responsive pour la section À propos */
@media (max-width: 768px) {
    .profile-content {
        gap: 1.5rem;
    }
    
    .profile-card,
    .skills-card,
    .experience-card,
    .motivation-card {
        padding: 1.5rem;
    }
    
    .info-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .skills-tags {
        justify-content: center;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }
    
    .timeline-item::before {
        left: -1.25rem;
    }
    
    .timeline-skills {
        justify-content: center;
    }
}

/* === SECTION CONTACT === */
.contact-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contact-intro {
    margin-bottom: 3rem;
}

.contact-intro p {
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: rgba(40, 40, 40, 0.5);
    border-radius: 15px;
    padding: 2rem;
    border: 1px solid #333;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
}

.contact-card:hover {
    border-color: var(--primary-color);
    background: rgba(50, 50, 50, 0.6);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.contact-icon {
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-info {
    flex: 1;
}

.contact-title {
    font-family: 'Cinzel', serif;
    background: linear-gradient(135deg, #fff2b2 0%, #d4af37 30%, #cfa807 60%, #fff8dc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-description {
    color: var(--dark-text);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.contact-link {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.contact-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-footer {
    background: rgba(139, 0, 0, 0.1);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--secondary-color);
}

.contact-footer p {
    color: var(--light-text);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
}

/* Responsive pour la section Contact */
@media (max-width: 768px) {
    .contact-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-content {
        padding: 0 1rem;
    }
}

/* === ANIMATIONS === */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-10px);
        opacity: 0.6;
    }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        gap: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero {
        background-attachment: scroll;
        background-size: 90%;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 80%;
        max-width: 300px;
        text-align: center;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .project-card {
        padding: 1.5rem;
    }

    .project-card-pro {
        padding: 1.8rem;
    }

    .project-actions {
        flex-direction: column;
    }

    .project-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .hero-content {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

/* === AMÉLIORATION DES PERFORMANCES === */
.hero {
    will-change: transform;
}

.particle {
    will-change: transform, opacity;
}

/* === ACCESSIBILITÉ === */
@media (prefers-reduced-motion: reduce) {
    .particle {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
} 