/* ============================================================
   ADAM LANDSCAPE DESIGN — PORTFOLIO COMPLET
   Modern, Professional CSS avec Intro Animée & Interactions
   ============================================================ */

/* ===== VARIABLES CSS ===== */
:root {
    --green-darkest: #112009;
    --green-900: #1a2e0d;
    --green-800: #243d14;
    --green-700: #2e4f1a;
    --green-600: #3a6321;
    --green-500: #4a7c2e;
    --green-400: #5d9a3a;
    --green-300: #7ab94d;
    --green-200: #a3d479;
    --green-100: #d4edbf;
    --green-50: #f2f8ed;

    /* WhatsApp & Social Colors */
    --whatsapp-green: #25d366;
    --whatsapp-dark: #128c7e;
    --gmail-red: #ea4335;
    --insta-pink: #e1306c;

    --neutral-950: #0a0f06;
    --neutral-900: #111810;
    --neutral-800: #1c2418;
    --neutral-700: #2a3425;
    --neutral-600: #3d4a37;
    --neutral-500: #5a6654;
    --neutral-400: #7d8978;
    --neutral-300: #a5aea0;
    --neutral-200: #cdd3c9;
    --neutral-100: #eef2ec;
    --neutral-50: #f8faf7;
    --white: #ffffff;

    --paper: #f7f7f5;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-intro: 'Jost', sans-serif;

    --shadow-sm: 0 2px 6px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.16);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-xl: 32px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --ease-intro: cubic-bezier(.65, .05, .2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
}

html.intro-lock,
html.intro-lock body {
    overflow: hidden !important;
    height: 100% !important;
}

body {
    font-family: var(--font-body);
    color: var(--neutral-800);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 24px;
}

.section, main {
    padding: 120px 0;
    position: relative;
    scroll-margin-top: 85px;
    overflow-x: clip;
    max-width: 100%;
}
main {
    padding: 0;
}

/* ============================================================
   INTRO ANIMATION (OUVERTURE DU SITE)
   ============================================================ */
#intro {
    position: fixed;
    inset: 0;
    z-index: 99999;
    pointer-events: all;
    background: transparent;
}
#intro.done {
    display: none !important;
}

/* Deux rideaux qui s'ouvrent à la fin */
#intro .panel {
    position: absolute;
    left: 0;
    right: 0;
    height: 50.3%;
    background: var(--paper);
    transition: transform 1.1s var(--ease-intro);
    will-change: transform;
}
#intro .top { top: 0; }
#intro .bottom { bottom: 0; }
#intro.open .top { transform: translateY(-101%); }
#intro.open .bottom { transform: translateY(101%); }

/* Ligne verte centrale qui précède l'ouverture */
#intro .seam {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 3px;
    width: 0;
    background: var(--green-600);
    box-shadow: 0 0 12px rgba(58, 99, 33, 0.6);
    transform: translate(-50%, -50%);
    transition: width .7s var(--ease-intro), opacity .4s .5s;
    z-index: 3;
}
#intro.seam-on .seam {
    width: 100%;
}
#intro.open .seam {
    opacity: 0;
}

/* Contenu central */
#intro .stage {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity .5s ease, transform .6s var(--ease-intro);
}
#intro.leave .stage {
    opacity: 0;
    transform: scale(.95);
}

.mark {
    width: clamp(130px, 20vw, 190px);
    height: auto;
    overflow: visible;
}
.mark * {
    fill: none;
    stroke: var(--green-600);
    stroke-linecap: round;
    stroke-linejoin: round;
}
.mark .draw {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: drawTree var(--d, 1.2s) var(--ease-intro) var(--t, 0s) forwards;
}
.mark .frame { stroke-width: 9; stroke-linecap: square; --d: 1.5s; --t: .2s; }
.mark .trunk { stroke-width: 9; --d: .7s; --t: 1s; }
.mark .b1 { stroke-width: 7; --d: 1s; --t: 1.4s; }
.mark .b2 { stroke-width: 6; --d: 1s; --t: 1.6s; }
.mark .b3 { stroke-width: 6; --d: .9s; --t: 1.8s; }
.mark .b4 { stroke-width: 5; --d: .9s; --t: 2s; }
.mark .b5 { stroke-width: 5; --d: .8s; --t: 2.2s; }
.mark .b6 { stroke-width: 4.5; --d: .8s; --t: 2.3s; }

@keyframes drawTree {
    to { stroke-dashoffset: 0; }
}

.mark {
    animation: treeBreathe 3s ease-in-out 3s infinite;
}
@keyframes treeBreathe {
    50% { transform: scale(1.025); }
}

.brand {
    margin-top: clamp(20px, 4vw, 32px);
    display: flex;
    gap: .28em;
    font-family: var(--font-intro);
    font-weight: 500;
    font-size: clamp(32px, 6vw, 54px);
    line-height: 1;
    color: var(--green-600);
    letter-spacing: .28em;
    margin-right: -.28em;
}
.brand span {
    display: inline-block;
    opacity: 0;
    transform: translateY(60%);
    clip-path: inset(0 0 100% 0);
    animation: riseLetter .9s var(--ease-intro) calc(2.4s + var(--i) * .12s) forwards;
}
@keyframes riseLetter {
    to {
        opacity: 1;
        transform: none;
        clip-path: inset(0 0 -20% 0);
    }
}

