/**
 * AS Transports JLF — Premium Design System
 * Immersive, minimal, high-end transport experience
 * Orange #F47C20 | Deep Navy #0F2A44 | White
 */

/* ═══════════════════════════════════════
   DESIGN TOKENS
   ═══════════════════════════════════════ */
:root {
    /* Palette */
    --orange: #F47C20;
    --orange-hover: #ff8c38;
    --orange-glow: rgba(244, 124, 32, 0.35);
    --navy: #083497;
    --navy-light: #0a3fad;
    --navy-deep: #062a7a;
    --white: #FFFFFF;
    --off-white: #f7f8fa;
    --cream: #fafbfd;
    --text: #1a1a2e;
    --text-secondary: #5a6270;
    --text-muted: #8b919a;
    --border: #e8ecf1;
    --success: #10b981;
    --error: #ef4444;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Inter', sans-serif;

    /* Spacing — generous whitespace */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 40px;
    --space-xl: 64px;
    --space-2xl: 100px;
    --space-3xl: 140px;
    --space-4xl: 180px;

    /* Layout */
    --container: 1240px;
    --header-h: 80px;

    /* Radius */
    --r-sm: 8px;
    --r-md: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 9999px;

    /* Shadows — layered depth */
    --shadow-sm: 0 1px 2px rgba(15, 42, 68, 0.04);
    --shadow-md: 0 4px 20px rgba(15, 42, 68, 0.06);
    --shadow-lg: 0 12px 40px rgba(15, 42, 68, 0.08);
    --shadow-xl: 0 20px 60px rgba(15, 42, 68, 0.12);
    --shadow-glow: 0 8px 30px var(--orange-glow);

    /* Easing — premium curves */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Transitions */
    --t-fast: 0.2s var(--ease-out);
    --t-base: 0.4s var(--ease-out);
    --t-slow: 0.6s var(--ease-out);
    --t-slower: 0.8s var(--ease-out);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    overscroll-behavior: none;
}

body.loading {
    overflow: hidden;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

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

:focus-visible {
    outline: 2px solid var(--orange);
    outline-offset: 3px;
}

/* ═══════════════════════════════════════
   CUSTOM CURSOR
   ═══════════════════════════════════════ */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 1.5px solid var(--navy);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: width 0.3s var(--ease-spring),
                height 0.3s var(--ease-spring),
                border-color 0.3s var(--ease-out),
                background 0.3s var(--ease-out),
                opacity 0.3s var(--ease-out);
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
    opacity: 0;
}

.cursor.visible { opacity: 1; }

.cursor.hover {
    width: 50px;
    height: 50px;
    border-color: var(--orange);
    background: rgba(244, 124, 32, 0.08);
}

.cursor.click {
    width: 14px;
    height: 14px;
}

@media (hover: none), (max-width: 991px) {
    .cursor { display: none !important; }
}

/* ═══════════════════════════════════════
   PRELOADER
   ═══════════════════════════════════════ */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    transition: opacity 0.6s var(--ease-in-out), visibility 0.6s;
}

.preloader.done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader__inner {
    text-align: center;
    color: var(--navy);
}

.preloader__logo {
    height: 70px;
    width: auto;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(20px);
    animation: loaderFadeUp 0.8s var(--ease-out) 0.2s forwards;
}

.preloader__bar-track {
    width: 200px;
    height: 2px;
    background: rgba(15,42,68,0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
    opacity: 0;
    animation: loaderFadeUp 0.6s var(--ease-out) 0.5s forwards;
}

.preloader__bar {
    height: 100%;
    width: 0%;
    background: var(--orange);
    border-radius: 2px;
    transition: width 0.3s var(--ease-out);
}

.preloader__counter {
    margin-top: 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    opacity: 0;
    animation: loaderFadeUp 0.6s var(--ease-out) 0.6s forwards;
}

@keyframes loaderFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════
   CONTAINER
   ═══════════════════════════════════════ */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

@media (min-width: 768px) {
    .container { padding: 0 var(--space-lg); }
}

/* ═══════════════════════════════════════
   TYPOGRAPHY SYSTEM
   ═══════════════════════════════════════ */
.heading-xl {
    font-size: clamp(36px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--navy);
}

.heading-lg {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--navy);
}

.heading-md {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--navy);
}

.heading-sm {
    font-size: clamp(16px, 1.5vw, 20px);
    font-weight: 700;
    line-height: 1.3;
    color: var(--navy);
}

.text-lg {
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.7;
    color: var(--text-secondary);
}

.text-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
}

.text-sm {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════
   LABEL / TAG
   ═══════════════════════════════════════ */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(244, 124, 32, 0.08);
    color: var(--orange);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    border-radius: var(--r-full);
    margin-bottom: var(--space-md);
}

.tag::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
    animation: tagPulse 2s ease infinite;
}

@keyframes tagPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ═══════════════════════════════════════
   BUTTONS — PREMIUM HOVER
   ═══════════════════════════════════════ */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--r-full);
    overflow: hidden;
    transition: transform var(--t-base), box-shadow var(--t-base);
    isolation: isolate;
}

.btn__text {
    position: relative;
    z-index: 1;
    transition: transform var(--t-base);
}

.btn__icon {
    position: relative;
    z-index: 1;
    display: flex;
    transition: transform var(--t-base);
}

/* Primary */
.btn--primary {
    background: var(--orange);
    color: var(--white);
    border: 1.5px solid transparent;
    box-shadow: 0 4px 15px rgba(244, 124, 32, 0.25);
}

.btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #ff9a44, #F47C20, #e06a10);
    opacity: 0;
    z-index: 0;
    transition: opacity var(--t-base);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn--primary:hover::before {
    opacity: 1;
}

