/* ============================================
   WMP — Engine Optimisation Design
   Font: Big Shoulders
   Accent: Blue #3366FF
   ============================================ */

:root {
    --red: #3366FF;
    --red-light: #5588FF;
    --red-glow: rgba(51, 102, 255, 0.35);
    --black: #18181B;
    --white: #FFFFFF;
    --off-white: #F7F7F8;
    --gray-100: #F1F1F4;
    --gray-200: #E4E4E9;
    --gray-400: #9C9CA8;
    --gray-500: #6B6B78;
    --gray-700: #3F3F48;
    --font: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Big Shoulders', 'Arial Narrow', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    /* Base 16px : le corps est en Roboto (largeur normale), on garde l'échelle
       d'origine. Les titres en Big Shoulders gardent leur présence via leurs
       tailles propres. */
    font-size: 100%;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

::selection {
    background: var(--red);
    color: white;
}

/* TITRES — Big Shoulders en majuscules ; le corps reste en Roboto */
.hero-title,
.big-title,
.mega-title,
.section-label,
.footer-heading,
.stat-num,
.stat-big,
.config-level-title,
.config-fuel-title,
.config-perf-title,
.config-quality-title {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

a {
    text-decoration: none;
    color: inherit;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 64px);
}

.section {
    padding: clamp(80px, 10vw, 140px) 0;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 12px 0;
}

.navbar.scrolled .nav-logo,
.navbar.scrolled .nav-links a,
.navbar.scrolled .nav-btn-outline {
    color: var(--black);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 64px);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font);
    font-size: 1.375rem;
    font-weight: 600;
    letter-spacing: -0.04em;
    color: var(--white);
    transition: color 0.3s;
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    /* logo.png = texte blanc + pulse bleu sur fond transparent.
       Tel quel sur fond sombre (hero, footer, menu mobile). */
}

/* Navbar blanche (au scroll) : on assombrit le texte blanc du logo
   sans dénaturer le bleu (invert + hue-rotate 180° conserve la teinte). */
.navbar.scrolled .nav-logo-img {
    filter: invert(1) hue-rotate(180deg);
}

