/* Variables */
/* Variables de couleurs et polices */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Lato:wght@100;300;400;700&display=swap');

:root {
    --font-title: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --font-thin: 'Lato', sans-serif;
    --font-thin-weight: 100;

    /* Couleurs raffinées */
    --color-primary: #B85C3F;      /* terracotta plus doux */
    --color-primary-light: #D48E72; /* terracotta clair adouci */
    --color-secondary: #2A3B4D;   /* bleu foncé légèrement éclairci */
    --color-accent: #D4AF37;      /* or plus chaud */
    --color-bg: #FAF8F5;          /* blanc cassé chaud légèrement éclairci */
    --color-text: #4A4A4A;        /* gris foncé */
    --color-text-light: #6C757D;  /* gris moyen */
    --color-text-on-dark: #FFFFFF; /* texte blanc pur */
    --color-border: rgba(0, 0, 0, 0.08); /* bordure subtile */
    --color-highlight: #FFF9F7;   /* surbrillance très subtile */
    --color-gold: #D4AF37;        /* accent doré */
    
    /* Dégradés élégants */
    --gradient-primary: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    --gradient-gold: linear-gradient(135deg, var(--color-gold), #E8C97D);
    
    /* Effets de verre sophistiqués */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.45);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    --glass-blur: blur(16px);
    --glass-backdrop: brightness(1.05) saturate(1.2);
    
    /* Ombres délicates */
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 15px 50px rgba(0, 0, 0, 0.08);
    --shadow-premium: 0 25px 80px rgba(0, 0, 0, 0.1);
    
    /* Transitions fluides */
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.2s ease-out;
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Bordures arrondies */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Polices élégantes */
    --font-title: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Effets de survol */
    --hover-lift: translateY(-3px);
    --hover-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

/* Nettoyage : suppression des décorations inutiles */

/* Hero section : image plein écran raffinée */
.hero-img-full {
    width: 100vw;
    height: 100vh;
    min-height: 350px;
    max-height: 100vh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: #000;
    border: none;
    box-shadow: none;
    position: relative;
    z-index: 1;
}
.hero-img-full .hero-full-img {
    width: 100vw;
    height: 100vh;
    min-height: 350px;
    max-height: 100vh;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: #000;
    border-radius: 0;
    transition: transform 0.8s cubic-bezier(.22,1,.36,1), filter 0.5s;
}
.hero-img-full:hover .hero-full-img {
    transform: scale(1.025);
    filter: brightness(1.04) saturate(1.08);
}
.hero-img-full::after {
    content: '';
    position: absolute;
    left: 0; top: 0; right: 0; bottom: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(20,20,20,0.33) 0%, rgba(20,20,20,0.07) 60%, rgba(255,255,255,0.03) 100%);
    z-index: 2;
    border-radius: 0;
}
@media (max-width: 900px) {
    .hero-img-full, .hero-img-full .hero-full-img {
        min-height: 180px;
        border-radius: 0;
    }
    .hero-img-full::after {
        border-radius: 0;
    }
}

/* Navigation transparente */
nav.main-nav {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    z-index: 100;
    padding: 0.7rem 0;
    border-radius: 0;
    transition: background 0.4s;
}
nav.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    max-width: 1100px;
}
/* Header moderne et transparent */
nav.main-nav {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    padding: 0.5rem 0;
    border-bottom: none;
    transition: all 0.3s ease;
}

nav.main-nav.scrolled {
    background: rgba(255,255,255,0.15);
    padding: 0.4rem 0;
}

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

/* Logo culinaire transparent */
nav .logo {
    display: flex;
    align-items: center;
    height: 70px;
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 0;
    background: transparent;
    border: none;
    position: relative;
    overflow: hidden;
}

nav .logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(200,107,74,0.1) 50%, 
        transparent 100%);
    transition: left 0.6s ease;
}

nav .logo:hover::before {
    left: 100%;
}

nav .logo:hover {
    background: transparent;
    transform: scale(1.02);
}

/* Titre du site transparent */
.site-title {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding: 0.8rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 0;
    background: transparent;
    border: none;
    position: relative;
    overflow: hidden;
}

.site-title-text {
    font-family: var(--font-title);
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--color-primary);
    margin: 0;
    padding: 0;
    letter-spacing: 0.01em;
    position: relative;
    transition: all 0.3s ease;
}

.site-title:hover .site-title-text {
    transform: scale(1.02);
    text-shadow: 0 2px 10px rgba(200, 107, 74, 0.15);
}

.site-title::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        var(--color-primary) 50%,
        transparent 100%);
    transform: translateX(-50%);
    transition: all 0.4s ease;
    opacity: 0.7;
}

.site-title:hover::after {
    width: 70%;
    opacity: 1;
}