.btn--primary:hover .btn__icon {
    transform: translateX(4px);
}

.btn--primary:active {
    transform: translateY(-1px) scale(0.98);
}

/* Outline */
.btn--outline {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid var(--border);
    transition: all var(--t-base);
}

.btn--outline:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

/* ═══════════════════════════════════════
   HEADER — GLASS MORPHISM
   ═══════════════════════════════════════ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    z-index: 1000;
    transition: all var(--t-slow);
}

.header__bg {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: all var(--t-slow);
}

.header.scrolled .header__bg {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    z-index: 1;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.logo__img {
    height: 55px;
    width: auto;
    transition: transform var(--t-base);
}

.logo:hover .logo__img {
    transform: scale(1.05);
}

/* Nav desktop */
.nav {
    display: none;
}

@media (min-width: 992px) {
    .nav { display: flex; align-items: center; gap: 6px; }
}

.nav__link {
    position: relative;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--t-fast);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--orange);
    border-radius: 1px;
    transition: all var(--t-base);
    transform: translateX(-50%);
}

.nav__link:hover,
.nav__link.active {
    color: var(--navy);
}

.nav__link:hover::after,
.nav__link.active::after {
    width: calc(100% - 36px);
}

.nav__cta {
    padding: 10px 24px;
    background: var(--orange);
    color: var(--white) !important;
    border-radius: var(--r-full);
    margin-left: 12px;
    font-weight: 600;
    transition: all var(--t-base);
    box-shadow: 0 2px 8px rgba(244, 124, 32, 0.2);
}

.nav__cta::after { display: none; }

.nav__cta:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 124, 32, 0.35);
}

.nav__cta--client {
    background: transparent;
    border: 1.5px solid var(--orange);
    color: var(--orange) !important;
    box-shadow: none;
    cursor: default;
}

.nav__cta--client:hover {
    background: rgba(244, 124, 32, 0.1);
    transform: translateY(-2px);
    box-shadow: none;
}

/* Hamburger */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    z-index: 1001;
}

@media (min-width: 992px) {
    .hamburger { display: none; }
}

.hamburger__line {
    width: 24px;
    height: 1.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.4s var(--ease-spring);
    transform-origin: center;
}

.hamburger.active .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5.5px);
}
.hamburger.active .hamburger__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.active .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5.5px);
}

/* Mobile menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: circle(0% at calc(100% - 44px) 40px);
    transition: clip-path 0.7s var(--ease-out);
}

.mobile-menu.active {
    clip-path: circle(150% at calc(100% - 44px) 40px);
}

.mobile-menu__list {
    text-align: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s var(--ease-out) 0.3s;
}

.mobile-menu.active .mobile-menu__list {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu__link {
    display: block;
    padding: 18px 32px;
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    transition: color var(--t-fast);
    letter-spacing: -0.02em;
}

.mobile-menu__link:hover { color: var(--orange); }

.mobile-menu__cta {
    display: inline-block;
    margin-top: var(--space-md);
    padding: 16px 40px;
    background: var(--orange);
    color: var(--white) !important;
    border-radius: var(--r-full);
    font-size: 18px;
}

/* ═══════════════════════════════════════
   SECTIONS — RHYTHM & WHITESPACE
   ═══════════════════════════════════════ */
.section {
    position: relative;
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

@media (max-width: 767px) {
    .section { padding: var(--space-2xl) 0; }
}

.section--alt {
    background: var(--off-white);
}

.section--navy {
    background: var(--navy);
    color: var(--white);
}

/* ═══ ACTUALITÉS MAGAZINE ═══ */
.section--actu { background: #f7f8fa; }

.actu__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: 340px 220px;
    gap: 12px;
}

/* Grande carte : occupe toute la hauteur à gauche */
.actu-card--large {
    grid-row: 1 / 3;
}

/* Les 4 autres en 2 lignes à droite ou bottom */
.actu__grid .actu-card:nth-child(3),
.actu__grid .actu-card:nth-child(4),
.actu__grid .actu-card:nth-child(5) {
    grid-column: 1;
}
.actu__grid {
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: auto;
}

/* Réécriture propre de la grille */
.actu__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: 360px 220px;
    gap: 12px;
}
.actu-card--large {
    grid-column: 1;
    grid-row: 1 / 3;
}
.actu__grid .actu-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.actu__grid .actu-card:nth-child(3) { grid-column: 2; grid-row: 2; }
.actu__grid .actu-card:nth-child(4),
.actu__grid .actu-card:nth-child(5) { display: none; }

.actu-card {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    background: var(--navy) center/cover no-repeat;
    text-decoration: none;
    cursor: pointer;
}
.actu-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.15) 60%, transparent 100%);
    transition: background 0.3s;
}
.actu-card:hover .actu-card__overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}
.actu-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 22px;
    z-index: 1;
}
.actu-card__cat {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 3px;
    margin-bottom: 8px;
}
.actu-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin: 0 0 8px;
}
.actu-card--large .actu-card__title {
    font-size: 1.45rem;
}
.actu-card__meta {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.65);
}

@media (max-width: 768px) {
    .actu__grid {
        grid-template-columns: 1fr;
        grid-template-rows: 280px 200px 200px;
    }
    .actu-card--large { grid-column: 1; grid-row: 1; }
    .actu__grid .actu-card:nth-child(2) { grid-column: 1; grid-row: 2; }
    .actu__grid .actu-card:nth-child(3) { grid-column: 1; grid-row: 3; }
}

.section--rse {
    position: relative;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.45) 50%, rgba(0, 0, 0, 0.6) 100%),
        url('/wp-content/themes/as-transports-jlf/assets/images/rse-bg.webp') center / cover no-repeat fixed;
    color: var(--white);
}

