:root {
    --bg: #0b0b0f;
    --txt: #eaeaf2;
    --muted: #9aa3af;
    --card: #14141b;
    --accent: #8b5cf6;
    --accent-2: #22d3ee;
    --border: rgba(255, 255, 255, .08);
    --radius: 18px;
    --shadow: 0 10px 40px rgba(0, 0, 0, .35);

    /* Vars fluides */
    --site-pad-x: clamp(16px, 2.5vw, 24px);
    --section-pad-y: clamp(56px, 8vw, 96px);
    --nav-h: clamp(56px, 8vh, 72px);
    --hero-gap: clamp(16px, 2.2vw, 28px);
    --grid-gap: clamp(16px, 2vw, 22px);
    --card-pad: clamp(18px, 2.2vw, 26px);
    --rounded: clamp(14px, 1.8vw, 18px);
    --btn-pad-y: clamp(10px, 1.2vw, 14px);
    --btn-pad-x: clamp(16px, 1.8vw, 22px);
    --badge-gap: clamp(28px, 3.2vw, 56px);
}

* {
    box-sizing: border-box
}

/* ====================== */
/* Désactivation scroll-snap */
/* ====================== */
html {
    scroll-behavior: smooth;
}

body {
    scroll-snap-type: none;
}

.section {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
}

/* Forcer le comportement desktop */
.nav-desktop {
    display: block;
}

.burger,
.mobile-menu {
    display: none;
}


body {
    margin: 0;
    background:
        /* Violet haut gauche (Hero) */
        radial-gradient(60vw 60vh at -10% 20%, rgba(139, 92, 246, 0.25), transparent 70%),

        /* Bleu turquoise haut droite (Hero) */
        radial-gradient(60vw 90vh at 120% 15%, rgba(34, 211, 238, 0.22), transparent 70%),

        /* Vert émeraude gauche (Expertise) */
        radial-gradient(60vw 60vh at -10% 50%, rgba(21, 52, 252, 0.22), transparent 70%),

        /* Rose-orangé centre droit (Équipe) */
        radial-gradient(60vw 60vh at 120% 65%, rgba(255, 119, 0, 0.20), transparent 70%),


        /* Rose-magenta bas gauche (Contact) */
        radial-gradient(48vw 60vh at -10% 100%, rgba(236, 72, 153, 0.18), transparent 70%),

        /* Orange-doré bas droite (Contact) */
        radial-gradient(48vw 60vh at 110% 100%, rgba(251, 191, 36, 0.16), transparent 70%),

        var(--bg);

    color: var(--txt);
    font-family: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    letter-spacing: .1px;
    position: relative;
    z-index: 0;
}

/* ====================== */
/* Layout global */
/* ====================== */
.container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--site-pad-x);
}

.section {
    padding: var(--section-pad-y) 0;
}

.muted {
    color: var(--muted)
}

/* ====================== */
/* Texts */
/* ====================== */
.gradient-text {
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ====================== */
/* Buttons */
/* ====================== */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: clamp(8px, 1vw, 10px);
    padding: var(--btn-pad-y) var(--btn-pad-x);
    border-radius: clamp(12px, 1.4vw, 14px);
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
    isolation: isolate;
    text-decoration: none;
    font-size: clamp(14px, 1.1vw, 15px);
}

.btn .ring {
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: conic-gradient(from 0turn, rgba(139, 92, 246, .9), rgba(34, 211, 238, .9), rgba(139, 92, 246, .9));
    filter: blur(clamp(12px, 1.6vw, 18px));
    opacity: .35;
    z-index: -1;
    transition: opacity .35s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, .15);
}

.btn:hover .ring {
    opacity: .6
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    border: none;
    box-shadow: 0 6px 20px rgba(139, 92, 246, .3);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 26px rgba(139, 92, 246, .45);
}

.btn.secondary {
    background: #14141b;
    border: 1px solid var(--border);
    color: #fff;
}

.btn.secondary:hover {
    border-color: var(--accent);
    box-shadow: 0 6px 20px rgba(34, 211, 238, .25);
    transform: translateY(-2px);
}

