/* ================================================================
   MOTRO FRANCE — style.css
   Direction artistique : Ultra-épurée · Technique · Automobile
   Palette : Blanc #FFFFFF | Anthracite #111111 | Jaune #FFCC00
   Version : Hero centré immersif avec overlays sur la voiture
   ================================================================ */


/* ──────────────────────────────────────────────────────────────
   1. VARIABLES CSS GLOBALES
   ────────────────────────────────────────────────────────────── */
:root {
    --c-blanc:        #FFFFFF;
    --c-noir:         #111111;
    --c-anthracite:   #1C1C1E;
    --c-gris-bg:      #F5F5F7;
    --c-gris-clair:   #E8E8ED;
    --c-gris-moyen:   #8E8E93;
    --c-gris-bordure: #D1D1D6;
    --c-jaune:        #FFCC00;
    --c-jaune-sombre: #E6B800;
    --c-rouge:        #FF3B30;
    --c-vert:         #34C759;

    --font-corps:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono:   'Courier New', 'Roboto Mono', monospace;

    --ombre-xs: 0 1px 2px rgba(0,0,0,0.06);
    --ombre-sm: 0 1px 6px rgba(0,0,0,0.07), 0 4px 16px rgba(0,0,0,0.05);
    --ombre-md: 0 4px 24px rgba(0,0,0,0.10);
    --ombre-lg: 0 8px 40px rgba(0,0,0,0.15);
    --ombre-jaune: 0 4px 20px rgba(255, 204, 0, 0.45);

    --r-sm:   6px;
    --r-md:   10px;
    --r-lg:   16px;
    --r-xl:   24px;
    --r-full: 9999px;

    --t-vite:   0.18s cubic-bezier(0.4, 0, 0.2, 1);
    --t-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --t-lente:  0.45s cubic-bezier(0.4, 0, 0.2, 1);
}


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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-corps);
    background-color: var(--c-blanc);
    color: var(--c-noir);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img    { max-width: 100%; display: block; }
ul     { list-style: none; }
a      { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: var(--font-corps); font-size: inherit; }


/* ──────────────────────────────────────────────────────────────
   3. HEADER & NAVIGATION
   ────────────────────────────────────────────────────────────── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--c-gris-clair);
    transition: box-shadow var(--t-normal);
}

.header.scrolled { box-shadow: var(--ombre-sm); }

.nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
}

.logo {
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    flex-shrink: 0;
}

.logo-text {
    font-size: 21px;
    font-weight: 900;
    letter-spacing: -0.8px;
    color: var(--c-noir);
    line-height: 1;
}

.logo-accent {
    font-size: 26px;
    font-weight: 900;
    color: var(--c-jaune);
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    list-style: none;
    pointer-events: auto;
    z-index: 1;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--c-anthracite);
    transition: color var(--t-vite);
    white-space: nowrap;
}

.nav-links a:hover { color: var(--c-noir); }

.nav-cta {
    background: var(--c-noir) !important;
    color: var(--c-blanc) !important;
    padding: 9px 22px;
    border-radius: var(--r-sm);
    font-weight: 700 !important;
    font-size: 14px;
    font-family: var(--font-corps);
    border: none;
    cursor: pointer;
    transition: background var(--t-vite) !important;
}

.nav-cta:hover { background: var(--c-anthracite) !important; }

/* Bouton téléphone dans le header (remplace le bouton Contact) */
.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--c-noir);
    color: var(--c-blanc);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 9px 20px;
    border-radius: 100px;
    border: none;
    transition: background 0.18s ease;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.btn-phone:hover { background: var(--c-anthracite); }

.btn-phone--dark {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.22);
    color: var(--c-blanc);
}

.btn-phone--dark:hover { background: rgba(255,255,255,0.15); }

/* Label "Mon compte" sous l'icône — flex-column */
.nav-user-label {
    font-size: 11px;
    font-weight: 600;
    color: inherit;
    letter-spacing: 0.02em;
    line-height: 1;
}

@media (max-width: 900px) {
    .btn-phone span,
    .btn-phone svg { display: none; }
    .btn-phone::after { content: "Tél."; }
    .btn-phone { padding: 9px 14px; }
}

@media (max-width: 768px) {
    .nav-user-label { display: none; }
    .btn-phone::after { content: none; }
    .btn-phone { display: none; }
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--c-noir);
    border-radius: 2px;
    transition: all var(--t-normal);
}


/* ──────────────────────────────────────────────────────────────
   MOBILE NAV — DRAWER LATÉRAL
   ────────────────────────────────────────────────────────────── */
.mobile-nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.mobile-nav-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-drawer {
    display: none;
    position: fixed;
    top: 0; left: 0; right: auto;
    width: 80%; max-width: 300px; height: 100%;
    background: #111111;
    z-index: 10000;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex-direction: column;
}
.mobile-nav-drawer.open { transform: translateX(0); }

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}
.mobile-nav-logo {
    font-size: 20px;
    font-weight: 900;
    color: var(--c-blanc);
    letter-spacing: -0.8px;
}
.mobile-nav-close {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.55);
    padding: 6px;
    border-radius: 8px;
    transition: color 0.15s ease, background 0.15s ease;
    line-height: 0;
}
.mobile-nav-close:hover { color: var(--c-blanc); background: rgba(255,255,255,0.08); }

.mobile-nav-body { flex: 1; }

.mobile-nav-links {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}
.mobile-nav-links li a,
.mobile-nav-links li .mobile-nav-btn {
    display: block;
    width: 100%;
    padding: 15px 24px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: left;
    cursor: pointer;
    font-family: var(--font-corps);
    letter-spacing: -0.2px;
    transition: background 0.15s ease, color 0.15s ease;
}
.mobile-nav-links li a:hover,
.mobile-nav-links li .mobile-nav-btn:hover {
    background: rgba(255,255,255,0.07);
    color: var(--c-blanc);
}

.mobile-nav-call {
    padding: 20px 24px;
    flex-shrink: 0;
}
.mobile-nav-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--c-jaune);
    color: var(--c-noir);
    font-family: var(--font-corps);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    padding: 15px 20px;
    border-radius: 100px;
    width: 100%;
    text-align: center;
    transition: background 0.18s ease;
}
.mobile-nav-call-btn:hover { background: var(--c-jaune-sombre); }

body.mobile-nav-open { overflow: hidden; }

@media (max-width: 768px) {
    .mobile-nav-backdrop { display: block; }
    .mobile-nav-drawer { display: flex; }
}


/* ──────────────────────────────────────────────────────────────
   4. HERO IMMERSIF — Mise en page centrée (voiture au centre)
   ────────────────────────────────────────────────────────────── */
.hero-immersif {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding-top: 66px;  /* compense le header fixe */
    padding-bottom: 16px;
    background: var(--c-blanc);
    overflow: hidden;
}

/* ── Bloc texte au-dessus de la voiture ── */
.hero-top-text {
    text-align: center;
    padding: 14px 24px 4px;
    max-width: 640px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--c-gris-bg);
    border: 1px solid var(--c-gris-bordure);
    border-radius: var(--r-full);
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-anthracite);
    letter-spacing: 0.02em;
    margin-bottom: 8px;
    user-select: none;
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--c-vert);
    border-radius: 50%;
    flex-shrink: 0;
    animation: battement 2.2s ease-in-out infinite;
}

@keyframes battement {
    0%, 100% { opacity: 1;   transform: scale(1);    }
    50%       { opacity: 0.5; transform: scale(0.75); }
}

.hero-title {
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--c-noir);
    margin-bottom: 6px;
}

.hero-title-accent { color: var(--c-jaune-sombre); }

.hero-subtitle {
    font-size: 13px;
    color: var(--c-gris-moyen);
    line-height: 1.5;
    max-width: 480px;
    margin: 0 auto;
}


/* ──────────────────────────────────────────────────────────────
   5. SCÈNE VOITURE (car-stage & car-viewer)
   ────────────────────────────────────────────────────────────── */
.car-stage {
    width: 100%;
    max-width: 980px;
    padding: 0 24px;
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Le viewer contient toutes les images + tous les overlays */
.car-viewer {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;   /* ratio identique aux images filaires */
    max-height: 100%;
    overflow: visible;       /* overlays peuvent légèrement déborder */
}


/* ──────────────────────────────────────────────────────────────
   6. IMAGES DE LA VOITURE — Effet Motion Blur au changement de vue
   ────────────────────────────────────────────────────────────── */
.car-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;        /* l'image s'affiche entièrement */
    pointer-events: none;
    will-change: opacity, filter, transform;
    /* État caché : flou + légère mise à l'échelle → simule le "motion blur" */
    opacity:   0;
    filter:    blur(10px);
    transform: scale(1.04);
    transition:
        opacity   0.50s cubic-bezier(0.4, 0, 0.2, 1),
        filter    0.50s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.50s cubic-bezier(0.4, 0, 0.2, 1);
}

/* État actif : image nette, taille normale */
.car-image.active {
    opacity:   1;
    filter:    blur(0px);
    transform: scale(1);
}


/* ──────────────────────────────────────────────────────────────
   7. BADGE "VUE ACTUELLE" — supprimé
   ────────────────────────────────────────────────────────────── */


/* ──────────────────────────────────────────────────────────────
   8. OVERLAY SAISIE — Couche mère (transparent, pointer-events: none)
   ────────────────────────────────────────────────────────────── */
.overlay-saisie {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;   /* les clics traversent sauf sur .visible */
}


/* ──────────────────────────────────────────────────────────────
   9. OVERLAY PLAQUE — Positionné par JS sur la plaque de la voiture
   ────────────────────────────────────────────────────────────── */
.overlay-plaque {
    position: absolute;
    /* ⚠️ top, left, width sont injectés par JavaScript */
    /* transform: translateX(-50%) est aussi appliqué par JS */
    z-index: 15;
    pointer-events: none;

    /* Animation d'apparition : fondu + glissement vers le haut */
    opacity: 0;
    margin-top: -8px;
    transition:
        opacity    0.30s cubic-bezier(0.4, 0, 0.2, 1),
        margin-top 0.30s cubic-bezier(0.4, 0, 0.2, 1);
}

.overlay-plaque.visible {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
}

/* ── Plaque d'immatriculation SIV (version compacte pour overlay) ── */
.license-plate {
    display: flex;
    align-items: stretch;
    height: 46px;           /* hauteur compacte adaptée à l'overlay */
    border-radius: 5px;
    overflow: hidden;
    border: 2.5px solid var(--c-noir);
    /* Ombre prononcée pour que la plaque se démarque bien sur le wireframe */
    box-shadow:
        0 6px 24px rgba(0,0,0,0.40),
        0 2px 8px rgba(0,0,0,0.25),
        0 0 0 1.5px rgba(0,0,0,0.15);
    cursor: text;
}

/* Bande bleue UE gauche */
.plate-eu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #003399;
    color: #FFCC00;
    padding: 3px 7px;
    flex-shrink: 0;
    gap: 1px;
    min-width: 24px;
}

.eu-stars { font-size: 7px; line-height: 1; }
.eu-code  {
    font-size: 11px;
    font-weight: 800;
    font-family: var(--font-mono);
    line-height: 1;
}

/* Champ de saisie central (fond jaune) */
.plate-input {
    flex: 1;
    border: none;
    background: #FFCC00;
    font-family: var(--font-mono);
    font-size: 20px;
    font-weight: 900;
    color: var(--c-noir);
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    outline: none;
    padding: 0 4px;
    min-width: 0;
    caret-color: var(--c-noir);
    -webkit-appearance: none;
}