.section--rse .tag {
    color: var(--orange);
}

.section--rse .heading-lg {
    color: var(--white);
}

.section--rse .text-lg {
    color: rgba(255, 255, 255, 0.7);
}

.section--rse .section__divider {
    background: var(--orange);
}

.rse__objectif-logo {
    display: block;
    max-width: 160px;
    height: auto;
    margin: 0 auto var(--space-sm);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

/* ═══ LOGISTIQUE ═══ */
.section--logistique {
    position: relative;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.65) 100%),
        url('/wp-content/themes/as-transports-jlf/assets/images/logistique-bg.webp') center / cover no-repeat fixed;
    color: var(--white);
}

.section--logistique .tag--light {
    color: var(--orange);
    border-color: rgba(244, 124, 32, 0.4);
}

.section--logistique .heading-lg {
    color: var(--white);
}

.section__divider--light {
    background: var(--orange) !important;
}

.logistique__content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.logistique__intro {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
}

.logistique__intro strong {
    color: var(--orange);
}

.logistique__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 640px) {
    .logistique__grid { grid-template-columns: repeat(3, 1fr); }
}

.logistique__card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-lg);
    padding: 32px 24px;
    text-align: center;
    /* État initial : invisible + décalé vers le bas */
    opacity: 0;
    transform: translateY(60px) scale(0.92);
    will-change: transform, opacity;
}

/* État visible : montée + apparition avec cascade */
.logistique__card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.4s var(--ease-out),
                border-color 0.4s var(--ease-out),
                box-shadow 0.4s var(--ease-out);
}

/* Décalage en cascade */
.logistique__card:nth-child(2).is-visible {
    transition-delay: 0.15s;
}
.logistique__card:nth-child(3).is-visible {
    transition-delay: 0.3s;
}

/* Flash glow orange à l'arrivée */
.logistique__card.is-visible {
    animation: cardGlow 0.6s ease-out 0.8s forwards;
}
.logistique__card:nth-child(2).is-visible {
    animation-delay: 0.95s;
}
.logistique__card:nth-child(3).is-visible {
    animation-delay: 1.1s;
}

@keyframes cardGlow {
    0%   { box-shadow: 0 0 0 rgba(244, 124, 32, 0); }
    50%  { box-shadow: 0 0 30px rgba(244, 124, 32, 0.25); }
    100% { box-shadow: 0 4px 20px rgba(244, 124, 32, 0.08); }
}

/* Hover (uniquement quand visible) */
.logistique__card.is-visible:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-6px);
    border-color: rgba(244, 124, 32, 0.3);
}

/* prefers-reduced-motion : tout visible directement */
@media (prefers-reduced-motion: reduce) {
    .logistique__card {
        opacity: 1;
        transform: none;
    }
    .logistique__card.is-visible {
        animation: none;
    }
}

.logistique__card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(244, 124, 32, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
}

.logistique__card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.logistique__surface {
    display: inline-block;
    font-size: 28px;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 12px;
}

.logistique__card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.section__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-xl);
}

.section__header .heading-lg {
    margin-bottom: var(--space-sm);
}

/* Divider between sections */
.section__divider {
    display: block;
    width: 60px;
    height: 3px;
    background: var(--orange);
    border-radius: 3px;
    margin: 0 auto var(--space-md);
}

/* ═══════════════════════════════════════
   HERO — CINEMATIC CENTERED
   ═══════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: var(--white);
    overflow: hidden;
    padding-top: var(--header-h);
}

/* Hero background image */
.hero__bg {
    position: absolute;
    inset: 0;
    background: url('/wp-content/themes/as-transports-jlf/assets/images/hero-fleet.webp') center / cover no-repeat;
    background-color: var(--white);
}

/* ═══════════════════════════════════════
   FLEET TRACKER — CAMIONS + SATELLITE
   ═══════════════════════════════════════ */


/* Floating particles */
.hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(244, 124, 32, 0.3);
    border-radius: 50%;
    animation: particleFloat linear infinite;
}

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

/* Grid lines decoration */
.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15,42,68,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15,42,68,0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}

/* Centered layout */
.hero__container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 0 var(--space-xl);
    padding-top: 10px;
}

/* Hero title — big & centered */
.hero__title {
    font-size: clamp(36px, 7vw, 80px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--navy);
    margin-bottom: var(--space-lg);
    white-space: nowrap;
}

.hero__title-line {
    display: block;
    overflow: hidden;
}

.hero__title-word {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 0.8s var(--ease-out);
}

.loaded .hero__title-word {
    transform: translateY(0);
}

.hero__title-accent {
    color: var(--orange);
    position: relative;
    margin-left: 0.15em;
}

/* Title letter destructure effect */
.hero__title {
    cursor: default;
}

.hero__letter {
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    will-change: transform, opacity;
}

.hero__letter.is-space {
    width: 0.25em;
}

.hero__spark {
    position: fixed;
    pointer-events: none;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
    z-index: 10;
    animation: sparkDrift 0.7s var(--ease-out) forwards;
}

@keyframes sparkDrift {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(var(--dx), var(--dy)) scale(0);
    }
}

/* Typewriter text */
.hero__rotating {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--ease-out) 0.4s;
}

.loaded .hero__rotating {
    opacity: 1;
    transform: translateY(0);
}

.hero__rotating-track {
    display: none;
}