.rule {
    width: 0;
    height: 1px;
    background: var(--green-600);
    margin: clamp(14px, 2.2vw, 20px) 0 clamp(12px, 2vw, 16px);
    animation: ruleExpand 1s var(--ease-intro) 2.9s forwards;
    opacity: .55;
}
@keyframes ruleExpand {
    to { width: clamp(120px, 22vw, 230px); }
}

.sub {
    font-family: var(--font-intro);
    font-weight: 300;
    font-size: clamp(10px, 1.6vw, 14px);
    line-height: 1;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 1.2em;
    margin-right: -1.2em;
    opacity: 0;
    animation: subReveal 1.4s var(--ease-intro) 3.1s forwards;
}
@keyframes subReveal {
    to {
        opacity: 1;
        letter-spacing: .75em;
        margin-right: -.75em;
    }
}

.loader {
    position: absolute;
    left: 50%;
    bottom: clamp(28px, 7vh, 60px);
    transform: translateX(-50%);
    z-index: 2;
    width: clamp(140px, 26vw, 260px);
    text-align: center;
    font-family: var(--font-intro);
    font-size: 11px;
    letter-spacing: .3em;
    color: #666;
    transition: opacity .4s;
}
#intro.leave .loader {
    opacity: 0;
}
.loader .bar {
    height: 2px;
    background: rgba(47, 98, 23, .15);
    margin-bottom: 10px;
    border-radius: 2px;
    overflow: hidden;
}
.loader .bar i {
    display: block;
    height: 100%;
    width: 100%;
    background: var(--green-600);
    transform: scaleX(0);
    transform-origin: left;
}


/* ============================================================
   NAVBAR & LOGO (Net, Sans boîte noire)
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    background: linear-gradient(180deg, rgba(10, 16, 8, 0.72) 0%, rgba(10, 16, 8, 0.15) 75%, transparent 100%);
    transition: padding 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}
.logo-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    width: 52px;
    height: 52px;
    aspect-ratio: 1 / 1;
    border: none;
    box-shadow: none;
    padding: 0;
    transition: var(--transition);
}
.navbar.scrolled .logo-box {
    background: transparent;
    box-shadow: none;
    border: none;
    width: 44px;
    height: 44px;
}
.brand-logo-img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
    transition: var(--transition);
}
.logo-box:hover .brand-logo-img {
    transform: scale(1.06);
}

/* ============================================================
   NAVIGATION DRAWER (DESKTOP)
   ============================================================ */
.nav-drawer {
    display: contents;
}
.nav-drawer-header,
.nav-drawer-footer,
.nav-overlay,
.nav-icon-badge,
.nav-arrow,
.nav-pill-3d,
.nav-num,
.drawer-tagline-bar {
    display: none;
}
.nav-link-content {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links > li {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 16px;
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}
.navbar.scrolled .nav-link {
    color: var(--neutral-700);
}
.nav-link:hover,
.nav-link.active {
    color: var(--white);
}
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--green-600);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--green-400);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 2px;
}
.nav-link.active::after,
.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 40px !important;
    padding: 0 22px !important;
    font-weight: 600 !important;
    background: var(--green-600) !important;
    color: var(--white) !important;
    border-radius: var(--radius-sm) !important;
    box-shadow: 0 4px 14px rgba(47, 98, 23, 0.25);
    line-height: 1 !important;
    white-space: nowrap;
}
.nav-cta:hover {
    background: var(--green-500) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(47, 98, 23, 0.35);
}
.nav-cta::after {
    display: none !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.navbar.scrolled .nav-toggle span {
    background: var(--white);
}
.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(5px, -5px); }

/* ============================================================
   HERO SECTION & FIX DU DÉCALAGE / CHEVAUCHEMENT
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 70px 0; /* Padding suffisant pour que rien ne déborde */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    animation: heroZoom 24s ease-in-out infinite alternate;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 15, 6, 0.88) 0%,
        rgba(26, 46, 13, 0.82) 40%,
        rgba(35, 45, 30, 0.78) 100%
    );
}
@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 960px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    background: rgba(93, 154, 58, 0.2);
    border: 1px solid rgba(122, 185, 77, 0.35);
    color: var(--green-200);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}
.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 7.5vw, 5.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero-line {
    display: block;
}
.hero-line.accent {
    color: var(--green-300);
    font-style: italic;
}
.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 680px;
    margin: 0 auto 36px;
    line-height: 1.8;
}
.hero-subtitle em {
    color: var(--green-200);
    font-style: normal;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.btn-whatsapp-hero {
    background: #25d366 !important;
    color: #ffffff !important;
    border: none;
    font-weight: 600;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp-hero:hover {
    background: #1eb956 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* Hero Stats - Zéro chevauchement */
.hero-stats {
    display: flex;
    gap: 36px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(12px);
}
.stat {
    text-align: center;
    flex: 1;
    min-width: 140px;
}
.stat-number-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
}
.stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--green-300);
    line-height: 1;
}
.stat-plus {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--green-300);
    font-weight: 700;
}
.stat-label {
    display: block;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
    letter-spacing: 0.5px;
}
.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
}