.plate-input::placeholder {
    color: rgba(17,17,17,0.28);
    font-size: 14px;
    letter-spacing: 1.5px;
    font-weight: 700;
}

.plate-input:focus { background: #FFD700; }

/* Bande bleue département droite */
.plate-dept {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #003399;
    padding: 3px 5px;
    gap: 2px;
    flex-shrink: 0;
    min-width: 28px;
}

.dept-select {
    background: transparent;
    border: none;
    color: #FFCC00;
    font-size: 10px;
    font-weight: 800;
    font-family: var(--font-mono);
    text-align: center;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 0;
}

.dept-select option { background: #003399; color: #FFCC00; }


/* ──────────────────────────────────────────────────────────────
   10. OVERLAY FLOAT PANEL — Panneau flottant pour les onglets non-plaque
       Affiché en haut du car-viewer (sur la zone moteur/châssis/profil)
   ────────────────────────────────────────────────────────────── */
.overlay-float {
    position: absolute;
    top: 6%;
    left: 50%;
    transform: translateX(-50%);
    width: min(70%, 380px);
    z-index: 15;
    pointer-events: none;

    opacity: 0;
    margin-top: -8px;
    transition:
        opacity    0.30s cubic-bezier(0.4, 0, 0.2, 1),
        margin-top 0.30s cubic-bezier(0.4, 0, 0.2, 1);
}

.overlay-float.visible {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
}

/* Carte du float panel avec effet verre dépoli */
.float-panel {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(17,17,17,0.10);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.06);
}

.float-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--c-noir);
    margin-bottom: 9px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.float-input {
    display: block;
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid rgba(17,17,17,0.18);
    border-radius: 9px;
    font-size: 15px;
    color: var(--c-noir);
    background: rgba(255,255,255,0.97);
    outline: none;
    font-family: var(--font-corps);
    transition: border-color var(--t-vite), box-shadow var(--t-vite);
    -webkit-appearance: none;
}

.float-input:focus {
    border-color: var(--c-noir);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.30);
}

.float-input.erreur {
    border-color: var(--c-rouge);
    animation: secousse 0.30s ease;
}

.float-hint {
    margin-top: 7px;
    font-size: 10.5px;
    color: var(--c-gris-moyen);
    line-height: 1.45;
}


/* ──────────────────────────────────────────────────────────────
   11. OVERLAY CTA — Bouton jaune "Vérifier la disponibilité"
       Positionné par JavaScript sur le pare-choc de la voiture
   ────────────────────────────────────────────────────────────── */
.overlay-cta {
    position: absolute;
    /* ⚠️ top, left, width sont injectés par JavaScript */
    /* transform: translateX(-50%) est aussi appliqué par JS */
    z-index: 15;
    pointer-events: none;

    opacity: 0;
    margin-top: 4px;
    transition:
        opacity    0.30s cubic-bezier(0.4, 0, 0.2, 1) 0.06s,
        margin-top 0.30s cubic-bezier(0.4, 0, 0.2, 1);
}

.overlay-cta.visible {
    opacity: 1;
    margin-top: 0;
    pointer-events: auto;
}

/* Bouton CTA jaune superposé sur la voiture */
.btn-cta-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    padding: 12px 20px;
    background: var(--c-jaune);
    color: var(--c-noir);
    border: none;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    letter-spacing: -0.01em;
    font-family: var(--font-corps);
    /* Ombre jaune marquée pour lisibilité sur le wireframe blanc */
    box-shadow:
        0 5px 20px rgba(255, 204, 0, 0.55),
        0 2px 8px rgba(0, 0, 0, 0.20);
    transition:
        background  var(--t-vite),
        transform   var(--t-vite),
        box-shadow  var(--t-vite);
}

.btn-cta-overlay:hover {
    background: var(--c-jaune-sombre);
    transform: translateY(-2px);
    box-shadow:
        0 8px 28px rgba(255, 204, 0, 0.65),
        0 3px 10px rgba(0, 0, 0, 0.20);
}

.btn-cta-overlay:active { transform: translateY(0); }


/* ──────────────────────────────────────────────────────────────
   12. OVERLAY CONTACT — Étape 2 (fond flouté + carte de formulaire)
   ────────────────────────────────────────────────────────────── */
.overlay-contact {
    position: absolute;
    inset: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.40s cubic-bezier(0.4, 0, 0.2, 1);
}

.overlay-contact.visible {
    opacity: 1;
    pointer-events: auto;
}

/* Carte blanche contenant le formulaire de contact */
.contact-card {
    background: var(--c-blanc);
    border: 1px solid var(--c-gris-clair);
    border-radius: var(--r-xl);
    padding: 24px 26px;
    width: min(92%, 400px);
    box-shadow: var(--ombre-lg);
    position: relative;
    animation: entreeCard 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes entreeCard {
    from { opacity: 0; transform: translateY(16px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* Ligne décorative jaune en haut de la carte */
.contact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--c-jaune);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
}

/* En-tête de la carte (bouton retour + résumé) */
.contact-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.btn-back-overlay {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: var(--c-gris-moyen);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    font-family: var(--font-corps);
    transition: color var(--t-vite);
    flex-shrink: 0;
}

.btn-back-overlay:hover { color: var(--c-noir); }

.step2-summary {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--c-gris-bg);
    border: 1px solid var(--c-gris-clair);
    border-radius: var(--r-sm);
    padding: 5px 11px;
    white-space: nowrap;
    overflow: hidden;
    max-width: 240px;
    flex-shrink: 1;
    min-width: 0;
}

.summary-key {
    font-size: 11px;
    font-weight: 700;
    color: var(--c-gris-moyen);
    flex-shrink: 0;
    letter-spacing: 0.01em;
}

.summary-val {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: var(--c-noir);
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.5px;
}

.contact-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--c-noir);
    letter-spacing: -0.4px;
    margin-bottom: 4px;
}

.contact-subtitle {
    font-size: 12.5px;
    color: var(--c-gris-moyen);
    margin-bottom: 18px;
    line-height: 1.5;
}


/* ──────────────────────────────────────────────────────────────
   13. OVERLAY SUCCÈS — Après soumission validée
   ────────────────────────────────────────────────────────────── */
.overlay-succes {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.40s cubic-bezier(0.4, 0, 0.2, 1);
}

.overlay-succes.visible {
    opacity: 1;
    pointer-events: auto;
}

.succes-card {
    text-align: center;
    padding: 24px 20px;
    width: min(92%, 360px);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: entreeCard 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.succes-icone {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.succes-titre {
    font-size: 24px;
    font-weight: 900;
    color: var(--c-noir);
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.succes-message {
    font-size: 14px;
    color: var(--c-gris-moyen);
    line-height: 1.65;
    margin-bottom: 20px;
    max-width: 280px;
}

.succes-details {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 24px;
    text-align: left;
    width: 100%;
    max-width: 250px;
}

.succes-detail-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    color: var(--c-anthracite);
    font-weight: 500;
}

/* Animations SVG du cercle de succès */
.success-circle {
    stroke-dasharray: 160;
    stroke-dashoffset: 160;
    animation: tracerCercle 0.55s 0.10s ease forwards;
}

.success-check {
    stroke-dasharray: 36;
    stroke-dashoffset: 36;
    animation: tracerCheck 0.40s 0.55s ease forwards;
}

@keyframes tracerCercle { to { stroke-dashoffset: 0; } }
@keyframes tracerCheck  { to { stroke-dashoffset: 0; } }


/* ──────────────────────────────────────────────────────────────
   14. BARRE D'ONGLETS HORIZONTALE (sous la voiture)
       Design : segmented control en capsule arrondie
   ────────────────────────────────────────────────────────────── */
.tabs-hero {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--c-gris-bg);
    border: 1px solid var(--c-gris-clair);
    border-radius: var(--r-full);
    padding: 4px;
    margin-top: 10px;
    width: calc(100% - 48px);
    max-width: 580px;
}

.tabs-hero .tab {
    flex: 1;
    padding: 10px 8px;
    border: none;
    background: transparent;
    border-radius: var(--r-full);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--c-gris-moyen);
    cursor: pointer;
    transition: all var(--t-vite);
    text-align: center;
    white-space: nowrap;
    font-family: var(--font-corps);
    letter-spacing: -0.01em;
}

.tabs-hero .tab:hover:not(.active) {
    color: var(--c-anthracite);
    background: rgba(0,0,0,0.04);
}

.tabs-hero .tab.active {
    background: var(--c-noir);
    color: var(--c-blanc);
    box-shadow: 0 2px 10px rgba(0,0,0,0.22);
}


/* ──────────────────────────────────────────────────────────────
   15. BARRE DE STATISTIQUES (sous les onglets)
   ────────────────────────────────────────────────────────────── */
.hero-stats {
    display: flex;
    align-items: center;
    background: var(--c-gris-bg);
    border: 1px solid var(--c-gris-clair);
    border-radius: var(--r-lg);
    width: calc(100% - 48px);
    max-width: 580px;
    margin-top: 6px;
    overflow: hidden;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    padding: 9px 12px;
    gap: 2px;
    transition: background var(--t-vite);
    cursor: default;
}

.stat:hover { background: var(--c-gris-clair); }

.stat-number {
    font-size: 18px;
    font-weight: 900;
    color: var(--c-noir);
    letter-spacing: -0.5px;
    line-height: 1;
}

.stat-label {
    font-size: 10.5px;
    color: var(--c-gris-moyen);
    text-align: center;
    font-weight: 500;
    line-height: 1.3;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: var(--c-gris-clair);
    flex-shrink: 0;
}


/* ──────────────────────────────────────────────────────────────
   16. CHAMPS DE FORMULAIRE (dans la carte contact)
   ────────────────────────────────────────────────────────────── */
.field-group { margin-bottom: 12px; }

.field-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--c-anthracite);
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}

.required { color: var(--c-rouge); margin-left: 2px; }
.optional  { color: var(--c-gris-moyen); font-weight: 400; font-size: 11px; }

.field-input {
    display: block;
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--c-gris-bordure);
    border-radius: var(--r-md);
    font-size: 14px;
    color: var(--c-noir);
    background: var(--c-blanc);
    transition: border-color var(--t-vite), box-shadow var(--t-vite);
    outline: none;
    resize: none;
    -webkit-appearance: none;
    font-family: var(--font-corps);
}

.field-input:focus {
    border-color: var(--c-noir);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.25);
}

.field-input::placeholder {
    color: var(--c-gris-moyen);
    font-size: 13px;
}

.field-input.erreur {
    border-color: var(--c-rouge);
    animation: secousse 0.30s ease;
}

.field-textarea {
    min-height: 60px;
    resize: vertical;
    line-height: 1.5;
}

@keyframes secousse {
    0%, 100% { transform: translateX(0); }
    20%       { transform: translateX(-5px); }
    60%       { transform: translateX(5px); }
    80%       { transform: translateX(-3px); }
}


/* ──────────────────────────────────────────────────────────────
   17. BOUTONS GÉNÉRIQUES
   ────────────────────────────────────────────────────────────── */

/* Bouton Noir → Jaune au survol (CTA final) */
.btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 22px;
    margin-top: 14px;
    background: var(--c-noir);
    color: var(--c-blanc);
    border: none;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--t-vite), color var(--t-vite), transform var(--t-vite), box-shadow var(--t-vite);
    letter-spacing: -0.01em;
    font-family: var(--font-corps);
    -webkit-appearance: none;
}

.btn-secondary:hover {
    background: var(--c-jaune);
    color: var(--c-noir);
    transform: translateY(-2px);
    box-shadow: var(--ombre-jaune);
}