.hero__typewriter {
    font-size: clamp(14px, 2.2vw, 26px);
    font-weight: 600;
    color: var(--orange);
    letter-spacing: -0.01em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.hero__typewriter::before,
.hero__typewriter::after {
    content: '';
    display: inline-block;
    width: 40px;
    height: 2px;
    background: var(--orange);
    opacity: 0.4;
    flex-shrink: 0;
}

.hero__typewriter-text {
    min-height: 1.2em;
}

.hero__typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    background: var(--orange);
    margin-left: 2px;
    animation: cursorBlink 0.7s steps(1) infinite;
    vertical-align: middle;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Subtitle */
.hero__subtitle {
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: var(--space-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--ease-out) 0.6s;
}

.loaded .hero__subtitle {
    opacity: 1;
    transform: translateY(0);
}

.hero__seo-title {
    font-size: clamp(13px, 1.2vw, 16px);
    font-weight: 500;
    color: var(--orange);
    letter-spacing: 0.03em;
    margin-bottom: var(--space-sm);
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.8s var(--ease-out) 0.3s;
}
.loaded .hero__seo-title {
    opacity: 1;
    transform: translateY(0);
}

.hero__seo-content {
    margin-top: var(--space-md);
    width: 100%;
}
.hero__seo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}
.hero__seo-block {
    padding: var(--space-md) var(--space-lg);
}
.hero__seo-block:nth-child(1) {
    border-right: 1.5px solid var(--orange);
    border-bottom: 1.5px solid var(--orange);
}
.hero__seo-block:nth-child(2) {
    border-bottom: 1.5px solid var(--orange);
}
.hero__seo-block:nth-child(3) {
    border-right: 1.5px solid var(--orange);
}
.hero__seo-block h2 {
    font-size: clamp(13px, 1.1vw, 15px);
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.hero__seo-block p {
    font-size: clamp(13px, 1vw, 14px);
    line-height: 1.65;
    color: var(--text-secondary);
    margin: 0;
}

/* ── Hero Magazine ── */
.hero__news-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 10px;
}
.hero__mag {
    width: 100%;
    max-width: 860px;
    margin: 0 auto var(--space-xl);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--ease-out) 0.3s;
}
.loaded .hero__mag { opacity: 1; transform: translateY(0); }

.hero__mag-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: 200px 160px;
    gap: 8px;
}
.hero__mag-card--large {
    grid-row: 1 / 3;
}
.hero__mag-card {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background: var(--navy) center/cover no-repeat;
    text-decoration: none;
}
.hero__mag-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.1) 60%, transparent 100%);
    transition: background 0.3s;
}
.hero__mag-card:hover .hero__mag-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.25) 70%, transparent 100%);
}
.hero__mag-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 14px 16px;
    z-index: 1;
}
.hero__mag-cat {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 3px;
    margin-bottom: 6px;
}
.hero__mag-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin: 0 0 4px;
}
.hero__mag-card--large .hero__mag-title { font-size: 1.2rem; }
.hero__mag-date {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.6);
}
@media (max-width: 640px) {
    .hero__mag-grid {
        grid-template-columns: 1fr;
        grid-template-rows: 200px 150px 150px;
    }
    .hero__mag-card--large { grid-row: 1; }
}

/* ── Hero Intro ── */
.hero__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--ease-out) 0.5s;
}
.loaded .hero__intro {
    opacity: 1;
    transform: translateY(0);
}
.hero__intro-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.7;
    text-align: center;
    max-width: 520px;
    margin: 0;
}
.hero__intro-btn {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy);
    border: 1.5px solid var(--navy);
    padding: 6px 18px;
    border-radius: 20px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: background 0.2s, color 0.2s;
}
.hero__intro-btn:hover {
    background: var(--navy);
    color: #fff;
}

/* CTA buttons */
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    position: absolute;
    bottom: 120px;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s var(--ease-out) 0.8s;
}

.loaded .hero__actions {
    opacity: 1;
    transform: translateY(0);
}

.hero__actions .btn {
    width: 200px;
    padding: 11px 0;
    justify-content: center;
}


.hero .btn--outline {
    border-color: var(--navy);
    background: var(--navy);
    color: var(--white);
}

.hero .btn--outline:hover {
    border-color: #1a3d68;
    background: #1a3d68;
    color: var(--white);
}

/* Hero scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s var(--ease-out) 1.5s forwards;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--orange), transparent);
    animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* ═══════════════════════════════════════
   REVEAL ANIMATIONS
   ═══════════════════════════════════════ */

/* Fade up */
[data-reveal] {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.9s var(--ease-out),
                transform 0.9s var(--ease-out);
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Fade left */
[data-reveal="left"] {
    transform: translateX(-60px);
}

[data-reveal="left"].revealed {
    transform: translateX(0);
}

/* Fade right */
[data-reveal="right"] {
    transform: translateX(60px);
}

[data-reveal="right"].revealed {
    transform: translateX(0);
}

/* Scale */
[data-reveal="scale"] {
    transform: scale(0.9);
}

[data-reveal="scale"].revealed {
    transform: scale(1);
}

/* Stagger children */
[data-stagger] > * {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease-out),
                transform 0.7s var(--ease-out);
}

[data-stagger].revealed > *:nth-child(1) { transition-delay: 0.05s; }
[data-stagger].revealed > *:nth-child(2) { transition-delay: 0.12s; }
[data-stagger].revealed > *:nth-child(3) { transition-delay: 0.19s; }
[data-stagger].revealed > *:nth-child(4) { transition-delay: 0.26s; }
[data-stagger].revealed > *:nth-child(5) { transition-delay: 0.33s; }
[data-stagger].revealed > *:nth-child(6) { transition-delay: 0.40s; }

[data-stagger].revealed > * {
    opacity: 1;
    transform: translateY(0);
}

/* Mask reveal */
[data-reveal="mask"] {
    clip-path: inset(0 0 100% 0);
    transform: none;
    opacity: 1;
    transition: clip-path 1s var(--ease-in-out);
}