/* Responsive du titre */
@media (max-width: 992px) {
    .site-title {
        height: 60px;
        padding: 0.6rem 1rem;
    }
    
    .site-title-text {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .site-title {
        height: 55px;
        padding: 0.5rem 0.8rem;
        border-radius: 12px;
    }
    
    .site-title-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .site-title {
        height: 50px;
        padding: 0.4rem 0.6rem;
        border-radius: 10px;
    }
    
    .site-title-text {
        font-size: 1.1rem;
    }
}

/* Responsive du logo */
@media (max-width: 992px) {
    nav .logo {
        height: 60px;
        padding: 0.6rem 1rem;
    }
    
    .cantine-logo-premium {
        width: 150px;
        height: 60px;
    }
    
    nav.main-nav .container {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    nav .logo {
        height: 55px;
        padding: 0.5rem 0.8rem;
        border-radius: 12px;
    }
    
    .cantine-logo-premium {
        width: 130px;
        height: 55px;
    }
    
    nav.main-nav .container {
        padding: 0 1.5rem;
    }
    
    nav.main-nav {
        padding: 0.6rem 0;
    }
    
    nav.main-nav.scrolled {
        padding: 0.4rem 0;
    }
}

@media (max-width: 480px) {
    nav .logo {
        height: 50px;
        padding: 0.4rem 0.6rem;
        border-radius: 10px;
    }
    
    .cantine-logo-premium {
        width: 110px;
        height: 50px;
    }
    
    nav.main-nav .container {
        padding: 0 1rem;
    }
}

/* Menu hamburger optimisé */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(200, 107, 74, 0.1);
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
}

/* Navigation moderne */
nav .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

nav .nav-link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 200;
    color: var(--color-secondary);
    text-decoration: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    background: transparent;
    letter-spacing: 0.02em;
    text-transform: none;
    overflow: hidden;
}

nav .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(200,107,74,0.1) 50%, 
        transparent 100%);
    transition: left 0.5s ease;
    z-index: -1;
}

nav .nav-link:hover::before {
    left: 100%;
}

nav .nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

nav .nav-link:hover, 
nav .nav-link:focus,
nav .nav-link.active {
    color: var(--color-primary);
}

nav .nav-link:hover::after, 
nav .nav-link:focus::after,
nav .nav-link.active::after {
    width: 70%;
}

/* Animation d'apparition des liens */
nav .nav-links li {
    animation: navLinkFadeIn 0.8s ease-out both;
}

nav .nav-links li:nth-child(1) { animation-delay: 0.1s; }
nav .nav-links li:nth-child(2) { animation-delay: 0.2s; }
nav .nav-links li:nth-child(3) { animation-delay: 0.3s; }

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

/* Titres raffinés */
h2, h3 {
    font-family: var(--font-title);
    font-weight: 300;
    color: var(--color-secondary);
    background: none;
    margin-bottom: 2.2rem;
    letter-spacing: -0.01em;
    position: relative;
    text-shadow: 0 2px 12px rgba(44,62,80,0.04);
}

/* Sections compactes */
.section {
    padding: 3rem 0;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    margin: 1rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    transition: background 0.3s;
}
.section:hover {
    background: rgba(255,255,255,0.08);
}

/* Paragraphe premium */
p, .presentation-text p {
    font-family: var(--font-body);
    font-size: 1.13rem;
    color: #393939;
    max-width: 730px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.7rem;
    line-height: 1.8;
    letter-spacing: 0.01em;
}

/* Footer doux et élégant */
.footer {
    font-family: var(--font-body);
    font-weight: 200;
    background: #f8f7f4;
    color: #7c7c7c;
    padding: 3.5rem 0 2rem 0;
    text-align: center;
    border-top: none;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -2px 18px rgba(44,62,80,0.07);
    margin-top: 2rem;
}
.footer-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}
.footer-section {
    font-family: var(--font-body);
    font-weight: 200;
    margin: 0.2em 0;
    padding: 0.3em 0;
    border: none;
    background: none;
    box-shadow: none;
    text-align: left;
}
.footer-section h3 {
    font-family: var(--font-title);
    font-weight: 300;
    color: var(--color-secondary);
    font-size: 1.15rem;
    margin-bottom: 1.1rem;
}
.footer-section ul, .footer-section p {
    color: #7c7c7c;
    font-size: 1rem;
    margin-bottom: 0.7rem;
}
.footer-section a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-section a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

@media (max-width: 900px) {
    .hero-img-full, .hero-img-full .hero-full-img {
        min-height: 180px;
        border-radius: 0;
    }
    .hero-img-full::after {
        border-radius: 0;
    }
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        padding: 0 1rem;
    }
    .section {
        padding: 3.5rem 0 2.5rem 0;
        border-radius: 14px;
    }
}