.btn-secondary:active { transform: translateY(0); }

/* Bouton fantôme */
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: 1.5px solid var(--c-gris-bordure);
    color: var(--c-anthracite);
    padding: 11px 24px;
    border-radius: var(--r-md);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--t-vite);
    margin-top: 4px;
    font-family: var(--font-corps);
}

.btn-ghost:hover {
    border-color: var(--c-noir);
    color: var(--c-noir);
    background: var(--c-gris-bg);
}

/* Icône dans les boutons */
.btn-icon { width: 16px; height: 16px; flex-shrink: 0; }

/* État de chargement (spinner) */
.btn-secondary.loading {
    pointer-events: none;
    opacity: 0.75;
    position: relative;
}

.btn-secondary.loading .btn-text { visibility: hidden; }

.btn-secondary.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 18px;
    height: 18px;
    border: 2.5px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: tourner 0.6s linear infinite;
}

@keyframes tourner { to { transform: rotate(360deg); } }

/* Mention sécurité / confidentialité */
.form-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 10.5px;
    color: var(--c-gris-moyen);
    text-align: center;
    line-height: 1.4;
}

.form-security svg { flex-shrink: 0; }


/* ──────────────────────────────────────────────────────────────
   18. TOAST — Notifications temporaires
   ────────────────────────────────────────────────────────────── */
#toastContainer {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--c-anthracite);
    color: var(--c-blanc);
    padding: 13px 18px;
    border-radius: var(--r-md);
    font-size: 13px;
    font-weight: 500;
    box-shadow: var(--ombre-lg);
    min-width: 240px;
    max-width: 340px;
    pointer-events: auto;
    transform: translateY(20px) scale(0.97);
    opacity: 0;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.visible {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.toast.erreur  { border-left: 3px solid var(--c-rouge); }
.toast.succes  { border-left: 3px solid var(--c-vert);  }
.toast svg { flex-shrink: 0; }


/* ──────────────────────────────────────────────────────────────
   19. RESPONSIVE — Tablettes (max 768px)
   ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .nav { padding: 0 24px; }
    .nav-links { display: none; }
    .nav-actions { display: none; }
    .nav-hamburger { display: flex; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); }
    /* Logo centré au milieu de l'écran sur mobile */
    .logo { position: absolute; left: 50%; transform: translateX(-50%); }

    .hero-top-text { padding: 32px 20px 8px; }
    .hero-title { font-size: clamp(28px, 6vw, 40px); letter-spacing: -1px; }

    .car-stage { padding: 0 16px; }

    .tabs-hero {
        width: calc(100% - 32px);
        gap: 3px;
        padding: 3px;
    }

    .tabs-hero .tab {
        font-size: 11px;
        padding: 9px 5px;
    }

    .hero-stats {
        width: calc(100% - 32px);
    }

    .stat-number { font-size: 16px; }

    /* Panel flottant plus large sur tablette */
    .overlay-float {
        width: min(85%, 380px);
    }

    /* Contact card légèrement plus haute */
    .contact-card {
        padding: 20px;
    }
}


/* ──────────────────────────────────────────────────────────────
   20. RESPONSIVE — Mobiles (max 480px)
   ────────────────────────────────────────────────────────────── */
@media (max-width: 480px) {
    .nav { padding: 0 16px; }

    .hero-top-text { padding: 28px 16px 6px; }
    .hero-subtitle { font-size: 14px; }

    .car-stage { padding: 0 12px; }

    /* Sur très petits écrans, les onglets passent en 2 lignes */
    .tabs-hero {
        flex-wrap: wrap;
        border-radius: 16px;
        width: calc(100% - 24px);
    }

    .tabs-hero .tab {
        flex: 1 1 calc(50% - 4px);
        font-size: 11px;
        padding: 9px 4px;
    }

    .tabs-hero .tab.active {
        border-radius: 12px;
    }

    .hero-stats { width: calc(100% - 24px); }

    /* Float panel pleine largeur */
    .overlay-float {
        width: 88%;
    }

    .float-panel { padding: 14px 16px; }

    .btn-cta-overlay {
        font-size: 12px;
        padding: 11px 14px;
    }

    #toastContainer {
        bottom: 16px;
        right: 12px;
        left: 12px;
    }

    .toast { min-width: unset; max-width: 100%; }
}


/* ──────────────────────────────────────────────────────────────
   21. ACTIONS DE NAVIGATION (Contact + Icône compte)
   ────────────────────────────────────────────────────────────── */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-user-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 54px;
    padding: 6px 10px;
    border-radius: 10px;
    border: 1.5px solid var(--c-gris-bordure);
    background: transparent;
    color: var(--c-anthracite);
    text-decoration: none;
    cursor: pointer;
    transition: border-color var(--t-vite), color var(--t-vite), background var(--t-vite);
    flex-shrink: 0;
}

.nav-user-btn:hover {
    border-color: var(--c-noir);
    color: var(--c-noir);
    background: var(--c-gris-bg);
}

@media (max-width: 768px) {
    .nav-actions { gap: 8px; }
    .nav-cta { padding: 8px 16px !important; }
}


/* ──────────────────────────────────────────────────────────────
   22. DRAWER BACKDROP
   ────────────────────────────────────────────────────────────── */
.drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}


/* ──────────────────────────────────────────────────────────────
   23. PANNEAU DE CONTACT COULISSANT
   ────────────────────────────────────────────────────────────── */
.contact-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(480px, 100vw);
    height: 100vh;
    height: 100dvh;
    background: var(--c-blanc);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -4px 0 40px rgba(0, 0, 0, 0.13), -1px 0 0 var(--c-gris-clair);
    overflow: hidden;
}

.contact-drawer.open {
    transform: translateX(0);
}

/* En-tête fixe (aligné avec le header) */
.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    height: 66px;
    border-bottom: 1px solid var(--c-gris-clair);
    flex-shrink: 0;
    background: var(--c-blanc);
}

/* Bouton fermer (×) */
.drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--c-gris-bg);
    color: var(--c-anthracite);
    cursor: pointer;
    transition: background var(--t-vite), color var(--t-vite);
    flex-shrink: 0;
}

.drawer-close:hover {
    background: var(--c-gris-clair);
    color: var(--c-noir);
}

/* Corps défilable */
.drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 28px;
    scrollbar-width: thin;
    scrollbar-color: var(--c-gris-clair) transparent;
}

.drawer-body::-webkit-scrollbar { width: 4px; }
.drawer-body::-webkit-scrollbar-track { background: transparent; }
.drawer-body::-webkit-scrollbar-thumb {
    background: var(--c-gris-clair);
    border-radius: 2px;
}

.drawer-title {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: var(--c-noir);
    margin-bottom: 6px;
}

.drawer-desc {
    font-size: 13px;
    color: var(--c-gris-moyen);
    line-height: 1.55;
    margin-bottom: 24px;
}

/* Ligne Nom / Prénom côte à côte */
.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Pied fixe (bouton + mention sécurité) */
.drawer-footer {
    padding: 16px 28px 22px;
    border-top: 1px solid var(--c-gris-clair);
    flex-shrink: 0;
    background: var(--c-blanc);
}

/* Bouton de soumission du drawer */
.btn-drawer-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 15px 24px;
    background: var(--c-noir);
    color: var(--c-blanc);
    border: none;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.01em;
    font-family: var(--font-corps);
    cursor: pointer;
    transition: background var(--t-vite), transform var(--t-vite), box-shadow var(--t-vite);
    -webkit-appearance: none;
}

.btn-drawer-submit:hover {
    background: var(--c-anthracite);
    transform: translateY(-1px);
    box-shadow: var(--ombre-md);
}

.btn-drawer-submit:active { transform: translateY(0); }

/* Bouton désactivé tant que CGV non cochées */
.btn-drawer-submit:disabled,
.btn-secondary:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: auto;
    transform: none !important;
    box-shadow: none !important;
    background: var(--c-gris-clair) !important;
    color: var(--c-gris-moyen) !important;
}

/* Checkbox CGV — acceptation obligatoire avant soumission */
.cgv-accept {
    margin-bottom: 14px;
}
.cgv-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 12px;
    line-height: 1.55;
    color: var(--c-gris-moyen);
}
.cgv-checkbox {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    accent-color: var(--c-jaune);
    cursor: pointer;
}
.cgv-label a {
    color: var(--c-jaune);
    text-decoration: underline;
    font-weight: 600;
}
.cgv-label a:hover { color: var(--c-anthracite); }

.btn-drawer-submit.loading {
    pointer-events: none;
    opacity: 0.75;
    position: relative;
}

.btn-drawer-submit.loading .btn-text { visibility: hidden; }

.btn-drawer-submit.loading::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 18px;
    height: 18px;
    border: 2.5px solid transparent;
    border-top-color: var(--c-blanc);
    border-radius: 50%;
    animation: tourner 0.6s linear infinite;
}

/* Menu déroulant — chevron SVG inline */
.field-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238E8E93' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-color: var(--c-blanc);
    padding-right: 38px;
    cursor: pointer;
}

.field-select:focus {
    border-color: var(--c-noir);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.25);
}

/* Responsive drawer */
@media (max-width: 480px) {
    .contact-drawer { width: 100vw; }
    .drawer-header,
    .drawer-footer  { padding-left: 20px; padding-right: 20px; }
    .drawer-body    { padding: 20px; }
    .field-row      { grid-template-columns: 1fr; }
}


/* ================================================================
   CONTENEUR COMMUN AUX NOUVELLES SECTIONS
   ================================================================ */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
}

@media (max-width: 768px) { .container { padding: 0 24px; } }
@media (max-width: 480px) { .container { padding: 0 16px; } }


/* ================================================================
   SECTION 1 — CARROUSEL DES MARQUES (fond jaune)
   ================================================================ */
.section-marques {
    background: var(--c-jaune);
    padding: 52px 0 48px;
    overflow: hidden;
}

.marques-titre {
    font-size: clamp(18px, 2.2vw, 26px);
    font-weight: 800;
    letter-spacing: -0.3px;
    text-transform: none;
    color: #ffffff;
    text-align: center;
    margin-bottom: 36px;
}

/* Bande de défilement infini */
.carrousel-outer {
    overflow: hidden;
    /* Masques de fondu sur les bords */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    mask-image:         linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* Carrousel tactile sur mobile : scroll manuel au pouce */
@media (max-width: 768px) {
    .carrousel-outer {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        -webkit-mask-image: none;
        mask-image: none;
        scrollbar-width: none;
        cursor: grab;
    }
    .carrousel-outer::-webkit-scrollbar { display: none; }
    .carrousel-track {
        animation: none;
        width: max-content;
    }
}

.carrousel-track {
    display: flex;
    align-items: center;
    width: max-content;
    gap: 0;
    animation: defilement-marques 36s linear infinite;
}

.carrousel-track:hover {
    animation-play-state: paused;
}

@keyframes defilement-marques {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Item de marque */
.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 36px;
    flex-shrink: 0;
    /* Séparateur vertical entre marques */
    border-right: 1px solid rgba(17, 17, 17, 0.12);
    filter: grayscale(100%) opacity(0.45);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.brand-item:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.15);
}

.brand-logo {
    height: 36px;
    width: auto;
    max-width: 120px;
    display: block;
    object-fit: contain;
}

/* Lien cliquable autour du logo de marque */
.brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
    height: 100%;
    outline: none;
}