[data-reveal="mask"].revealed {
    clip-path: inset(0 0 0% 0);
}

/* Parallax */
[data-parallax] {
    will-change: transform;
}

/* ═══════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════ */

/* Header split */
.services__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: var(--space-lg);
    margin-bottom: var(--space-lg);
}

.services__header-left {
    border-right: 3px solid var(--orange);
    padding-right: var(--space-lg);
}

.services__heading {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.services__heading strong {
    font-weight: 800;
}

.services__heading--orange,
.services__heading--orange strong {
    color: var(--orange);
}

.services__header-right p {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
}

.services__header--light .services__header-right p {
    color: #fff;
}

@media (max-width: 640px) {
    .services__header { grid-template-columns: 1fr; }
    .services__header-left { border-right: none; border-bottom: 3px solid var(--orange); padding-right: 0; padding-bottom: var(--space-md); }
}

/* Layout photos + cards */
.services__layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-lg);
    align-items: start;
}

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

/* Grille photos gauche */
.services__photos {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: stretch;
}

.svc-photos__top,
.svc-photos__bottom {
    flex: 2;
    min-height: 0;
}

.svc-photos__top img,
.svc-photos__bottom img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.svc-photos__middle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    flex: 1.5;
    min-height: 0;
}

.svc-photos__middle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* Grille */
.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    border: 1px solid #e0e0e0;
    background: #e0e0e0;
}

@media (min-width: 640px) {
    .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .services__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Cards */
.svc-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px 24px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eaeaea;
    border-left: 4px solid var(--orange);
    box-shadow: 0 2px 8px rgba(15,42,68,0.04);
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-left-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.svc-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--orange), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.svc-card:hover {
    box-shadow: 0 12px 32px rgba(15,42,68,0.12);
    transform: translateY(-4px);
    border-left-color: var(--navy);
}

.svc-card:hover::after {
    transform: scaleX(1);
}

.svc-card.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease, border-left-color 0.3s ease;
}

.svc-card:nth-child(2).is-visible { transition-delay: 0.08s; }
.svc-card:nth-child(3).is-visible { transition-delay: 0.16s; }
.svc-card:nth-child(4).is-visible { transition-delay: 0.08s; }
.svc-card:nth-child(5).is-visible { transition-delay: 0.16s; }
.svc-card:nth-child(6).is-visible { transition-delay: 0.24s; }

.svc-card__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(244,124,32,0.1), rgba(244,124,32,0.05));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    transition: background 0.3s ease;
}

.svc-card:hover .svc-card__icon {
    background: linear-gradient(135deg, rgba(244,124,32,0.2), rgba(244,124,32,0.1));
}

.svc-card__body {}

.svc-card__title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    line-height: 1.3;
}

.svc-card__desc {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
}

/* Grille : 1px de gap entre cards remplacé par gap réel */
.services__grid {
    gap: 16px !important;
    background: transparent !important;
    border: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .svc-card { opacity: 1; transform: none; }
}

.service-card {
    position: relative;
    background: #0a0a0a;
    border-radius: var(--r-lg);
    padding: 36px 28px 32px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
    z-index: 0;
    /* État initial : invisible + décalé */
    opacity: 0;
    transform: translateY(50px) scale(0.94);
    will-change: transform, opacity;
}

/* Apparition au scroll */
.service-card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.5s var(--ease-out),
                border-color 0.5s var(--ease-out),
                box-shadow 0.5s var(--ease-out);
}

/* Cascade : chaque carte arrive un peu après la précédente */
.service-card:nth-child(2).is-visible { transition-delay: 0.1s; }
.service-card:nth-child(3).is-visible { transition-delay: 0.2s; }
.service-card:nth-child(4).is-visible { transition-delay: 0.1s; }
.service-card:nth-child(5).is-visible { transition-delay: 0.2s; }
.service-card:nth-child(6).is-visible { transition-delay: 0.3s; }

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
    .service-card {
        opacity: 1;
        transform: none;
    }
}

/* ── Image de fond par carte ── */
.service-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
    z-index: -1;
    pointer-events: none;
    transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}

.service-card:hover .service-card__bg {
    opacity: 0.5;
    transform: scale(1.06);
}

/* Top accent line */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--orange), #ff9a44);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out);
}

/* Background glow */
.service-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 0%), rgba(244,124,32,0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s var(--ease-out);
    pointer-events: none;
}

.service-card.is-visible:hover {
    transform: translateY(-8px);
    border-color: rgba(244, 124, 32, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.service-card.is-visible:hover::before { transform: scaleX(1); }
.service-card.is-visible:hover::after { opacity: 1; }

.service-card__icon {
    width: 52px;
    height: 52px;
    background: rgba(244, 124, 32, 0.15);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    color: var(--orange);
    transition: all 0.5s var(--ease-out);
}

.service-card:hover .service-card__icon {
    background: var(--orange);
    color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(244, 124, 32, 0.3);
}

.service-card__title {
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    transition: color var(--t-base);
}

.service-card__desc {
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: var(--space-sm);
}

.service-card__features {
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card__features li {
    position: relative;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    padding: 5px 0 5px 20px;
}

.service-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    width: 5px;
    height: 5px;
    background: var(--orange);
    border-radius: 50%;
}

/* ═══════════════════════════════════════
   VEHICLES — Drive-In Showcase
   ═══════════════════════════════════════ */
.vehicles__showcase {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    overflow: hidden;
}

/* ── Ligne véhicule (image + infos) ── */
.vehicle-row {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
}

.vehicle-row:last-child { border-bottom: none; }

/* ── Image véhicule — départ hors écran droite ── */
.vehicle-row__image {
    position: relative;
    flex-shrink: 0;
    width: clamp(220px, 38vw, 500px);
    transform: translateX(110vw);
    opacity: 0;
    will-change: transform, opacity;
}

.vehicle-row__image--90 { width: clamp(220px, 38vw, 500px); }
.vehicle-row__image--70 { width: clamp(220px, 38vw, 500px); }
.vehicle-row__image--50 { width: clamp(220px, 38vw, 500px); }

.vehicle-row__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(15, 42, 68, 0.15));
}