@media (max-width: 600px) {
    .footer {
        border-radius: 12px 12px 0 0;
        padding: 2rem 0 1rem 0;
    }
    .section {
        border-radius: 7px;
        margin: 1rem 0;
        padding: 2rem 0 1.5rem 0;
    }
}

/* Bannière immersive */
.immersive-banner {
    width: 100vw;
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
    background: #eee;
    box-shadow: 0 8px 32px rgba(44,62,80,0.10);
    z-index: 2;
}
.immersive-banner .banner-img {
    display: block;
    width: 100vw;
    max-width: 100%;
    height: 52vh;
    min-height: 320px;
    max-height: 480px;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.98) contrast(1.08) saturate(1.05) drop-shadow(0 8px 32px rgba(44,62,80,0.10));
    border-radius: 0 0 32px 32px;
    transition: filter 0.4s;
}
.immersive-banner .banner-img:hover {
    filter: brightness(1.03) contrast(1.12) saturate(1.1) drop-shadow(0 12px 48px rgba(184,92,63,0.14));
}

/* Bandeau galerie d’images */
.gallery-banner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    padding: 1.2rem 0 2.2rem 0;
    background: linear-gradient(90deg, #faf8f5 60%, #ffe8d8 100%);
    overflow-x: auto;
    box-shadow: 0 2px 12px rgba(44,62,80,0.04);
}
.gallery-banner .gallery-img {
    height: 120px;
    width: auto;
    max-width: 280px;
    border-radius: 18px;
    object-fit: cover;
    box-shadow: 0 2px 18px rgba(44,62,80,0.10);
    transition: transform 0.4s, box-shadow 0.4s, filter 0.4s;
    margin: 0 0.5vw;
    background: #fff;
}
.gallery-banner .gallery-img:hover {
    transform: scale(1.07) rotate(-2deg);
    box-shadow: 0 8px 32px rgba(184,92,63,0.20);
    filter: brightness(1.06) saturate(1.13);
    z-index: 2;
}
.gallery-banner .pattern-img {
    background: repeating-linear-gradient(135deg, #ffe8d8 0 10px, #fff 10px 20px);
    padding: 8px;
}

@media (max-width: 900px) {
    .immersive-banner .banner-img {
        height: 32vw;
        min-height: 160px;
        max-height: 220px;
        border-radius: 0;
    }
    .gallery-banner .gallery-img {
        height: 80px;
        max-width: 160px;
        border-radius: 10px;
    }
}

@media (max-width: 600px) {
    .immersive-banner .banner-img {
        height: 28vw;
        min-height: 110px;
        max-height: 130px;
        border-radius: 0 0 8px 8px;
    }
    .gallery-banner {
        gap: 1vw;
        padding: 0.7rem 0 1.3rem 0;
    }
    .gallery-banner .gallery-img {
        height: 54px;
        max-width: 80px;
        border-radius: 6px;
        margin: 0 0.2vw;
    }
}


/* Styles de base */
body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    font-size: 1.08rem;
    font-weight: 200;
    letter-spacing: 0.01em;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    background-image: none;
    box-sizing: border-box;
}

main {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    background: transparent;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}


/* Image de fond fixe premium pour tout le site */
body::before {
    content: '';
    position: fixed;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background-image: url('../images/DSCF2968.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    filter: blur(3px) brightness(0.95) contrast(1.05);
    z-index: -2;
    opacity: 0.35;
    z-index: -2;
    pointer-events: none;
    filter: blur(0.8px) brightness(1.4) contrast(1.3) saturate(1.2) sepia(0.1);
    animation: subtleMove 25s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes subtleMove {
    0% {
        transform: scale(1) translate(0, 0) rotate(0deg);
    }
    50% {
        transform: scale(1.03) translate(-5px, -3px) rotate(0.2deg);
    }
    100% {
        transform: scale(1.05) translate(-10px, -5px) rotate(-0.1deg);
    }
}

/* Overlay coloré premium optimisé */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, 
            rgba(250, 249, 247, 0.65) 0%, 
            rgba(248, 246, 243, 0.55) 25%,
            rgba(255, 255, 255, 0.70) 50%,
            rgba(248, 246, 243, 0.55) 75%,
            rgba(250, 249, 247, 0.65) 100%
        ),
        radial-gradient(ellipse at 25% 25%, rgba(200, 107, 74, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 75% 75%, rgba(44, 62, 80, 0.08) 0%, transparent 50%),
        linear-gradient(45deg, 
            transparent 0%, 
            rgba(200, 107, 74, 0.04) 25%, 
            transparent 50%, 
            rgba(44, 62, 80, 0.03) 75%, 
            transparent 100%
        );
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0.9;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--color-secondary);
    letter-spacing: -0.03em;
    position: relative;
    text-rendering: optimizeLegibility;
}