.brand-link:focus-visible {
    outline: 2px solid var(--c-jaune);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Pulse jaune sur le select de filtre quand activé par URL */
.filtre-select--highlight {
    animation: filtreHighlight 1.4s ease forwards;
}

@keyframes filtreHighlight {
    0%   { box-shadow: 0 0 0 0 rgba(255,204,0,0.6); border-color: var(--c-jaune); }
    50%  { box-shadow: 0 0 0 6px rgba(255,204,0,0.18); border-color: var(--c-jaune); }
    100% { box-shadow: 0 0 0 0 transparent; border-color: rgba(255,204,0,0.4); }
}


/* ================================================================
   SECTION VEDETTE — NOS DERNIERS MOTEURS EN STOCK
   ================================================================ */

.section-vedette {
    background: var(--c-gris-bg);
    padding: 96px 0;
    border-top: 1px solid var(--c-gris-clair);
    border-bottom: 1px solid var(--c-gris-clair);
}

.vedette-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-gris-moyen);
    margin-bottom: 14px;
}

.vedette-grille {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

/* ── Carte produit ── */
.vedette-card {
    background: var(--c-blanc);
    border: 1px solid var(--c-gris-clair);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--ombre-xs);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vedette-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--ombre-md);
}

/* Zone image */
.vedette-card-image {
    position: relative;
    height: 180px;
    background: #E8E8ED;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vedette-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
}

.vedette-carburant-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 100px;
}

.vedette-carburant-diesel {
    background: rgba(17, 17, 17, 0.09);
    color: var(--c-noir);
}

.vedette-carburant-essence {
    background: rgba(255, 59, 48, 0.10);
    color: #b91c1c;
}

/* Corps de la carte */
.vedette-card-corps {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 10px;
}

.vedette-code-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-jaune);
    background: var(--c-noir);
    padding: 3px 8px;
    border-radius: 5px;
    width: fit-content;
}

.vedette-titre {
    font-size: 16px;
    font-weight: 700;
    color: var(--c-noir);
    line-height: 1.3;
    margin: 0;
}

.vedette-cylindree {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: var(--c-gris-moyen);
    margin-top: 3px;
}

/* Specs */
.vedette-specs {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.vedette-spec {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--c-gris-moyen);
}

.vedette-spec-garantie {
    color: var(--c-vert);
    font-weight: 600;
}

.vedette-spec-garantie svg {
    stroke: var(--c-vert);
}

/* Prix */
.vedette-prix-zone {
    border-top: 1px solid var(--c-gris-clair);
    padding-top: 14px;
}

.vedette-prix {
    font-size: 26px;
    font-weight: 800;
    color: var(--c-noir);
    letter-spacing: -0.03em;
    line-height: 1;
}

.vedette-prix-mention {
    font-size: 11px;
    color: var(--c-gris-moyen);
    margin-top: 4px;
}

/* Bouton jaune "Voir le moteur" */
.btn-voir-moteur {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--c-jaune);
    color: var(--c-noir);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    transition: background 0.18s ease, transform 0.15s ease;
    margin-top: auto;
}

.btn-voir-moteur:hover {
    background: var(--c-jaune-sombre);
    transform: translateY(-1px);
}

/* CTA "Voir tout le stock" */
.vedette-footer {
    margin-top: 52px;
    text-align: center;
}

.btn-vedette-stock {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--c-noir);
    background: var(--c-blanc);
    border: 1.5px solid var(--c-gris-bordure);
    border-radius: 100px;
    padding: 14px 30px;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn-vedette-stock:hover {
    border-color: var(--c-noir);
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
    transform: translateY(-2px);
}

@media (max-width: 1100px) {
    .vedette-grille { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 600px) {
    .section-vedette { padding: 64px 0; }
    .vedette-grille  { grid-template-columns: 1fr; }
}


/* ================================================================
   SECTION 2 — POURQUOI NOUS CHOISIR
   ================================================================ */
.section-avantages {
    background: var(--c-blanc);
    padding: 88px 0;
    border-top: 1px solid var(--c-gris-clair);
}

.section-entete {
    text-align: center;
    margin-bottom: 60px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.section-titre {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 900;
    letter-spacing: -1px;
    color: var(--c-noir);
    line-height: 1.1;
    margin-bottom: 14px;
}

.section-sous-titre {
    font-size: 15px;
    color: var(--c-gris-moyen);
    line-height: 1.65;
}

/* Grille des 4 avantages */
.avantages-grille {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--c-gris-clair);
    border: 1px solid var(--c-gris-clair);
    border-radius: var(--r-xl);
    overflow: hidden;
}

.avantage-item {
    background: var(--c-blanc);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    transition: background var(--t-vite);
}

.avantage-item:hover {
    background: var(--c-gris-bg);
}

.avantage-icone {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c-jaune);
    border-radius: var(--r-md);
    color: var(--c-noir);
    flex-shrink: 0;
    transition: transform var(--t-vite);
}

.avantage-item:hover .avantage-icone {
    transform: scale(1.08);
}

.avantage-titre {
    font-size: 15px;
    font-weight: 800;
    color: var(--c-noir);
    letter-spacing: -0.2px;
    line-height: 1.25;
}

.avantage-desc {
    font-size: 13px;
    color: var(--c-gris-moyen);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .avantages-grille { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .avantage-item    { padding: 20px 16px; }
    .avantage-icone   { width: 44px; height: 44px; margin-bottom: 10px; }
    .avantage-icone svg { width: 20px; height: 20px; }
    .avantage-titre   { font-size: 13px; }
    .avantage-desc    { font-size: 11px; line-height: 1.4; }
}

/* Maintien de la grille 2×2 même sur petits téléphones */
@media (max-width: 480px) {
    .avantages-grille { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .avantage-item    { padding: 14px 10px; }
}


/* ================================================================
   SECTION 3 — BLOC GARANTIE PREMIUM
   ================================================================ */
.section-garantie {
    background: #080808;
    padding: 140px 0;
    position: relative;
    overflow: hidden;
}

/* Halo doré diffus côté badge (droite) */
.section-garantie::before {
    content: '';
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 55%;
    height: 140%;
    background: radial-gradient(circle at 50% 50%,
        rgba(212, 175, 55, 0.22) 0%,
        rgba(212, 175, 55, 0.08) 35%,
        rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* Vignette sombre sur les bords pour isoler le halo */
.section-garantie::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 30% 100% at 0% 50%, rgba(8,8,8,0.95) 0%, transparent 100%),
        radial-gradient(ellipse 15% 100% at 100% 50%, rgba(8,8,8,0.7) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Layout deux colonnes : texte gauche / badge droite */
.garantie-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 88px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ── Badge premium verre sombre ── */
.garantie-visuel {
    display: flex;
    justify-content: center;
    align-items: center;
}

.garantie-badge-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 420px;
}

/* Halo doré dédié au badge */
.garantie-glow {
    position: absolute;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle,
        rgba(212, 175, 55, 0.28) 0%,
        rgba(212, 175, 55, 0.10) 40%,
        rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.garantie-card {
    position: relative;
    width: 360px;
    height: 360px;
    background: linear-gradient(145deg,
        rgba(48, 46, 38, 0.75) 0%,
        rgba(20, 20, 18, 0.90) 50%,
        rgba(10, 10, 8, 0.95) 100%);
    border-radius: 40px;
    padding: 44px;
    box-sizing: border-box;
    /* Bordure : fine ligne lumineuse en haut + dorée très subtile */
    border: 1px solid rgba(255, 255, 255, 0.10);
    outline: 1px solid rgba(212, 175, 55, 0.12);
    outline-offset: -1px;
    box-shadow:
        /* Lueur externe dorée */
        0 0 60px rgba(212, 175, 55, 0.18),
        0 0 120px rgba(212, 175, 55, 0.08),
        /* Ombre de profondeur */
        0 32px 80px rgba(0, 0, 0, 0.75),
        0 8px 24px rgba(0, 0, 0, 0.50),
        /* Reflet interne haut */
        inset 0 2px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(0, 0, 0, 0.60);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    overflow: hidden;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.garantie-card-glass {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 46%;
    background: linear-gradient(to bottom,
        rgba(255, 255, 255, 0.08) 0%,
        rgba(255, 255, 255, 0.02) 55%,
        transparent 100%);
    border-radius: 40px 40px 60% 60%;
    pointer-events: none;
    z-index: 0;
}

.garantie-card-content {
    text-align: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* "24" — gradient blanc → argent, taille imposante */
.garantie-number {
    font-size: 120px;
    font-weight: 900;
    line-height: 0.88;
    margin: 0;
    padding: 0;
    font-family: var(--font-corps);
    background: linear-gradient(180deg,
        #ffffff 0%,
        #f0f0f0 40%,
        #909090 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -4px;
}

/* "JUSQU'À" — label discret au-dessus du "24" */
.garantie-jusqu-a {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 4px;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    font-family: var(--font-corps);
    margin: 0 0 6px 0;
}

/* Ligne jaune avec lueur */
.garantie-divider {
    width: 52px;
    height: 2.5px;
    background: #ffcc00;
    margin: 14px auto 16px auto;
    border-radius: 3px;
    box-shadow: 0 0 14px rgba(255, 204, 0, 0.65), 0 0 4px rgba(255, 204, 0, 0.9);
}

/* "MOIS DE GARANTIE" — caps lisibles sous le divider */
.garantie-text {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.50);
    letter-spacing: 3px;
    margin: 0;
    text-transform: uppercase;
    font-family: var(--font-corps);
}

/* ── Contenu textuel gauche ── */
.garantie-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-jaune);
    margin-bottom: 20px;
}

.garantie-titre {
    font-size: clamp(28px, 3.2vw, 42px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -1.5px;
    color: var(--c-blanc);
    margin-bottom: 24px;
}

.garantie-accent { color: var(--c-jaune); }

.garantie-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.50);
    line-height: 1.80;
    margin-bottom: 32px;
    max-width: 420px;
}

.garantie-desc strong { color: rgba(255, 255, 255, 0.82); }

.garantie-liste {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

.garantie-liste li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.68);
    font-weight: 500;
    line-height: 1.4;
}

.liste-puce { flex-shrink: 0; }

.btn-garantie {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--c-jaune);
    color: var(--c-noir);
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--r-md);
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: background var(--t-vite), transform var(--t-vite), box-shadow var(--t-vite);
}

.btn-garantie:hover {
    background: var(--c-jaune-sombre);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 204, 0, 0.30);
}

.btn-garantie:active { transform: translateY(0); }

/* Responsive garantie */
@media (max-width: 960px) {
    .garantie-layout {
        grid-template-columns: 1fr;
        gap: 64px;
        text-align: center;
    }
    .section-garantie::before {
        right: auto;
        left: 50%;
        transform: translate(-50%, -50%);
        top: 35%;
        width: 80%;
        height: 60%;
    }
    .garantie-desc     { max-width: 100%; }
    .garantie-liste li { justify-content: center; }
    .garantie-visuel   { order: -1; }
}

@media (max-width: 480px) {
    .section-garantie         { padding: 88px 0; }
    .garantie-badge-container { min-height: 320px; }
    .garantie-card  {
        width: 272px; height: 272px;
        border-radius: 32px; padding: 32px;
    }
    .garantie-number  { font-size: 88px; }
    .garantie-months  { font-size: 16px; letter-spacing: 5px; }
}


/* ================================================================
   FOOTER COMPLET
   ================================================================ */
.footer {
    background: #111111;
}

/* ── Corps 4 colonnes ── */
.footer-corps {
    padding: 72px 0 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-grille {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
    gap: 48px;
    align-items: start;
}

/* Colonne 1 — marque */
.footer-logo-lien {
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: -0.5px;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-baseline {
    font-size: 13px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.38);
    max-width: 268px;
    margin-top: 14px;
}

/* Titre de colonne */
.footer-col-titre {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.70);
    margin-bottom: 20px;
}