/* Ligne décorative orange sous le véhicule */
.vehicle-row__image::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 5%;
    right: 5%;
    height: 3px;
    background: linear-gradient(90deg, var(--orange) 0%, var(--orange) 60%, transparent 100%);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
}

/* ── Info panel — suit le véhicule ── */
.vehicle-row__info {
    flex: 1;
    transform: translateX(110vw);
    opacity: 0;
    will-change: transform, opacity;
}

.vehicle-row__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.vtag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: var(--navy);
    color: #fff;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.vtag:hover {
    opacity: 0.85;
}

.vtag--active {
    background: var(--orange);
    border-color: var(--orange);
}

.vehicle-row__title {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.vehicle-row__desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
    max-width: 500px;
}

.vehicle-row__specs { list-style: none; padding: 0; margin: 0; }

.vehicle-row__specs li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text);
    padding: 6px 0;
}

.vehicle-row__specs svg { flex-shrink: 0; }

/* ═══ DRIVE-IN — Phase 1 : véhicule roule vers la gauche ═══ */
.vehicle-row.is-driving .vehicle-row__image {
    transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s ease;
    transform: translateX(0);
    opacity: 1;
}

/* ═══ DRIVE-IN — Phase 2 : infos suivent derrière ═══ */
.vehicle-row.is-driving .vehicle-row__info {
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.35s,
                opacity 0.5s ease 0.35s;
    transform: translateX(0);
    opacity: 1;
}

/* ═══ DRIVE-IN — Phase 3 : ligne orange se dessine ═══ */
.vehicle-row.is-driving .vehicle-row__image::after {
    transition: transform 0.8s var(--ease-out) 1.2s;
    transform: scaleX(1);
}

/* ═══ PARKED — micro-bounce de freinage ═══ */
.vehicle-row.is-parked .vehicle-row__image img {
    animation: vehicleSettle 0.4s ease-out;
}

@keyframes vehicleSettle {
    0%   { transform: translateX(0); }
    40%  { transform: translateX(-6px); }
    70%  { transform: translateX(2px); }
    100% { transform: translateX(0); }
}

/* ═══ Hover — léger lift sur la ligne ═══ */
.vehicle-row:hover .vehicle-row__image img {
    filter: drop-shadow(0 12px 32px rgba(15, 42, 68, 0.22));
    transition: filter 0.3s ease;
}

/* ═══ Responsive ═══ */
@media (max-width: 767px) {
    .vehicle-row {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
        padding: var(--space-md) 0;
    }

    .vehicle-row__image {
        width: clamp(200px, 70vw, 350px);
        transform: translateY(60px) translateX(0);
    }

    .vehicle-row.is-driving .vehicle-row__image {
        transform: translateY(0) translateX(0);
    }

    .vehicle-row__info {
        transform: translateY(40px) translateX(0);
    }

    .vehicle-row.is-driving .vehicle-row__info {
        transform: translateY(0) translateX(0);
    }

    .vehicle-row__desc { max-width: none; }
    .vehicle-row__specs { display: inline-block; text-align: left; }
}

@media (min-width: 768px) and (max-width: 991px) {
    .vehicle-row__image { width: clamp(200px, 32vw, 350px); }
    .vehicle-row { gap: var(--space-lg); }
}

/* ═══ Reduced motion ═══ */
@media (prefers-reduced-motion: reduce) {
    .vehicle-row__image,
    .vehicle-row__info {
        transform: none !important;
        opacity: 1 !important;
        transition: none !important;
    }
    .vehicle-row.is-parked .vehicle-row__image img { animation: none; }
}

/* Trust bar */
.trust-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
}

@media (min-width: 768px) {
    .trust-bar { grid-template-columns: repeat(3, 1fr); }
}

.trust-bar__item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.trust-bar__item svg {
    flex-shrink: 0;
    transition: transform var(--t-base);
}

.trust-bar__item:hover svg {
    transform: scale(1.15) rotate(-5deg);
}

.trust-bar__item strong {
    display: block;
    font-size: 15px;
    color: var(--navy);
    margin-bottom: 2px;
}

.trust-bar__item span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ═══════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════ */

/* Valeurs en ligne */
.about__values-row {
    margin-bottom: var(--space-xl);
}
.about__values-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-md);
}
.about__values-inline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.about__values-inline .value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 24px 16px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    border-top: 3px solid var(--orange);
}
.about__values-inline .value-item__icon {
    width: 52px;
    height: 52px;
    background: rgba(244,124,32,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
}
.about__values-inline .value-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
}
.about__values-inline .value-item p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .about__values-inline { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .about__values-inline { grid-template-columns: 1fr; }
}

/* Grille SEO */
.about__seo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: var(--space-xl);
}
.about__seo-block {
    padding: 36px 32px;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    background: #ffffff;
}
.about__seo-block:nth-child(2n) { border-right: none; }
.about__seo-block:nth-child(3),
.about__seo-block:nth-child(4) { border-bottom: none; }
.about__seo-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: var(--orange);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.about__seo-block:hover::before { opacity: 1; }
.about__seo-block h2 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
    line-height: 1.3;
}
.about__seo-block p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
}
@media (max-width: 768px) {
    .about__seo-grid { grid-template-columns: 1fr; }
    .about__seo-block { border-right: none; }
    .about__seo-block:nth-child(3) { border-bottom: 1px solid #e5e5e5; }
    .about__seo-block:nth-child(4) { border-bottom: none; }
}

.about__layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

@media (min-width: 992px) {
    .about__layout { grid-template-columns: 1fr 1fr; }
}

.about__text p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.about__values-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: var(--space-md);
}