/* Scroll indicator en flux normal sous les chiffres : IMPOSSIBLE DE CHEVAUCHER */
.scroll-indicator-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}
.scroll-indicator {
    position: static;
    transform: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    transition: var(--transition);
}
.scroll-indicator:hover {
    color: var(--green-300);
}
.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    transition: var(--transition);
}
.scroll-indicator:hover .mouse {
    border-color: var(--green-300);
}
.wheel {
    width: 3px;
    height: 8px;
    background: var(--green-300);
    border-radius: 3px;
    animation: scrollWheel 2s ease-in-out infinite;
}
@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--green-600);
    color: var(--white);
    box-shadow: 0 4px 18px rgba(58, 99, 33, 0.28);
}
.btn-primary:hover {
    background: var(--green-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(58, 99, 33, 0.38);
}
.btn-primary i {
    transition: var(--transition);
}
.btn-primary:hover i {
    transform: translateX(4px);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-outline:hover {
    border-color: var(--green-300);
    background: rgba(93, 154, 58, 0.15);
    color: var(--green-200);
}
.btn-outline-dark {
    background: transparent;
    color: var(--neutral-800);
    border: 1.5px solid var(--neutral-300);
}
.btn-outline-dark:hover {
    border-color: var(--green-600);
    color: var(--green-600);
    background: var(--green-50);
}
.btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
    text-align: center;
    margin-bottom: 70px;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    background: var(--green-50);
    color: var(--green-600);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    margin-bottom: 16px;
    border: 1px solid rgba(74, 124, 46, 0.15);
}
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1.2;
}
.text-accent {
    color: var(--green-600);
}
.section-desc {
    font-size: 1.1rem;
    color: var(--neutral-500);
    max-width: 620px;
    margin: 16px auto 0;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.apropos {
    background: var(--neutral-50);
}
.apropos-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: center;
}
.image-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    box-shadow: var(--shadow-lg);
}
.image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}
.image-frame:hover img {
    transform: scale(1.03);
}
.frame-accent {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 60%;
    height: 60%;
    border: 3px solid var(--green-400);
    border-radius: var(--radius-lg);
    z-index: -1;
}
.apropos-locations {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.location-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--white);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neutral-700);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.location-tag i {
    color: var(--green-500);
}
.location-tag.status-available {
    background: #eafaf1;
    color: #1e7e34;
    border-color: rgba(40, 167, 69, 0.2);
}
.location-tag.status-available i {
    color: #28a745;
    font-size: 0.65rem;
    animation: pulseDot 2s infinite;
}

.apropos-content h3 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 8px;
}
.apropos-role {
    font-size: 1rem;
    color: var(--green-600);
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.5;
}
.apropos-content p {
    color: var(--neutral-600);
    margin-bottom: 16px;
    font-size: 1.02rem;
}
.apropos-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}
.highlight {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 3px solid var(--green-500);
}
.highlight:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.highlight-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: var(--green-50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-600);
    font-size: 1.3rem;
    flex-shrink: 0;
}
.highlight h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin-bottom: 2px;
}
.highlight p {
    font-size: 0.88rem;
    color: var(--neutral-500);
    margin-bottom: 0 !important;
}

.apropos-cta-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

/* ============================================================
   PROJECTS SECTION & LIGHTBOX
   ============================================================ */
.projets {
    background: var(--white);
}
.project-showcase {
    position: relative;
    margin-bottom: 110px;
}
.project-showcase:last-child {
    margin-bottom: 0;
}
.project-number {
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: 700;
    color: #edf5e8;
    line-height: 1;
    margin-bottom: -50px;
    position: relative;
    z-index: 0;
}
.project-showcase-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.project-showcase.reverse .project-showcase-grid {
    grid-template-columns: 0.8fr 1.2fr;
    direction: rtl;
}
.project-showcase.reverse .project-showcase-grid > * {
    direction: ltr;
}

.project-gallery { position: relative; }
.gallery-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}
.gallery-main img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    transition: var(--transition-slow);
}
.gallery-main:hover img {
    transform: scale(1.03);
}
.gallery-zoom-hint {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(0, 0, 0, 0.75);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    backdrop-filter: blur(8px);
    opacity: 0;
    transform: translateY(6px);
    transition: var(--transition);
}
.gallery-main:hover .gallery-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

.gallery-thumbs {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}
.thumb {
    flex: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 16/10;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}
.thumb:hover {
    border-color: var(--green-400);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.project-info { padding: 10px 0; }
.project-category {
    display: inline-block;
    padding: 5px 16px;
    background: var(--green-50);
    color: var(--green-600);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 16px;
    border: 1px solid rgba(74, 124, 46, 0.12);
}
.project-info h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 16px;
    line-height: 1.3;
}
.project-info > p {
    color: var(--neutral-600);
    margin-bottom: 22px;
    line-height: 1.8;
    font-size: 1.02rem;
}
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}
.tag {
    padding: 6px 14px;
    background: var(--neutral-100);
    color: var(--neutral-700);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 50px;
}
.project-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.95rem;
    color: var(--neutral-600);
    padding-top: 10px;
    border-top: 1px dashed var(--neutral-200);
}
.project-meta i {
    color: var(--green-500);
    width: 20px;
    margin-right: 8px;
}

/* ============================================================
   SECTION STUDIO 3D & IMMERSION PHOTORÉALISTE LUMION
   ============================================================ */
.immersion-3d {
    background: var(--neutral-100);
    padding: 100px 0;
}