/* ====================== */
/* Navbar */
/* ====================== */
.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(140%) blur(12px);
    background: rgba(10, 10, 14, .55);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--nav-h);
    padding: 0 var(--site-pad-x);
}

.brand {
    display: flex;
    align-items: center;
    gap: clamp(8px, 1vw, 10px);
    font-weight: 800;
    letter-spacing: .6px;
}

.brand .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 20px rgba(139, 92, 246, .6);
}


.nav ul {
    display: flex;
    gap: clamp(14px, 2vw, 22px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav a {
    color: var(--txt);
    text-decoration: none;
    font-weight: 600;
    opacity: .9;
}

/* Liens de navigation */
.nav ul li a {
    display: flex;
    align-items: center;
    height: var(--nav-h);
    padding: 0 6px;
}

/* Centre le bouton "Nous contacter" sans perdre les paddings */
header.nav .nav-inner nav ul li:last-child {
    display: flex;
    align-items: center;
    height: var(--nav-h);
}

header.nav .nav-inner nav ul li:last-child>a.btn {
    display: inline-flex;
    align-items: center;
    margin: 0;
    height: auto;
    padding: var(--btn-pad-y) var(--btn-pad-x);
    box-sizing: border-box;
}

.nav a:hover {
    opacity: 1
}

/* ====================== */
/* Hero */
/* ====================== */
.hero {
    position: relative;
    overflow: visible;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(16px, 2vw, 28px);
    align-items: center;
    min-height: 82vh;
    padding-top: clamp(32px, 4.2vw, 56px);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: clamp(6px, 1vw, 8px);
    padding: clamp(6px, .9vw, 8px) clamp(10px, 1.2vw, 12px);
    border-radius: 999px;
    border: 1px solid var(--border);
    font-size: clamp(11px, 1vw, 12px);
    color: var(--muted);
    background: rgba(20, 20, 27, .6);
}

.title {
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    margin: 16px 0 12px;
    font-weight: 800;
}

.lead {
    font-size: clamp(16px, 1.5vw, 20px);
    color: #cfd3dc;
    max-width: 56ch;
}

.cta-row {
    display: flex;
    gap: clamp(10px, 1.2vw, 14px);
    margin-top: clamp(18px, 1.8vw, 26px);
    flex-wrap: wrap;
}

.phones {
    position: relative;
    height: clamp(360px, 45vw, 560px);
    /* un poil plus grand qu’avant */
    max-width: 100%;
    overflow: visible;
}

.phone {
    position: absolute;
    width: clamp(200px, 26vw, 380px);
    /* plus large */
    aspect-ratio: 9/19;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    pointer-events: none;
}

/* iPhone gauche */
.phone.left {
    left: -6%;
    /* chevauche bien la grille */
    top: 4%;
    /* légèrement plus haut */
    background-image: url('/images/Glouglou noir 3.webp');
    --base-rot: -8deg;
    z-index: 1;
}

/* iPhone droit */
.phone.right {
    right: -5%;
    /* déborde encore plus */
    bottom: 0;
    /* posé mais qui monte un peu */
    background-image: url('/images/Bloomy noir 3.webp');
    --base-rot: 6deg;
    z-index: 2;
}

/* Mobile */
@media (max-width: 900px) {
    .phones {
        height: clamp(260px, 60vw, 440px);
    }

    .phone.left {
        display: none;
    }

    .phone.right {
        left: 50%;
        right: auto;
        transform: translateX(-50%) rotate(var(--base-rot, 0deg));
        width: clamp(200px, 50vw, 320px);
    }
}

/* ====================== */
/* Clients marquee */
/* ====================== */
.marquee {
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(20, 20, 27, .4);
}

.marquee-track {
    display: flex;
    gap: var(--badge-gap);
    padding: clamp(14px, 1.6vw, 22px) 0;
    will-change: transform;
}

.badge {
    padding: clamp(6px, .9vw, 8px) clamp(10px, 1.2vw, 12px);
    border: 1px dashed var(--border);
    border-radius: 999px;
    color: #cbd5e1;
    font-size: clamp(12px, 1.2vw, 14px);
    white-space: nowrap;
}

@keyframes marquee {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

/* ====================== */
/* Expertise Section */
/* ====================== */
#expertise {
    display: block;
    min-height: 100vh;
    padding-top: 0 !important;
    margin: 0
}

/* Expertise collée en haut de l'écran */
#expertise.section {
    padding-top: 0 !important;
}

#expertise .marquee {
    margin: 0;
    position: relative;
    top: 0;
}