.about__values-grid {
    display: grid;
    gap: 20px;
}

.value-item {
    display: flex;
    gap: var(--space-sm);
    align-items: flex-start;
    padding: 16px;
    border-radius: var(--r-md);
    transition: all var(--t-base);
}

.value-item:hover {
    background: var(--off-white);
}

.value-item__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(244, 124, 32, 0.08);
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    transition: all var(--t-base);
}

.value-item:hover .value-item__icon {
    background: var(--orange);
    color: var(--white);
}

.value-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.value-item p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ═══════════════════════════════════════
   HERO STATS BAR
   ═══════════════════════════════════════ */
.hero__stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(8, 52, 151, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 40px;
    z-index: 10;
}

.hero__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 40px;
    text-align: center;
}

.hero__stat-number {
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero__stat-plus {
    font-size: 0.65em;
    vertical-align: super;
    color: var(--orange);
}

.hero__stat-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.hero__stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .hero__stats {
        gap: 0;
        padding: 14px 16px;
    }
    .hero__stat {
        padding: 0 16px;
    }
    .hero__stat-number { font-size: 22px; }
    .hero__stat-label { font-size: 9px; }
    .hero__stat-divider { height: 28px; }
}

/* Stats banner */
.stats-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--orange);
    border-radius: var(--r-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat__prefix {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}


.stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
}

.stat__number {
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat__suffix {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

.stat__label {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin-top: 8px;
}

/* ═══════════════════════════════════════
   RSE
   ═══════════════════════════════════════ */
.rse__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 640px) {
    .rse__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .rse__grid { grid-template-columns: repeat(3, 1fr); }
}

.rse-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--r-lg);
    padding: 36px 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.5s var(--ease-out);
    position: relative;
}

.rse-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(244, 124, 32, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.rse-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--r-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
    transition: transform var(--t-base);
}

.rse-card:hover .rse-card__icon {
    transform: scale(1.1) rotate(-3deg);
}

.rse-card__icon--green { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.rse-card__icon--blue  { background: rgba(255, 255, 255, 0.1); color: rgba(255,255,255,0.9); }
.rse-card__icon--orange { background: rgba(244, 124, 32, 0.15); color: var(--orange); }

.rse-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.rse-card__desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* ═══════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════ */
/* Form wrapper */
.contact__form-wrapper {
    max-width: 720px;
    margin: 0 auto;
}

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

@media (min-width: 640px) {
    .form-row { grid-template-columns: 1fr 1fr; }
}

/* reCAPTCHA */
.g-recaptcha {
    display: flex;
    justify-content: center;
}

/* Form */
.contact-form {
    background: var(--off-white);
    border-radius: var(--r-xl);
    padding: var(--space-lg);
}

.form-group {
    margin-bottom: 22px;
    position: relative;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
    transition: color var(--t-fast);
}

.form-required { color: var(--orange); }

.form-input {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font);
    font-size: 15px;
    color: var(--text);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    transition: all var(--t-base);
    appearance: none;
}

.form-input:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(244, 124, 32, 0.1);
}

.form-input.error {
    border-color: var(--error);
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

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

.form-error {
    display: block;
    font-size: 12px;
    color: var(--error);
    margin-top: 6px;
    min-height: 16px;
}

/* Checkbox RGPD */
.form-checkbox-group { margin-top: 8px; }

.form-checkbox-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
}

.form-checkbox {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--orange);
    cursor: pointer;
}

.form-checkbox-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.form-checkbox-text a { color: var(--orange); text-decoration: underline; }

/* Feedback */
.form-feedback {
    margin-top: var(--space-sm);
    padding: 16px 20px;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 500;
}

.form-feedback--success {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.form-feedback--error {
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

/* Honeypot */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Button loading */
.btn__loading svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════
   FOOTER — PREMIUM
   ═══════════════════════════════════════ */
.footer {
    background: #2d2d2d;
    color: rgba(255,255,255,0.7);
    padding: var(--space-2xl) 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(244, 124, 32, 0.06), transparent 70%);
}

.footer__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-xl);
}

@media (min-width: 640px) {
    .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    .footer__grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; }
}

.footer__logo {
    height: 60px;
    width: auto;
    margin-bottom: var(--space-sm);
    filter: brightness(0) invert(1);
}

.footer__desc {
    font-size: 14px;
    line-height: 1.7;
    max-width: 280px;
    color: rgba(255,255,255,0.5);
}

.footer__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-md);
}

.footer__nav li { margin-bottom: 10px; }

.footer__nav a {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    transition: all var(--t-fast);
    position: relative;
    padding-left: 0;
}

.footer__nav a:hover {
    color: var(--orange);
    padding-left: 6px;
}

.footer__contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
}

.footer__contact a {
    color: rgba(255,255,255,0.5);
    transition: color var(--t-fast);
}

.footer__contact a:hover { color: var(--orange); }

.footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: var(--space-md) 0;
    text-align: center;
}

.footer__bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.3);
}

/* ═══════════════════════════════════════
   BACK TO TOP
   ═══════════════════════════════════════ */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px) scale(0.8);
    transition: all var(--t-base);
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: var(--orange);
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* ═══════════════════════════════════════
   COOKIE BANNER
   ═══════════════════════════════════════ */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 480px;
    background: var(--white);
    border-radius: var(--r-xl);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    z-index: 9999;
    padding: var(--space-md);
    transform: translateY(120%);
    transition: transform 0.6s var(--ease-out);
}