.footer .nav-logo-img {
    height: 64px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.navbar.scrolled .nav-links a:hover {
    color: var(--black);
    background: rgba(0, 0, 0, 0.04);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-btn-outline {
    padding: 8px 18px;
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
}

.nav-btn-outline:hover {
    color: var(--white);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 22px;
    background: var(--red);
    color: white;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: background 0.25s;
}

.nav-cta.visible {
    pointer-events: all;
}

.nav-cta:hover {
    background: var(--red-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

.navbar.scrolled .nav-toggle span {
    background: var(--black);
}

/* ============================================
   HERO — Full-screen cinematic image
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #0c0c0e;
}

.hero-img,
.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.5) 80%, rgba(0, 0, 0, 0.75) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1080px;
    padding: 0 24px;
    margin-top: 60px;
}

.hero-title,
.hero-sub {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}


.hero-title {
    font-size: clamp(2.9rem, 6.7vw, 4.7rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.06;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    max-width: 560px;
    margin: 0 auto 36px;
    line-height: 1.65;
}

.hero-cta-row {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* PILL BUTTON */
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 32px;
    background-color: var(--red);
    color: white;
    border-radius: 9999px;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.btn-pill:hover {
    background-color: #4d7fff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.btn-pill-lg {
    padding: 13px 44px;
    font-size: 1.1rem;
}

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


.hero-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* ============================================
   BARRE DE RECHERCHE VÉHICULE (dropdowns custom à logos)
   ============================================ */
.vehicle-search {
    position: relative;
    z-index: 20;
    width: min(720px, 94vw);
    margin: 32px auto 8px;
    text-align: center;
}

.vsearch-hint {
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.vsearch-bar {
    display: flex;
    align-items: stretch;
    gap: 8px;
    padding: 10px;
    background: rgba(22, 26, 37, 0.55);
    backdrop-filter: blur(28px) saturate(170%);
    -webkit-backdrop-filter: blur(28px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Dropdown custom */
.vsearch-dd {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}

.vsearch-trigger {
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.vsearch-trigger:hover:not(:disabled) { background: rgba(255, 255, 255, 0.1); }

.vsearch-trigger[aria-expanded="true"] {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.vsearch-trigger:disabled { color: rgba(255, 255, 255, 0.4); cursor: not-allowed; }

.vsearch-trigger-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vsearch-trigger.has-value .vsearch-trigger-label { font-weight: 600; }

.vsearch-chevron { flex-shrink: 0; opacity: 0.65; transition: transform 0.25s; }

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

/* Panneau déroulant (verre) */
.vsearch-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 50;
    max-height: 340px;
    overflow-y: auto;
    padding: 10px;
    background: #151823;
    backdrop-filter: blur(30px) saturate(170%);
    -webkit-backdrop-filter: blur(30px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
    text-align: left;
}

.vsearch-dd.open .vsearch-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Grille de marques (logos), inspirée des marques supportées */
.vsearch-panel-brands {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: max(100%, 360px);
}

.vsearch-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 14px 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.18s, border-color 0.18s;
}

.vsearch-brand:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.vsearch-brand img {
    height: 30px;
    width: auto;
    max-width: 72px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.92;
}

.vsearch-brand span {
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
}

/* Liste de modèles (texte) */
.vsearch-model {
    display: block;
    width: 100%;
    text-align: left;
    padding: 13px 16px;
    background: none;
    border: none;
    border-radius: 9px;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font);
    font-size: 0.98rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s;
}

.vsearch-model:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* Champ de filtre dans les panneaux (Marque / Modèle) */
.vsearch-panel--wide { min-width: 380px; }

.vsearch-filter-bar {
    position: sticky;
    top: 0;
    z-index: 3;
    margin: -10px -10px 6px -10px;
    padding: 10px 10px 8px 10px;
    background: #151823;
}

.vsearch-filter {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9px;
    color: #fff;
    font-family: var(--font);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.18s, background 0.18s;
}

.vsearch-filter::placeholder { color: rgba(255, 255, 255, 0.45); }

.vsearch-filter:focus {
    border-color: var(--red);
    background: rgba(255, 255, 255, 0.1);
}

.vsearch-grid-brands {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.vsearch-no-result {
    padding: 18px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Autocomplétion du formulaire de contact (marque / modèle / motorisation) */
.autocomplete-wrap { position: relative; }

.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    margin-top: 4px;
    max-height: 220px;
    overflow-y: auto;
    z-index: 50;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    display: none;
}

.autocomplete-list.open { display: block; }

.autocomplete-item {
    padding: 10px 16px;
    font-size: 0.88rem;
    cursor: pointer;
    color: var(--black);
    transition: background 0.15s;
}

.autocomplete-item:hover,
.autocomplete-item.active { background: var(--off-white); }

.autocomplete-item mark {
    background: none;
    color: var(--red);
    font-weight: 600;
}

.vsearch-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    flex: 0 0 auto;
    padding: 0 24px;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s, box-shadow 0.25s, transform 0.25s;
    white-space: nowrap;
}

.vsearch-go:hover {
    background: var(--red-light);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

/* ---- Mobile : moins de détails, empilé ---- */
@media (max-width: 720px) {
    .vsearch-bar {
        flex-wrap: wrap;
        gap: 8px;
        border-radius: 16px;
    }
    .vsearch-dd { flex: 1 1 100%; }
    .vsearch-trigger { height: 52px; }
    .vsearch-panel--wide { min-width: 0; }
    .vsearch-grid-brands {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }
    .vsearch-go { flex: 1 1 100%; padding: 15px; }
    /* le bouton suffit : le label texte reste, l'icône donne le contexte */
    .vsearch-go .vsearch-go-text { display: inline; }
}


/* Hero features bar */
.hero-features {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-feature {
    flex: 1;
    max-width: 320px;
    padding: 24px 32px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-feature:last-child {
    border-right: none;
}

.hero-feature strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 4px;
}

.hero-feature span {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   SECTION TITLES — grande typographie
   ============================================ */
.big-title {
    font-size: clamp(2.2rem, 4.5vw, 3.75rem);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--black);
}

.big-title.light {
    color: var(--white);
}

.section-sub {
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    font-weight: 300;
    color: var(--gray-500);
    max-width: 580px;
    line-height: 1.65;
    margin-bottom: 16px;
}

.section-sub.light {
    color: rgba(255, 255, 255, 0.6);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 48px;
    transition: gap 0.3s var(--ease);
}

.link-arrow:hover {
    gap: 10px;
}

.link-arrow span {
    font-size: 1.1em;
}

/* ============================================
   SERVICES — Clean card grid
   ============================================ */
.section-white {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: var(--gray-200);
    border-radius: 20px;
    overflow: hidden;
}

.service-card {
    background: var(--white);
    padding: 40px 36px;
    transition: background 0.3s;
}

.service-card:hover {
    background: var(--off-white);
}

.service-number {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--gray-500);
    line-height: 1.6;
    margin-bottom: 24px;
}

.service-gains {
    display: flex;
    gap: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.gain-val {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--red);
    letter-spacing: -0.02em;
}

.gain-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 400;
}

/* ============================================
   QUOTE — Big testimonial
   ============================================ */
.section-quote {
    background: var(--off-white);
    text-align: center;
}

.big-quote {
    font-size: clamp(1.4rem, 3vw, 2.5rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.35;
    max-width: 900px;
    margin: 0 auto 32px;
    color: var(--black);
}

.section-quote .link-arrow {
    margin-bottom: 0;
}

/* ============================================
   STATS — grands chiffres
   ============================================ */
.section-stats {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.stat-block {
    text-align: left;
}

.stat-big {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.stat-count {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--black);
}

.stat-pct {
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 300;
    color: var(--gray-400);
}

.stat-block p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--gray-500);
    line-height: 1.5;
}

.stat-block strong {
    font-weight: 500;
    color: var(--black);
}

/* ============================================
   HOW IT WORKS — Steps with images
   ============================================ */
.steps {
    display: flex;
    flex-direction: column;
    gap: 64px;
    margin-top: 48px;
}

.step {
    display: grid;
    grid-template-columns: 280px 48px 1fr;
    gap: 32px;
    align-items: start;
}

.step-media {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.step-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-top: 4px;
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--red);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-track {
    width: 2px;
    flex: 1;
    min-height: 60px;
    background: var(--gray-200);
    margin-top: 8px;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    padding-top: 4px;
}

.step-content p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--gray-500);
    line-height: 1.65;
    max-width: 440px;
}

/* ============================================
   RESULTS — Dark section
   ============================================ */
.section-dark {
    background: var(--black);
    color: var(--white);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.result-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.4s var(--ease);
}

.result-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.result-header h3 {
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.result-engine {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
    display: block;
}

.result-badge {
    padding: 4px 14px;
    border-radius: 9999px;
    background: rgba(51, 102, 255, 0.15);
    border: 1px solid rgba(51, 102, 255, 0.25);
    color: var(--red-light);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.result-bar-group {
    margin-bottom: 20px;
}

.result-bar-group:last-child {
    margin-bottom: 0;
}

.result-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.result-values {
    display: flex;
    align-items: center;
    gap: 8px;
}

.val-old {
    color: rgba(255, 255, 255, 0.35);
}

.val-arrow {
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.7rem;
}

.val-new {
    color: var(--red-light);
    font-weight: 600;
}

.result-bar-track {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
}

.result-bar-orig,
.result-bar-new {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 100px;
    width: 0;
    transition: width 1.5s var(--ease);
}

.result-bar-orig {
    background: rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.result-bar-new {
    background: linear-gradient(90deg, var(--red), var(--red-light));
    z-index: 2;
}

.result-gain {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--red-light);
    margin-top: 6px;
}

/* ============================================
   FAQ — Accordion
   ============================================ */
.faq-list {
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 24px 0;
    background: none;
    border: none;
    font-family: var(--font);
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--black);
    text-align: left;
    cursor: pointer;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--red);
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--gray-400);
    transition: transform 0.4s var(--ease), color 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease), padding 0.5s var(--ease);
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   CONTACT
   ============================================ */
.section-contact {
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-left .big-title {
    margin-bottom: 16px;
}

.contact-infos {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin-bottom: 2px;
}

.contact-value {
    font-size: 1rem;
    font-weight: 500;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 36px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-500);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--black);
    outline: none;
    transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

.field-hint {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-top: 6px;
}

/* Champ multi-prestations (formulaire de contact) */
.presta-field {
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--off-white);
    padding: 10px;
}
.presta-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.presta-empty { color: var(--gray-400); font-size: 0.85rem; padding: 3px 4px; }
.presta-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(51, 102, 255, 0.08);
    border: 1px solid rgba(51, 102, 255, 0.25);
    color: var(--red);
    border-radius: 9999px;
    padding: 5px 6px 5px 12px;
    font-size: 0.82rem;
    font-weight: 500;
}
.presta-chip button {
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 50%;
    background: rgba(51, 102, 255, 0.15);
    color: var(--red);
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, color 0.15s;
}
.presta-chip button:hover { background: var(--red); color: #fff; }
.presta-dd { position: relative; }
.presta-add {
    background: var(--white);
    border: 1px dashed var(--gray-400);
    color: var(--gray-700);
    border-radius: 9px;
    padding: 9px 14px;
    font-family: var(--font);
    font-size: 0.85rem;
    cursor: pointer;
    transition: border-color 0.15s, color 0.15s;
}
.presta-add:hover { border-color: var(--red); color: var(--red); }
.presta-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    padding: 6px;
    max-height: 280px;
    overflow-y: auto;
    z-index: 20;
    display: none;
}
.presta-menu.open { display: block; }
.presta-grp { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gray-400); padding: 8px 12px 4px; }
.presta-menu button {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 9px 12px;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.88rem;
    color: var(--black);
    cursor: pointer;
    transition: background 0.12s;
}
.presta-menu button:hover { background: var(--off-white); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%239C9CA8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ============================================
   MEGA CTA — grand texte
   ============================================ */
.section-final-cta {
    background: var(--black);
    text-align: center;
    padding: clamp(100px, 14vw, 200px) 0;
    overflow: hidden;
}

.mega-title {
    font-size: clamp(2.5rem, 7vw, 6rem);
    font-weight: 400;
    letter-spacing: -0.035em;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 48px;
}

.mega-title span {
    display: inline-block;
    margin-right: 0.25em;
}

.mega-blue {
    color: var(--red);
}

/* ============================================
   FOOTER — Clean, minimal
   ============================================ */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 64px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    font-weight: 300;
    line-height: 1.6;
    margin-top: 16px;
    max-width: 280px;
}

.footer-heading {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    padding: 4px 0;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.footer-bottom span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 400;
}

.footer .nav-logo {
    color: var(--white);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .results-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .step {
        grid-template-columns: 200px 40px 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-right {
        display: none;
    }

    .nav-toggle {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    /* ---- MENU MOBILE OUVERT ---- */
    /* Fond SOLIDE et pas de backdrop-filter sur la navbar quand le menu est ouvert :
       un filtre créerait un bloc conteneur et casserait le position:fixed des
       panneaux enfants (ils se caleraient sur la navbar au lieu du viewport). */
    .navbar.menu-open,
    .navbar.menu-open.scrolled {
        background: #0c0c0e;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .navbar.menu-open .nav-toggle span {
        background: var(--white);
    }

    .navbar.menu-open .nav-toggle span:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }

    .navbar.menu-open .nav-toggle span:nth-child(2) {
        transform: translateY(-4px) rotate(-45deg);
    }

    .navbar.menu-open .nav-links {
        display: flex;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 20px clamp(24px, 6vw, 40px) 190px;
        background: #0c0c0e;
        overflow-y: auto;
        z-index: 998;
        animation: navMenuIn 0.35s var(--ease);
    }

    .navbar.menu-open .nav-links > a,
    .navbar.menu-open .nav-dropdown-trigger {
        color: #fff !important;
        font-size: 1.15rem;
        font-weight: 500;
        padding: 17px 4px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* Dropdowns affichés à plat dans le menu mobile */
    .navbar.menu-open .nav-dropdown {
        position: static;
    }

    .navbar.menu-open .nav-dropdown-trigger svg {
        display: none;
    }

    .navbar.menu-open .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: all;
        min-width: 0;
        padding: 4px 0 12px 16px;
        background: transparent;
        box-shadow: none;
    }

    .navbar.menu-open .nav-dropdown-menu a {
        color: rgba(255, 255, 255, 0.55) !important;
        font-size: 1rem;
        padding: 11px 4px;
    }

    .navbar.menu-open .nav-dropdown-menu a:hover {
        background: transparent !important;
        color: #fff !important;
    }

    /* Bas de panneau fixe : réseaux + bouton Prendre RDV */
    .navbar.menu-open .nav-right {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 999;
        flex-direction: column-reverse;
        gap: 18px;
        padding: 20px clamp(24px, 6vw, 40px) 28px;
        background: #0c0c0e;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .navbar.menu-open .nav-socials {
        justify-content: center;
        gap: 28px;
    }

    .navbar.menu-open .nav-socials a {
        color: rgba(255, 255, 255, 0.7);
    }

    /* !important : l'anim GSAP de scroll (desktop) pose un style inline
       opacity/transform sur ce bouton ; on le neutralise dans le menu mobile. */
    .navbar.menu-open .nav-cta {
        opacity: 1 !important;
        transform: none !important;
        pointer-events: all;
        width: 100%;
        justify-content: center;
        padding: 15px;
        font-size: 1rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .step {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .step-line {
        flex-direction: row;
        gap: 12px;
        padding: 0;
    }

    .step-track {
        height: 2px;
        min-height: 0;
        width: 60px;
        margin-top: 0;
    }

    .step-media {
        max-width: 280px;
    }

    /* Mobile : le hero coule du haut, plus de chevauchement avec la barre features */
    .hero {
        min-height: auto;
        justify-content: flex-start;
        padding: 110px 0 0;
    }

    .hero-content {
        margin-top: 0;
    }

    .hero-features {
        position: static;
        flex-direction: column;
        margin-top: 36px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero-feature {
        max-width: none;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 16px 24px;
    }

    .hero-feature:last-child {
        border-bottom: none;
    }

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

    .contact-form {
        padding: 24px;
    }

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

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

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

    .big-quote {
        font-size: 1.2rem;
    }
}

/* ============================================
   NAV DROPDOWNS
   ============================================ */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.nav-dropdown-trigger svg {
    transition: transform 0.3s;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
    pointer-events: none;
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: all;
}

.nav-dropdown:hover .nav-dropdown-trigger svg {
    transform: rotate(180deg);
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--black) !important;
    transition: background 0.2s;
}

.nav-dropdown-menu a:hover {
    background: var(--off-white) !important;
    color: var(--red) !important;
}

/* NAV SOCIALS */
.nav-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-socials a {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
    display: flex;
}

.nav-socials a:hover {
    color: var(--white);
}

.navbar.scrolled .nav-socials a {
    color: var(--gray-400);
}

.navbar.scrolled .nav-socials a:hover {
    color: var(--black);
}

/* ============================================
   HERO EXTRAS
   ============================================ */
.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.08);
}

.btn-pill-outline {
    display: inline-flex;
    align-items: center;
    padding: 13px 36px;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 500;
    margin-left: 12px;
    transition: all 0.3s;
}

.btn-pill-outline:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 4px 20px rgba(255,255,255,0.08);
    transform: translateY(-1px);
}

/* ============================================
   CENTRES SECTION
   ============================================ */
.section-centres {
    background: var(--black);
    padding: 40px 0;
}

.section-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.section-label.light {
    color: rgba(255,255,255,0.4);
}

.centres-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.centre-chip {
    padding: 8px 20px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.centre-chip:hover,
.centre-chip.active {
    color: var(--white);
    background: var(--red);
    border-color: var(--red);
}

/* ============================================
   VEHICLE TABS
   ============================================ */
.vehicle-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 40px;
    background: var(--gray-100);
    border-radius: 12px;
    padding: 4px;
    width: fit-content;
}

.vehicle-tab {
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    background: none;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.3s;
}

.vehicle-tab.active {
    background: var(--white);
    color: var(--black);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.vehicle-tab:hover:not(.active) {
    color: var(--black);
}

/* ============================================
   STAGES GRID (replaces services-grid)
   ============================================ */
.stages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background: var(--gray-200);
    border-radius: 20px;
    overflow: hidden;
}

.stage-card {
    background: var(--white);
    padding: 36px 32px;
    transition: background 0.3s;
}

.stage-card:hover {
    background: var(--off-white);
}

.stage-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.stage-badge {
    display: inline-flex;
    padding: 4px 14px;
    border-radius: 9999px;
    background: rgba(51,102,255,0.1);
    color: var(--red);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.stage-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.stage-card p {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 16px;
}

.stage-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--gray-100);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
}