.studio3d-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(58, 99, 33, 0.16);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-top: 36px;
}

/* 1. Barre d'onglets de navigation */
.studio-tab-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 24px;
    background: #0d170a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.studio-bar-left {
    display: flex;
    align-items: center;
}

.studio-project-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: 0.3px;
}

.studio-project-pill i {
    color: var(--green-400);
    font-size: 1.05rem;
}

.studio-badge-sub {
    background: rgba(93, 154, 58, 0.18);
    color: var(--green-300);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    border: 1px solid rgba(93, 154, 58, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.studio-segmented-switch {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 4px;
    gap: 4px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.4);
}

.studio-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 9px 22px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.2, 0, 0.2, 1);
    white-space: nowrap;
}

.studio-tab-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.studio-tab-btn.active {
    background: linear-gradient(135deg, var(--green-600), var(--green-700));
    border-color: var(--green-500);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.32);
}

.studio-tab-btn i {
    font-size: 0.95rem;
    color: var(--green-300);
    transition: var(--transition);
}

.studio-tab-btn.active i {
    color: var(--white);
}

.studio-bar-right {
    display: flex;
    align-items: center;
}

.studio-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.3px;
}

.badge-dot-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25d366;
    box-shadow: 0 0 10px #25d366;
    animation: studioBadgePulse 2s infinite ease-in-out;
}

@keyframes studioBadgePulse {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
        box-shadow: 0 0 14px #25d366;
    }
}

/* Panneaux de contenu */
.studio-panel {
    display: none;
    animation: studioFadeIn 0.35s ease forwards;
}

.studio-panel.active {
    display: block;
}

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

/* ============================================================
   MODULE 1 : LECTEUR VIDÉO SURVOL CINÉMATIQUE
   ============================================================ */
.video-player-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 640px;
    background: #0a0f06;
    overflow: hidden;
}

.studio-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Barre de contrôles customisée */
.video-custom-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 15, 6, 0.88) 100%);
    padding: 24px 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.video-timeline-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    transition: height 0.15s ease;
}

.video-timeline-track:hover {
    height: 9px;
}

.video-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--green-600), var(--green-400));
    border-radius: 3px;
    position: relative;
}

.video-progress-bar::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.15s ease;
}

.video-timeline-track:hover .video-progress-bar::after {
    opacity: 1;
}

.video-controls-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.video-controls-left,
.video-controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-ctrl-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 6px;
    transition: var(--transition);
}

.video-ctrl-btn:hover {
    color: var(--green-300);
    background: rgba(255, 255, 255, 0.1);
}

.video-time-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    font-variant-numeric: tabular-nums;
}

/* ============================================================
   MODULE 2 : VISITE VIRTUELLE & POINTS DE VUE HD
   ============================================================ */
.viewpoints-selector-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 12px 20px;
    background: #091207;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-wrap: wrap;
}

.viewpoints-bar-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: rgba(255, 255, 255, 0.55);
}

.viewpoints-chips-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.viewpoint-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--font-body);
    font-size: 0.81rem;
    font-weight: 600;
    padding: 7px 15px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.viewpoint-chip:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    color: var(--white);
    transform: translateY(-1px);
}

.viewpoint-chip.active {
    background: var(--green-600);
    border-color: var(--green-500);
    color: var(--white);
    box-shadow: 0 3px 12px rgba(93, 154, 58, 0.4);
}

.viewpoint-stage-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 640px;
    background: #0a0f06;
    overflow: hidden;
}

.viewpoint-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1), opacity 0.25s ease;
}

.viewpoint-main-img.zoomed {
    transform: scale(1.45);
    cursor: move;
}

.viewpoint-hotspots-layer {
    position: absolute;
    inset: 0;
    pointer-events: auto;
    transition: opacity 0.25s ease;
}

/* Hotspot Pins animés */
.hotspot-pin {
    position: absolute;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 5;
    outline: none;
}

.hotspot-pulse {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.35);
    animation: studioHotspotPulse 2s infinite ease-out;
}

.hotspot-core {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--green-600);
    border: 2px solid var(--white);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}

.hotspot-pin:hover .hotspot-core,
.hotspot-pin.active .hotspot-core {
    transform: scale(1.2);
    background: var(--green-500);
}

@keyframes studioHotspotPulse {
    0% {
        transform: scale(0.6);
        opacity: 0.9;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* Bannière d'en-tête de la vue */
.viewpoint-header-overlay {
    position: absolute;
    top: 18px;
    left: 20px;
    max-width: 480px;
    background: rgba(13, 20, 8, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    color: var(--white);
    pointer-events: none;
    z-index: 4;
}

.viewpoint-header-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.viewpoint-header-overlay p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.35;
    margin: 0;
}

/* Modal Hotspot Pop-over */
.hotspot-modal {
    position: absolute;
    bottom: 24px;
    left: 24px;
    max-width: 360px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(58, 99, 33, 0.3);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.96);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 15;
}

.hotspot-modal.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.hotspot-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 1.4rem;
    color: var(--neutral-400);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition);
}

.hotspot-modal-close:hover {
    color: var(--neutral-900);
}

.hotspot-modal-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--green-700);
    background: #eafaf1;
    padding: 3px 9px;
    border-radius: 50px;
    margin-bottom: 8px;
}

.hotspot-modal h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 6px;
    line-height: 1.3;
}