h2, h3 {
    font-family: var(--font-title);
    font-weight: 300;
    color: var(--color-secondary);
    background: none;
    -webkit-text-fill-color: unset;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    position: relative;
}

h2::before, h3::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -10px;
    right: -10px;
    bottom: -5px;
    background: linear-gradient(135deg, rgba(200, 107, 74, 0.03), transparent);
    border-radius: 15px;
    z-index: -1;
}

h1 { font-size: 3.5rem; line-height: 1.1; font-weight: 300; }
h2 { font-size: 2.8rem; margin-bottom: 2.5rem; position: relative; }
h3 { font-size: 2rem; margin-bottom: 1.8rem; }
h4 { font-size: 1.6rem; margin-bottom: 1.5rem; }
h5 { font-size: 1.4rem; margin-bottom: 1.2rem; }

/* Style spécial pour les titres de section */
.section-title {
    display: inline-block;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, #e08c6a 50%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: -0.04em;
    text-transform: none;
    text-align: center;
    width: 100%;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -20px;
    right: -20px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(200, 107, 74, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 15px;
    z-index: -1;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
    margin: 1.5rem auto 0;
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.section-title:hover::after {
    width: 120px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-primary));
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--color-secondary);
}

p {
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    line-height: 1.9;
    font-weight: 200;
    color: var(--color-text);
    text-align: justify;
    hyphens: auto;
}

.presentation-text p {
    font-size: 1.15rem;
    line-height: 2;
    margin-bottom: 2rem;
}

.signature {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--color-primary);
    font-weight: 200;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.section {
    padding: 3rem 0;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
}

.section:hover {
    background: rgba(255,255,255,0.08);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(200, 107, 74, 0.3) 20%, 
        rgba(212, 175, 55, 0.4) 50%,
        rgba(200, 107, 74, 0.3) 80%, 
        transparent 100%
    );
    z-index: 1;
}

.section:nth-child(even) {
    background: rgba(248, 246, 243, 0.58);
    backdrop-filter: blur(14px) saturate(130%);
}

.section:nth-child(odd) {
    background: rgba(255, 255, 255, 0.50);
    backdrop-filter: blur(13px) saturate(125%);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    color: var(--color-primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--color-primary);
    margin: 1rem auto 0;
}

.bg-light {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    position: relative;
    border: none;
}

.bg-light::before {
    display: none;
}

/* Navigation */
nav.main-nav {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(255,255,255,0.85);
    box-shadow: 0 2px 18px rgba(44,62,80,0.06);
    z-index: 100;
    padding: 0.4rem 0;
    transition: background 0.4s;
    font-family: var(--font-body);
    font-weight: 200;
}

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

nav .logo h1 {
    font-family: var(--font-title);
    font-weight: 300;
    font-size: 1.6rem;
    color: var(--color-primary);
    margin: 0;
}

nav .nav-links {
    display: flex;
    gap: 2.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav .nav-link {
    font-family: var(--font-body);
    font-size: 1.08rem;
    color: var(--color-secondary);
    text-decoration: none;
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    transition: background 0.25s, color 0.25s;
}

nav .nav-link:hover {
    background: var(--color-primary-light);
    color: #fff;
}

/* En-tête minimaliste */
.hero {
    min-height: 420px;
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    margin-top: 2rem;
    padding-bottom: 2rem;
    box-shadow: none;
    position: relative;
}

.hero-content {
    background: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    text-align: center;
    z-index: 2;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 2.6rem;
    font-weight: 300;
    color: var(--color-primary);
    margin-bottom: 0.3em;
    letter-spacing: -0.02em;
    background: none;
    -webkit-text-fill-color: unset;
    text-shadow: none;
    animation: fadeIn 1.1s ease;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--color-text-light);
    margin-bottom: 2.2rem;
    opacity: 0.92;
    animation: fadeIn 1.3s ease;
}

.hero-buttons {
    display: flex;
    gap: 1.1rem;
    justify-content: center;
    margin-top: 1.2rem;
}

.hero .btn {
    font-family: var(--font-body);
    font-weight: 200;
    font-size: 1.02rem;
    border: 1.5px solid var(--color-primary-light);
    color: var(--color-primary);
    background: #fff;
    border-radius: 24px;
    padding: 0.7rem 1.8rem;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s;
    box-shadow: 0 1px 8px rgba(44,62,80,0.07);
    outline: none;
}

.hero .btn-primary {
    background: var(--color-primary-light);
    color: #fff;
}