/* ============================================
   SOLUTIONS MOTEUR
   ============================================ */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.solution-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    cursor: pointer;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.solution-card:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.07);
}

.solution-card.selected {
    border-color: var(--red);
    box-shadow: 0 0 0 1px var(--red);
}

.solution-check {
    position: absolute;
    top: 18px;
    right: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    color: #fff;
    transition: background 0.2s, border-color 0.2s;
}

.solution-card:hover .solution-check {
    border-color: var(--red);
}

.solution-card.selected .solution-check {
    background: var(--red);
    border-color: var(--red);
}

.solution-check svg {
    width: 14px;
    height: 14px;
    opacity: 0;
    transition: opacity 0.2s;
}

.solution-card.selected .solution-check svg {
    opacity: 1;
}

.solution-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: rgba(51,102,255,0.1);
    color: var(--red);
}

.solution-icon svg {
    width: 26px;
    height: 26px;
}

.solution-card h3 {
    font-size: 1.18rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

.solution-card p {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

.solution-tag {
    align-self: flex-start;
    padding: 4px 12px;
    background: var(--gray-100);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
}

.solutions-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 48px;
}

.solutions-note {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--gray-500);
}

/* ============================================
   HUB NOS SERVICES
   ============================================ */
.services-hub {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 8px;
}