.hotspot-modal p {
    font-size: 0.84rem;
    color: var(--neutral-600);
    line-height: 1.5;
    margin: 0;
}

/* Outils flottants (Zoom) */
.viewpoint-floating-tools {
    position: absolute;
    top: 18px;
    right: 20px;
    z-index: 10;
}

.viewpoint-tool-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(13, 20, 8, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.viewpoint-tool-btn:hover {
    background: rgba(93, 154, 58, 0.9);
    border-color: var(--green-500);
}

.viewpoint-hint {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(13, 20, 8, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 7px 18px;
    border-radius: 50px;
    pointer-events: none;
    z-index: 5;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* ============================================================
   PIED DE PAGE MÉTADONNÉES DU PROJET
   ============================================================ */
.studio-footer-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 24px 28px;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.studio-meta-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.meta-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    background: rgba(93, 154, 58, 0.12);
    color: var(--green-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.meta-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.meta-text strong {
    font-size: 0.9rem;
    color: var(--neutral-900);
}

.meta-text span {
    font-size: 0.8rem;
    color: var(--neutral-600);
    line-height: 1.35;
}

/* ============================================================
   RESPONSIVE STUDIO 3D
   ============================================================ */
@media (max-width: 992px) {
    .studio-tab-bar {
        justify-content: center;
        padding: 12px 16px;
    }
    .studio-bar-left,
    .studio-bar-right {
        display: none;
    }
    .studio-segmented-switch {
        width: 100%;
        max-width: 540px;
    }
    .studio-tab-btn {
        flex: 1;
        justify-content: center;
    }
    .studio-footer-meta {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .viewpoint-header-overlay {
        display: none;
    }
}

@media (max-width: 768px) {
    .studio-tab-bar {
        padding: 8px 6px;
        max-width: 100%;
        overflow-x: hidden;
    }
    .studio-segmented-switch {
        width: 100%;
        max-width: 100%;
        padding: 3px;
        gap: 4px;
    }
    .studio-tab-btn {
        padding: 7px 8px;
        font-size: 0.74rem;
        gap: 5px;
        white-space: normal;
        text-align: center;
        line-height: 1.25;
        min-width: 0;
        flex: 1;
    }
    .studio-tab-btn i {
        font-size: 0.8rem;
    }
    .viewpoints-bar-label {
        display: none;
    }
    .viewpoints-selector-bar {
        padding: 10px 8px;
        gap: 6px;
        max-width: 100%;
        overflow-x: hidden;
    }
    .viewpoint-chip {
        padding: 6px 10px;
        font-size: 0.72rem;
    }
    .hotspot-modal {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }
    .viewpoint-hint {
        font-size: 0.7rem;
        padding: 5px 12px;
    }
}

@media (max-width: 480px) {
    .studio-tab-btn {
        padding: 6px 4px;
        font-size: 0.68rem;
        gap: 4px;
    }
    .studio-tab-btn i {
        font-size: 0.72rem;
    }
}

/* ============================================================
   SKILLS & SOFTWARE
   ============================================================ */
.competences {
    background: var(--neutral-950);
    color: var(--white);
}
.competences .section-tag {
    background: rgba(93, 154, 58, 0.2);
    color: var(--green-300);
    border-color: rgba(93, 154, 58, 0.3);
}
.competences .section-header h2 {
    color: var(--white);
}
.competences .text-accent {
    color: var(--green-300);
}
.competences .section-desc {
    color: rgba(255, 255, 255, 0.65);
}
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.skill-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 26px;
    transition: var(--transition);
}
.skill-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(93, 154, 58, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
.skill-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    background: rgba(93, 154, 58, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--green-300);
    margin-bottom: 24px;
}
.skill-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}
.skill-card ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.skill-card li {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 18px;
    position: relative;
    line-height: 1.5;
}
.skill-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--green-400);
    border-radius: 50%;
}

/* ============================================================
   EXPERIENCE & TIMELINE
   ============================================================ */
.experience {
    background: var(--neutral-50);
}
.timeline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}
.timeline-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.timeline-title i {
    color: var(--green-500);
}
.timeline {
    position: relative;
    padding-left: 32px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--neutral-200);
}
.timeline-item {
    position: relative;
    margin-bottom: 32px;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-dot {
    position: absolute;
    left: -32px;
    top: 24px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--neutral-300);
    z-index: 1;
    transition: var(--transition);
}
.timeline-dot.active {
    border-color: var(--green-500);
    background: var(--green-500);
    box-shadow: 0 0 0 5px rgba(74, 124, 46, 0.2);
}
.timeline-item:hover .timeline-dot {
    border-color: var(--green-500);
}
.timeline-card {
    background: var(--white);
    padding: 26px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}
.timeline-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.timeline-date {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--green-600);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.timeline-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 8px 0;
}
.timeline-card p {
    font-size: 0.94rem;
    color: var(--neutral-600);
    line-height: 1.6;
}
.timeline-place {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    color: var(--neutral-500);
    margin-top: 12px;
    font-weight: 500;
}
.timeline-place i {
    color: var(--green-500);
}

/* ============================================================
   CONTACT SECTION & CARTES AMÉLIORÉES
   ============================================================ */