.hero .btn-primary:hover, .hero .btn-secondary:hover {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 16px rgba(200,107,74,0.12);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.scroll-down {
    display: none;
}

    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 80px;
    background: linear-gradient(145deg, 
        rgba(44, 62, 80, 0.95) 0%, 
        rgba(200, 107, 74, 0.85) 100%
    );
    isolation: isolate;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(200, 107, 74, 0.25) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(44, 62, 80, 0.25) 0%, transparent 30%);
    z-index: -1;
    animation: gradientShift 15s ease infinite alternate;
}

@keyframes gradientShift {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.1) rotate(2deg); }
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
    animation: scaleImage 30s infinite alternate ease-in-out;
    filter: brightness(0.8) contrast(1.1) saturate(1.2);
    mix-blend-mode: overlay;
    opacity: 0.8;
}

@keyframes scaleImage {
    0% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.05) translateY(-10px); }
    100% { transform: scale(1.1) translateY(0); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.7) 0%, 
        rgba(44, 62, 80, 0.6) 50%, 
        rgba(200, 107, 74, 0.5) 100%
    );
    z-index: -1;
    backdrop-filter: blur(2px);
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    text-align: center;
    max-width: 1000px;
    padding: 5rem 3rem;
    margin: 0 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.25),
        0 10px 15px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.hero-content:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 15px 25px rgba(200, 107, 74, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 200;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    z-index: -1;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.hero .btn-primary {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.hero .btn-primary:hover {
    background: #fff;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hero .btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.hero .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Flèche de défilement */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 10;
}

.scroll-down:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* Particules décoratives */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    animation: floatParticle 15s infinite linear;
}

@keyframes floatParticle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-content {
        padding: 4rem 2rem;
        margin: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-content {
        padding: 3rem 1.5rem;
        margin: 0 1rem;
        border-radius: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero .btn {
        width: 100%;
        max-width: 250px;
        margin: 0 auto;
    }
}

/* Presentation Section */
.presentation-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(25px) saturate(150%);
    border-radius: 25px;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.12),
        0 10px 30px rgba(200, 107, 74, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.signature {
    font-style: italic;
    text-align: right;
    margin-top: 2rem;
}

/* Section Parcours */
#cv {
    background-image: 
        linear-gradient(rgba(255, 253, 250, 0.9), rgba(255, 253, 250, 0.9)),
        url('../images/decorations/pattern-1.png');
    background-attachment: fixed;
    background-size: 300px;
    background-blend-mode: overlay;
    background: linear-gradient(135deg, #faf9f7 0%, #f8f7f4 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

/* Design CV compact et intelligent */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-category {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.project-category:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.project-category h3 {
    color: var(--color-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-family: var(--font-title);
    border-bottom: 2px solid rgba(200, 107, 74, 0.3);
    padding-bottom: 0.5rem;
}

.project-item {
    margin-bottom: 1.2rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.project-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.project-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 0.8rem;
}

.project-item h4 {
    color: var(--color-secondary);
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    font-family: var(--font-title);
    font-weight: 400;
}

.project-credit {
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 0.2rem;
    opacity: 0.8;
}

.project-stats {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 500;
    margin: 0;
}

/* Timeline Container */
.timeline {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.timeline h3 {
    text-align: center;
    color: var(--color-secondary);
    margin-bottom: 2rem;
    font-size: 1.8rem;
    position: relative;
    padding-bottom: 1rem;
}

.timeline h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    border-radius: 2px;
}

/* Timeline Items */
.timeline-container {
    position: relative;
    width: 100%;
    padding: 3rem 0;
    min-height: auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, 
        var(--color-primary) 0%, 
        #e08c6a  25%,
        var(--color-primary) 50%,
        #e08c6a 75%,
        rgba(200, 107, 74, 0.3) 100%);
    z-index: 1;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(200, 107, 74, 0.3);
    animation: timelinePulse 3s ease-in-out infinite;
}

@keyframes timelinePulse {
    0%, 100% { box-shadow: 0 0 20px rgba(200, 107, 74, 0.3); }
    50% { box-shadow: 0 0 30px rgba(200, 107, 74, 0.5), 0 0 40px rgba(200, 107, 74, 0.2); }
}

.timeline-item {
    position: relative;
    width: 48%;
    padding: 0 3rem;
    box-sizing: border-box;
    margin-bottom: 2rem;
    display: block;
    clear: both;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    float: left;
    text-align: right;
    padding-right: 4rem;
    padding-left: 0;
}

.timeline-item:nth-child(even) {
    float: right;
    text-align: left;
    padding-left: 4rem;
    padding-right: 0;
}

/* Timeline Content */
.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 0;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
    border: none;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 107, 74, 0.2), transparent);
}

.timeline-content:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-gold), rgba(200, 107, 74, 0.6));
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 0 8px rgba(200, 107, 74, 0.2);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 0;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
}