#expertise .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 64px);
    padding: var(--section-pad-y) clamp(32px, 6vw, 96px);
}

#expertise .reveal h2 {
    font-size: clamp(32px, 5vw, 60px);
    margin-bottom: clamp(12px, 1.3vw, 18px);
    font-weight: 800;
}

#expertise .reveal p {
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.6;
    max-width: 68ch;
    margin: 0 auto;
    color: var(--muted);
}

#expertise .grid {
    margin-top: clamp(56px, 6vw, 96px);
    gap: clamp(24px, 3.2vw, 48px);
}

.grid {
    display: grid;
    gap: var(--grid-gap);
}

.grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width:900px) {
    .grid.cols-3 {
        grid-template-columns: 1fr
    }
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .0));
    border: 1px solid var(--border);
    border-radius: var(--rounded);
    padding: var(--card-pad);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.card .shine {
    position: absolute;
    inset: -1px;
    background: radial-gradient(34vw 12vw at var(--mx, 60%) -10%, rgba(255, 255, 255, .08), transparent 45%);
    pointer-events: none;
}

.card h3 {
    margin: 8px 0 6px;
    font-size: clamp(18px, 1.4vw, 22px)
}

.card p {
    margin: 0;
    color: #cfd3dc
}

.expertise-card {
    text-align: center;
    padding: clamp(36px, 4vw, 64px) clamp(22px, 2.4vw, 32px);
    min-height: clamp(300px, 38vh, 380px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.expertise-card .expertise-icon {
    width: clamp(44px, 3.4vw, 56px);
    height: clamp(44px, 3.4vw, 56px);
    margin: 0 auto clamp(12px, 1.4vw, 18px);
    opacity: 0.95;
}


/* ====================== */
/* TEAM SECTION — HUNTER LABS */
/* ====================== */

.equipe-section {
    text-align: center;
    padding-top: clamp(8px, 1vw, 2px);
}

.equipe-header {
    margin: 0 auto clamp(24px, 3vw, 36px);
    max-width: 68ch;
}

/* --- TITRES & INTRO --- */
#equipe .equipe-header h2 {
    font-size: clamp(32px, 5vw, 60px);
    margin-bottom: clamp(8px, 1.2vw, 14px);
    font-weight: 800;
    line-height: 1.1;
}

#equipe .equipe-header p {
    font-size: clamp(16px, 1.3vw, 18px);
    line-height: 1.6;
    max-width: 62ch;
    margin: 0 auto;
    color: var(--muted);
}

/* --- GRID TEAM --- */
.team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(18px, 2.2vw, 24px);
    justify-items: center;
}

/* --- CARD MEMBRE --- */
.member {
    position: relative;
    padding: clamp(16px, 1.5vw, 20px);
    border-radius: var(--rounded);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    will-change: transform;
}

.member:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
    border-color: rgba(255, 255, 255, 0.12);
}

/* --- PHOTO + HALO --- */
.member .photo {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: clamp(100px, 9vw, 120px);
    height: clamp(100px, 9vw, 120px);
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.8rem;
}

/* --- HALO PRO & SOFT --- */
.member .photo::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: radial-gradient(circle at center,
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.05) 40%,
            rgba(255, 255, 255, 0) 70%),
        linear-gradient(135deg, var(--accent), var(--accent-2));
    background-blend-mode: overlay;
    opacity: 0.2;
    transition: opacity 0.35s ease, transform 0.35s ease;
    z-index: 0;
}

.member:hover .photo::before {
    opacity: 0.4;
    transform: scale(1.05);
}