.contact {
    background: var(--white);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

/* 4 CARTES DE CONTACT — 1 SEULE CARTE PAR LIGNE (DISPOSITION HORIZONTALE ÉLÉGANTE) */
.contact-cards-grid {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    height: 100%;
}

.contact-mini-card {
    background: #ffffff;
    border: 1px solid rgba(58, 99, 33, 0.12);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    flex: 1;
}
.contact-mini-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
    border-color: rgba(58, 99, 33, 0.3);
}

.mini-card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.icon-whatsapp { background: rgba(37, 211, 102, 0.12); color: #25d366; }
.icon-email { background: rgba(234, 67, 53, 0.1); color: #ea4335; }
.icon-location { background: rgba(58, 99, 33, 0.12); color: var(--green-600); }
.icon-instagram { background: rgba(225, 48, 108, 0.1); color: #e1306c; }

.mini-card-content {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}
.mini-card-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--neutral-400);
    margin-bottom: 4px;
}
.mini-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 50px;
    white-space: nowrap;
}
.badge-green { background: #eafaf1; color: #1e7e34; }
.badge-blue { background: #e8f0fe; color: #1a73e8; }
.badge-gold { background: #fef7e0; color: #b06000; }
.badge-insta { background: #fce8ef; color: #c13584; }

.pulse-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #25d366;
    margin-right: 4px;
    animation: pulseDot 2s infinite;
}

.mini-card-content h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 0 0 2px 0;
    line-height: 1.3;
}
.email-truncate {
    font-size: 0.95rem !important;
    word-break: break-all;
}
.mini-card-content p {
    font-size: 0.8rem;
    color: var(--neutral-500);
    line-height: 1.3;
    margin-bottom: 0;
}

.mini-card-arrow {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--neutral-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-600);
    font-size: 0.85rem;
    transition: var(--transition);
    flex-shrink: 0;
}
.contact-mini-card:hover .mini-card-arrow {
    background: var(--green-600);
    color: #ffffff;
    transform: translateX(3px);
}
.static-arrow {
    background: transparent;
    color: var(--green-600);
    border: 1px solid rgba(58, 99, 33, 0.2);
}
.contact-mini-card:hover .static-arrow {
    background: rgba(58, 99, 33, 0.1);
    color: var(--green-700);
    transform: none;
}

/* FORMULAIRE ÉPURÉ */
.contact-form-wrapper {
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-form {
    width: 100%;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 6px;
}
.form-group label i {
    color: var(--green-600);
    margin-right: 4px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--white);
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--neutral-800);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 3px rgba(93, 154, 58, 0.12);
    background: #fff;
}
.form-group textarea {
    resize: vertical;
    min-height: 95px;
}
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6654' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* WIDGET TOAST DE NOTIFICATION COMPACT ET PRO */
.form-status-widget {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.4;
    animation: widgetFadeIn 0.3s ease;
}
.form-status-widget.success {
    background: #eafaf1;
    color: #1e7e34;
    border: 1.5px solid #25d366;
}
.form-status-widget.error {
    background: #fdf2f2;
    color: #9b1c1c;
}

/* ============================================================
   FOOTER (Fond Noir Profond & Logo 1:1)
   ============================================================ */
.footer {
    background: #0d1408 !important;
    color: rgba(255, 255, 255, 0.75) !important;
    padding: 80px 0 0 !important;
    display: block !important;
    width: 100% !important;
    position: relative;
    z-index: 10;
}
.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    width: 72px;
    height: 72px;
    aspect-ratio: 1 / 1;
    padding: 0;
    margin-bottom: 18px;
    box-shadow: none;
    border: none;
}
.footer-logo {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.45));
    transition: var(--transition);
}
.footer-logo-wrap:hover .footer-logo {
    transform: scale(1.06);
}
.footer-brand p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
}
.footer-brand strong {
    color: var(--white);
    font-size: 1.05rem;
}
.footer-links h4,
.footer-social h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 22px;
}
.footer-links a {
    display: block;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 7px 0;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--green-300);
    transform: translateX(4px);
}
.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.social-links a {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}
.social-links a.social-wa:hover { background: #25d366; color: #fff; transform: translateY(-3px); }
.social-links a.social-mail:hover { background: #ea4335; color: #fff; transform: translateY(-3px); }
.social-links a.social-phone:hover { background: var(--green-600); color: #fff; transform: translateY(-3px); }
.social-links a.social-insta:hover { background: #e1306c; color: #fff; transform: translateY(-3px); }

.footer-contact-details {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.footer-contact-details i {
    color: var(--green-400);
    margin-right: 6px;
}
.footer-bottom {
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ============================================================
   BOUTON FLOTTANT WHATSAPP & BACK TO TOP
   ============================================================ */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    z-index: 998;
    transition: var(--transition);
    cursor: pointer;
}
.whatsapp-floating-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    color: #fff;
}
.whatsapp-floating-btn .wa-tooltip {
    position: absolute;
    left: 70px;
    background: #111;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 50px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-10px);
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.whatsapp-floating-btn:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================================
   BOUTON RETOUR EN HAUT AVEC ANNEAU CIRCULAIRE DE SCROLL
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #19310f;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    z-index: 998;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
    cursor: pointer;
    text-decoration: none;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}
.back-to-top:hover {
    background: #234515;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 24px rgba(93, 154, 58, 0.35);
    color: #ffffff;
}
.back-to-top i {
    position: relative;
    z-index: 2;
    font-size: 1.05rem;
    transition: transform 0.2s ease;
}
.back-to-top:hover i {
    transform: translateY(-2px);
}

/* Anneau SVG de progression circulaire */
.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); /* Démarre à 12h (en haut) */
    transform-origin: 50% 50%;
    pointer-events: none;
}
.progress-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.16);
    stroke-width: 3.5;
}
.progress-ring-circle {
    fill: none;
    stroke: var(--green-400);
    stroke-width: 3.5;
    stroke-linecap: round;
    transition: stroke-dashoffset 0.08s linear, stroke 0.3s ease;
}
.back-to-top:hover .progress-ring-circle {
    stroke: var(--green-300);
}