.service-cat {
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.service-cat:hover {
    border-color: var(--red);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.07);
}

.service-cat-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: rgba(51,102,255,0.1);
    color: var(--red);
}

.service-cat-icon svg {
    width: 26px;
    height: 26px;
}

.service-cat h3 {
    font-size: 1.18rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    color: var(--black);
}

.service-cat p {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

.service-cat-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--red);
    transition: gap 0.3s var(--ease);
}

.service-cat:hover .service-cat-link {
    color: var(--red-light);
}

/* ============================================
   BRANDS GRID
   ============================================ */
.section-brands {
    background: var(--off-white);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
}

.brand-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 12px 14px;
    min-height: 110px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-500);
    transition: all 0.25s;
    text-align: center;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: brightness(0);
    transition: filter 0.25s;
}

.brand-logo.logo-wide {
    width: 78px;
    height: 40px;
}

.brand-logo.logo-tall {
    width: 38px;
    height: 62px;
}

.brand-name {
    display: block;
    line-height: 1.2;
}

.brand-item:hover {
    border-color: var(--gray-400);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.06);
}

.brand-item:hover .brand-logo {
    filter: brightness(0) saturate(100%) invert(27%) sepia(96%) saturate(1640%) hue-rotate(215deg) brightness(97%) contrast(102%);
}

.brand-item:hover .brand-name {
    color: var(--red);
}

.brand-item.highlight {
    border-color: var(--gray-200);
    background: var(--white);
}

/* ============================================
   E85 SECTION
   ============================================ */
.e85-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.e85-desc {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin-bottom: 16px;
}

.e85-price {
    margin: 28px 0;
    padding: 20px 24px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.e85-price-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    font-weight: 400;
}

.e85-price-value {
    font-size: 2rem;
    font-weight: 600;
    color: var(--red-light);
}

.e85-price-value small {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255,255,255,0.4);
}

.e85-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
}

.e85-stat {
    flex: 1;
    padding: 16px;
    background: rgba(255,255,255,0.04);
    border-radius: 12px;
    text-align: center;
}

.e85-stat-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--red-light);
    margin-bottom: 4px;
}

.e85-stat-label {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
}

.e85-guarantee p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    margin-bottom: 6px;
}

.e85-guarantee strong {
    color: var(--white);
}

.e85-process h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--white);
    margin-bottom: 24px;
}

.e85-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.e85-step {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255,255,255,0.6);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.e85-step:last-child {
    border-bottom: none;
}

.e85-step span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(51,102,255,0.15);
    color: var(--red-light);
    font-size: 0.75rem;
    font-weight: 600;
    flex-shrink: 0;
}

/* ============================================
   RESULTS LIGHT (white bg version)
   ============================================ */
.results-grid-light {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.result-card-light {
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 28px 24px;
    transition: all 0.4s var(--ease);
}

.result-card-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.result-header-light {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.result-header-light h3 {
    font-size: 1.15rem;
    font-weight: 500;
}

.result-engine-light {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-top: 2px;
    display: block;
}

.result-badge-light {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--red);
    line-height: 1;
    white-space: nowrap;
}

.result-bar-group-light { margin-bottom: 20px; }
.result-bar-group-light:last-child { margin-bottom: 0; }

.result-bar-header-light {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: var(--gray-400);
}

.result-values-light { display: flex; align-items: center; gap: 8px; }
.val-old-l { color: var(--gray-400); }
.val-arrow-l { color: var(--gray-200); font-size: 0.7rem; }
.val-new-l { color: var(--red); font-weight: 600; }

.result-bar-track-light {
    position: relative;
    height: 6px;
    background: var(--gray-200);
    border-radius: 100px;
    overflow: hidden;
}

.result-bar-orig-l,
.result-bar-new-l {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 100px;
    width: 0;
    transition: width 1.5s var(--ease);
}

.result-bar-orig-l {
    background: var(--gray-200);
    z-index: 1;
}

.result-bar-new-l {
    background: linear-gradient(90deg, var(--red), var(--red-light));
    z-index: 2;
}

.result-gain-light {
    display: block;
    text-align: right;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--red);
    margin-top: 6px;
}