/* Colonne 2 — navigation */
.footer-nav-liste {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-nav-liste a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.42);
    text-decoration: none;
    transition: color var(--t-vite);
    display: inline-block;
}

.footer-nav-liste a:hover { color: var(--c-jaune); }

/* Colonne 3 — service client */
.footer-contact-liste {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.footer-contact-liste li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.42);
    line-height: 1.4;
}

.footer-contact-liste svg {
    flex-shrink: 0;
    color: var(--c-jaune);
}

/* Colonne 4 — paiement */
.footer-paiement-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.65;
    margin-bottom: 20px;
}

.footer-paiement-logos {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.paiement-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.65);
    white-space: nowrap;
    transition: background var(--t-vite), border-color var(--t-vite);
}

.paiement-badge:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.18);
}

.paiement-stripe { padding: 6px 10px; }

.paiement-oney {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 5px 12px;
}

.oney-badge-text {
    font-size: 14px;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #00c853;
    line-height: 1;
}

.oney-badge-split {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.40);
    text-transform: uppercase;
    line-height: 1;
}

/* ── Barre copyright ── */
.footer-bas {
    padding: 18px 0;
}

.footer-bas-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-copy {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.22);
}

.footer-liens-legaux {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-liens-legaux a {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.22);
    text-decoration: none;
    transition: color var(--t-vite);
}

.footer-liens-legaux a:hover { color: rgba(255, 255, 255, 0.65); }

.footer-sep {
    color: rgba(255, 255, 255, 0.15);
    font-size: 12px;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .footer-grille {
        grid-template-columns: 1fr 1fr;
        gap: 40px 48px;
    }
    .footer-baseline { max-width: 100%; }
}

@media (max-width: 560px) {
    .footer-corps  { padding: 52px 0 44px; }
    .footer-grille { grid-template-columns: 1fr; gap: 36px; }
    .footer-bas-inner { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 600px) {
    .section-avantages { padding: 60px 0; }
    .section-entete    { margin-bottom: 40px; }
}


/* ================================================================
   SECTION ONEY — Financement (Bento style, même ton que Garantie)
   ================================================================ */
.section-oney {
    background: #0f0f0f;
    padding: 100px 0;
}

.oney-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    align-items: stretch;
}

/* ── Image gauche ── */
.oney-visuel {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    min-height: 380px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.06);
}

.oney-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    position: absolute;
    inset: 0;
}

/* ── Contenu droite ── */
.oney-contenu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Logo Oney officiel */
.oney-logo-officiel {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--r-md);
    padding: 6px 16px 8px;
    margin-bottom: 22px;
}

.oney-logo-text {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #00c853;
    line-height: 1;
    font-family: var(--font-corps);
}

.oney-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-jaune);
    margin-bottom: 14px;
}

.oney-titre {
    font-size: clamp(24px, 2.8vw, 36px);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--c-blanc);
    margin-bottom: 18px;
}

.oney-accent { color: var(--c-jaune); }

.oney-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.75;
    margin-bottom: 28px;
}

.oney-liste {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 36px;
}

.oney-liste li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.70);
    font-weight: 500;
    line-height: 1.4;
}

.btn-oney {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    background: var(--c-jaune);
    color: var(--c-noir);
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--r-md);
    text-decoration: none;
    transition: background var(--t-vite), transform var(--t-vite), box-shadow var(--t-vite);
    letter-spacing: -0.01em;
}

.btn-oney:hover {
    background: var(--c-jaune-sombre);
    transform: translateY(-2px);
    box-shadow: var(--ombre-jaune);
}

.btn-oney:active { transform: translateY(0); }

@media (max-width: 900px) {
    .oney-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .oney-visuel {
        min-height: 280px;
        border-radius: 28px 28px 0 0;
    }
    .oney-contenu {
        padding: 40px 36px;
        background: rgba(255,255,255,0.04);
        border-radius: 0 0 28px 28px;
        border: 1px solid rgba(255,255,255,0.06);
        border-top: none;
    }
}

@media (max-width: 480px) {
    .section-oney { padding: 72px 0; }
}


/* ================================================================
   SECTION RÉSEAU EUROPÉEN
   ================================================================ */
.section-reseau {
    background: var(--c-gris-bg);
    padding: 88px 0;
    border-top: 1px solid var(--c-gris-clair);
}

.reseau-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.reseau-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-gris-moyen);
    margin-bottom: 16px;
}

.reseau-titre {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.15;
    color: var(--c-noir);
    margin-bottom: 20px;
}

.reseau-accent { color: var(--c-noir); border-bottom: 3px solid var(--c-jaune); }

.reseau-desc {
    font-size: 15px;
    color: var(--c-gris-moyen);
    line-height: 1.75;
    margin-bottom: 14px;
}

.reseau-desc strong { color: var(--c-noir); }
.reseau-desc:last-child { margin-bottom: 0; }

/* Bloc stats : 3 lignes empilées */
.reseau-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: var(--r-xl);
    overflow: hidden;
    position: relative;
    min-height: 320px;
}

/* Version avec fond carte Europe */
.reseau-stats-map {
    background-image: url('../images/europe-map.png');
    background-size: cover;
    background-position: center;
}

/* Calque semi-transparent pour lisibilité */
.reseau-map-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.70) 0%,
        rgba(0, 0, 0, 0.50) 100%);
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
}

/* Stats au-dessus du calque */
.reseau-stat {
    position: relative;
    z-index: 1;
    background: transparent;
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.reseau-stat:last-child {
    border-bottom: none;
}

/* Chiffres : blancs sur fond sombre de la carte */
.reseau-stat-num {
    font-size: 46px;
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--c-jaune);
    line-height: 1;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.reseau-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 500;
    letter-spacing: 0.02em;
}

@media (max-width: 900px) {
    .reseau-layout { grid-template-columns: 1fr; gap: 48px; }
    .reseau-stats  { grid-template-columns: repeat(3, 1fr); min-height: auto; }
    .reseau-stat   { border-bottom: none; border-right: 1px solid rgba(255,255,255,0.10); }
    .reseau-stat:last-child { border-right: none; }
}

@media (max-width: 480px) {
    .section-reseau { padding: 60px 0; }
    .reseau-stats   { grid-template-columns: 1fr; }
    .reseau-stat    { padding: 24px 28px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.10); }
    .reseau-stat:last-child { border-bottom: none; }
}


/* ================================================================
   SECTION FAQ — Accordéon
   ================================================================ */
.section-faq {
    background: var(--c-blanc);
    padding: 88px 0;
    border-top: 1px solid var(--c-gris-clair);
}

.faq-liste {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--c-gris-clair);
    border-radius: var(--r-xl);
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid var(--c-gris-clair);
}

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

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    background: var(--c-blanc);
    border: none;
    cursor: pointer;
    font-family: var(--font-corps);
    font-size: 15px;
    font-weight: 700;
    color: var(--c-noir);
    text-align: left;
    letter-spacing: -0.2px;
    transition: background var(--t-vite);
}

.faq-question:hover {
    background: var(--c-gris-bg);
}

.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--c-gris-moyen);
}

.faq-question[aria-expanded="true"] .faq-chevron {
    transform: rotate(180deg);
}

.faq-reponse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-reponse p {
    padding: 0 28px 22px;
    font-size: 14px;
    color: var(--c-gris-moyen);
    line-height: 1.75;
    margin: 0;
}

@media (max-width: 600px) {
    .section-faq     { padding: 60px 0; }
    .faq-question    { padding: 18px 20px; font-size: 14px; }
    .faq-reponse p   { padding: 0 20px 18px; }
}


/* ================================================================
   PAGE GARANTIE — Hero de page
   ================================================================ */
.page-hero {
    background: #080808;
    padding: 130px 0 90px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 90% at 15% 60%,
        rgba(255, 204, 0, 0.09) 0%,
        transparent 65%);
    pointer-events: none;
}

.page-hero-inner { position: relative; max-width: 700px; }

.page-hero-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-jaune);
    margin-bottom: 22px;
}

.page-hero-titre {
    font-size: clamp(34px, 5.5vw, 62px);
    font-weight: 900;
    line-height: 1.07;
    letter-spacing: -2.5px;
    color: #ffffff;
    margin-bottom: 22px;
}

.page-hero-sous-titre {
    font-size: 17px;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
    max-width: 520px;
}


/* ── Stats rapides (flottent sur le hero) ── */
.section-gstats {
    background: #080808;
    padding: 0 0 88px;
}

.garantie-stats-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.07);
    border-radius: var(--r-xl);
    overflow: hidden;
    transform: translateY(-44px);
}

.gstat-card {
    background: #111111;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: background 0.2s;
}

.gstat-card.gstat-accent { background: #120f02; border-top: 2px solid rgba(255,204,0,0.35); }
.gstat-card:hover { background: #181818; }

.gstat-num {
    font-size: 50px;
    font-weight: 900;
    letter-spacing: -2px;
    color: var(--c-jaune);
    line-height: 1;
    font-family: var(--font-corps);
}

.gstat-unite {
    font-size: 15px;
    font-weight: 700;
    color: rgba(255,255,255,0.45);
    margin-top: -2px;
}

.gstat-label {
    font-size: 13px;
    color: rgba(255,255,255,0.38);
    line-height: 1.6;
    margin-top: 6px;
}


/* ── Couverture (ce qui est couvert / pas couvert) ── */
.section-couverture {
    background: #0a0a0a;
    padding: 88px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.couverture-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: rgba(255,255,255,0.06);
    border-radius: var(--r-xl);
    overflow: hidden;
    margin-top: 60px;
}

.couverture-col {
    background: #111111;
    padding: 48px 44px;
}

.couverture-col.couverture-ok  { border-top: 3px solid var(--c-jaune); }
.couverture-col.couverture-non { border-top: 3px solid rgba(255,255,255,0.12); }

.couverture-col-titre {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.couverture-ok .couverture-col-titre  { color: var(--c-jaune); }
.couverture-non .couverture-col-titre { color: rgba(255,255,255,0.35); }

.couverture-liste {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.couverture-liste li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.62);
}

.couverture-ok .couverture-liste  li svg { color: var(--c-jaune);              flex-shrink: 0; margin-top: 2px; }
.couverture-non .couverture-liste li svg { color: rgba(255,255,255,0.28);       flex-shrink: 0; margin-top: 2px; }


/* ── Processus de test (4 étapes) ── */
.section-process {
    background: #080808;
    padding: 88px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.gpage-entete {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 60px;
}

.gpage-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--c-jaune);
    margin-bottom: 14px;
}

.gpage-titre {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.12;
    color: #ffffff;
    margin-bottom: 12px;
}

.gpage-sous-titre {
    font-size: 15px;
    color: rgba(255,255,255,0.42);
    line-height: 1.7;
}

.process-grille {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,0.07);
    border-radius: var(--r-xl);
    overflow: hidden;
}

.process-etape {
    background: #0d0d0d;
    padding: 36px 28px 40px;
    display: flex;
    flex-direction: column;
    gap: 13px;
    transition: background 0.2s;
}

.process-etape:hover { background: #131313; }

.process-num {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--c-jaune);
}

.process-icone {
    width: 44px;
    height: 44px;
    background: rgba(255,204,0,0.08);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-jaune);
}

.process-titre {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
}

.process-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.40);
    line-height: 1.65;
}