/* Couleurs personnalisées par membre */
.member:nth-child(1) .photo::before {
    background: radial-gradient(circle at center,
            rgba(59, 130, 246, 0.25) 0%,
            rgba(34, 211, 238, 0.1) 40%,
            transparent 80%),
        linear-gradient(135deg, #3b82f6, #22d3ee);
    background-blend-mode: overlay;
}

.member:nth-child(2) .photo::before {
    background: radial-gradient(circle at center,
            rgba(245, 158, 11, 0.25) 0%,
            rgba(239, 68, 68, 0.1) 40%,
            transparent 80%),
        linear-gradient(135deg, #f59e0b, #ef4444);
    background-blend-mode: overlay;
}

/* --- IMAGE --- */
.member img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.member:hover img {
    transform: scale(1.05);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
}

/* --- INFOS --- */
.member .info {
    padding-inline: clamp(8px, 1vw, 12px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.member h4 {
    margin: 0 0 4px;
    font-size: clamp(18px, 1.6vw, 22px);
    font-weight: 800;
    color: #fff;
}

.member small {
    display: block;
    font-size: clamp(14px, 1.3vw, 16px);
    font-weight: 700;
    margin-bottom: clamp(8px, 1vw, 10px);
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Couleur personnalisée */
.member:nth-child(2) small {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.member p {
    margin: 0 auto 10px;
    padding-inline: 4px;
    max-width: 30ch;
    color: #cfd3dc;
    line-height: 1.55;
    font-size: clamp(14px, 1.2vw, 15px);
}

/* --- BOUTONS --- */
.member .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    margin-top: 6px;
    font-weight: 600;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    text-decoration: none;
    font-size: clamp(13px, 1.1vw, 14px);
    padding: 0.55rem 1.1rem;
    transition: all 0.25s ease;
}

.member .btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    opacity: 0.95;
}

/* === CORRECTION LINKEDIN BUTTON COLOR ====================== */

/* Style de base du bouton LinkedIn (inchangé visuellement) */
.member .btn.linkedin-btn {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    transition: all 0.25s ease;
}

/* Hover LinkedIn — bleu professionnel et lumineux */
.member .btn.linkedin-btn:hover {
    border-color: #0A66C2;
    background: rgba(10, 102, 194, 0.15);
    box-shadow: 0 0 20px rgba(10, 102, 194, 0.25);
    transform: translateY(-2px);
    opacity: 1;
}


/* Espacement entre WhatsApp et LinkedIn */
.member .whatsapp-btn {
    margin-bottom: 6px;
}

.member .whatsapp-btn:hover {
    border-color: #25D366;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.25);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .team {
        grid-template-columns: 1fr;
        gap: 3.2vw;
    }

    .member {
        max-width: 85%;
        min-height: auto;
        padding: 18px 14px;
    }

    .member img {
        width: clamp(6.5rem, 24vw, 7.5rem);
        height: clamp(6.5rem, 24vw, 7.5rem);
    }
}

/* --- VIEWPORT COURT (petits laptops) --- */
@media (min-width: 769px) and (max-height: 820px) {
    #equipe.section {
        padding-top: 10px;
        padding-bottom: 22px;
    }

    .member {
        max-width: 300px;
        padding: 14px;
    }

    .member .photo {
        width: 96px;
        height: 96px;
    }
}

/* ===================================================================
CONTACT — Section plein écran
=================================================================== */

/* CONTACT — section */
#contact {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100vh;
    padding: var(--section-pad-y) clamp(32px, 6vw, 96px);
    box-sizing: border-box;
}

/* Grid deux colonnes alignées en haut */
#contact .grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(18px, 2.2vw, 28px);
    align-items: start;
}

/* Colonne gauche (titre + texte + bouton mail) */
#contact .grid>.reveal:first-child {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(20px, 2.4vw, 32px);
}

/* Sous-texte au milieu avec marge verticale */
#contact .grid>.reveal:first-child p {
    margin: auto 0;
    text-align: left;
    max-width: 52ch;
    line-height: 1.7;
}

/* Email tout en bas */
#contact .grid>.reveal:first-child>div:last-child {
    margin-top: auto;
}

/* Formulaire : taille naturelle, pas stretch */
#contact form.card {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.2vw, 14px);
    padding: clamp(18px, 2vw, 24px);
    border-radius: var(--rounded);
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