/* ============================================
   TESTIMONIALS GRID
   ============================================ */
/* Badge note Google */
.google-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 50px;
    padding: 10px 24px;
}

.google-rating-score {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--black);
}

.google-rating-stars {
    color: #F59E0B;
    font-size: 1rem;
    letter-spacing: 1px;
}

.google-rating-count {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Carrousel d'avis */
.reviews-carousel {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    margin-top: 40px;
}

.reviews-carousel::before,
.reviews-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.reviews-carousel::before {
    left: 0;
    background: linear-gradient(to right, var(--off-white) 0%, transparent 100%);
}

.reviews-carousel::after {
    right: 0;
    background: linear-gradient(to left, var(--off-white) 0%, transparent 100%);
}

.reviews-track {
    display: flex;
    gap: 24px;
    animation: scroll-reviews 60s linear infinite;
    width: max-content;
    /* marge verticale généreuse pour que l'ombre des cartes ne soit pas coupée */
    padding: 44px 0;
}

@keyframes scroll-reviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Carte d'avis (carrousel) */
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 28px;
    width: 360px;
    min-width: 360px;
    flex-shrink: 0;
    text-align: left;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    border-color: var(--gray-400);
    transform: translateY(-10px) scale(1.03) rotate(-1.2deg);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
    z-index: 3;
}

.testimonial-card:nth-child(even):hover {
    transform: translateY(-10px) scale(1.03) rotate(1.2deg);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 14px;
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
    fill: #F59E0B;
}

.testimonial-text {
    font-size: 0.92rem;
    font-weight: 300;
    color: var(--gray-700);
    line-height: 1.65;
    margin-bottom: 20px;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    overflow: hidden;
}

.testimonial-info h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
}

.testimonial-info span {
    font-size: 0.78rem;
    color: var(--gray-400);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: start;
}

.about-content p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-guarantees {
    margin-top: 32px;
    padding: 28px;
    background: var(--off-white);
    border-radius: 16px;
}

.about-guarantees h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.about-guarantees ul {
    list-style: none;
    padding: 0;
}

.about-guarantees li {
    position: relative;
    padding-left: 20px;
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--gray-700);
    margin-bottom: 10px;
    line-height: 1.5;
}

.about-guarantees li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 700;
}

.about-cert {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: var(--off-white);
    border-radius: 16px;
    margin-bottom: 16px;
}

.cert-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: var(--red);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
}

.about-cert strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
}

.about-cert span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ============================================
   PARTNERS GRID
   ============================================ */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    transition: all 0.35s;
}

.partner-logo {
    max-width: 100px;
    max-height: 36px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.55;
    transition: filter 0.35s, opacity 0.35s;
}

.partner-item:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(51,102,255,0.3);
}

.partner-item:hover .partner-logo {
    filter: none;
    opacity: 1;
}

/* ============================================
   FOOTER NEWSLETTER
   ============================================ */
.footer-newsletter {
    margin-top: 24px;
}

.footer-newsletter span {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 8px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 8px 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 9999px;
    color: white;
    font-family: var(--font);
    font-size: 0.82rem;
    outline: none;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.3);
}

.newsletter-form .btn-pill {
    padding: 8px 20px;
    font-size: 0.8rem;
}

/* ============================================
   FOOTER GRID 5 COLS
   ============================================ */
@media (min-width: 1025px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    }
}

/* ============================================
   RESPONSIVE ADDITIONS
   ============================================ */
@media (max-width: 1024px) {
    .e85-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .solutions-grid,
    .services-hub {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .results-grid-light {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        width: 300px;
        min-width: 300px;
        padding: 24px;
    }

    .stages-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-socials {
        display: none;
    }

    .solutions-grid,
    .services-hub {
        grid-template-columns: 1fr;
    }

    .vehicle-tabs {
        overflow-x: auto;
        width: 100%;
    }

    .brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }

    .e85-stats {
        flex-direction: column;
    }

    .centres-grid {
        gap: 6px;
    }

    .centre-chip {
        padding: 6px 14px;
        font-size: 0.75rem;
    }

    .hero-cta-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .btn-pill-outline {
        margin-left: 0;
    }

    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}

/* ============================================
   VEHICLE CONFIGURATOR MODAL
   ============================================ */
.configurator-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease);
}

.configurator-overlay.active {
    opacity: 1;
    visibility: visible;
}

.configurator-modal {
    width: 90%;
    max-width: 960px;
    max-height: 85vh;
    background: var(--white);
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.4s var(--ease);
}

.configurator-overlay.active .configurator-modal {
    transform: translateY(0) scale(1);
}

.configurator-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid var(--gray-200);
    flex-shrink: 0;
}

.configurator-breadcrumb {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.breadcrumb-item {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.breadcrumb-item:hover {
    color: var(--red);
    background: rgba(51, 102, 255, 0.06);
}

.breadcrumb-item.active {
    color: var(--black);
    cursor: default;
}

.breadcrumb-item.active:hover {
    color: var(--black);
    background: none;
}

.breadcrumb-sep {
    color: var(--gray-200);
    font-size: 0.8rem;
    user-select: none;
}

.configurator-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-400);
    border-radius: 10px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.configurator-close:hover {
    background: var(--gray-100);
    color: var(--black);
}

.configurator-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px 32px;
}

/* Level Title */
.config-level-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-400);
    margin-bottom: 16px;
}

/* Model/Generation list items */
.config-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.config-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.config-list-item:hover {
    border-color: var(--red);
    background: rgba(51, 102, 255, 0.03);
    transform: translateX(4px);
}

.config-list-item-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--black);
}

.config-list-item-meta {
    font-size: 0.8rem;
    color: var(--gray-400);
    font-weight: 400;
}

.config-list-item-arrow {
    color: var(--gray-300);
    font-size: 1rem;
    transition: color 0.2s;
}

.config-list-item:hover .config-list-item-arrow {
    color: var(--red);
}

/* Brand grid inside configurator */
.config-search {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 16px;
    margin-bottom: 14px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}
.config-search:focus { border-color: var(--red); }

.config-perf-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.config-link {
    color: var(--red);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.config-link:hover { text-decoration: underline; }

.config-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
}

.config-brand-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.25s;
    text-align: center;
}

.config-brand-btn:hover {
    border-color: var(--gray-400);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.config-brand-btn.highlight {
    border-color: rgba(51, 102, 255, 0.3);
    background: rgba(51, 102, 255, 0.03);
}

.config-brand-btn.no-data {
    opacity: 0.4;
    cursor: default;
}

.config-brand-btn.no-data:hover {
    border-color: var(--gray-200);
    color: var(--gray-700);
    transform: none;
    box-shadow: none;
}

/* Engine fuel type group */
.config-fuel-group {
    margin-bottom: 24px;
}

.config-fuel-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-500);
    margin-bottom: 10px;
    padding: 4px 12px;
    background: var(--gray-100);
    border-radius: 6px;
}