/* ── Faire valoir sa garantie ── */
.section-sinistre {
    background: #0a0a0a;
    padding: 88px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.sinistre-steps {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-width: 700px;
    margin: 0 auto;
}

.sinistre-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    background: #111111;
    padding: 28px 32px;
    border-left: 2px solid rgba(255,255,255,0.06);
    transition: border-color 0.2s, background 0.2s;
}

.sinistre-step:first-child { border-radius: var(--r-xl) var(--r-xl) 0 0; }
.sinistre-step:last-child  { border-radius: 0 0 var(--r-xl) var(--r-xl); }
.sinistre-step:hover { border-left-color: var(--c-jaune); background: #151515; }

.sinistre-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,204,0,0.08);
    border: 1px solid rgba(255,204,0,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    color: var(--c-jaune);
    flex-shrink: 0;
}

.sinistre-corps h4 {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
    letter-spacing: -0.2px;
}

.sinistre-corps p {
    font-size: 13px;
    color: rgba(255,255,255,0.42);
    line-height: 1.65;
    margin: 0;
}


/* ── FAQ sombre (page garantie) ── */
.section-faq-sombre {
    background: #080808;
    padding: 88px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.section-faq-sombre .faq-liste {
    border-color: rgba(255,255,255,0.07);
}

.section-faq-sombre .faq-item {
    border-bottom-color: rgba(255,255,255,0.07);
}

.section-faq-sombre .faq-question {
    background: #111111;
    color: #ffffff;
}

.section-faq-sombre .faq-question:hover { background: #181818; }

.section-faq-sombre .faq-reponse p {
    color: rgba(255,255,255,0.45);
}

.section-faq-sombre .faq-chevron { color: rgba(255,255,255,0.35); }


/* ── CTA bas de page garantie ── */
.section-gpage-cta {
    background: #0a0a0a;
    padding: 88px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.gpage-cta-inner {
    text-align: center;
    max-width: 540px;
    margin: 0 auto;
}

.gpage-cta-inner h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 900;
    letter-spacing: -1px;
    color: #ffffff;
    margin-bottom: 14px;
}

.gpage-cta-inner p {
    font-size: 15px;
    color: rgba(255,255,255,0.42);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Responsive page garantie */
@media (max-width: 768px) {
    .garantie-stats-grille { grid-template-columns: 1fr 1fr; }
    .couverture-layout     { grid-template-columns: 1fr; }
    .process-grille        { grid-template-columns: 1fr 1fr; }
    .page-hero             { padding: 110px 0 72px; }
}

@media (max-width: 480px) {
    .garantie-stats-grille { grid-template-columns: 1fr; transform: none; }
    .process-grille        { grid-template-columns: 1fr; }
    .sinistre-step         { padding: 20px 18px; gap: 16px; }
    .section-gstats        { padding-bottom: 60px; }
}


/* ================================================================
   MODAL ONEY — Simulateur de financement
   ================================================================ */
.oney-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.oney-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.oney-modal {
    background: #141414;
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 28px;
    padding: 44px 40px 36px;
    max-width: 460px;
    width: 100%;
    position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.85), 0 0 0 1px rgba(255,255,255,0.04);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.28s ease;
}

.oney-modal-overlay.open .oney-modal { transform: translateY(0) scale(1); }

.oney-modal-close {
    position: absolute;
    top: 16px; right: 16px;
    width: 30px; height: 30px;
    border: none;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.55);
    transition: background 0.2s, color 0.2s;
}

.oney-modal-close:hover { background: rgba(255,255,255,0.13); color: #fff; }

.oney-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.oney-modal-logo-text {
    font-size: 30px;
    font-weight: 900;
    letter-spacing: -1px;
    color: #00c853;
    font-family: var(--font-corps);
    line-height: 1;
}

.oney-modal-badge {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.32);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    padding: 4px 10px;
    border-radius: var(--r-full);
}

.oney-modal h2 {
    font-size: 21px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 8px;
}

.oney-modal-desc {
    font-size: 13px;
    color: rgba(255,255,255,0.42);
    line-height: 1.65;
    margin-bottom: 26px;
}

.oney-modal-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
    margin-bottom: 8px;
}

.oney-input-group {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--r-md);
    overflow: hidden;
    margin-bottom: 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.oney-input-group:focus-within {
    border-color: rgba(255,204,0,0.45);
    box-shadow: 0 0 0 3px rgba(255,204,0,0.07);
}

.oney-input-group input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    padding: 13px 14px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    font-family: var(--font-corps);
}

.oney-input-group input::placeholder { color: rgba(255,255,255,0.22); font-weight: 400; font-size: 15px; }

.oney-input-unit {
    padding: 13px 14px;
    font-size: 16px;
    font-weight: 700;
    color: rgba(255,255,255,0.38);
    border-left: 1px solid rgba(255,255,255,0.08);
}

.oney-resultats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.oney-resultat {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-md);
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: border-color 0.25s, background 0.25s;
}

.oney-resultat.active {
    border-color: rgba(0, 200, 83, 0.38);
    background: rgba(0, 200, 83, 0.04);
}

.oney-resultat-type {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.38);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.oney-resultat-montant {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.5px;
    font-family: var(--font-corps);
    line-height: 1.1;
}

.oney-resultat-detail {
    font-size: 11px;
    color: rgba(255,255,255,0.28);
}

.oney-modal-disclaimer {
    font-size: 11px;
    color: rgba(255,255,255,0.22);
    line-height: 1.6;
    margin-bottom: 20px;
    text-align: center;
}

.btn-oney-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: var(--c-jaune);
    color: var(--c-noir);
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--r-md);
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-oney-modal:hover {
    background: var(--c-jaune-sombre);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(255,204,0,0.25);
}

@media (max-width: 500px) {
    .oney-modal    { padding: 32px 22px 28px; border-radius: 20px; }
    .oney-resultats { grid-template-columns: 1fr; }
}


/* ================================================================
   PAGE BOUTIQUE — Catalogue moteurs
   ================================================================ */

/* ── Hero compact ── */
.boutique-page-hero {
    background: #080808;
    padding: 106px 0 56px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
}

.boutique-page-hero::before {
    content: '';
    position: absolute;
    left: -8%;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(212,175,55,0.09) 0%, rgba(212,175,55,0.03) 45%, transparent 70%);
    pointer-events: none;
}


/* ──────────────────────────────────────────────────────────────
   SUIVI DE COMMANDE — Page suivre-ma-commande.html
   ────────────────────────────────────────────────────────────── */

/* ─── Section wrapper ─────────────────────────────────────── */
.suivi-section {
    padding: 56px 0 100px;
    background: var(--c-blanc);
    min-height: 60vh;
}

.suivi-container {
    max-width: 680px;
}

/* ─── Formulaire de recherche ─────────────────────────────── */
.suivi-form {
    margin-bottom: 40px;
}

.suivi-form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--c-gris-moyen);
    margin-bottom: 10px;
}

.suivi-form-row {
    display: flex;
    gap: 10px;
}

.suivi-input {
    flex: 1;
    height: 52px;
    border: 1.5px solid var(--c-gris-bordure);
    border-radius: var(--r-md);
    padding: 0 18px;
    font-size: 1rem;
    font-family: var(--font-corps);
    background: var(--c-blanc);
    color: var(--c-noir);
    transition: border-color var(--t-vite), box-shadow var(--t-vite);
    outline: none;
    letter-spacing: 0.04em;
}

.suivi-input:focus {
    border-color: var(--c-jaune);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.18);
}

.suivi-btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0 24px;
    background: var(--c-jaune);
    color: var(--c-noir);
    border: none;
    border-radius: var(--r-md);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background var(--t-vite), transform var(--t-vite), box-shadow var(--t-vite);
}

.suivi-btn-submit:hover {
    background: var(--c-jaune-sombre);
    box-shadow: var(--ombre-jaune);
    transform: translateY(-1px);
}

.suivi-btn-submit:active {
    transform: translateY(0);
}

.suivi-input-hint {
    margin-top: 10px;
    font-size: 0.78rem;
    color: var(--c-gris-moyen);
    line-height: 1.5;
}

/* ─── Zone d'erreur ───────────────────────────────────────── */
.suivi-erreur {
    background: rgba(255, 59, 48, 0.06);
    border: 1.5px solid rgba(255, 59, 48, 0.22);
    border-radius: var(--r-lg);
    padding: 24px;
    margin-bottom: 32px;
}

.suivi-erreur-inner {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    color: var(--c-rouge);
}

.suivi-erreur-inner svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.suivi-erreur-titre {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--c-rouge);
    margin-bottom: 6px;
}

.suivi-erreur-texte {
    font-size: 0.88rem;
    color: var(--c-noir);
    margin-bottom: 4px;
}

.suivi-erreur-numero {
    font-family: var(--font-mono);
    font-weight: 700;
}

.suivi-erreur-aide {
    font-size: 0.82rem;
    color: var(--c-gris-moyen);
}

.suivi-erreur-aide a {
    color: var(--c-jaune-sombre);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ─── Cartes résultat ─────────────────────────────────────── */
.suivi-card {
    background: var(--c-blanc);
    border: 1.5px solid var(--c-gris-bordure);
    border-radius: var(--r-lg);
    padding: 28px;
    margin-bottom: 16px;
}

.suivi-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--c-gris-moyen);
    margin-bottom: 20px;
}

/* ─── Carte statut ────────────────────────────────────────── */
.suivi-top-row {
    margin-bottom: 16px;
}

.suivi-top-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.suivi-kicker {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--c-gris-moyen);
}

.suivi-numero {
    font-size: 1.4rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--c-noir);
    letter-spacing: 0.04em;
}

.suivi-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--r-full);
    font-size: 0.78rem;
    font-weight: 700;
    width: fit-content;
}

.suivi-badge--etape1 { background: rgba(142,142,147,0.14); color: var(--c-gris-moyen); }
.suivi-badge--etape2 { background: rgba(255,204,0,0.14);   color: var(--c-jaune-sombre); }
.suivi-badge--etape3 { background: rgba(255,149,0,0.14);   color: #E68200; }
.suivi-badge--etape4 { background: rgba(52,199,89,0.14);   color: #1D9E44; }

.suivi-meta {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    border-top: 1px solid var(--c-gris-clair);
    padding-top: 14px;
}

.suivi-meta-item {
    font-size: 0.82rem;
    color: var(--c-gris-moyen);
}

.suivi-meta-label { color: var(--c-gris-moyen); }

.suivi-meta-item strong {
    color: var(--c-noir);
    font-weight: 600;
}

/* ─── Timeline ────────────────────────────────────────────── */
.suivi-timeline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    gap: 0;
}

/* Ligne de connexion entre les points */
.suivi-timeline::before {
    content: '';
    position: absolute;
    top: 22px;
    left: calc(22px / 2);
    right: calc(22px / 2);
    height: 2px;
    background: var(--c-gris-clair);
    z-index: 0;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.timeline-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--c-gris-clair);
    border: 2px solid var(--c-gris-bordure);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-gris-moyen);
    transition: background var(--t-normal), border-color var(--t-normal), color var(--t-normal), box-shadow var(--t-normal);
}

.timeline-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    color: var(--c-gris-moyen);
    line-height: 1.3;
    max-width: 80px;
    transition: color var(--t-normal);
}

/* État : fait (étape passée) */
.timeline-item--fait .timeline-dot {
    background: rgba(52,199,89,0.10);
    border-color: var(--c-vert);
    color: var(--c-vert);
}

.timeline-item--fait .timeline-label {
    color: var(--c-vert);
}