/* ============================================================
   LIGHTBOX & PARTICULES
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 6, 0.94);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    cursor: pointer;
    backdrop-filter: blur(12px);
    padding: 24px;
}
.lightbox.active {
    opacity: 1;
    visibility: visible;
}
.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}
.lightbox-close {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.leaf-particle {
    position: absolute;
    width: 14px;
    height: 14px;
    opacity: 0.18;
    pointer-events: none;
    animation: floatLeaf linear infinite;
}
.leaf-particle svg {
    width: 100%;
    height: 100%;
    fill: var(--green-300);
}
@keyframes floatLeaf {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 0.18; }
    90% { opacity: 0.18; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* Scroll Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-animate="fade-down"] { transform: translateY(-30px); }
[data-animate="fade-right"] { transform: translateX(-40px); }
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1024px) {
    .skills-grid { grid-template-columns: repeat(2, 1fr); }
    .project-showcase-grid {
        grid-template-columns: 1fr !important;
        gap: 36px;
    }
    .project-showcase.reverse .project-showcase-grid {
        direction: ltr;
    }
    .project-number { font-size: 5.5rem; margin-bottom: -30px; }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ============================================================
   NAVIGATION TIROIR MOBILE (< 768px)
   ============================================================ */
@media (max-width: 768px) {
    /* ===== NAVIGATION TIROIR MOBILE LUXE ===== */
    html.nav-menu-open,
    body.nav-menu-open {
        overflow: hidden !important;
        touch-action: none;
    }

    body.nav-menu-open .navbar {
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }

    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        border-radius: 12px;
        background: rgba(13, 20, 8, 0.45);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        cursor: pointer;
        padding: 0;
        z-index: 1095;
        transition: var(--transition);
    }
    .navbar.scrolled .nav-toggle {
        background: rgba(47, 98, 23, 0.08);
        border: 1px solid rgba(47, 98, 23, 0.18);
    }
    .nav-toggle span {
        width: 22px;
        height: 2px;
        background: var(--white);
        border-radius: 2px;
        transition: var(--transition);
    }
    .navbar.scrolled .nav-toggle span {
        background: var(--neutral-800);
    }

    /* Voile d'arrière-plan avec flou - STRICTEMENT sous le tiroir */
    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: rgba(10, 16, 8, 0.72);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
        z-index: 1090;
    }
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Tiroir Coulissant Mobile - Architecture Haute Couture */
    .nav-drawer {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: 0;
        transform: translateX(105%);
        visibility: hidden;
        pointer-events: none;
        width: min(320px, 86vw);
        height: 100vh;
        height: 100dvh;
        background: radial-gradient(circle at 80% 20%, #152412 0%, #0d150b 100%);
        border-left: 1px solid rgba(212, 175, 55, 0.22);
        box-shadow: -15px 0 50px rgba(0, 0, 0, 0.85);
        z-index: 1099;
        transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.38s ease;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .nav-drawer::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
    .nav-drawer.active {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }
    body.menu-instant-open .nav-drawer {
        transition: none !important;
    }

    /* En-tête du tiroir - compact & architectural */
    .nav-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 18px 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(0, 0, 0, 0.35);
        flex-shrink: 0;
    }
    .drawer-brand {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .drawer-logo-wrap {
        width: 36px;
        height: 36px;
        aspect-ratio: 1 / 1;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.04);
        padding: 3px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(212, 175, 55, 0.25);
    }
    .drawer-logo-img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .drawer-brand-text {
        display: flex;
        flex-direction: column;
    }
    .drawer-brand-title {
        font-family: var(--font-playfair);
        font-size: 1.10rem;
        font-weight: 700;
        letter-spacing: 0.10em;
        color: #fff;
        line-height: 1.1;
    }
    .drawer-brand-sub {
        font-size: 0.62rem;
        text-transform: uppercase;
        letter-spacing: 0.18em;
        color: #c5a059;
        font-weight: 600;
        margin-top: 1px;
    }
    .nav-drawer-close {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.88rem;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: var(--transition);
    }
    .nav-drawer-close:hover,
    .nav-drawer-close:active {
        background: rgba(86, 171, 47, 0.25);
        border-color: #88d44e;
        color: #fff;
        transform: rotate(90deg);
    }

    /* Liste des liens - SIMPLE, ÉPURÉ, PARFAITEMENT ALIGNÉ SANS DÉCALAGE */
    .nav-drawer .nav-links {
        display: flex;
        flex-direction: column;
        padding: 16px 16px 10px;
        gap: 4px;
        width: 100% !important;
        margin: 0;
        align-items: stretch !important;
        box-shadow: none;
        background: transparent;
        position: static;
        height: auto;
    }
    .nav-drawer .nav-links li {
        width: 100% !important;
        list-style: none;
        margin: 0;
    }
    .nav-drawer .nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        height: 48px !important;
        padding: 0 14px !important;
        border-radius: 8px !important;
        background: transparent !important;
        border: none !important;
        border-left: 3px solid transparent !important;
        color: rgba(255, 255, 255, 0.88) !important;
        text-decoration: none !important;
        transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
        position: relative;
    }
    .nav-drawer .nav-link-content {
        display: inline-flex !important;
        align-items: center !important;
        gap: 14px !important;
    }
    .nav-drawer .nav-icon-badge {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        min-width: 24px !important;
        height: 24px !important;
        background: transparent !important;
        border: none !important;
        color: #7ab94d !important;
        font-size: 1.05rem !important;
        flex-shrink: 0 !important;
        text-align: center !important;
        transition: color 0.2s ease !important;
    }
    .nav-drawer .nav-text {
        font-family: var(--font-body) !important;
        font-size: 1rem !important;
        font-weight: 500 !important;
        letter-spacing: 0.02em !important;
        color: rgba(255, 255, 255, 0.9) !important;
        transition: color 0.2s ease !important;
    }
    .nav-drawer .nav-arrow {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 0.78rem !important;
        color: rgba(255, 255, 255, 0.3) !important;
        transition: transform 0.2s ease, color 0.2s ease !important;
    }
    .nav-drawer .nav-link:hover,
    .nav-drawer .nav-link:active {
        background: rgba(255, 255, 255, 0.05) !important;
        color: #ffffff !important;
    }
    .nav-drawer .nav-link:hover .nav-arrow,
    .nav-drawer .nav-link:active .nav-arrow {
        color: #88d44e !important;
        transform: translateX(3px) !important;
    }
    .nav-drawer .nav-link:hover .nav-icon-badge,
    .nav-drawer .nav-link:active .nav-icon-badge {
        color: #88d44e !important;
    }
    .nav-drawer .nav-link.active {
        background: rgba(122, 185, 77, 0.12) !important;
        border-left-color: #88d44e !important;
        color: #ffffff !important;
    }
    .nav-drawer .nav-link.active .nav-icon-badge {
        color: #88d44e !important;
    }
    .nav-drawer .nav-link.active .nav-text {
        color: #ffffff !important;
        font-weight: 600 !important;
    }
    .nav-drawer .nav-link.active .nav-arrow {
        color: #88d44e !important;
        transform: translateX(2px) !important;
    }
    .nav-drawer .nav-link::after {
        display: none !important;
    }

    /* Suppression de la carte Demander un Devis sur le tiroir mobile */
    .nav-drawer .nav-cta-item {
        display: none !important;
    }

    /* Pied de page du tiroir */
    .nav-drawer-footer {
        display: block;
        padding: 10px 16px 14px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        background: rgba(0, 0, 0, 0.35);
        margin-top: auto;
        flex-shrink: 0;
    }
    .drawer-quick-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 8px;
    }
    .drawer-action-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        height: 36px;
        padding: 0 10px;
        border-radius: 8px;
        font-size: 0.82rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        text-decoration: none;
        transition: var(--transition);
    }
    .drawer-action-btn.wa {
        background: #25D366;
        color: #fff;
        box-shadow: 0 3px 12px rgba(37, 211, 102, 0.35);
    }
    .drawer-action-btn.wa:hover {
        background: #20ba59;
    }
    .drawer-action-btn.tel {
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.16);
        color: #ffffff;
    }
    .drawer-action-btn.tel:hover {
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.3);
    }
    .drawer-meta-info {
        text-align: center;
        font-size: 0.72rem;
        color: rgba(255, 255, 255, 0.5);
        letter-spacing: 0.03em;
    }
    .drawer-meta-info i {
        color: #88d44e;
        margin-right: 4px;
    }
}