.config-engine-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: var(--off-white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 4px;
}

.config-engine-item:hover {
    border-color: var(--red);
    background: rgba(51, 102, 255, 0.03);
    transform: translateX(4px);
}

.config-engine-name {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--black);
}

.config-engine-power {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--red);
}

/* Performance detail view */
.model-header-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 28px;
    margin-bottom: 22px;
    background: linear-gradient(135deg, rgba(51, 102, 255, 0.08) 0%, rgba(51, 102, 255, 0.02) 100%);
    border: 1px solid rgba(51, 102, 255, 0.12);
    border-radius: 14px;
    backdrop-filter: blur(8px);
}

.model-header-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: brightness(0);
    flex-shrink: 0;
}

.model-header-logo.logo-wide {
    width: 80px;
    height: 44px;
}

.model-header-logo.logo-tall {
    width: 40px;
    height: 64px;
}

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

.model-header-brand {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.model-header-model {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.02em;
}

.config-perf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.config-perf-title {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.config-perf-subtitle {
    font-size: 0.85rem;
    color: var(--gray-400);
    margin-top: 4px;
}

.config-perf-orig-badge {
    padding: 6px 16px;
    border-radius: 9999px;
    background: var(--gray-100);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* Stage tabs */
.config-stage-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 28px;
    background: var(--gray-100);
    border-radius: 12px;
    padding: 4px;
    width: fit-content;
}

.config-stage-tab {
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    background: none;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.3s;
}

.config-stage-tab.active {
    background: var(--white);
    color: var(--red);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.config-stage-tab:hover:not(.active) {
    color: var(--black);
}

/* Performance table */
.config-perf-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
}

.config-perf-table thead th {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    padding: 10px 16px;
    text-align: left;
    border-bottom: 2px solid var(--gray-200);
}

.config-perf-table thead th:last-child {
    text-align: right;
}

.config-perf-table tbody td {
    padding: 16px;
    font-size: 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.config-perf-table .perf-label {
    font-weight: 500;
    color: var(--gray-700);
}

.config-perf-table .perf-orig {
    color: var(--gray-400);
}

.config-perf-table .perf-new {
    font-weight: 700;
    color: var(--black);
    font-size: 1.1rem;
}

.config-perf-table .perf-gain {
    text-align: right;
    font-weight: 600;
    color: var(--red);
}

/* Visual bar */
.config-perf-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 28px;
}

.config-bar-group {}

.config-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 6px;
}

.config-bar-track {
    position: relative;
    height: 8px;
    background: var(--gray-100);
    border-radius: 100px;
    overflow: hidden;
}

.config-bar-orig {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 100px;
    background: var(--gray-200);
    transition: width 0.8s var(--ease);
}

.config-bar-new {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 100px;
    background: linear-gradient(90deg, var(--red), var(--red-light));
    transition: width 0.8s var(--ease);
    z-index: 1;
}

/* Price and CTA */
.config-perf-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--off-white);
    border-radius: 16px;
    margin-top: 24px;
}

.config-price-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.config-price-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--black);
    margin-top: 2px;
}

.config-quality {
    margin-top: 20px;
    padding: 20px 24px;
    background: var(--off-white);
    border-radius: 16px;
}

.config-quality-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--black);
}

.config-quality-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.config-quality-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--gray-700);
}

.config-quality-tag::before {
    content: '\2713';
    color: var(--red);
    font-weight: 700;
    font-size: 0.7rem;
}

/* Empty state */
.config-empty {
    text-align: center;
    padding: 60px 20px;
}

.config-empty-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    opacity: 0.3;
}

.config-empty p {
    font-size: 0.95rem;
    color: var(--gray-400);
    margin-bottom: 24px;
}

/* Brand item with data indicator */
.brand-item.has-data {
    cursor: pointer;
}

.brand-item.has-data::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    margin-left: 8px;
    flex-shrink: 0;
}

/* Responsive configurator */
@media (max-width: 768px) {
    .configurator-modal {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .configurator-body {
        padding: 20px;
    }

    .config-brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }

    .config-perf-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .config-stage-tabs {
        width: 100%;
        overflow-x: auto;
    }

    .config-perf-table {
        font-size: 0.85rem;
    }

    .config-perf-table tbody td {
        padding: 12px 8px;
    }
}

/* ============================================
   BOUTON FACEBOOK FLOTTANT
   ============================================ */
.floating-socials {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-float {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}

.social-float:hover {
    transform: scale(1.1);
}

.facebook-float {
    background: #1877F2;
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.4);
}

.facebook-float:hover {
    box-shadow: 0 6px 28px rgba(24, 119, 242, 0.5);
}

/* ============================================
   BOUTON RETOUR EN HAUT
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 92px;
    right: 24px;
    z-index: 997;
    width: 56px;
    height: 56px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s var(--ease);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    color: var(--black);
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.back-to-top svg {
    transition: transform 0.25s var(--ease);
}

.back-to-top.visible svg {
    animation: btt-float 2s ease-in-out infinite;
}

.back-to-top:hover {
    background: var(--black);
    color: white;
    border-color: var(--black);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.back-to-top:hover svg {
    animation: none;
    transform: translateY(-4px);
}

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

@media (max-width: 768px) {
    .floating-socials {
        bottom: 16px;
        right: 16px;
        gap: 8px;
    }

    .social-float {
        width: 44px;
        height: 44px;
    }

    .social-float svg {
        width: 20px;
        height: 20px;
    }

    .back-to-top {
        bottom: 72px;
        right: 16px;
        width: 44px;
        height: 44px;
    }
}

/* ============================================
   PANIER DE PRESTATIONS (récapitulatif flottant)
   ============================================ */