/* État : actif (étape en cours) */
.timeline-item--actif .timeline-dot {
    background: var(--c-jaune);
    border-color: var(--c-jaune);
    color: var(--c-noir);
    box-shadow: 0 0 0 6px rgba(255, 204, 0, 0.18), var(--ombre-jaune);
    animation: pulseDot 2.2s ease-in-out infinite;
}

.timeline-item--actif .timeline-label {
    color: var(--c-jaune-sombre);
    font-weight: 800;
}

@keyframes pulseDot {
    0%   { box-shadow: 0 0 0 0px rgba(255, 204, 0, 0.30), 0 4px 20px rgba(255, 204, 0, 0.35); }
    50%  { box-shadow: 0 0 0 8px rgba(255, 204, 0, 0.10), 0 4px 20px rgba(255, 204, 0, 0.50); }
    100% { box-shadow: 0 0 0 0px rgba(255, 204, 0, 0.30), 0 4px 20px rgba(255, 204, 0, 0.35); }
}

/* ─── Grille infos livraison ──────────────────────────────── */
.suivi-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.suivi-info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.suivi-info-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--c-gris-moyen);
}

.suivi-info-val {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--c-noir);
    font-family: var(--font-mono);
}

/* ─── Bouton suivi transporteur ───────────────────────────── */
.suivi-btn-wrapper {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--c-gris-clair);
}

.btn-suivi-transporteur {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 56px;
    padding: 0 24px;
    background: var(--c-jaune);
    color: var(--c-noir);
    border-radius: var(--r-md);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    justify-content: center;
    transition: background var(--t-vite), transform var(--t-vite), box-shadow var(--t-vite);
}

.btn-suivi-transporteur:hover {
    background: var(--c-jaune-sombre);
    box-shadow: var(--ombre-jaune);
    transform: translateY(-1px);
}

.btn-suivi-transporteur:active {
    transform: translateY(0);
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 600px) {
    .suivi-form-row {
        flex-direction: column;
    }

    .suivi-btn-submit {
        width: 100%;
        justify-content: center;
    }

    .suivi-timeline::before {
        top: 20px;
    }

    .timeline-dot {
        width: 38px;
        height: 38px;
    }

    .timeline-label {
        font-size: 0.65rem;
        max-width: 62px;
    }

    .suivi-info-grid {
        grid-template-columns: 1fr;
    }

    .suivi-meta {
        flex-direction: column;
        gap: 8px;
    }
}

.boutique-hero-inner {
    max-width: 680px;
    position: relative;
}

.boutique-kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--c-jaune);
    margin-bottom: 16px;
}

.boutique-titre {
    font-size: clamp(30px, 5vw, 50px);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -1.5px;
    line-height: 1.06;
    margin-bottom: 14px;
}

.boutique-sous-titre {
    font-size: 15.5px;
    color: rgba(255,255,255,0.45);
    line-height: 1.65;
    max-width: 520px;
}

/* ── Barre d'outils ── */
.boutique-toolbar {
    background: rgba(8,8,8,0.97);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 14px 0;
    position: sticky;
    top: 66px;
    z-index: 90;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.boutique-toolbar-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.boutique-search-wrapper {
    position: relative;
    flex: 1;
    min-width: 220px;
}

.boutique-search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.30);
    pointer-events: none;
}

.boutique-search-input {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    padding: 10px 14px 10px 40px;
    border-radius: 10px;
    font-family: var(--font-corps);
    font-size: 13.5px;
    font-weight: 500;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.boutique-search-input:focus {
    outline: none;
    border-color: rgba(255,204,0,0.42);
    box-shadow: 0 0 0 3px rgba(255,204,0,0.07);
}

.boutique-search-input::placeholder { color: rgba(255,255,255,0.22); font-weight: 400; }

.boutique-filtres {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filtre-select {
    appearance: none;
    -webkit-appearance: none;
    background-color: rgba(255,255,255,0.06);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpolyline points='1 1 5 5 9 1' fill='none' stroke='rgba%28255%2C255%2C255%2C0.4%29' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.80);
    padding: 9px 30px 9px 12px;
    border-radius: 10px;
    font-family: var(--font-corps);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s;
    white-space: nowrap;
}

.filtre-select:focus { outline: none; border-color: rgba(255,204,0,0.4); }
.filtre-select option { background: #1a1a1a; color: #fff; }

.filtre-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(255,255,255,0.40);
    padding: 9px 14px;
    border-radius: 10px;
    font-family: var(--font-corps);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.filtre-reset-btn:hover { border-color: rgba(255,255,255,0.24); color: rgba(255,255,255,0.72); }

.boutique-count {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.30);
    white-space: nowrap;
    margin-left: auto;
}

/* ── Section grille ── */
.section-boutique {
    background: #080808;
    padding: 52px 0 100px;
    min-height: 50vh;
}

.boutique-grille {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

/* ── État vide ── */
.boutique-vide {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    color: rgba(255,255,255,0.28);
    gap: 16px;
}

.boutique-vide.visible { display: flex; }

.boutique-vide p { font-size: 15px; line-height: 1.6; }

.boutique-vide-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.48);
    padding: 10px 24px;
    border-radius: 10px;
    font-family: var(--font-corps);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.boutique-vide-btn:hover { border-color: rgba(255,255,255,0.28); color: rgba(255,255,255,0.78); }

/* ── Carte moteur ── */
.moteur-card {
    background: #111111;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.moteur-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.15);
    box-shadow: 0 28px 64px rgba(0,0,0,0.6);
}

/* Image */
.moteur-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #0d0d0d;
    flex-shrink: 0;
}

.moteur-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.moteur-card:hover .moteur-img { transform: scale(1.07); }

/* Badge état (haut-gauche) */
.moteur-badge {
    position: absolute;
    top: 12px; left: 12px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 5px 10px;
    border-radius: 20px;
    line-height: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.badge-occasion {
    background: rgba(52,199,89,0.16);
    color: #4cd964;
    border: 1px solid rgba(52,199,89,0.28);
}

.badge-reconditionne {
    background: rgba(10,132,255,0.16);
    color: #64baff;
    border: 1px solid rgba(10,132,255,0.28);
}

/* Badge carburant (haut-droite) */
.moteur-carburant-badge {
    position: absolute;
    top: 12px; right: 12px;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 20px;
    line-height: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.carburant-diesel {
    background: rgba(90,200,250,0.12);
    color: rgba(90,200,250,0.88);
    border: 1px solid rgba(90,200,250,0.20);
}

.carburant-essence {
    background: rgba(255,149,0,0.12);
    color: rgba(255,159,64,0.90);
    border: 1px solid rgba(255,149,0,0.22);
}

.carburant-hybride {
    background: rgba(52,199,89,0.12);
    color: rgba(78,205,109,0.90);
    border: 1px solid rgba(52,199,89,0.22);
}

/* Corps de la carte */
.moteur-card-corps {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 18px 0;
}

.moteur-card-top { margin-bottom: 12px; }

.moteur-code {
    display: inline-block;
    font-family: 'Courier New', Courier, monospace;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--c-jaune);
    background: rgba(255,204,0,0.08);
    border: 1px solid rgba(255,204,0,0.16);
    padding: 3px 9px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.moteur-titre {
    font-size: 15.5px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.moteur-cylindree {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255,255,255,0.40);
    margin-top: 3px;
}

/* Specs */
.moteur-specs {
    display: flex;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 12px 0;
}

.moteur-spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    gap: 3px;
    padding: 0 4px;
    border-right: 1px solid rgba(255,255,255,0.06);
}

.moteur-spec:last-child { border-right: none; }

.moteur-spec svg { color: rgba(255,255,255,0.28); }

.moteur-spec-val {
    font-size: 12.5px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    text-align: center;
}

.moteur-spec-lib {
    font-size: 9.5px;
    color: rgba(255,255,255,0.28);
    text-align: center;
    white-space: nowrap;
}

.moteur-spec-garantie .moteur-spec-val {
    color: var(--c-jaune);
    font-size: 11px;
}

/* Zone prix + CTA */
.moteur-prix-zone {
    margin-top: auto;
    padding: 14px 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.moteur-prix {
    font-size: 22px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -0.7px;
    line-height: 1;
}

.moteur-prix-detail {
    font-size: 10px;
    color: rgba(255,255,255,0.26);
    margin-top: 3px;
    white-space: nowrap;
}

.moteur-oney-ligne {
    font-size: 11px;
    font-weight: 600;
    color: var(--c-jaune);
    margin-top: 6px;
    letter-spacing: 0.01em;
}

.btn-devis {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 15px;
    background: var(--c-jaune);
    color: var(--c-noir);
    border: none;
    border-radius: 9px;
    font-family: var(--font-corps);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-devis:hover {
    background: var(--c-jaune-sombre);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255,204,0,0.28);
}

/* ── Responsive boutique ── */
@media (max-width: 1100px) {
    .boutique-grille { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .boutique-toolbar { top: 64px; }
    .boutique-search-wrapper { min-width: 100%; }
    .boutique-count { margin-left: 0; }

    /* Filtres → bandeau à défilement horizontal */
    .boutique-filtres {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding-bottom: 4px;
        scrollbar-width: none;
    }
    .boutique-filtres::-webkit-scrollbar { display: none; }
    .filtre-select {
        flex-shrink: 0;
        min-width: 140px;
        font-size: 12px;
        padding: 8px 28px 8px 10px;
    }

    /* Grille → 1 colonne */
    .boutique-grille { grid-template-columns: 1fr; }
    .boutique-page-hero { padding: 92px 0 40px; }
    .boutique-titre { letter-spacing: -1px; }
    .moteur-prix-zone { flex-direction: column; align-items: flex-start; gap: 10px; }
    .btn-devis { width: 100%; justify-content: center; }
}

/* ── Hint sous la barre de recherche ── */
.boutique-search-hint {
    font-size: 10.5px;
    color: rgba(255,255,255,0.22);
    margin: 6px 0 0 2px;
    letter-spacing: 0.01em;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

/* ── État vide — message plaque reconnue ── */
#videStandard,
#videPlaque {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.vide-plaque-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    padding: 12px 22px;
    border-radius: 14px;
}

.vide-plaque-num {
    font-family: 'Courier New', Courier, monospace;
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 3px;
}

.vide-plaque-format {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--c-jaune);
    background: rgba(255,204,0,0.10);
    border: 1px solid rgba(255,204,0,0.20);
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}


/* ══════════════════════════════════════════════════════════════
   PAGE CONNEXION / INSCRIPTION — connexion.html
   ══════════════════════════════════════════════════════════════ */

/* ─── Body override : fond noir total ────────────────────── */
.body--dark-auth {
    background: #080808;
}

/* ─── Header variante sombre ─────────────────────────────── */
.header--dark {
    background: rgba(8,8,8,0.92) !important;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header--dark .nav-links a {
    color: rgba(255,255,255,0.65);
}

.header--dark .nav-links a:hover {
    color: #ffffff;
}

.header--dark .logo-text {
    color: #ffffff;
}

.nav-cta--dark {
    background: rgba(255,255,255,0.08) !important;
    color: rgba(255,255,255,0.80) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;  /* fix: border-color seul sans border ne fonctionne pas quand border:none */
}

.nav-cta--dark:hover {
    background: rgba(255,255,255,0.14) !important;
    color: #ffffff !important;
}

/* Bouton profil actif (page courante) */
.nav-user-btn--active {
    border-color: var(--c-jaune) !important;
    color: var(--c-jaune) !important;
    background: rgba(255, 204, 0, 0.10) !important;
}

/* ─── Layout principal ───────────────────────────────────── */
.auth-main {
    min-height: calc(100vh - 66px - 280px);
    background: #080808;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

/* Halo décoratif d'arrière-plan */
.auth-main::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,204,0,0.07) 0%, transparent 65%);
    pointer-events: none;
}

.auth-wrapper {
    width: 100%;
    max-width: 460px;
    position: relative;
    z-index: 1;
}

/* ─── Carte d'authentification ───────────────────────────── */
.auth-card {
    background: #111111;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 24px;
    padding: 44px 40px 32px;
    box-shadow:
        0 32px 80px rgba(0,0,0,0.55),
        0 0 0 1px rgba(255,204,0,0.04),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ─── Marque en haut de la carte ─────────────────────────── */
.auth-brand {
    display: block;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.5px;
    text-decoration: none;
    margin-bottom: 36px;
    text-align: center;
}

.auth-brand .logo-text { color: #ffffff; }

/* ─── En-tête du panneau ─────────────────────────────────── */
.auth-head {
    margin-bottom: 32px;
    text-align: center;
}

.auth-titre {
    font-size: 1.75rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.8px;
    line-height: 1.15;
    margin-bottom: 8px;
}

.auth-sous-titre {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.42);
    line-height: 1.55;
}

/* ─── Champs du formulaire ───────────────────────────────── */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.auth-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.auth-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.03em;
}

.auth-required { color: var(--c-rouge); margin-left: 2px; }
.auth-optional { color: rgba(255,255,255,0.25); font-weight: 400; font-size: 0.72rem; }

.auth-input-wrapper {
    position: relative;
}

.auth-input {
    width: 100%;
    height: 48px;
    background: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(255,255,255,0.11);
    border-radius: var(--r-md);
    padding: 0 16px;
    font-family: var(--font-corps);
    font-size: 0.9rem;
    color: #ffffff;
    outline: none;
    transition: border-color var(--t-vite), box-shadow var(--t-vite), background var(--t-vite);
}

/* Champ de type password dans wrapper — décaler pour le bouton œil */
.auth-input-wrapper .auth-input {
    padding-right: 46px;
}

.auth-input::placeholder {
    color: rgba(255,255,255,0.22);
    font-weight: 400;
}

.auth-input:focus {
    border-color: var(--c-jaune);
    background: rgba(255,255,255,0.07);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.13);
}