/* ===== LAYOUT & GRILLES RESPONSIVES MOBILE (<= 768px) ===== */
@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .hero { padding: 120px 0 60px; }
    .hero-stats {
        gap: 20px;
        padding: 20px;
    }
    .stat-divider { display: none; }

    /* Neutralisation des translations horizontales d'animation sur mobile pour éliminer le scroll latéral */
    [data-animate="fade-left"],
    [data-animate="fade-right"] {
        transform: translateY(25px);
    }
    .highlight:hover {
        transform: none;
    }

    .apropos-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        width: 100%;
        max-width: 100%;
    }
    .apropos-image,
    .apropos-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .apropos-image {
        max-width: 360px;
        margin: 0 auto;
    }

    .timeline-grid { grid-template-columns: 1fr; gap: 40px; }
    .timeline-column { width: 100%; max-width: 100%; min-width: 0; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form-wrapper { padding: 24px; }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .whatsapp-floating-btn {
        bottom: 24px;
        left: 24px;
        width: 52px;
        height: 52px;
        font-size: 1.6rem;
    }
    .back-to-top {
        bottom: 24px;
        right: 24px;
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 600px) {
    .container,
    .nav-container {
        padding: 0 16px;
    }
    .contact-mini-card {
        padding: 14px 16px;
        gap: 12px;
    }
    .mini-card-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 1.15rem;
    }
    .mini-card-content h4 {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.6rem; }
    .skills-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
    .project-number { font-size: 4rem; }
}