.prestations-cart {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 20px;
    z-index: 60;
    display: flex;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.prestations-cart[hidden] { display: none; }
.prestations-cart.visible { opacity: 1; transform: translateY(0); }

.prestations-cart-inner {
    pointer-events: auto;
    width: 100%;
    max-width: 680px;
    background: var(--black);
    color: #fff;
    border-radius: 16px;
    padding: 16px 18px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prestations-cart-head { display: flex; align-items: center; gap: 10px; }

.prestations-cart-title {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
    font-size: 1.05rem;
}

.prestations-cart-count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: var(--red);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.prestations-cart-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.cart-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 9999px;
    font-size: 0.85rem;
    white-space: nowrap;
}

.cart-chip button {
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.95rem;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s;
}
.cart-chip button:hover { background: var(--red); }

.prestations-cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.cart-stage-dd { position: relative; }

.cart-stage-btn {
    background: none;
    border: 1px dashed rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 9999px;
    padding: 9px 16px;
    font-family: var(--font);
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.18s, color 0.18s;
}
.cart-stage-btn:hover { border-color: #fff; color: #fff; }

.cart-stage-menu {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    min-width: 160px;
    background: #1b1f2c;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    padding: 6px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 5;
}
.cart-stage-menu.open { display: block; }

.cart-stage-menu button {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 14px;
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.92rem;
    cursor: pointer;
    transition: background 0.15s;
}
.cart-stage-menu button:hover { background: rgba(255, 255, 255, 0.1); }

.prestations-cart .btn-pill { flex: 0 0 auto; }

@media (max-width: 768px) {
    .prestations-cart { left: 10px; right: 10px; bottom: 10px; }
    .prestations-cart-inner { padding: 14px; }
    .prestations-cart-actions .btn-pill { flex: 1 1 100%; text-align: center; }
    /* le panier prend la priorité : on masque les boutons flottants quand il est ouvert */
    .prestations-cart.visible ~ .floating-socials,
    .prestations-cart.visible ~ .back-to-top { display: none; }
}

/* ============================================
   CALENDRIER DE RÉSERVATION
   ============================================ */
.booking {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.booking-cal {
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 16px;
    background: var(--white);
}

.booking-cal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.booking-month {
    font-family: var(--font-display);
    text-transform: uppercase;
    font-size: 1.15rem;
    letter-spacing: 0.01em;
}
.booking-nav {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--black);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s, opacity 0.15s;
}
.booking-nav:hover:not(:disabled) { border-color: var(--red); }
.booking-nav:disabled { opacity: 0.35; cursor: not-allowed; }

.booking-weekdays,
.booking-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}
.booking-weekdays span {
    text-align: center;
    font-size: 0.66rem;
    color: var(--gray-500);
    text-transform: uppercase;
    padding: 4px 0;
}

.booking-day {
    position: relative;
    min-height: 56px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 8px 10px;
    font-family: var(--font);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s, transform 0.15s;
}
.bk-num { font-size: 0.9rem; font-weight: 600; color: var(--black); }
.bk-tag {
    position: absolute;
    left: 9px;
    bottom: 7px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--gray-400);
}
.booking-day.empty { visibility: hidden; border: none; background: none; cursor: default; }
.booking-day:not(.disabled):not(.selected):hover { border-color: var(--red); transform: translateY(-2px); }
.booking-day.disabled { background: rgba(0, 0, 0, 0.02); cursor: not-allowed; }
.booking-day.disabled .bk-num { color: #cfcfd6; }
.booking-day.closed { background: rgba(0, 0, 0, 0.03); }
.booking-day.selected { background: var(--red); border-color: var(--red); }
.booking-day.selected .bk-num { color: #fff; }

.booking-slots {
    border: 1px solid var(--gray-200);
    border-radius: 14px;
    padding: 16px;
    background: var(--white);
    min-height: 160px;
}
.booking-hint { color: var(--gray-500); font-size: 0.85rem; }
.booking-slots-title {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: capitalize;
    margin-bottom: 12px;
}
.booking-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
    gap: 8px;
}
.booking-slot {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 10px 12px;
    background: var(--white);
    color: var(--black);
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.booking-slot span { font-size: 0.64rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.03em; color: var(--gray-400); }
.booking-slot:hover { border-color: var(--red); }
.booking-slot.selected { background: var(--red); border-color: var(--red); color: #fff; }
.booking-slot.selected span { color: rgba(255, 255, 255, 0.85); }

.booking-confirm {
    margin-top: 12px;
    color: #16A34A;
    font-size: 0.88rem;
    font-weight: 500;
}

@media (max-width: 620px) {
    .booking { grid-template-columns: 1fr; }
    .booking-day { min-height: 46px; }
    .bk-tag { display: none; }
}

/* ============================================
   TUNNEL DE RÉSERVATION (modale 4 étapes)
   ============================================ */
/* Page de réservation : plein écran MAIS sous la navbar du site (on reste dans le site) */
.bk-page {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    flex-direction: column;
    background: var(--off-white);
    overflow-y: auto;
    padding-top: 84px; /* dégage la navbar fixe du site */
}
.bk-page.active { display: flex; animation: bkIn 0.3s var(--ease); }
@keyframes bkIn { from { opacity: 0; } to { opacity: 1; } }

/* Navbar du site pendant la réservation : au-dessus de la page de résa, en blanc lisible */
body.bk-open .navbar {
    z-index: 3500;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 12px 0;
}
body.bk-open .navbar .nav-logo,
body.bk-open .navbar .nav-links a,
body.bk-open .navbar .nav-dropdown-trigger,
body.bk-open .navbar .nav-btn-outline { color: var(--black); }
body.bk-open .navbar .nav-logo-img { filter: invert(1) hue-rotate(180deg); }
body.bk-open .navbar .nav-socials a { color: var(--gray-400); }
/* Boutons flottants masqués pendant la réservation */
body.bk-open .floating-socials,
body.bk-open .back-to-top { display: none; }

/* Barre du haut du tunnel — désactivée : c'est la navbar du site qui sert d'en-tête */
.bk-topbar {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 30px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}
.bk-topbar-logo { display: flex; align-items: center; }
/* Même traitement que la navbar au scroll : texte blanc → noir, l'onde reste bleue.
   Même hauteur que le logo de la landing (60px). */
.bk-topbar-logo img { height: 60px; width: auto; object-fit: contain; filter: invert(1) hue-rotate(180deg); }
.bk-topbar-title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--gray-500);
}
.bk-quit {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-700);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.18s;
}
.bk-quit:hover { border-color: var(--gray-400); color: var(--black); }

/* Layout : contenu principal + récap panier */
.bk-layout {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 32px 30px 60px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start;
}
.bk-main {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Hauteur stable : évite que la carte s'effondre entre une étape longue
       (prestations) et une étape courte (véhicule) → plus de "saut" saccadé. */
    min-height: 540px;
}

/* Lien "Retour au site" au-dessus des étapes */
.bk-backbar {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 18px 30px 0;
}
.bk-back-home {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gray-500);
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.18s;
}
.bk-back-home:hover { color: var(--red); }
.bk-back-home svg { transition: transform 0.18s; }
.bk-back-home:hover svg { transform: translateX(-3px); }