/* Inputs normaux */
#contact input,
#contact textarea {
    width: 100%;
    padding: clamp(12px, 1.2vw, 14px) clamp(14px, 1.4vw, 16px);
    border-radius: clamp(10px, 1.2vw, 12px);
    background: #0e0e14;
    border: 1px solid var(--border);
    color: var(--txt);
    font: inherit;
}

#contact textarea {
    min-height: clamp(120px, 22vh, 140px);
    resize: vertical;
}

/* Footer toujours collé en bas */
.footer {
    margin-top: auto;
    width: 100%;
    border-top: 1px solid var(--border);
    padding: clamp(20px, 2.6vw, 32px) clamp(24px, 3.4vw, 48px);
    color: var(--muted);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(10px, 1.6vw, 16px);
}


/* ===================================================================
REVEALS
=================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(16px);
}


/* ===================================================================
MOBILE (≤768px) — Navigation, Hero, Sections, Footer
=================================================================== */

@media (max-width: 768px) {

    /* --- Sécurité affichage --- */
    html,
    body {
        overflow-x: hidden;
    }

    .section {
        padding: calc(var(--section-pad-y) * .85) 0;
    }

    /* ================= NAVBAR ================= */
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
        backdrop-filter: saturate(140%) blur(12px);
        background: rgba(10, 10, 14, 0.75);
        border-bottom: 1px solid var(--border);
    }

    .nav-inner {
        min-height: calc(var(--nav-h) - 0.4rem);
        padding: 0 var(--site-pad-x);
    }

    .nav-desktop {
        display: none !important;
    }

    /* ================= BURGER MENU ================= */
    .burger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        /* fixe, pas de vh/vw */
        height: 18px;
        /* assez haut pour 3 traits */
        cursor: pointer;
    }

    .burger span {
        display: block;
        width: 100%;
        height: 2px;
        /* finesse du trait */
        background: var(--txt);
        border-radius: 1px;
        transition: transform .3s, opacity .3s;
    }

    /* Animation en croix */
    .burger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .burger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .mobile-menu {
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 14, .96);
        backdrop-filter: blur(1rem);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 3.2vh;
        opacity: 0;
        pointer-events: none;
        transition: opacity .35s ease;
        z-index: 999;
    }

    .mobile-menu.active {
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-menu a {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
        font-weight: 800;
        color: var(--txt);
        text-decoration: none;
    }

    .mobile-menu .btn {
        margin-top: 2.5vh;
        font-size: clamp(1rem, 3vw, 1.2rem);
        padding: 0.8rem 1.5rem;
    }

    /* ================= HERO ================= */
    /* ================= HERO ================= */
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding-top: 10vh;
        gap: 2.4vh;
        padding-left: 6vw;
        /* ajout d'espace horizontal */
        padding-right: 6vw;
        /* ajout d'espace horizontal */
    }

    .eyebrow {
        margin-inline: auto;
    }

    .title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        /* un peu plus petit */
        line-height: 1.2;
        padding-bottom: 2vh
    }

    .lead {
        margin: 0 auto;
        font-size: clamp(0.9rem, 4vw, 1rem);
        /* réduit aussi */
        line-height: 1.5;
        max-width: 60ch;
        padding-bottom: 2vh
    }

    .cta-row {
        justify-content: center;
    }

    .phones {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: flex-end;
        height: auto;
    }

    .phone {
        position: static;
        width: clamp(8.75rem, 36vw, 10.6rem);
        aspect-ratio: 9 / 19;
        transform: rotate(var(--base-rot, 0deg));
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
    }

    .phone.left {
        display: block;
        --base-rot: -8deg;
        margin-top: 1vh;
    }

    .phone.right {
        display: block;
        --base-rot: 6deg;
    }

    /* ================= PHONE IMG MEDIA QUERIES ================= */



    /* ================= MARQUEE ================= */
    .marquee-track {
        gap: 3.2vw;
        padding: 1rem 0;
    }

    /* ================= EXPERTISE ================= */
    /* Expertise — plus d’espace horizontal */
    #expertise .container {
        padding-left: calc(var(--site-pad-x) * 2.8);
        padding-right: calc(var(--site-pad-x) * 2.8);
    }

    /* Ajustement mobile (évite que ça colle trop) */
    @media (max-width: 768px) {
        #expertise .container {
            padding-left: calc(var(--site-pad-x) * 2.2);
            padding-right: calc(var(--site-pad-x) * 2.2);
        }
    }

    #expertise .content {
        padding: var(--section-pad-y) var(--site-pad-x);
    }

    #expertise .grid.cols-3 {
        grid-template-columns: 1fr;
        gap: 3.2vw;
    }

    .expertise-card {
        min-height: auto;
        padding: 2rem 1.25rem;
    }

    /* ================= ÉQUIPE ================= */
    .equipe-section {
        padding-top: 1vh;
    }

    .team {
        grid-template-columns: 1fr;
        gap: 3.2vw;
    }

    /* ÉQUIPE — plus d’espace horizontal */
    #equipe.container {
        padding-left: calc(var(--site-pad-x) * 1.8);
        padding-right: calc(var(--site-pad-x) * 1.8);
    }

    /* Ajustement mobile (respiration mais pas étouffer) */
    @media (max-width: 768px) {
        #equipe.container {
            padding-left: calc(var(--site-pad-x) * 1.2);
            padding-right: calc(var(--site-pad-x) * 1.2);
        }
    }

    /* Réduction taille des cards membres */
    .member {
        max-width: 260px;
        /* moins large qu’avant */
        min-height: clamp(360px, 42vh, 420px);
        /* réduit la hauteur */
        padding: clamp(18px, 2vw, 24px) clamp(16px, 1.8vw, 20px);
    }

    /* Mobile : encore plus compact */
    @media (max-width: 768px) {
        .member {
            max-width: 85%;
            min-height: auto;
            /* pas d’imposition, suit le contenu */
            padding: 20px 16px;
        }
    }

    .member img {
        width: clamp(6.5rem, 24vw, 7.5rem);
        height: clamp(6.5rem, 24vw, 7.5rem);
    }

    /* ================= CONTACT ================= */
    /* ================= CONTACT (mobile ≤768px) ================= */
    /* ================= CONTACT (mobile ≤768px) ================= */
    @media (max-width: 768px) {
        #contact {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 2.8vh;
            /* un peu plus d’air */
            padding: var(--section-pad-y) calc(var(--site-pad-x) * 1.5);
            /* + padding horizontal */
        }

        #contact .grid {
            display: flex;
            flex-direction: column;
            gap: 2.4vh;
            width: 100%;
        }

        #contact h2 {
            text-align: center;
            margin-bottom: 1vh;
        }

        #contact p {
            text-align: center;
            max-width: 52ch;
            margin: 0 auto 1.8vh auto;
        }

        /* Formulaire centré */
        #contact form.card {
            order: 2;
            width: 100%;
            max-width: 480px;
            margin: 0 auto;
        }

        /* Cadre email sous le formulaire */
        #contact .grid>div:last-child {
            order: 3;
            display: flex;
            justify-content: center;
            width: 100%;
        }

        #contact .card {
            width: 100%;
            max-width: 420px;
            margin: 0 auto;
            padding: 1.5rem;
            /* padding interne un peu plus large */
        }
    }

    /* ================= FOOTER ================= */
    .footer {
        flex-direction: column;
        text-align: center;
        gap: 1vh;
        font-size: clamp(0.8rem, 3vw, 0.9rem);
        padding: 1.5rem;
    }
}

/* =================== PAGES SUPPORT =================== */
.support-content {
    margin: 200px 100px 200px 100px;
}

@media (max-width: 768px) {
    .support-content {
        margin: 100px 20px 100px 20px;
    }
}

/* Boutons WhatsApp / LinkedIn — mêmes styles qu’avant, juste empilés */
/* Conteneur vertical pour les boutons */
.member .info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Boutons identiques à avant */
.member .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    margin-top: 8px;
}

/* Espacement entre les deux */
.member .whatsapp-btn {
    margin-bottom: 6px;
}

/* Optionnel : subtil hover vert WhatsApp */
.member .whatsapp-btn:hover {
    border-color: #25D366;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.25);
}