/* Timeline Rectangle */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 16px;
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    border: 3px solid var(--color-primary);
    border-radius: 8px;
    top: 40px;
    z-index: 3;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.15),
        0 2px 8px rgba(200, 107, 74, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    animation: dotFloat 4s ease-in-out infinite;
}

@keyframes dotFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.timeline-item:hover::after {
    transform: scale(1.3) translateY(-2px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.2),
        0 4px 15px rgba(200, 107, 74, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.9);
    border-width: 6px;
    animation-play-state: paused;
}

.timeline-item:nth-child(odd)::after {
    right: -32px;
}

.timeline-item:nth-child(even)::after {
    left: -32px;
}

/* Project Styles */
.timeline-content h4 {
    color: var(--color-primary);
    margin-top: 0;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.project {
    background: none;
    border: none;
    box-shadow: none;
    border-radius: 0;
    padding: 0.7rem 0 0.7rem 0.5rem;
    margin-bottom: 1.1rem;
    position: relative;
    overflow: visible;
    font-family: var(--font-body);
    font-weight: 200;
    color: var(--color-text);
    transition: color 0.2s;
}

.project:hover {
    color: var(--color-primary);
    background: none;
}

.project:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
}

.project::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.project:hover::after {
    opacity: 1;
}

.project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-gold), rgba(200, 107, 74, 0.6));
    opacity: 0.8;
    border-radius: 0 4px 4px 0;
}

.project::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(200, 107, 74, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-radius: 8px;
    opacity: 0;
    transition: all 0.3s ease;
}

.project:hover::after {
    opacity: 1;
    transform: scale(1.2);
}

.project:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(200, 107, 74, 0.2);
}

.project:hover::before {
    opacity: 1;
    width: 6px;
}

.project h5 {
    color: var(--color-secondary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 300;
    font-family: var(--font-title);
    line-height: 1.3;
    position: relative;
    padding-bottom: 0.5rem;
}

.project h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(200, 107, 74, 0.3);
}

.project-meta {
    color: var(--color-text);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-weight: 200;
}

.project-meta svg {
    width: 16px;
    height: 16px;
    fill: var(--color-primary);
}

.project-details {
    background-color: var(--color-highlight);
    padding: 1.25rem 1.5rem;
    border-radius: 6px;
    margin-top: 1.25rem;
    border-left: 3px solid var(--color-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    font-weight: 200;
    display: inline-block;
    background: linear-gradient(to right, rgba(200, 107, 74, 0.05), transparent);
}

/* Contact Section */
#contact {
    position: relative;
    background-image: 
        linear-gradient(rgba(250, 248, 245, 0.9), rgba(250, 248, 245, 0.9)),
        url('../images/decorations/pattern-1.png');
    background-attachment: fixed;
    background-size: 300px;
    background-blend-mode: overlay;
}

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.contact-content::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: linear-gradient(135deg, rgba(200, 107, 74, 0.05) 0%, rgba(212, 175, 55, 0.05) 100%);
    border-radius: 20px;
    z-index: -1;
}

.contact-info {
    margin-top: 3rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(22px) saturate(145%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 
        0 22px 60px rgba(0, 0, 0, 0.12),
        0 8px 25px rgba(200, 107, 74, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold), var(--color-primary));
    border-radius: 15px 15px 0 0;
}

.contact-info p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    padding-left: 2rem;
}

.contact-info p::before {
    content: '✉';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 1.2rem;
}

.contact-info p:first-child::before {
    content: '📞';
}

.contact-info p:nth-child(2)::before {
    content: '✉';
}

.contact-info p:nth-child(3)::before {
    content: '📍';
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .project-category {
        padding: 1rem;
    }
    
    .section {
        padding: 2rem 0;
        margin: 0.5rem 0;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-photo {
        height: 150px;
    }
    
    .footer-content {
        padding: 1.5rem 1rem;
    }
    
    .footer-main h3 {
        font-size: 1.2rem;
    }
    
    .footer-main p {
        font-size: 0.9rem;
    }
}

/* Footer élégant et compact */
.footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(200, 107, 74, 0.1);
    padding: 0;
    position: relative;
    overflow: hidden;
}

.footer-photo {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.footer-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: brightness(0.8) saturate(1.1);
    transition: all 0.6s ease;
    background: rgba(250, 248, 245, 0.8);
}

.footer:hover .footer-img {
    filter: brightness(0.9) saturate(1.2);
    transform: scale(1.02);
}