.auth-input.erreur {
    border-color: var(--c-rouge);
    box-shadow: 0 0 0 3px rgba(255, 59, 48, 0.14);
}

.auth-field-hint {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.28);
    margin-top: 2px;
}

/* ─── Bouton afficher/masquer le mot de passe ────────────── */
.auth-eye-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--t-vite);
    border-radius: 0 var(--r-md) var(--r-md) 0;
}

.auth-eye-btn:hover {
    color: rgba(255,255,255,0.75);
}

/* ─── Ligne options (se souvenir / mot de passe oublié) ──── */
.auth-row-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.auth-checkbox-label {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.50);
    cursor: pointer;
    user-select: none;
}

.auth-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.auth-checkbox-custom {
    width: 17px;
    height: 17px;
    border: 1.5px solid rgba(255,255,255,0.22);
    border-radius: 4px;
    background: transparent;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color var(--t-vite), background var(--t-vite);
}

.auth-checkbox:checked + .auth-checkbox-custom {
    background: var(--c-jaune);
    border-color: var(--c-jaune);
}

.auth-checkbox:checked + .auth-checkbox-custom::after {
    content: '';
    display: block;
    width: 4px;
    height: 7px;
    border: 2px solid #000;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
}

.auth-link {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-corps);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--c-jaune);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 204, 0, 0.35);
    transition: color var(--t-vite), text-decoration-color var(--t-vite);
    white-space: nowrap;
}

.auth-link:hover {
    color: var(--c-jaune-sombre);
    text-decoration-color: var(--c-jaune-sombre);
}

/* ─── Bouton de soumission ───────────────────────────────── */
.btn-auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 52px;
    background: var(--c-jaune);
    color: var(--c-noir);
    border: none;
    border-radius: var(--r-md);
    font-family: var(--font-corps);
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: background var(--t-vite), transform var(--t-vite), box-shadow var(--t-vite), opacity var(--t-vite);
    letter-spacing: 0.01em;
    margin-top: 4px;
}

.btn-auth-submit:hover {
    background: var(--c-jaune-sombre);
    box-shadow: 0 6px 24px rgba(255, 204, 0, 0.38);
    transform: translateY(-1px);
}

.btn-auth-submit:active {
    transform: translateY(0);
}

.btn-auth-submit.loading {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ─── Séparateur ─────────────────────────────────────────── */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0 20px;
    color: rgba(255,255,255,0.18);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.09);
}

/* ─── Lien bascule (connexion ↔ inscription) ─────────────── */
.auth-switch {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.38);
}

.auth-switch-btn {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-corps);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--c-jaune);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255,204,0,0.35);
    transition: color var(--t-vite), text-decoration-color var(--t-vite);
}

.auth-switch-btn:hover {
    color: var(--c-jaune-sombre);
    text-decoration-color: var(--c-jaune-sombre);
}

/* ─── Note de sécurité en bas de carte ───────────────────── */
.auth-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.72rem;
    color: rgba(255,255,255,0.22);
    letter-spacing: 0.02em;
}

/* ─── Animations des panneaux ────────────────────────────── */
.auth-panel {
    /*
     * La transition entre panneaux fonctionne en 2 phases (voir connexion.js) :
     * Sortie : classe --sortie (animation + animationend) → puis --hidden (display:none)
     * Entrée : remove --hidden → double rAF → classe --entree (animation)
     * Le double requestAnimationFrame garantit que le navigateur peint l'élément
     * visible AVANT que la classe d'animation soit ajoutée.
     */
}

.auth-panel--hidden {
    display: none;
}

/* ================================================================
   CLICK-TO-CALL — Fixes conversion appels entrants
   ================================================================ */

/* ── Fix #3 — Horaires sous le numéro dans le header ── */
.btn-phone-hours {
    font-size: 9px;
    font-weight: 500;
    opacity: 0.65;
    display: block;
    line-height: 1;
    letter-spacing: 0.01em;
}

/* ── Section vedette masquée + CTA mobile ── */
.mobile-vedette-cta { display: none; }

@media (max-width: 768px) {
    .section-vedette { display: none; }
    .mobile-vedette-cta {
        display: flex;
        justify-content: center;
        padding: 32px 20px;
        background: var(--c-blanc);
    }
    .mobile-vedette-cta a {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: var(--c-noir);
        color: var(--c-blanc);
        font-family: var(--font-corps);
        font-weight: 700;
        font-size: 16px;
        text-decoration: none;
        padding: 16px 28px;
        border-radius: 100px;
        letter-spacing: -0.3px;
        transition: background 0.18s ease, transform 0.12s ease;
        width: 100%;
        max-width: 360px;
        justify-content: center;
        text-align: center;
    }
    .mobile-vedette-cta a:hover { background: var(--c-anthracite); transform: translateY(-1px); }
}


/* ── Sticky call bar (mobile uniquement) ── */
.sticky-call-bar { display: none; }

@media (max-width: 768px) {
    .sticky-call-bar {
        display: flex;
        align-items: center;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        background: var(--c-noir);
        padding: 10px 16px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
        z-index: 9998;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
        border-top: 2px solid var(--c-jaune);
    }
    .sticky-call-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        background: var(--c-jaune);
        color: var(--c-noir);
        font-family: var(--font-corps);
        font-weight: 700;
        font-size: 15px;
        text-decoration: none;
        padding: 13px 20px;
        border-radius: 10px;
        letter-spacing: -0.2px;
        transition: background 0.18s ease;
    }
    .sticky-call-btn:hover { background: var(--c-jaune-sombre); }
    body { padding-bottom: 74px; }
}

/* ── Fix #4 — CTA appel prioritaire dans le drawer de réservation ── */
.drawer-call-cta {
    background: rgba(255,204,0,0.07);
    border: 1.5px solid rgba(255,204,0,0.22);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
}

.drawer-call-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--c-jaune);
    color: var(--c-noir);
    font-family: var(--font-corps);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    padding: 13px 22px;
    border-radius: 100px;
    letter-spacing: -0.2px;
    transition: background 0.18s ease, transform 0.12s ease;
    width: 100%;
}

.drawer-call-btn:hover  { background: var(--c-jaune-sombre); transform: translateY(-1px); }
.drawer-call-btn:active { transform: translateY(0); }

.drawer-call-ou {
    margin: 10px 0 0;
    font-size: 11px;
    color: rgba(255,255,255,0.32);
    letter-spacing: 0.01em;
}

/* ── Fix #2 — Numéro footer cliquable (tap-to-call) ── */
.footer-tel {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.15s ease;
}
.footer-tel:hover { color: var(--c-jaune); }

/* ================================================================
   CARTE "SUR COMMANDE" — < 10 résultats avec filtre marque actif
   Utilise la même structure que .moteur-card
   ================================================================ */
@keyframes carteApparition {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.carte-sur-commande {
    border: 2px solid var(--c-jaune);
    animation: carteApparition 0.35s ease both;
}

.carte-commande-image {
    background: linear-gradient(135deg, #1c1c1e 0%, #2c2c2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    color: rgba(255, 255, 255, 0.18);
}

.badge-commande {
    background: var(--c-jaune);
    color: var(--c-noir);
}

.auth-panel--sortie {
    animation: authSortie 0.2s ease forwards;
}

.auth-panel--entree {
    animation: authEntree 0.3s ease forwards;
}

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

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

/* ─── Responsive ─────────────────────────────────────────── */
@media (max-width: 520px) {
    .auth-card {
        padding: 36px 24px 28px;
        border-radius: 20px;
    }

    .auth-titre { font-size: 1.45rem; }

    .auth-field-row {
        grid-template-columns: 1fr;
    }

    .auth-row-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}


/* ─── Bouton Google (charte officielle Google) ────────────── */
.btn-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 46px;
    background: #ffffff;
    color: #3c4043;
    border: 1.5px solid #dadce0;
    border-radius: var(--r-md);
    font-family: var(--font-corps);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--t-vite), box-shadow var(--t-vite), border-color var(--t-vite);
    margin-bottom: 16px;
    letter-spacing: 0.01em;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #c6c6c6;
    box-shadow: 0 1px 4px rgba(60,64,67,0.20), 0 2px 8px rgba(60,64,67,0.10);
}

.btn-google:active {
    background: #f1f3f4;
}

.btn-google svg {
    flex-shrink: 0;
}

/* ─── Panneau utilisateur connecté ───────────────────────── */
.auth-connected {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--r-md);
    margin-bottom: 20px;
}

.auth-connected-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255,204,0,0.12);
    border: 2px solid rgba(255,204,0,0.30);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-jaune);
    flex-shrink: 0;
    overflow: hidden;
}

.auth-connected-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auth-connected-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.auth-connected-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.30);
}

.auth-connected-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.auth-connected-email {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.40);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.auth-connected-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    line-height: 1.6;
    margin-bottom: 24px;
    padding: 0 4px;
    text-align: center;
}

.btn-auth-deconnexion {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 44px;
    background: transparent;
    color: rgba(255,255,255,0.50);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: var(--r-md);
    font-family: var(--font-corps);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color var(--t-vite), color var(--t-vite), background var(--t-vite);
}

.btn-auth-deconnexion:hover {
    border-color: rgba(255,59,48,0.40);
    color: var(--c-rouge);
    background: rgba(255,59,48,0.06);
}