/* Fil des étapes */
.bk-steps {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    gap: 6px;
    padding: 16px 30px 4px;
}
.bk-step-dot {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    position: relative;
    color: var(--gray-400);
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
}
.bk-step-dot span {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--gray-100);
    color: var(--gray-500);
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.25s;
}
.bk-step-dot em { font-style: normal; }
.bk-step-dot.active { color: var(--black); }
.bk-step-dot.active span { background: var(--red); color: #fff; box-shadow: 0 4px 14px var(--red-glow); }
.bk-step-dot.done span { background: var(--red-light); color: #fff; }

/* Corps */
.bk-body {
    padding: 34px 34px 12px;
    flex: 1;
}
.bk-panel { display: none; }
/* Fondu léger, sans glissement, pour une transition d'étape propre (pas "buggée"). */
.bk-panel.active { display: block; animation: bkFade 0.28s ease; }
@keyframes bkFade { from { opacity: 0; } to { opacity: 1; } }

.bk-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.4vw, 2rem);
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.01em;
    margin-bottom: 6px;
}
.bk-lead { color: var(--gray-500); font-size: 0.95rem; margin-bottom: 22px; line-height: 1.55; }
.bk-opt { color: var(--gray-400); font-weight: 400; font-size: 0.85em; }

/* Étape 1 — prestations */
.bk-svc-group { margin-bottom: 20px; }
.bk-svc-group.featured {
    border: 1px solid rgba(51, 102, 255, 0.25);
    background: rgba(51, 102, 255, 0.04);
    border-radius: 16px;
    padding: 14px 16px;
}
.bk-svc-grouphead {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}
.bk-svc-tag {
    font-family: var(--font);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--red);
    background: rgba(51, 102, 255, 0.12);
    padding: 3px 9px;
    border-radius: 9999px;
}
.bk-svc-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.bk-svc {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    background: var(--white);
    text-align: left;
    cursor: pointer;
    transition: all 0.18s;
}
.bk-svc:hover { border-color: var(--red-light); }
.bk-svc-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--gray-200);
    border-radius: 7px;
    position: relative;
    transition: all 0.18s;
}
.bk-svc-name { font-size: 0.9rem; font-weight: 500; color: var(--gray-700); line-height: 1.3; }
.bk-svc.selected { border-color: var(--red); background: rgba(51, 102, 255, 0.06); }
.bk-svc.selected .bk-svc-check { background: var(--red); border-color: var(--red); }
.bk-svc.selected .bk-svc-check::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}
.bk-svc.selected .bk-svc-name { color: var(--black); }

/* Étapes 2 & 4 — champs */
.bk-fields {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.bk-field { display: flex; flex-direction: column; gap: 7px; }
.bk-field-full { grid-column: 1 / -1; }
.bk-field label { font-size: 0.85rem; font-weight: 600; color: var(--gray-700); }
.bk-field input,
.bk-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--gray-200);
    border-radius: 11px;
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--black);
    background: var(--off-white);
    transition: border-color 0.18s, background 0.18s;
}
.bk-field input:focus,
.bk-field textarea:focus {
    outline: none;
    border-color: var(--red);
    background: var(--white);
}
.bk-field textarea { resize: vertical; }

/* Étape 3 — calendrier dans la modale */
.bk-booking {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 16px;
    align-items: start;
}

/* Récapitulatif panier (colonne de droite) */
.bk-summary { position: sticky; top: 104px; }
.bk-summary-inner {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 24px;
}
.bk-summary-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--gray-200);
}
.bk-summary-body { display: flex; flex-direction: column; gap: 18px; }
.bk-sum-block { display: flex; flex-direction: column; gap: 6px; }
.bk-sum-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-400);
}
.bk-sum-block strong { color: var(--black); font-weight: 600; font-size: 0.95rem; line-height: 1.4; }
.bk-sum-muted { color: var(--gray-400); font-size: 0.9rem; font-style: italic; }
.bk-sum-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bk-sum-chip {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--red);
    background: rgba(51, 102, 255, 0.08);
    border: 1px solid rgba(51, 102, 255, 0.18);
    padding: 4px 10px;
    border-radius: 8px;
}
.bk-summary-note {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
    font-size: 0.78rem;
    color: var(--gray-400);
    line-height: 1.5;
}

/* Confirmation */
.bk-done { text-align: center; padding: 20px 0; }
.bk-done.active { display: block; }
.bk-done-check {
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.12);
    color: #22C55E;
    animation: bkPop 0.4s var(--ease);
}
@keyframes bkPop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.bk-done-text {
    max-width: 460px;
    margin: 10px auto 26px;
    color: var(--gray-500);
    font-size: 1rem;
    line-height: 1.6;
}

/* Pied : erreur + navigation */
.bk-foot {
    padding: 16px 30px 22px;
    border-top: 1px solid var(--gray-200);
    background: var(--white);
}
.bk-error {
    color: #DC2626;
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 12px;
}
.bk-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bk-btn-back {
    border: none;
    background: none;
    color: var(--gray-500);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 4px;
}
.bk-btn-back:hover { color: var(--black); }
.bk-btn-next { margin-left: auto; }

/* Carte "Réserver en ligne" de la section Contact */
.contact-book-card {
    align-self: start;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.07);
}
.contact-book-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 1.95rem);
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.01em;
    margin-bottom: 8px;
}
.contact-book-sub {
    color: var(--gray-500);
    font-size: 0.96rem;
    line-height: 1.55;
    margin-bottom: 26px;
}
.contact-book-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
}
.contact-book-steps li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.98rem;
    font-weight: 500;
    color: var(--gray-700);
}
.contact-book-steps li span {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(51, 102, 255, 0.1);
    color: var(--red);
    font-weight: 700;
    font-size: 0.92rem;
}
.contact-book-card .btn-pill { width: 100%; }
.contact-book-note {
    margin-top: 16px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* Confirmation : une seule colonne, centrée */
.bk-is-done .bk-layout { grid-template-columns: 1fr; max-width: 640px; }
.bk-is-done .bk-main { text-align: center; }

/* Tablette : le récap passe sous le contenu */
@media (max-width: 960px) {
    .bk-layout { grid-template-columns: 1fr; gap: 20px; padding: 24px 22px 48px; }
    .bk-summary { position: static; order: 2; }
    .bk-summary-inner { padding: 20px; }
}

@media (max-width: 640px) {
    .bk-page { padding-top: 72px; }
    .bk-steps { padding: 18px 18px 0; }
    .bk-step-dot em { display: none; }
    .bk-main { border-radius: 16px; min-height: 0; }
    .bk-body { padding: 24px 18px 8px; }
    .bk-foot { padding: 14px 18px 18px; }
    .bk-svc-list { grid-template-columns: 1fr; }
    .bk-fields { grid-template-columns: 1fr; }
    .bk-booking { grid-template-columns: 1fr; }
}