.footer-content {
    padding: 2rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.footer-main {
    margin-bottom: 1.5rem;
}

.footer-main h3 {
    color: var(--color-primary);
    font-family: var(--font-title);
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.footer-main p {
    color: var(--color-text);
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

.footer-main a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-main a:hover {
    color: var(--color-secondary);
}

.footer-credits {
    border-top: 1px solid rgba(200, 107, 74, 0.1);
    padding-top: 1rem;
}

.footer-credits p {
    color: var(--color-text-light);
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
    opacity: 0.8;
}

.footer-credits a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credits a:hover {
    color: var(--color-primary);
}

/* Footer de base supprimé - remplacé par nouveau design */
    overflow: hidden;
    font-size: 1.05rem;
    line-height: 1.8;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold), var(--color-primary));
    opacity: 0.8;
}

/* Effet de motif subtil */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 1px 1px, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
    z-index: 1;
}

/* Contenu du footer */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

/* Sections du footer */
.footer-section {
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.footer-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(200, 107, 74, 0.2);
}

/* Titres des sections */
.footer-section h3 {
    color: var(--color-primary);
    margin-bottom: 1.75rem;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 1rem;
    font-family: var(--font-title);
    text-transform: none;
    letter-spacing: 1.5px;
    font-size: 1.2rem;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), rgba(200, 107, 74, 0.5));
    border-radius: 3px;
}

/* Contenu textuel */
.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-weight: 300;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Liens du footer */
.footer-section a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none;
    position: relative;
    padding: 0.2rem 0;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 200;
}

.footer-section a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background: var(--color-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
}

.footer-section a:hover {
    color: #fff !important;
    transform: translateX(5px);
}

.footer-section a:hover::after {
    width: 100%;
    opacity: 1;
}

/* Pied de page inférieur */
.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 200;
    position: relative;
    padding: 0 5px;
}

.footer-bottom a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: -2px;
    left: 0;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff;
    text-decoration: none;
}

.footer-bottom a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Icônes de contact */
.contact-info i {
    margin-right: 10px;
    color: var(--color-primary);
    width: 20px;
    text-align: center;
}

/* Réseaux sociaux */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 1.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    color: #fff;
    text-decoration: none;
}

.social-links a:hover {
    background: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(200, 107, 74, 0.3);
}

/* Liste à puces */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.footer-section ul li::before {
    content: '•';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
    top: 0.1em;
}

/* Formulaire de contact */
.footer-section input,
.footer-section textarea {
    width: 100%;
    padding: 0.8rem 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-section input:focus,
.footer-section textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(200, 107, 74, 0.2);
}

.footer-section button {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 200;
    text-transform: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 0.9rem;
}

.footer-section button:hover {
    background: #e08c6a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 107, 74, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        padding: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }
    
    .footer-section p, 
    .footer-section li {
        font-size: 1rem;
    }
    
    .footer-bottom {
        padding-top: 2rem;
        font-size: 0.85rem;
    }
    
    .social-links {
        justify-content: center;
    }
}

    /* Animation pour les projets */
    @keyframes fadeInProject {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

.footer-section a:hover {
    color: #fff !important;
    transform: translateX(5px);
}

.footer-section a:hover::after {
    width: 100%;
    opacity: 1;
}

/* Style des projets */
.project {
    position: relative;
    padding: 2rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transform: translateZ(0);
}

.project:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
}

.project::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.project:hover::after {
    opacity: 1;
}

.project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-gold), rgba(200, 107, 74, 0.6));
    opacity: 0.8;
    border-radius: 0 4px 4px 0;
}

.project::after {
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(200, 107, 74, 0.1) 0%, rgba(212, 175, 55, 0.1) 100%);
    border-radius: 8px;
    opacity: 0;
    transition: all 0.3s ease;
}

.project:hover::after {
    opacity: 1;
    transform: scale(1.2);
}

.project:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
    border-color: rgba(200, 107, 74, 0.2);
}

.project:hover::before {
    opacity: 1;
    width: 6px;
}

.project h5 {
    color: var(--color-secondary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 300;
    font-family: var(--font-title);
    line-height: 1.3;
    position: relative;
    padding-bottom: 0.5rem;
}

.project h5::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-gold));
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(200, 107, 74, 0.3);
}

.project-meta {
    color: var(--color-text);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
    font-weight: 200;
}

.project-meta svg {
    width: 16px;
    height: 16px;
    fill: var(--color-primary);
}

.project-details {
    background-color: var(--color-highlight);
    padding: 1.25rem 1.5rem;
    border-radius: 6px;
    margin-top: 1.25rem;
    border-left: 3px solid var(--color-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    font-weight: 200;
    display: inline-block;
    background: linear-gradient(to right, rgba(200, 107, 74, 0.05), transparent);
}

/* Boutons améliorés */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    font-family: var(--font-body);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transform: translateZ(0);
    will-change: transform, box-shadow;
    min-width: 180px;
    text-transform: none;
    letter-spacing: 1px;
    font-weight: 200;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(184, 92, 63, 0.3);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 107, 74, 0.3);
}