@media (min-width: 768px) {
    .cookie-banner { bottom: 28px; left: 28px; right: auto; }
}

.cookie-banner.active {
    transform: translateY(0);
}

.cookie-banner__text {
    font-size: 14px;
    color: var(--text);
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

.cookie-banner__text a { color: var(--orange); text-decoration: underline; }

.cookie-banner__options { margin-bottom: var(--space-sm); display: none; }

.cookie-banner__option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
}

.cookie-banner__option input { accent-color: var(--orange); }

.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; }

.cookie-btn {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--r-full);
    font-family: var(--font);
    transition: all var(--t-fast);
}

.cookie-btn--accept { background: var(--orange); color: var(--white); }
.cookie-btn--accept:hover { background: var(--orange-hover); }
.cookie-btn--reject { background: var(--off-white); color: var(--text); }
.cookie-btn--reject:hover { background: var(--border); }
.cookie-btn--settings { color: var(--text-muted); text-decoration: underline; padding: 10px 12px; }

/* ═══════════════════════════════════════
   PAGES LÉGALES
   ═══════════════════════════════════════ */
.legal { padding-top: calc(var(--header-h) + 60px); padding-bottom: var(--space-xl); }
.legal h1 { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: var(--space-lg); }
.legal h2 { font-size: 20px; font-weight: 700; color: var(--navy); margin: var(--space-lg) 0 var(--space-sm); }
.legal p, .legal li { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin-bottom: 12px; }
.legal ul { padding-left: 24px; list-style: disc; }
.legal a { color: var(--orange); text-decoration: underline; }
.legal__content { max-width: 800px; }

/* Article single */
.single__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 8px;
}
.single__back {
    font-size: 0.85rem;
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}
.single__back:hover { opacity: 0.75; }
.single__date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.single__thumbnail {
    margin: 24px 0 32px;
    border-radius: 10px;
    overflow: hidden;
    max-width: 800px;
}
.single__thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}
.legal__content h2 { font-size: 20px !important; font-weight: 700; color: var(--navy) !important; margin: var(--space-lg) 0 var(--space-sm); }
.legal__content p, .legal__content li { font-size: 15px !important; line-height: 1.7; color: var(--text-secondary) !important; margin-bottom: 12px; }
.legal__content ul { padding-left: 24px; list-style: disc; }
.legal__content a { color: var(--orange) !important; text-decoration: underline; }

/* ═══════════════════════════════════════
   ESPACE CLIENT
   ═══════════════════════════════════════ */
.espace-client { padding: calc(var(--header-h) + 60px) 0 80px; min-height: 70vh; }
.espace-client__badge { display: inline-flex; align-items: center; gap: 8px; background: #FFF3E0; color: var(--orange); font-size: 13px; font-weight: 600; padding: 6px 14px; border-radius: 20px; margin-bottom: 24px; }
.espace-client__title { font-size: 2.5rem; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.espace-client__subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin-bottom: 60px; line-height: 1.7; }
.espace-client__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 60px; }
@media (max-width: 768px) { .espace-client__grid { grid-template-columns: 1fr; } }
.espace-client__card { background: #fff; border: 1px solid #e8ecf0; border-radius: 12px; padding: 32px; transition: box-shadow .2s; }
.espace-client__card:hover { box-shadow: 0 8px 24px rgba(15,42,68,.08); }
.espace-client__card-icon { width: 56px; height: 56px; background: #EEF2F7; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; color: var(--navy); }
.espace-client__card-title { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.espace-client__features { list-style: none; padding: 0; margin: 0; }
.espace-client__features li { font-size: 14px; color: var(--text-secondary); padding: 6px 0 6px 20px; position: relative; border-bottom: 1px solid #f0f0f0; }
.espace-client__features li:last-child { border-bottom: none; }
.espace-client__features li::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.espace-client__cta { text-align: center; padding: 48px; background: var(--navy); border-radius: 16px; color: #fff; }
.espace-client__cta p { font-size: 1.2rem; margin-bottom: 24px; opacity: .9; }

/* ═══════════════════════════════════════
   CONTACT FORM 7
   ═══════════════════════════════════════ */

.wpcf7 { width: 100%; }
.wpcf7 form { display: flex; flex-direction: column; gap: 20px; }

.wpcf7 p {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
}

.wpcf7 label {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 14px 18px;
    font-family: var(--font);
    font-size: 15px;
    color: var(--text);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-md);
    transition: all var(--t-base);
    appearance: none;
    box-sizing: border-box;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(244, 124, 32, 0.1);
}

.wpcf7 textarea { resize: vertical; min-height: 130px; }

.wpcf7 input[type="submit"] {
    width: 100%;
    padding: 16px 32px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
    background: var(--orange);
    border: none;
    border-radius: var(--r-full);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(244, 124, 32, 0.25);
    transition: all var(--t-base);
    letter-spacing: 0.3px;
}

.wpcf7 input[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(244, 124, 32, 0.4);
}

.wpcf7 input[type="submit"]:active {
    transform: translateY(-1px);
}

.wpcf7-not-valid-tip {
    font-size: 12px;
    color: #dc2626;
    margin-top: 4px;
}

.wpcf7-response-output {
    padding: 14px 18px;
    border-radius: var(--r-md);
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
}

.wpcf7-mail-sent-ok {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted,
.wpcf7-validation-errors {
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
}

.wpcf7 .wpcf7-spinner {
    display: none !important;
}

/* ═══════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

@media print {
    .header, .footer, .back-to-top, .cookie-banner, .preloader, .cursor { display: none !important; }
    .section { padding: 24px 0; }
}