/* Animation de soulignement des liens */
a:not(.btn) {
    position: relative;
    text-decoration: none;
}

a:not(.btn)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--color-primary);
    transition: var(--transition);
}

a:not(.btn):hover::after {
    width: 100%;
}

/* Correction pour les écrans mobiles */
/* Animations améliorées */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0.01deg); }
    50% { transform: translateY(-10px) rotate(0.01deg); }
    100% { transform: translateY(0px) rotate(0.01deg); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.float {
    animation: float 6s ease-in-out infinite;
}

.pulse {
    animation: pulse 4s ease-in-out infinite;
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Classes d'animation */
.timeline-item:nth-child(odd) .timeline-content {
    animation: slideInLeft 0.8s ease-out forwards;
}

.timeline-item:nth-child(even) .timeline-content {
    animation: slideInRight 0.8s ease-out forwards;
}

/* Animation des dots de timeline */
.timeline-item::after {
    animation: pulse 2s ease-in-out infinite;
    animation-delay: 1s;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .timeline {
        padding: 0 1.5rem;
    }
    
    .timeline-container::before {
        left: 30px;
        width: 3px;
    }
    
    .timeline-item {
        width: 100% !important;
        float: none !important;
        padding: 0 0 0 70px !important;
        margin-bottom: 3rem;
        text-align: left !important;
    }
    
    .timeline-item:nth-child(even) {
        left: 0 !important;
        float: none !important;
    }
    
    .timeline-item:nth-child(odd) {
        left: 0 !important;
        float: none !important;
    }
    
    .timeline-item::after {
        left: 18px !important;
        width: 20px;
        height: 20px;
    }
    
    .timeline-content {
        padding: 2rem;
        margin: 0 !important;
    }
    
    .project {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .project h5 {
        font-size: 1.2rem;
    }
    
    .project-meta {
        font-size: 0.95rem;
    }
    
    .presentation-content {
        padding: 2rem;
        margin: 0 1rem;
    }
}

@media (max-width: 576px) {
    .timeline h3 {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .timeline-item {
        padding-left: 50px !important;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item::after {
        left: 12px !important;
        width: 16px;
        height: 16px;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .project {
        padding: 1.25rem;
    }
    
    .project h5 {
        font-size: 1.1rem;
    }
    
    .project-meta {
        font-size: 0.9rem;
    }
    
    .presentation-content {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.8rem;
    }
}

/* Animation au survol des sections du footer */
.footer-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(200, 107, 74, 0.2);
}

/* Style des listes dans le footer */
.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.footer-section ul li::before {
    content: '•';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
    top: 0.1em;
}

/* Style des champs de formulaire */
.footer-section input,
.footer-section textarea {
    width: 100%;
    padding: 0.8rem 1.2rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer-section input:focus,
.footer-section textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(200, 107, 74, 0.2);
}

.footer-section button {
    background: var(--color-primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 200;
    text-transform: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 0.9rem;
}

.footer-section button:hover {
    background: #e08c6a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(200, 107, 74, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 5rem 0;
        margin: 1.5rem 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.6rem; }
    h4 { font-size: 1.4rem; }
    
    p, .presentation-text p {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 1.5rem;
        text-align: left;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 249, 247, 0.98) 100%);
        backdrop-filter: blur(30px) saturate(180%);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 1000;
        padding: 2rem;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
        transform: translateX(20px);
        opacity: 0;
        animation: slideInNav 0.4s ease-out forwards;
    }
    
    .nav-links.active li {
        animation-delay: calc(var(--i) * 0.1s);
    }
    
    .nav-links li:nth-child(1) { --i: 1; }
    .nav-links li:nth-child(2) { --i: 2; }
    .nav-links li:nth-child(3) { --i: 3; }
    
    @keyframes slideInNav {
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    .hero {
        height: 100vh;
        min-height: 600px;
        padding: 0 1rem;
    }
    
    .hero-content {
        padding: 2.5rem 1.5rem;
        margin: 0 1rem;
        transform: none;
    }
    
    .hero-content:hover {
        transform: translateY(-3px);
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
        line-height: 1.1;
    }
    
    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    .presentation-content {
        padding: 2rem 1.5rem;
        margin: 0 0.5rem;
        border-radius: 15px;
    }
    
    .contact-info {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
        border-radius: 15px;
    }
    
    .contact-info p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
        padding-left: 1.5rem;
    }
    
    .footer {
        padding: 4rem 0 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-section {
        padding: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }
    
    .footer-section p,
    .footer-section li {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

