/*
 * ============================================================
 * NEXAUTO — style.css (thème enfant Twenty Twenty-Four)
 * REFONTE 2026 — Charte "hôtellerie contemporaine / art déco"
 * Palette navy #0B1F3A / bronze #C77B3C / steel #5A8CA8
 *          fond #F2F1ED / texte #6B6A65
 * Typo : Fraunces (display) + Manrope (corps)
 * ============================================================
 *
 * TABLE DES MATIÈRES
 *  1.  IMPORT POLICES + VARIABLES + RESET
 *  2.  WORDPRESS OVERRIDES
 *  3.  MOTIF ART DÉCO + UTILITAIRES
 *  4.  HEADER (sticky + pill hexagone au scroll)
 *  5.  BOUTONS GLOBAUX (hexagone)
 *  6.  ANIMATIONS SCROLL (reveal)
 *  7.  FOOTER
 *  8.  PAGE CONNEXION
 *  9.  PAGE ESPACE CLIENT — Transactions & Pipeline
 * 10.  FORMULAIRE MULTI-ÉTAPES (.nxa-form-*)
 * 11.  CGV
 * 12.  MESSAGES FLASH
 * 13.  PAGE À PROPOS (qui sommes-nous)
 * 14.  FORMULAIRE CONTACT / SAV (.nxa-cp-*)
 * 15.  RESPONSIVE
 * ============================================================
 */

/* ============================================================
   1. POLICES + VARIABLES + RESET
   ============================================================ */
:root {
    /* Palette */
    --navy:        #0B1F3A;
    --navy-soft:   #16314E;
    --bronze:      #C77B3C;
    --bronze-deep: #A85F25;
    --bronze-light:#DDA86A;
    --steel:       #5A8CA8;
    --steel-light: #9CBBCC;
    --paper:       #F2F1ED;
    --paper-warm:  #EAE7DF;
    --ink:         #6B6A65;
    --ink-dark:    #3A3935;
    --white:       #FFFFFF;
    --line:        rgba(11, 31, 58, 0.10);
    --gold-line:   rgba(199, 123, 60, 0.30);
	--steel-dark:  #3f6478;

    /* Compat anciennes variables (mappées sur la nouvelle palette) */
    --blue:        #5A8CA8;
    --blue-mid:    #5A8CA8;
    --blue-bright: #C77B3C;
    --orange:      #C77B3C;
    --orange-soft: #DDA86A;
    --off-white:   #EAE7DF;
    --text:        #0B1F3A;
    --text-mid:    #3A3935;
    --text-light:  #6B6A65;
    --border:      rgba(11, 31, 58, 0.12);

    /* Gradients */
    --grad-blue:   linear-gradient(145deg, #0B1F3A, #16314E);
    --grad-orange: linear-gradient(135deg, #C77B3C, #DDA86A);
    --grad-hero:   linear-gradient(160deg, #16314E 0%, #0d2742 100%);

    /* Ombres */
    --shadow-sm:   0 4px 24px rgba(11, 31, 58, 0.06);
    --shadow-md:   0 18px 50px rgba(11, 31, 58, 0.12);
    --shadow-lg:   0 30px 70px rgba(11, 31, 58, 0.18);
    --shadow-deep: 0 40px 90px rgba(11, 31, 58, 0.30);
    --shadow-blue: 0 12px 34px rgba(199, 123, 60, 0.28);
    --shadow-orange:0 12px 34px rgba(199, 123, 60, 0.30);

    /* Typo */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body:    'Manrope', system-ui, sans-serif;

    /* Rayons — le site est en angles secs désormais */
    --r-sm:  4px;
    --r-md:  8px;
    --r-lg:  12px;
    --r-xl:  16px;
    --r-pill:4px;
}

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

html { scrollbar-gutter: stable; }

body {
    font-family: var(--font-body);
    margin: 0 auto;
    background: var(--paper);
    color: var(--ink-dark);
    -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

main { display: flex; flex-direction: column; }

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

h1, h2, h3, h4 { font-family: var(--font-display); }


/* ============================================================
   2. WORDPRESS OVERRIDES
   ============================================================ */
:root :where(.wp-site-blocks a:focus) { outline: none !important; }
body a:focus { outline: none !important; }

body .is-layout-constrained > .wp-block-leadin-hubspot-form-block {
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.has-global-padding { padding-right: 0; padding-left: 0; }
.wp-block-columns   { padding: 0; }


/* ============================================================
   3. MOTIF ART DÉCO + UTILITAIRES
   ============================================================ */
.nxa-fan {
    position: absolute; inset: 0; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60' viewBox='0 0 120 60'%3E%3Cg fill='none' stroke='%23C77B3C' stroke-width='1'%3E%3Cpath d='M0 60 A60 60 0 0 1 120 60'/%3E%3Cpath d='M15 60 A45 45 0 0 1 105 60'/%3E%3Cpath d='M30 60 A30 30 0 0 1 90 60'/%3E%3Cpath d='M45 60 A15 15 0 0 1 75 60'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 120px 60px; opacity: 0.05;
}

/* Eyebrow réutilisable (si besoin dans du contenu) */
.nxa-eyebrow {
    display: inline-flex; align-items: center; gap: 14px;
    font-family: var(--font-body); font-size: 12px; font-weight: 700;
    letter-spacing: 0.26em; text-transform: uppercase; color: var(--bronze);
}
.nxa-eyebrow::before { content: ''; width: 30px; height: 1px; background: currentColor; opacity: 0.7; }


/* ============================================================
   4. HEADER — sticky, devient pill hexagone au scroll
   ============================================================ */
.header-container {
    background: transparent;
    display: grid;
    grid-template-columns: auto auto 1fr auto auto;
    align-items: center;
    gap: 0;
    padding: 0 60px;
    height: 100px;
 	position: fixed;          /* au lieu de sticky */
    top: 10px;                /* le fameux +30px, garanti */
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1140px;
    margin: 0;
    z-index: 200;
    border-bottom: 1px solid transparent;
    transition: all .45s cubic-bezier(.4,0,.2,1);
}

/* état scrollé : fond clair, hexagone, ombre */
.header-container.nxa-scrolled {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    height: 66px;
    margin: 42px auto 12px !important;
    max-width: 1100px !important;
    padding: 0 0 0 40px;
    box-shadow: 0 10px 40px rgba(11,31,58,0.14);
    clip-path: polygon(25px 0, calc(100% - 25px) 0, 99.9% 50%, calc(100% - 25px) 100%, 25px 100%, 1px 50%);
    border-bottom: none;
	border: 1px solid var(--bronze);
}

.logo-wrapper { display: flex; align-items: center; flex-shrink: 0; }
.logo-wrapper img { max-height: 46px; width: auto; transition: max-height .45s ease; }
.header-container.nxa-scrolled .logo-wrapper img { max-height: 38px; }
/* logo clair sur fond navy (état haut, non-scrollé) : passe le logo en clair */
.header-container:not(.nxa-scrolled):not(.nxa-onlight) .logo-wrapper img {
    filter: brightness(0) invert(1);
}

/* Navigation */
.nav-menu {
    display: flex; align-items: center; gap: 36px;
    justify-content: flex-start; margin-left: 40px;
}
.nav-menu a {
    text-decoration: none; color: #fff; font-weight: 600;
    font-size: 16px; position: relative; transition: color 0.25s;
    letter-spacing: 0; font-family: var(--font-body);
}
.header-container.nxa-scrolled .nav-menu a,
.header-container.nxa-onlight .nav-menu a {
	color: var(--orange);
}

.nav-menu a::after {
    content: ""; position: absolute; width: 0%; height: 1.5px;
    bottom: -4px; left: 0; background: var(--bronze);
    border-radius: 2px; transition: width 0.28s ease;
}
.nav-menu a:hover::after { width: 100%; }
.nav-menu a:hover { color: var(--bronze-light); }
.header-container.nxa-scrolled .nav-menu a:hover,
.header-container.nxa-onlight .nav-menu a:hover { color: var(--bronze); }

/* Masqués en desktop */
.nav-cta         { display: none; }
.nxa-auth-mobile { display: none; }

/* Burger — masqué en desktop */
.burger-btn {
    display: none; flex-direction: column; justify-content: space-between;
    width: 28px; height: 20px; border: none; background: none;
    cursor: pointer; padding: 0; z-index: 1001;
}
.burger-btn span {
    display: block; height: 3px; width: 100%; background: #fff;
    border-radius: 2px; transition: all 0.3s ease;
}
.header-container.nxa-scrolled .burger-btn span,
.header-container.nxa-onlight .burger-btn span { background: var(--navy); }

.nxa-auth-desktop {
    display: flex; align-items: center; gap: 12px;
    justify-content: flex-end;
}

/* CTA header — hexagone bronze, fusionne à droite quand scrollé */
.header-cta {
    background: var(--bronze) !important;
    color: #fff !important;
    font-family: var(--font-body) !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    border-radius: 0 !important;
    clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
    padding: 12px 32px !important;
    transition: background .25s, filter .25s !important;
}
.header-cta:hover {
    background: var(--bronze-deep) !important;
    color: #fff !important;
    filter: brightness(1.05);
    transform: none !important;
    box-shadow: none !important;
}
/* Fusion du CTA à la pointe droite quand le header est scrollé */
.header-container.nxa-scrolled { align-items: stretch; }
.header-container.nxa-scrolled .header-cta {
    height: 100%;
    width: 220px;
    word-break: break-word;
    text-align: center;
    padding: 0 44px 0 40px !important;
    display: inline-flex; align-items: center;
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 22px 50%);
}

/* Boutons connexion / déconnexion (auth) */
a.login-btn, a.logout-btn {
    font-family: var(--font-body); font-size: 16px; font-weight: 900;
    background: var(--steel); color: #fff !important;
    padding: 12px 22px; border-radius: 0;
    clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%);
    text-decoration: none !important; cursor: pointer;
    display: inline-flex; align-items: center; gap: 6px;
    transition: all 0.25s ease; white-space: nowrap;
	margin-right:12px;
}
.header-container.nxa-scrolled a.login-btn,
.header-container.nxa-scrolled a.logout-btn,
.header-container.nxa-onlight a.login-btn,
.header-container.nxa-onlight a.logout-btn { background-color: var(--steel); border: none; font-weight: 900 !important; font-size: 16px !important; }

a.login-btn:hover, a.logout-btn:hover {
    background: #3f6478; border-color: #3f6478 !important; color: #fff !important;
}

.header-container.nxa-scrolled a.login-btn,
.header-container.nxa-scrolled a.logout-btn,
.header-container.nxa-onlight a.login-btn:hover,
.header-container.nxa-onlight a.logout-btn:hover { background: #3f6478; border-color: #3f6478 !important; color: #fff !important; }


/* ============================================================
   5. BOUTONS GLOBAUX — hexagone / flèche
   ============================================================ */
.nxa-btn-primary {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--bronze); color: #fff !important;
    padding: 15px 34px; border-radius: 0;
    clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 16px 100%, 0 50%);
    font-family: var(--font-body); font-weight: 700; font-size: 16px;
    letter-spacing: 0; text-decoration: none;
    transition: background 0.25s ease, filter 0.25s ease;
    border: none; cursor: pointer; line-height: 1;
}
.nxa-btn-primary:hover {
    background: var(--bronze-deep); color: #fff !important;
    filter: brightness(1.04); transform: none;
}

/* Variantes qui héritent de nxa-btn-primary */
.hero-cta { background: var(--bronze); font-size: 16px; padding: 17px 38px; }
.hero-cta:hover { background: var(--bronze-deep); }
.staff-cta { display: inline-flex; margin-top: 16px; align-self: flex-start; }
.login-cta {
    display: inline-flex; justify-content: center;
    width: 100%; max-width: 260px; margin: 8px auto 0;
}


/* ============================================================
   6. ANIMATIONS SCROLL (reveal)
   ============================================================ */
/* état initial : légèrement décalé + transparent */
.nxa-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s cubic-bezier(.2,.65,.3,1), transform .7s cubic-bezier(.2,.65,.3,1);
    will-change: opacity, transform;
}
.nxa-reveal.nxa-in { opacity: 1; transform: none; }

/* variantes directionnelles */
.nxa-reveal.from-left  { transform: translateX(-36px); }
.nxa-reveal.from-right { transform: translateX(36px); }
.nxa-reveal.zoom       { transform: scale(.96); }
.nxa-reveal.from-left.nxa-in,
.nxa-reveal.from-right.nxa-in,
.nxa-reveal.zoom.nxa-in { transform: none; }

/* délais en cascade quand un parent .nxa-stagger est révélé */
.nxa-stagger > * { transition-delay: 0s; }
.nxa-stagger.nxa-in > *:nth-child(1) { transition-delay: .05s; }
.nxa-stagger.nxa-in > *:nth-child(2) { transition-delay: .12s; }
.nxa-stagger.nxa-in > *:nth-child(3) { transition-delay: .19s; }
.nxa-stagger.nxa-in > *:nth-child(4) { transition-delay: .26s; }
.nxa-stagger.nxa-in > *:nth-child(5) { transition-delay: .33s; }
.nxa-stagger.nxa-in > *:nth-child(6) { transition-delay: .40s; }

/* respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .nxa-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Ancienne classe .reveal conservée (process mobile) — mappée */
.reveal { opacity: 0; transform: translateY(40px) scale(0.97); transition: all 0.6s cubic-bezier(.2,.65,.3,1); }
.reveal.active { opacity: 1; transform: translateY(0) scale(1); }


/* ============================================================
   7. FOOTER
   ============================================================ */
.site-footer {
    background: #081728 !important;
    color: rgba(255, 255, 255, 0.75);
    padding: 48px 0 34px;
    font-family: var(--font-body);
    position: relative;
    overflow: hidden;
}
.footer-container {
    max-width: 1200px; margin: 0 auto; padding: 0 60px;
    display: flex; justify-content: space-between; align-items: center;
    gap: 20px; position: relative; z-index: 2;
}
.footer-container p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.75); }
.footer-nav a {
    color: rgba(255, 255, 255, 0.85); text-decoration: none;
    margin-left: 24px; font-size: 14px; font-weight: 500; transition: color 0.2s;
}
.footer-nav a:hover { color: #fff; }

.footer-contact {
    background: var(--bronze) !important; color: #fff !important;
    border-radius: 0 !important;
    clip-path: polygon(13px 0, calc(100% - 13px) 0, 100% 50%, calc(100% - 13px) 100%, 13px 100%, 0 50%);
    padding: 11px 26px; font-weight: 700; font-size: 14px;
    transition: background .2s, filter .2s;
    display: inline-block;
}
.footer-contact:hover {
    filter: brightness(1.05); transform: none;
    color: #fff !important; background: var(--bronze-deep) !important;
    box-shadow: none !important;
}
.footer-socials { display: flex; gap: 12px; align-items: center; }
.footer-socials a {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 0;
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    background: rgba(221,168,106,0.18); transition: background 0.25s;
}
.footer-socials a:hover { background: var(--bronze); }
.footer-socials img { width: 18px; height: 18px; }


/* ============================================================
   8. PAGE CONNEXION
   ============================================================ */
/* Le fond .background sert de conteneur plein écran sur login/sav/espace client */
.background {
    background: var(--paper);
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px 20px !important;
    min-height: calc(100vh - 100px);
    overflow: hidden;
    position: relative;
    /*z-index: 1;*/
}
/* fond navy à motif déco pour la page login (id background-blue conservé) */
#background-blue {
    background: var(--navy) !important;
    position: relative;
    overflow: hidden;
}
#background-blue::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4MCIgaGVpZ2h0PSIyMjAiIHZpZXdCb3g9IjAgMCA4MCAyMjAiPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJkIj48cGF0aCBkPSJNIDQwLjAgMCBMIDgwIDExMC4wIEwgNDAuMCAyMjAgTCAwIDExMC4wIFoiLz48L2NsaXBQYXRoPgo8L2RlZnM+CjxwYXRoIGQ9Ik0gNDAuMCAwIEwgODAgMTEwLjAgTCA0MC4wIDIyMCBMIDAgMTEwLjAgWiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjQzc3QjNDIiBzdHJva2Utd2lkdGg9IjIiLz4KPGcgY2xpcC1wYXRoPSJ1cmwoI2QpIiBvcGFjaXR5PSIwLjkiPjxsaW5lIHgxPSIwIiB5MT0iOCIgeDI9IjgwIiB5Mj0iOCIgc3Ryb2tlPSIjRERBODZBIiBzdHJva2Utd2lkdGg9IjMiLz48bGluZSB4MT0iMCIgeTE9IjIyIiB4Mj0iODAiIHkyPSIyMiIgc3Ryb2tlPSIjRERBODZBIiBzdHJva2Utd2lkdGg9IjMiLz48bGluZSB4MT0iMCIgeTE9IjM2IiB4Mj0iODAiIHkyPSIzNiIgc3Ryb2tlPSIjRERBODZBIiBzdHJva2Utd2lkdGg9IjMiLz48bGluZSB4MT0iMCIgeTE9IjUwIiB4Mj0iODAiIHkyPSI1MCIgc3Ryb2tlPSIjRERBODZBIiBzdHJva2Utd2lkdGg9IjMiLz48bGluZSB4MT0iMCIgeTE9IjY0IiB4Mj0iODAiIHkyPSI2NCIgc3Ryb2tlPSIjRERBODZBIiBzdHJva2Utd2lkdGg9IjMiLz48bGluZSB4MT0iMCIgeTE9Ijc4IiB4Mj0iODAiIHkyPSI3OCIgc3Ryb2tlPSIjRERBODZBIiBzdHJva2Utd2lkdGg9IjMiLz48bGluZSB4MT0iMCIgeTE9IjkyIiB4Mj0iODAiIHkyPSI5MiIgc3Ryb2tlPSIjRERBODZBIiBzdHJva2Utd2lkdGg9IjMiLz48bGluZSB4MT0iMCIgeTE9IjEwNiIgeDI9IjgwIiB5Mj0iMTA2IiBzdHJva2U9IiNEREE4NkEiIHN0cm9rZS13aWR0aD0iMyIvPjxsaW5lIHgxPSIwIiB5MT0iMTIwIiB4Mj0iODAiIHkyPSIxMjAiIHN0cm9rZT0iI0REQTg2QSIgc3Ryb2tlLXdpZHRoPSIzIi8+PGxpbmUgeDE9IjAiIHkxPSIxMzQiIHgyPSI4MCIgeTI9IjEzNCIgc3Ryb2tlPSIjRERBODZBIiBzdHJva2Utd2lkdGg9IjMiLz48bGluZSB4MT0iMCIgeTE9IjE0OCIgeDI9IjgwIiB5Mj0iMTQ4IiBzdHJva2U9IiNEREE4NkEiIHN0cm9rZS13aWR0aD0iMyIvPjxsaW5lIHgxPSIwIiB5MT0iMTYyIiB4Mj0iODAiIHkyPSIxNjIiIHN0cm9rZT0iI0REQTg2QSIgc3Ryb2tlLXdpZHRoPSIzIi8+PGxpbmUgeDE9IjAiIHkxPSIxNzYiIHgyPSI4MCIgeTI9IjE3NiIgc3Ryb2tlPSIjRERBODZBIiBzdHJva2Utd2lkdGg9IjMiLz48bGluZSB4MT0iMCIgeTE9IjE5MCIgeDI9IjgwIiB5Mj0iMTkwIiBzdHJva2U9IiNEREE4NkEiIHN0cm9rZS13aWR0aD0iMyIvPjxsaW5lIHgxPSIwIiB5MT0iMjA0IiB4Mj0iODAiIHkyPSIyMDQiIHN0cm9rZT0iI0REQTg2QSIgc3Ryb2tlLXdpZHRoPSIzIi8+PGxpbmUgeDE9IjAiIHkxPSIyMTgiIHgyPSI4MCIgeTI9IjIxOCIgc3Ryb2tlPSIjRERBODZBIiBzdHJva2Utd2lkdGg9IjMiLz48L2c+Cjwvc3ZnPg==");
    background-size: 90px 200px;
    opacity: 0.28;
    -webkit-mask: linear-gradient(to left, #000, transparent 45%);
            mask: linear-gradient(to left, #000, transparent 45%);
}

#background-blue-noimg {
    background: var(--navy) !important;
    position: relative;
    overflow: hidden;
}
#background-blue-noimg::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

#background-steel-noimg {
    position: relative;
    overflow: hidden;
}
#background-steel-noimg::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.background::before {
    content: ''; position: absolute;
    bottom: 20px; right: 20px; left: auto;
    width: 460px; height: 460px;
    background-image: url("https://nexauto.fr/wp-content/uploads/2026/07/cropped-logo-nexauto-mini-1.webp");
    background-size: contain; background-repeat: no-repeat; background-position: bottom right;
    opacity: 0.08; pointer-events: none; z-index: 0;
}

.login-container {
    background: var(--white);
    border-radius: 4px;
    box-shadow: var(--shadow-lg);
    padding: 48px 40px;
    width: 100%;
    max-width: 460px !important;
    display: flex; flex-direction: column; gap: 0;
    border-top: 3px solid var(--bronze);
    margin: 30px auto;
    position: relative; z-index: 2;
}
.login-text {
    flex: 1; display: flex; flex-direction: column; align-items: center; width: 100%;
}
.login-text h1 {
    font-family: var(--font-display); font-size: 27px; font-weight: 500;
    color: var(--navy); margin: 0 0 8px; letter-spacing: -0.01em; text-align: center;
    line-height: 1.15;
}
.login-container button { border: none; }
.login-container form {
    display: flex; flex-direction: column; gap: 16px; margin: 16px 0 0;
    text-align: center; width: 100%;
}
.login-container label {
    text-align: left; font-size: 13px; font-weight: 700; color: var(--navy);
    letter-spacing: 0.02em; margin-bottom: -8px;
}
.login-container input[type="email"],
.login-container input[type="text"] {
    font-size: 15px; padding: 14px 18px;
    border: 1px solid var(--line); border-radius: 4px;
    width: 100%; box-sizing: border-box; font-family: var(--font-body);
    color: var(--ink-dark); background: var(--paper); outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.login-container input[type="email"]:focus,
.login-container input[type="text"]:focus {
    border-color: var(--bronze); background: var(--white);
    box-shadow: 0 0 0 4px rgba(199,123,60,0.12);
}


/* ============================================================
   9. PAGE ESPACE CLIENT — Transactions & Pipeline
   ============================================================ */
.transactions-container { max-width: 720px; margin: 40px auto; padding: 0 20px; position: relative; z-index: 2; }
.transactions-container h1 {
    font-family: var(--font-display); font-size: 30px; font-weight: 500;
    color: var(--navy); margin-bottom: 24px; letter-spacing: -0.01em;
}
.nxa-no-transaction {
    color: var(--ink); font-weight: 600; font-size: 15px;
    padding: 48px 40px; text-align: center; background: var(--white);
    border-radius: 4px; border: 1px solid var(--line);
    border-left: 4px solid var(--steel); box-shadow: var(--shadow-sm);
}
.transaction-list { display: flex; flex-direction: column; gap: 16px; }
.transaction-item {
    background: var(--white); border-radius: 4px;
    border: 1px solid var(--line); border-left: 4px solid var(--steel);
    box-shadow: var(--shadow-sm); overflow: hidden;
}
.nxa-card-header {
    display: flex; align-items: flex-start; justify-content: space-between;
    gap: 16px; padding: 20px 22px 18px; cursor: pointer; user-select: none;
    transition: background 0.15s;
}
.nxa-card-header:hover { background: var(--paper); }

#nxaStepTitle {
font-family: var(--font-display); font-weight: 500; font-size: 18px;
margin: 0 auto;
}

.nxa-card-meta { flex: 1; min-width: 0; }
.nxa-deal-date {
    font-size: 11px; font-weight: 700; color: var(--ink);
    letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 5px;
}
.nxa-deal-name {
    font-family: var(--font-display); font-size: 17px; font-weight: 500;
    color: var(--navy); margin-bottom: 10px;
}
.nxa-status-badge {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 700;
    background: rgba(90,140,168,0.14); color: var(--steel); border: 1px solid rgba(90,140,168,0.3);
}
.nxa-status-badge.nxa-done    { background: rgba(46,160,110,0.12); color: #2E9A6E; border-color: rgba(46,160,110,0.3); }
.nxa-status-badge.nxa-warning { background: rgba(199,123,60,0.12); color: var(--bronze); border-color: rgba(199,123,60,0.3); }
.nxa-status-badge.nxa-neutral { background: rgba(107,106,101,0.10); color: var(--ink); border-color: var(--line); }
.nxa-badge-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }

.nxa-toggle {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--paper); border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: background 0.2s; margin-top: 2px;
}
.nxa-toggle svg { transition: transform 0.3s; }
.transaction-item.open .nxa-toggle { background: var(--bronze); border-color: var(--bronze); }
.transaction-item.open .nxa-toggle svg { transform: rotate(180deg); }
.transaction-item.open .nxa-toggle path { stroke: #fff; }

.nxa-progress-body { display: none; padding: 10px 22px 22px; border-top: 1px solid var(--line); }
.transaction-item.open .nxa-progress-body { display: block; animation: nxa-fadein 0.25s ease; }
@keyframes nxa-fadein { from { opacity: 0; } to { opacity: 1; } }

.nxa-bar-wrap { margin: 18px 0 24px; position: relative; }
.nxa-bar-pct { position: absolute; right: 0; top: -20px; font-size: 12px; font-weight: 800; color: var(--bronze); }
.nxa-bar-track { height: 8px; background: var(--paper-warm); border-radius: 100px; overflow: visible; position: relative; }
.nxa-bar-fill {
    height: 100%; border-radius: 100px;
    background: linear-gradient(90deg, var(--bronze), var(--bronze-light));
    position: relative; transition: width 0.8s cubic-bezier(.4,0,.2,1);
}
.nxa-bar-fill:not([style*="100%"])::after {
    content: ''; position: absolute; right: -1px; top: 50%; transform: translateY(-50%);
    width: 14px; height: 14px; border-radius: 50%; background: var(--bronze-light);
    border: 3px solid #fff; box-shadow: 0 0 0 3px rgba(199,123,60,0.25);
}

.nxa-steps { display: flex; flex-direction: column; }
.nxa-step { display: flex; align-items: flex-start; gap: 12px; position: relative; padding-bottom: 14px; }
.nxa-step:last-child { padding-bottom: 0; }
.nxa-steps .nxa-step:not(:last-child)::before {
    content: ''; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--line);
}
.nxa-step.nxa-done:not(:last-child)::before,
.nxa-step.nxa-current:not(:last-child)::before { background: linear-gradient(to bottom, var(--bronze), var(--line)); }
.nxa-step.nxa-warning:not(:last-child)::before { background: linear-gradient(to bottom, var(--bronze-light), var(--line)); }

.nxa-bullet {
    width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    position: relative; z-index: 1; margin-top: 1px;
}
.nxa-step.nxa-pending .nxa-bullet { background: #fff; border: 2px solid var(--line); }
.nxa-step.nxa-done .nxa-bullet    { background: var(--bronze); }
.nxa-step.nxa-current .nxa-bullet { background: var(--bronze); box-shadow: 0 0 0 4px rgba(199,123,60,0.2); }
.nxa-step.nxa-warning .nxa-bullet { background: rgba(199,123,60,0.15); border: 2px solid var(--bronze-light); }

.nxa-step-body { flex: 1; padding-top: 3px; }
.nxa-step-label { font-size: 13px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.nxa-step.nxa-done .nxa-step-label    { color: var(--navy); }
.nxa-step.nxa-current .nxa-step-label { color: var(--bronze); font-weight: 800; }
.nxa-step.nxa-warning .nxa-step-label { color: var(--bronze-deep); font-weight: 800; }
.nxa-step-date { font-size: 11px; font-weight: 600; color: var(--ink); margin-top: 3px; }
.nxa-step.nxa-current .nxa-step-date { color: var(--bronze); }
.nxa-step-sub { font-size: 12px; font-weight: 600; margin-top: 4px; line-height: 1.4; }
.nxa-step-sub.nxa-info    { color: var(--steel); }
.nxa-step-sub.nxa-warning { color: var(--bronze); }

.nxa-tag {
    display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: 0.5px;
    text-transform: uppercase; padding: 2px 8px; border-radius: 100px; margin-left: 7px;
    vertical-align: middle; background: var(--bronze); color: #fff;
}


/* ============================================================
   10. FORMULAIRE MULTI-ÉTAPES (.nxa-form-*)
   ============================================================ */
.nxa-form-wrapper {
    width: 100%; max-width: 680px; margin: 0 auto; position: relative; z-index: 2;
    padding: 40px 20px; box-sizing: border-box;
}
.nxa-form-wrapper .nxa-card {
    background: var(--white); border-radius: 4px;
    box-shadow: var(--shadow-lg); overflow: hidden; position: relative;
    border: 1px solid var(--line);
}
.nxa-form-wrapper .nxa-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--bronze);
}
.nxa-form-wrapper .nxa-card-header {
    padding: 36px 48px 0; text-align: center; display: flex; flex-direction: column;
    align-items: center; cursor: default; user-select: auto; transition: none;
}
.nxa-form-wrapper .nxa-card-header:hover { background: transparent; }
.nxa-form-wrapper .nxa-card-header h2 {
    font-family: var(--font-display); font-size: 24px; font-weight: 500;
    color: var(--navy); line-height: 1.25; margin-bottom: 6px;
}
.nxa-form-wrapper .nxa-card-header p { font-size: 14px; color: var(--ink); font-weight: 600; }
.nxa-illustrations { display: flex; justify-content: center; margin-bottom: 4px; }
.nxa-illus-svg { width: 130px; height: 100px; display: flex; align-items: center; justify-content: center; }

.nxa-form-wrapper .nxa-progress { padding: 28px 48px 0; }
.nxa-form-wrapper .nxa-progress-track { height: 6px; background: var(--paper-warm); border-radius: 100px; overflow: hidden; }
.nxa-form-wrapper .nxa-progress-fill { height: 100%; border-radius: 100px; background: linear-gradient(90deg, var(--bronze), var(--bronze-light)); transition: width 0.5s cubic-bezier(.4,0,.2,1); }
.nxa-form-wrapper .nxa-progress-label { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.nxa-form-wrapper .nxa-progress-label span { font-size: 12px; font-weight: 700; color: var(--ink); letter-spacing: 0.5px; text-transform: uppercase; }
.nxa-form-wrapper .nxa-step-count { font-size: 13px; font-weight: 900; color: var(--bronze); }

.nxa-form-body { padding: 28px 48px 40px; box-sizing: border-box; }
.nxa-form-wrapper .nxa-step {
    display: none; animation: nxa-step-in 0.35s cubic-bezier(.4,0,.2,1) both;
    position: static; padding-bottom: 0; gap: 0; align-items: initial;
}
.nxa-form-wrapper .nxa-step.active { display: block; }
.nxa-form-wrapper .nxa-step:not(:last-child)::before { display: none; }
@keyframes nxa-step-in { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

.nxa-fields { display: flex; flex-direction: column; gap: 18px; }
.nxa-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; box-sizing: border-box; }
.nxa-field { display: flex; flex-direction: column; gap: 6px; }
.nxa-field label { font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: 0.3px; }
.nxa-field label .req { color: var(--bronze); margin-left: 2px; }

.nxa-field input, .nxa-field select, .nxa-field textarea {
    width: 100%; padding: 12px 16px; border: 1px solid var(--line); border-radius: 4px;
    font-family: var(--font-body); font-size: 14px; font-weight: 600;
    color: var(--navy); background: var(--paper);
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    outline: none; appearance: none; -webkit-appearance: none; box-sizing: border-box !important;
}
.nxa-field input:focus, .nxa-field select:focus, .nxa-field textarea:focus {
    border-color: var(--bronze); background: #fff; box-shadow: 0 0 0 4px rgba(199,123,60,0.12);
}
.nxa-field input.error, .nxa-field select.error { border-color: #E53E3E; box-shadow: 0 0 0 4px rgba(229,62,62,0.08); }
.nxa-field .nxa-error-msg { font-size: 12px; font-weight: 700; color: #E53E3E; display: none; }
.nxa-field .nxa-error-msg.visible { display: block; }
.nxa-field select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6A65' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer;
}

.nxa-checkbox {
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
    transition: border-color 0.2s, background 0.2s; user-select: none;
}
.nxa-checkbox:hover { border-color: var(--bronze); background: rgba(199,123,60,0.04); }
.nxa-checkbox input[type="checkbox"] {
    width: 18px; height: 18px; accent-color: var(--bronze); cursor: pointer; flex-shrink: 0;
    margin: 0; padding: 0; border: none; background: none; box-sizing: border-box !important;
}
.nxa-checkbox input[type="checkbox"]:focus { box-shadow: none; border: none; }
.nxa-checkbox span { font-size: 14px; font-weight: 700; color: var(--navy); }
.nxa-checkbox .nxa-free-tag {
    margin-left: auto; font-size: 11px; font-weight: 900; color: var(--bronze);
    background: rgba(199,123,60,0.1); padding: 2px 8px; border-radius: 100px;
    letter-spacing: 0.3px; text-transform: uppercase; white-space: nowrap;
}

.nxa-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; gap: 12px; }
.nxa-nav.first-step { justify-content: flex-end; }
.nxa-btn {
    padding: 14px 30px; border-radius: 0;
    clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
    font-family: var(--font-body); font-size: 14px; font-weight: 800; cursor: pointer;
    border: none; transition: all 0.25s ease; text-transform: uppercase; letter-spacing: 0.6px;
}
.nxa-btn-prev { background: var(--paper-warm); color: var(--ink); }
.nxa-btn-prev:hover { background: #e0ddd4; color: var(--navy); }
.nxa-btn-next { background: var(--navy); color: #fff; }
.nxa-btn-next:hover { background: var(--navy-soft); filter: brightness(1.1); }
.nxa-btn-next:disabled { opacity: 0.7; cursor: not-allowed; }
#nxaSubmitBtn { background: var(--bronze); color: #fff; }
#nxaSubmitBtn:hover { background: var(--bronze-deep); filter: brightness(1.04); }

.nxa-form-wrapper .nxa-success { display: none; padding: 60px 48px; text-align: center; animation: nxa-step-in 0.4s cubic-bezier(.4,0,.2,1) both; }
.nxa-form-wrapper .nxa-success.active { display: block; }
.nxa-form-wrapper .nxa-success-icon {
    width: 80px; height: 80px; border-radius: 50%;
    background: rgba(199,123,60,0.12); display: flex; align-items: center; justify-content: center;
    margin: 0 auto 28px; border: 2px solid rgba(199,123,60,0.3); color: var(--bronze);
}
.nxa-form-wrapper .nxa-success-icon svg { width: 36px; height: 36px; }
.nxa-form-wrapper .nxa-success h2 { font-family: var(--font-display); font-size: 28px; font-weight: 500; color: var(--navy); margin-bottom: 12px; }
.nxa-form-wrapper .nxa-success p { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.6; }
.nxa-success-name { color: var(--bronze); font-weight: 900; }
.nxa-form-wrapper .nxa-toggle { display: none; }


/* ============================================================
   11. CGV — case à cocher
   ============================================================ */
.nxa-cgv-field { margin-top: 4px; }

.nxa-cgv-check-row {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--line); border-radius: var(--r-sm);
    background: var(--paper);
    cursor: pointer; user-select: none;
    transition: border-color .2s, background .2s, box-shadow .2s;
}

.nxa-cgv-check-row:has(input:checked) {
    border-color: #2E9A6E; background: rgba(46,154,110,0.05);
    box-shadow: 0 0 0 4px rgba(46,154,110,0.08);
}

.nxa-cgv-check-row input[type="checkbox"] {
    -webkit-appearance: checkbox;
    appearance: checkbox;
    width: 18px; height: 18px; flex-shrink: 0;
    margin: 1px 0 0; padding: 0; border: none; background: none;
    accent-color: var(--bronze); cursor: pointer;
    box-sizing: border-box !important;
}

.nxa-cgv-check-row input[type="checkbox"]:focus { box-shadow: none; border: none; }

.nxa-cgv-check-label {
    font-size: 13px; font-weight: 700; color: var(--navy); line-height: 1.45;
}
.nxa-cgv-check-label a {
    color: var(--bronze-deep); font-weight: 800;
    text-decoration: underline; text-underline-offset: 2px;
}
.nxa-cgv-check-label a:hover { color: var(--bronze); }
.nxa-cgv-check-label .req { color: var(--bronze); margin-left: 2px; }

.nxa-cgv-field.error .nxa-cgv-check-row {
    border-color: #E53E3E; box-shadow: 0 0 0 4px rgba(229,62,62,0.08);
}


/* ============================================================
   12. MESSAGES FLASH
   ============================================================ */
.nxa-msg { padding: 12px 16px; border-radius: 4px; font-size: 14px; margin-bottom: 12px; }
.nxa-msg--error   { background: rgba(229, 62, 62, 0.08); border-left: 3px solid #E53E3E; color: #c53030; }
.nxa-msg--success { background: rgba(46,154,110,0.1);   border-left: 3px solid #2E9A6E; color: #22795A; }
.nxa-msg--warning { background: rgba(199,123,60,0.1);   border-left: 3px solid var(--bronze); color: var(--bronze-deep); }
.nxa-msg--info    { background: rgba(90,140,168,0.1);   border-left: 3px solid var(--steel); color: #3f6478; }


/* ============================================================
   13. PAGE À PROPOS (qui sommes-nous)
   ============================================================ */
/* Sur cette page, .background n'est PAS centré : contenu en flux */
main > .background:not(#background-blue) {
    display: block;
    align-items: initial;
    justify-content: initial;
    min-height: 0;
}

.team-container, .history-container {
    display: flex; align-items: stretch; gap: 60px;
    margin: 80px auto; max-width: 1200px; padding: 0 60px;
}
.team-text, .history-text {
    flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 16px;
}
.team-text h1 {
    font-family: var(--font-display); font-size: 40px; font-weight: 500;
    color: var(--navy); margin: 0 0 8px; letter-spacing: -0.01em; line-height: 1.05;
}
.team-text p, .history-text p {
    margin: 0; color: var(--ink); line-height: 1.75; font-weight: 500; font-size: 16px; text-align:justify;
}
.history-text { color: var(--ink); line-height: 1.75; }
.history-text p { flex: 1; }

.team-photo, .history-photo {
    flex: 1; max-width: 560px; border-radius: 4px; overflow: hidden;
    box-shadow: var(--shadow-lg); border: 1px solid var(--line);
    position: relative; border-left : 4px solid var(--bronze); border-right : 4px solid var(--bronze); 
}

.team-photo img, .history-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }


.values-container { gap: 40px; margin: 80px auto; max-width: 1200px; padding: 0 60px; }

/* Titre "Nos valeurs" implicite via benefits — restylé */
.nexauto-benefits {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    max-width: 1200px; width: 100%; margin: 60px auto 0; padding: 0 60px 40px;
    position: relative; z-index: 1;
}
.background .nexauto-benefits { grid-template-columns: repeat(3, 1fr); margin: 0 auto 60px; padding: 0 60px; }
.background .benefit-card { margin: 0; }

.benefit-card {
    background: var(--white); border-radius: 4px; padding: 32px 28px;
    border: 1px solid var(--line); border-top: 3px solid var(--bronze);
    box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; overflow: hidden; text-align: center;
}
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.benefit-card .icon { font-size: 32px; margin-bottom: 16px; display: block; }
.benefit-card h2 {
    font-family: var(--font-display); font-size: 22px; font-weight: 500;
    color: var(--navy); margin: 0 0 10px; letter-spacing: -0.01em;
}
.benefit-card p { font-size: 14px; color: var(--ink); margin: 0; line-height: 1.7; font-weight: 500; }

/* Indentation paragraphes à-propos */
.team-text p, .history-text p { text-indent: 1.5em; margin-bottom: 1em; }
.team-text p:last-child, .history-text p:last-child { margin-bottom: 0; }


/* ============================================================
   14. FORMULAIRE CONTACT / SAV (.nxa-cp-*)
   ============================================================ */
.nxa-cp-hero { text-align: center; max-width: 920px; margin: 0 auto 30px; padding: 40px 20px 0; position: relative; z-index: 2; }
.nxa-cp-hero h1 {
    font-family: var(--font-display); font-size: 42px; font-weight: 500;
    color: var(--navy); margin: 0 0 16px; letter-spacing: -0.01em; line-height: 1.08;
}
.nxa-cp-hero p { font-size: 16px; color: var(--ink); line-height: 1.7; margin: 0; font-weight: 500; }

.nxa-cp-wrapper {
    display: flex; align-items: center; gap: 60px; max-width: 960px; width: 100%;
    margin: 0 auto; padding: 0 20px 60px; position: relative; z-index: 2;
}
.nxa-cp-illus { flex: 0 0 320px; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; justify-content: center; }
.nxa-cp-illus svg { width: 100%; max-width: 300px; height: 300px; }
.nxa-cp-illus svg [fill="#1E6FA8"], .nxa-cp-illus svg [fill="#2CB5C8"] { fill: var(--bronze); }
.nxa-cp-tagline { width: 100%; max-width: 300px; }
.nxa-cp-tagline h2 {
    font-family: var(--font-display); font-size: 32px; font-weight: 500;
    color: var(--navy); margin: 0 0 8px; letter-spacing: -0.01em; line-height: 1.15;
}
.nxa-cp-tagline p { font-size: 15px; color: var(--ink); margin: 0 0 16px; line-height: 1.6; font-weight: 500; }

.nxa-cp-form-card {
    flex: 1; background: white; border-radius: 4px; box-shadow: var(--shadow-lg);
    overflow: hidden; position: relative; border: 1px solid var(--line);
}
.nxa-cp-top-bar { height: 4px; background: var(--bronze); }
.nxa-cp-form-inner { padding: 36px 40px 40px; }
.nxa-cp-form-inner h1 {
    font-family: var(--font-display); font-size: 24px; font-weight: 500;
    color: var(--navy); margin: 0 0 6px; letter-spacing: -0.01em;
}
.nxa-cp-form-inner h2 {
    font-family: var(--font-display); font-size: 24px; font-weight: 500;
    color: var(--navy); margin: 0 0 6px; letter-spacing: -0.01em;
}
.nxa-cp-subtitle { font-size: 13px; color: var(--ink); margin: 0 0 28px; line-height: 1.5; }

.nxa-cp-type-selector { display: flex; gap: 12px; margin-bottom: 20px; }
.nxa-cp-type-option {
    flex: 1; display: flex; align-items: center; gap: 8px; padding: 12px 16px;
    border: 1px solid var(--line); border-radius: 4px; cursor: pointer;
    font-size: 13px; font-weight: 700; color: var(--navy); background: var(--paper); transition: all 0.2s;
}
.nxa-cp-type-option input[type="radio"] { accent-color: var(--bronze); width: 16px; height: 16px; margin: 0; border: none; padding: 0; }
.nxa-cp-type-option:has(input:checked) { border-color: var(--bronze); background: white; box-shadow: 0 0 0 4px rgba(199,123,60,0.1); }
.nxa-cp-type-option span { word-break: break-word; }

.nxa-cp-fields { display: flex; flex-direction: column; gap: 16px; }
.nxa-cp-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nxa-cp-field { display: flex; flex-direction: column; gap: 5px; }
.nxa-cp-field label { font-size: 12px; font-weight: 700; color: var(--navy); letter-spacing: 0.3px; }
.nxa-cp-req { color: var(--bronze); margin-left: 2px; }
.nxa-cp-field input, .nxa-cp-field textarea {
    width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 4px;
    font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--navy);
    background: var(--paper); outline: none; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
    resize: vertical; box-sizing: border-box;
}
.nxa-cp-field input:focus, .nxa-cp-field textarea:focus { border-color: var(--bronze); background: white; box-shadow: 0 0 0 4px rgba(199,123,60,0.1); }
.nxa-cp-field input.error, .nxa-cp-field textarea.error { border-color: #E53E3E; box-shadow: 0 0 0 4px rgba(229,62,62,0.08); }
.nxa-cp-err { font-size: 11px; font-weight: 700; color: #E53E3E; display: none; }
.nxa-cp-err.visible { display: block; }
.nxa-cp-err-global { font-size: 13px; font-weight: 600; color: #E53E3E; display: none; padding: 10px 14px; background: rgba(229,62,62,0.08); border-radius: 4px; border-left: 3px solid #E53E3E; }
.nxa-cp-err-global.visible { display: block; }

.nxa-cp-submit {
    width: 100%; padding: 15px; background: var(--bronze); color: white; border: none;
    border-radius: 0; clip-path: polygon(16px 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 16px 100%, 0 50%);
    font-family: var(--font-body); font-size: 15px; font-weight: 800; cursor: pointer;
    transition: all 0.25s ease; margin-top: 4px;
}
.nxa-cp-submit:hover { background: var(--bronze-deep); filter: brightness(1.04); }
.nxa-cp-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.nxa-cp-success { display: none; padding: 60px 40px; text-align: center; }
.nxa-cp-success.active { display: block; }
.nxa-cp-success-icon {
    width: 72px; height: 72px; margin: 0 auto 24px; background: rgba(199,123,60,0.12);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    border: 2px solid rgba(199,123,60,0.3); color: var(--bronze);
}
.nxa-cp-success-icon svg { width: 36px; height: 36px; }
.nxa-cp-success h2 { font-family: var(--font-display); font-size: 28px; font-weight: 500; color: var(--navy); margin: 0 0 10px; letter-spacing: -0.01em; }
.nxa-cp-success p { font-size: 15px; color: var(--ink); font-weight: 600; line-height: 1.6; margin: 0; }
.nxa-cp-nom { color: var(--bronze); font-weight: 900; }

.nxa-cp-type-option img.wp-smiley, img.emoji { margin: 0 0.4em 0 0 !important; }


/* ============================================================
   15. RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
    .team-container, .history-container { flex-direction: column; gap: 32px; }
    .nexauto-benefits { grid-template-columns: repeat(2, 1fr); }
    .background .nexauto-benefits { grid-template-columns: repeat(2, 1fr); }
    .nxa-cp-wrapper { flex-direction: column; gap: 32px; }
    .nxa-cp-illus { align-items: center; text-align: center; width: 100%; gap: 0px; }
}

@media (max-width: 767px) {
    html, body { overflow-x: hidden; max-width: 100vw; }

    /* ── Header ── */
    .header-container {
        padding: 0 20px !important; height: 60px; top:10px;
        display: flex; justify-content: space-between; align-items: center;
		width: 100% !important;
    }
    .header-container.nxa-scrolled {
        height: 60px; padding: 0 20px !important;
		clip-path:none;
        max-width: none; top:0px; 
    margin: 0 auto 12px !important;
	border-top : none !important; border-left: none !important; border-right : none !important;
    }
    .header-container.nxa-scrolled .header-cta { display: none; }
    .logo-wrapper img { max-height: 38px; }
    .header-cta { display: none; }
    .nxa-auth-desktop { display: none; }

    .nxa-auth-mobile {
        display: flex; align-items: center; text-align: center;
        padding: 16px 0; color: var(--navy); width: 100%;
    }
    .nxa-auth-mobile a.login-btn, .nxa-auth-mobile a.logout-btn {
        padding: 14px 0; font-size: 16px; line-height: 1.55; width: 100%;
        justify-content: center; background: var(--steel); color: #fff !important;
        border: none; clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
    }
    .nav-cta {
        display: block; background: var(--bronze) !important; color: #fff !important;
        padding: 14px 20px; border-radius: 0;
        clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
        font-family: var(--font-body); font-weight: 900; text-align: center; margin: 14px 0 14px; line-height: 1.55;
    }

    .burger-btn { display: flex; z-index: 1001; margin : auto 0 auto 0; }
    .burger-btn span { background: var(--bronze); }

    .header-container.nxa-scrolled .burger-btn span,
    .header-container.nxa-onlight .burger-btn span { background: var(--bronze) !important; }

    .nav-menu {
        position: fixed; top: 0; right: 0; height: 100vh; width: 280px;
        background: var(--white); flex-direction: column; align-items: flex-start;
        gap: 0; padding: 90px 24px 24px; transform: translateX(100%);
        transition: transform 0.3s ease; box-shadow: -4px 0 30px rgba(11,31,58,0.15); z-index: 1000;
        margin-left: 0;
    }
    .nav-menu.active { transform: translateX(0); }
    .nav-menu a { padding: 14px 0; font-size: 17px; color: var(--navy); display: block; width: 100%; }
    .nav-menu a::after { display: none; }
	
	.header-container.nxa-scrolled .nav-menu a,
.header-container.nxa-onlight .nav-menu a {
	color: var(--navy);
}

    /* ── Bénéfices ── */
    .nexauto-benefits, .background .nexauto-benefits { grid-template-columns: 1fr; padding: 0 24px 40px; gap: 12px; }

    /* ── À propos ── */
    .team-container, .history-container { padding: 0 24px; margin: 48px auto; }
    .team-photo, .history-photo { max-width: 100%; aspect-ratio: 16/9; }
    .values-container { padding: 0 24px; margin: 48px auto; }
    .team-text h1 { font-size: 32px; }

    /* ── Connexion ── */
    .background { padding: 24px 16px; align-items: flex-start; padding-top: 40px; }
    .login-container { padding: 32px 24px; max-width: 100% !important; }
    .login-text h1 { font-size: 23px; }
    .login-cta { max-width: 100%; }
	a.login-btn, a.logout-btn { margin-right: 0px; }

    /* ── Espace client ── */
    .transactions-container { max-width: 100% !important; margin: 24px 0 !important; padding: 0 16px; }
    .nxa-card-header { padding: 16px 16px 14px; }
    .nxa-progress-body { padding: 0 16px 18px; }
    .nxa-deal-name { font-size: 15px; }
    .nxa-step-label { font-size: 12px; }

    /* ── Formulaire multi-étapes ── */
    .nxa-form-wrapper { padding: 16px 12px; }
    .nxa-form-wrapper .nxa-card-header { padding: 28px 24px 0; }
    .nxa-form-wrapper .nxa-progress { padding: 20px 24px 0; }
    .nxa-form-body { padding: 20px 24px 32px; }
    .nxa-form-wrapper .nxa-success { padding: 48px 24px; }
    .nxa-row { grid-template-columns: 1fr; }
    .nxa-btn { padding: 12px 24px; font-size: 13px; }

    /* ── SAV / contact ── */
    .nxa-cp-hero h1 { font-size: 30px; }
    .nxa-cp-hero p { font-size: 14px; }
    .nxa-cp-wrapper { padding: 0; }
    .nxa-cp-illus svg { max-width: 260px; }
    .nxa-cp-tagline h2 { font-size: 26px; }
    .nxa-cp-form-inner { padding: 28px 24px 32px; }
    .nxa-cp-row { grid-template-columns: 1fr; }
    .nxa-cp-success { padding: 48px 24px; }

    /* ── Footer ── */
    .footer-container { flex-direction: column; text-align: center; padding: 0 24px; gap: 16px; }
    .footer-nav { display: flex; flex-direction: column; align-items: center; gap: 8px; }
    .footer-nav a { margin-left: 0; }
    .footer-socials { justify-content: center; }
}

@media (max-width: 400px) {
    .nxa-btn { font-size: 11px; padding: 10px 16px; }
    .nxa-cp-type-selector { flex-direction: column; }
}



/* ---------- Boutons landing (maquette) ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--bronze); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15.5px; letter-spacing: 0.01em;
  padding: 16px 44px; border-radius: 0;
  clip-path: polygon(18px 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 18px 100%, 0 50%);
  transition: background .3s ease, transform .25s ease, filter .25s ease;
}
.btn-primary:hover { background: var(--bronze-deep); filter: brightness(1.04); transform: translateY(-1px); }
.btn-primary .arrow { transition: transform .25s; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 12px;
  background: transparent; color: #fff; text-decoration: none;
  font-weight: 700; font-size: 15.5px; padding: 17px 34px;
  border-radius: 100px; border: 1px solid rgba(221,168,106,0.55);
  transition: background .3s, color .3s, border-color .3s;
}
.btn-outline:hover { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.btn-outline .arrow { transition: transform .25s; }
.btn-outline:hover .arrow { transform: translateX(4px); }
.btn-ghost { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 16px 4px; border-bottom: 1px solid transparent; transition: border-color .25s; }
.btn-ghost:hover { border-color: var(--bronze-light); }

/* ============================================================
   ============================================================
   16. PAGE ACCUEIL (LANDING) — styles maquette art déco
   Classes spécifiques : .hero, .risks, .pillars, .journey,
   .metrics, .proof, .final-cta, .wrap, .eyebrow, .fan-pattern
   ============================================================
   ============================================================ */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.fan-pattern {
  position: relative; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='60' viewBox='0 0 120 60'%3E%3Cg fill='none' stroke='%23C77B3C' stroke-width='1'%3E%3Cpath d='M0 60 A60 60 0 0 1 120 60'/%3E%3Cpath d='M15 60 A45 45 0 0 1 105 60'/%3E%3Cpath d='M30 60 A30 30 0 0 1 90 60'/%3E%3Cpath d='M45 60 A15 15 0 0 1 75 60'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 60px; opacity: 0.05;
}
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--bronze); }
.eyebrow::before { content: ''; width: 30px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow.center { justify-content: center; text-align:center; }
.eyebrow.center::after { content: ''; width: 30px; height: 1px; background: currentColor; opacity: 0.7; }

.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; padding: 15dvh 0 0; }
.hero-copy {min-height: 60dvh;}
.hero .fan-pattern { opacity: 0.1; position:absolute; }
.hero-grid { position: relative; z-index: 3; align-items: stretch; min-height: 490px; }
.hero-eyebrow { color: var(--bronze-light); }
.hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 5.6vw, 55px); line-height: 1.04; letter-spacing: -0.015em; margin: 10dvh 0; text-align : center;}
.hero h1 .accent { color: var(--bronze-light); font-style: italic; font-weight: 400; }
.hero-lede { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.8); margin-bottom: 58px; font-weight: 500; text-align : center;}
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding-bottom: 120px; justify-content:center;}

.hero-visual { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; }

/* La voiture "arrive" par le bas : image ancrée au bas du hero, collée au bord. */
.hero-photo {
  position: relative;
  right: auto; bottom: auto;
  width: 100%; 
  display: flex; justify-content: center; align-items: flex-end;
  pointer-events: none;
}

.hero-photo img {
  position: relative; z-index: 1;
  height: auto; display: block; width:100%;
  filter: drop-shadow(0 -10px 40px rgba(0,0,0,0.4));
}

/* ---------- THÈSE ---------- */
.thesis { background: var(--paper-warm); padding: 86px 0; text-align: center; position: relative; overflow: hidden; }
.thesis .fan-pattern { opacity: 0.04; position: absolute; }
.thesis .wrap { max-width: 880px; position: relative; z-index: 2; }
.thesis .eyebrow { margin-bottom: 26px; }
.thesis p.line-through { font-family: var(--font-display); font-size: clamp(22px, 2.8vw, 32px); color: var(--ink); font-weight: 400; margin: 0 0 6px; }
.thesis p.line-through s { text-decoration-color: var(--bronze); text-decoration-thickness: 2px; opacity: 0.65; }
.thesis p.reveal-line { font-family: var(--font-display); font-size: clamp(30px, 4.4vw, 50px); color: var(--navy); font-weight: 500; line-height: 1.14; margin: 14px 0 0; }
.thesis p.reveal-line em { color: var(--bronze); font-style: italic; }

/* ---------- 4 RISQUES ---------- */
.risks { background: var(--navy); color: #fff; padding: 75px 0; position: relative; overflow: hidden; }
.risks .fan-pattern { opacity: 0.05; background-position: center; position: absolute; }
.risks .wrap { position: relative; z-index: 2; }
.risks-head { text-align: center; margin-bottom: 26px; }
.risks-head .eyebrow { color: var(--bronze-light); margin-bottom: 22px; }
.risks-head h2 { font-family: var(--font-display); font-size: clamp(30px, 4.6vw, 50px); font-weight: 500; line-height: 1.08; max-width: 820px; margin: 0 auto; }
.risks-head h2 em { color: var(--bronze-light); font-style: italic; }
.risks-sub { text-align: center; max-width: 800px; margin: 0 auto 62px; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.7); font-weight: 500; }

.risks-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.risk-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-md); padding: 34px 28px 32px; transition: transform .3s, background .3s, border-color .3s; }
.risk-card:hover { transform: translateY(-6px); background: rgba(199,123,60,0.08); border-color: rgba(199,123,60,0.4); }
.risk-card .rn { font-size: 12px; font-weight: 800; letter-spacing: 0.18em; color: var(--bronze-light); margin-bottom: 20px; }
.risk-card .ricon { width: 54px; height: 54px; margin-bottom: 22px; border-radius: 50%; background: rgba(90,140,168,0.16); display: grid; place-items: center; color: var(--steel-light); }
.risk-card .ricon svg { width: 28px; height: 28px; }
.risk-card h3 { font-family: var(--font-display); font-size: 23px; font-weight: 500; margin-bottom: 14px; line-height: 1.12; }
.risk-card p { font-size: 14px; color: rgba(255,255,255,0.74); font-weight: 500; line-height: 1.6; margin: 0 0 14px; }
.risk-card .rtag { display: inline-block; font-size: 12px; font-weight: 700; color: var(--bronze-light); border-top: 1px solid rgba(221,168,106,0.25); padding-top: 12px; }

/* ---------- TABLEAU RÉCAP ---------- */
.risks-table { margin-top: 62px; }
.risks-table-title { text-align: center; font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); font-weight: 500; margin-bottom: 34px; }
.rt { width: 100%; border-collapse: separate; border-spacing: 0; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--r-md); overflow: hidden; }
.rt th, .rt td { padding: 20px 24px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(255,255,255,0.08); }
.rt tr:last-child th, .rt tr:last-child td { border-bottom: none; }
.rt thead th { font-family: var(--font-display); font-size: 19px; font-weight: 500; letter-spacing: 0; background: rgba(255,255,255,0.05); }
.rt thead th:first-child { width: 22%; font-size: 12px; font-family: inherit; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.45); }
.rt thead th.col-without { color: rgba(255,255,255,0.6); }
.rt thead th.col-with { color: var(--bronze-light); background: rgba(199,123,60,0.1); border-left: 1px solid rgba(199,123,60,0.25); }
.rt tbody th { font-size: 14px; font-weight: 800; color: #fff; }
.rt td { font-size: 14px; font-weight: 500; line-height: 1.6; color: rgba(255,255,255,0.7); }
.rt td.col-with { color: rgba(255,255,255,0.9); background: rgba(199,123,60,0.05); border-left: 1px solid rgba(199,123,60,0.25); }
.rt td .ic { display: inline-block; width: 16px; margin-right: 8px; font-weight: 800; }
.rt td.col-without .ic { color: #C4676B; }
.rt td.col-with .ic { color: var(--bronze-light); }
.rt tbody tr:hover td { background: rgba(255,255,255,0.02); }
.rt tbody tr:hover td.col-with { background: rgba(199,123,60,0.09); }
.rt tfoot td, .rt tfoot th { background: rgba(255,255,255,0.05); font-weight: 800; font-size: 15px; color: #fff; }
.rt tfoot td.col-with { background: rgba(199,123,60,0.14); color: var(--bronze-light); font-family: var(--font-display); font-size: 20px; font-weight: 500; }

@media (max-width: 860px) {
  .rt, .rt thead, .rt tbody, .rt tfoot, .rt tr, .rt th, .rt td { display: block; width: 100%; }
  .rt { background: transparent; border: none; border-radius: 0; overflow: visible; }
  .rt thead { display: none; }

  .rt tbody tr {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--r-md);
    overflow: hidden;
    margin-bottom: 14px;
  }
  .rt tbody tr:last-child { margin-bottom: 0; }

  .rt tbody th {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    padding: 14px 16px 10px;
    background: transparent;
  }

  .rt td {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 16px;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: none;
    border-left: none !important;
  }
  .rt td::before { content: none; }
  .rt td .ic { flex-shrink: 0; margin-right: 0; }

  .rt td.col-without { color: rgba(255,255,255,0.55); background: transparent; }
  .rt td.col-with {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    background: rgba(199,123,60,0.1);
    border-left: 3px solid var(--bronze) !important;
    padding: 10px 16px 14px;
  }

  .rt tfoot tr {
    background: rgba(199,123,60,0.14);
    border: 1px solid rgba(199,123,60,0.35);
    border-radius: var(--r-md);
    padding: 16px;
    text-align: center;
  }
  .rt tfoot th,
  .rt tfoot td.col-without { display: none; }
  .rt tfoot td.col-with {
    display: block;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 15px;
    color: var(--bronze-light);
    background: transparent;
    border: none !important;
    padding: 0;
  }

	.rt tfoot { margin-top : 14px ; }
}

/* ---------- ACCOMPAGNEMENT ---------- */
.pillars { padding: 75px 0 62px; background: var(--paper); }
.pillars-head { max-width: 800px; margin-bottom: 62px; }
.pillars-head .eyebrow { margin-bottom: 22px; }
.pillars-head h2 { margin : 0 auto; font-family: var(--font-display); font-size: clamp(32px, 4.2vw, 50px); font-weight: 500; color: var(--navy); line-height: 1.08; }
.pillars-head p { font-size: 17px; color: var(--ink); line-height: 1.7; margin: 26px 0 0; font-weight: 500; max-width: 680px; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 34px 38px; transition: transform .3s, box-shadow .3s; }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar .pillar-top { display: flex; align-items: center; justify-content: space-between; margin: 0 -6px 18px; padding-top: 26px; }
.pillar .pnum { font-family: var(--font-display); font-size: 34px; font-weight: 600; color: var(--bronze); line-height: 1; }
.pillar .pmark { height: 30px; width: auto; opacity: 0.95; object-fit: contain; }
.pillar h3 { font-family: var(--font-display); font-size: 26px; font-weight: 500; color: var(--navy); margin-bottom: 14px; }
.pillar p { font-size: 15px; color: var(--ink); line-height: 1.7; font-weight: 500; margin: 0; }

/* ---------- PARCOURS (détaillé) ---------- */
.journey { padding: 104px 0; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.journey .fan-pattern { opacity: 0.05; position: absolute; }
.journey .wrap { position: relative; z-index: 2; }
.journey-head { text-align: center; margin-bottom: 64px; }
.journey-head .eyebrow { color: var(--bronze-light); margin-bottom: 22px; }
.journey-head h2 { font-family: var(--font-display); font-size: clamp(32px,4.4vw,52px); font-weight: 500; }
.journey-head p { max-width: 580px; margin: 18px auto 0; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.7); font-weight: 500; }

.journey-list { display: flex; flex-direction: column; gap: 0; max-width: 920px; margin: 0 auto; }
.jrow { display: grid; grid-template-columns: 84px 1fr; gap: 28px; padding: 32px 0; border-top: 1px solid rgba(255,255,255,0.12); align-items: start; }
.jrow:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.jnum { position: relative; width: 56px; height: 56px; }
.jnum span { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--bronze-light); border: 1px solid var(--bronze-light); border-radius: 50%; }
.jbody h4 { font-family: var(--font-display); font-size: 25px; font-weight: 500; margin-bottom: 12px; }
.jbody p { font-size: 15px; color: rgba(255,255,255,0.74); line-height: 1.75; font-weight: 500; margin: 0; max-width: 720px; }
.jbody .jmeta { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--bronze-light); letter-spacing: 0.02em; }

/* ---------- CHIFFRES (section forte) ---------- */
.metrics { padding: 104px 0; background: var(--paper-warm); position: relative; overflow: hidden; }
.metrics .fan-pattern { opacity: 0.04; position: absolute; }
.metrics .wrap { position: relative; z-index: 2; }
.metrics-head { text-align: center; margin-bottom: 60px; }
.metrics-head .eyebrow { margin-bottom: 22px; }
.metrics-head h2 { font-family: var(--font-display); font-size: clamp(32px,4.2vw,50px); font-weight: 500; color: var(--navy); line-height: 1.08; max-width: 720px; margin: 0 auto; }

.metrics-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
/* la première carte = la plus forte, sur 2 colonnes */
.metric { background: #fff; border-left: 4px solid var(--steel); border-right: 4px solid var(--steel); border-radius: 4px; padding: 40px 38px; position: relative; overflow: hidden; }
.metric.feature { grid-column: span 2; display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; background: var(--navy); color: #fff; border: none; border-radius: 4px; }
.metric.feature .fan-pattern { opacity: 0.06; position: absolute; }
.metric.feature::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--bronze); z-index: 3; }
.metric.feature::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 4px; background: var(--bronze); z-index: 3; }
.metric .mnum { font-family: var(--font-display); font-weight: 600; line-height: 0.95; letter-spacing: -0.02em; }
.metric .mnum { font-size: 64px; color: var(--bronze); }
.metric.feature .mnum { font-size: 92px; color: var(--bronze-light); position: relative; z-index: 2; }
.metric .mlabel { font-size: 16px; font-weight: 700; color: var(--navy); margin-top: 8px; line-height: 1.35; }
.metric.feature .mlabel { color: #fff; font-size: 20px; position: relative; z-index: 2; }
.metric .mdesc { font-size: 14px; color: var(--ink); line-height: 1.65; margin-top: 12px; font-weight: 500; }
.metric.feature .mdesc { color: rgba(255,255,255,0.78); font-size: 15px; max-width: 520px; }

/* ---------- AVIS (nuage anonyme) ---------- */
.proof { padding: 75px 0; background: var(--paper); position: relative; overflow: hidden; }
.proof-head { text-align: center; margin-bottom: 16px; }
.proof-head .eyebrow { margin-bottom: 22px; }
.proof-head h2 { font-family: var(--font-display); font-size: clamp(32px,4.2vw,50px); font-weight: 500; color: var(--navy); margin: 0 auto; }
.proof-head p { max-width: 620px; margin: 18px auto 0; font-size: 17px; line-height: 1.7; color: var(--ink); font-weight: 500; }

.proof-rating { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 30px 0 62px; }
.proof-rating .big { font-family: var(--font-display); font-size: 44px; font-weight: 600; color: var(--navy); line-height: 1; }
.proof-rating .stars { color: var(--bronze); letter-spacing: 3px; font-size: 18px; }
.proof-rating .count { font-size: 14px; color: var(--ink); font-weight: 600; }

/* nuage : colonnes masonry simples */
.cloud { columns: 3; column-gap: 20px; }
.bubble {
  break-inside: avoid; margin-bottom: 20px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 22px 24px; position: relative;
}
.bubble .stars { color: var(--bronze); letter-spacing: 2px; font-size: 13px; margin-bottom: 10px; }
.bubble p { font-family: var(--font-display); font-style: italic; font-size: 16.5px; line-height: 1.5; color: var(--ink-dark); margin: 0 0 14px; font-weight: 400; }
.bubble.lg p { font-size: 19px; }
.bubble .vmark { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; color: var(--steel); letter-spacing: 0.02em; }
.bubble .vmark svg { width: 13px; height: 13px; }

/* ---------- CTA FINAL ---------- */
.final-cta { background: var(--navy); color: #fff; padding: 112px 0; position: relative; overflow: hidden; text-align: center; }
.final-cta .fan-pattern { opacity: 0.06; position: absolute;}
.final-cta .hero-glow { top: -30%; left: 50%; right: auto; transform: translateX(-50%); width: 90%; }
.final-cta .wrap { position: relative; z-index: 3; max-width: 740px; }
.final-cta .cta-logo { display: flex; justify-content: center; margin-bottom: 30px; }
.final-cta .cta-logo .logo-img { height: 40px; width: auto; }
.final-cta .eyebrow { color: var(--bronze-light); margin-bottom: 26px; }
.final-cta h2 { font-family: var(--font-display); font-size: clamp(36px, 5vw, 60px); font-weight: 500; line-height: 1.06; margin-bottom: 22px; }
.final-cta h2 em { color: var(--bronze-light); font-style: italic; }
.final-cta p { font-size: 18px; color: rgba(255,255,255,0.82); line-height: 1.65; max-width: 540px; margin: 0 auto 40px; font-weight: 500; }
.final-cta .btn-primary { font-size: 16.5px; padding: 19px 42px; }
.final-cta .reassure { margin-top: 22px; font-size: 13.5px; color: rgba(255,255,255,0.6); font-weight: 600; }
.final-cta .photo-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    background-image: url('https://nexauto.fr/wp-content/uploads/2026/07/taycan-2.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    mix-blend-mode: luminosity; /* ou 'overlay' selon le rendu voulu */
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
            mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 70%);
    pointer-events: none;
    z-index: 0;
}

/* ---------- FOOTER ---------- */


/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; align-items: start; padding-bottom: 0; min-height: 0; }
  .hero-visual { max-width: 100%; align-self: stretch; min-height: 320px; }
  .hero-photo { position: relative; right: auto; bottom: auto; margin: 0 auto; max-width: 400px; }
  .hero-photo img { width: 100%; }
	.hero-actions { padding-bottom : 30px; }
  .risks-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .metric.feature { grid-column: span 1; grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .cloud { columns: 2; }
  .proof-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .wrap { padding: 0 22px; }
  .header-inner { padding: 0 22px; }
  .site-header.scrolled { padding: 10px 16px; }
  .main-nav, .header-cta { display: none; }
  .burger { display: flex; }
  .risks-grid { grid-template-columns: 1fr; }
  .jrow { grid-template-columns: 1fr; gap: 12px; }
  .jnum::after { display: none; }
  .cloud { columns: 1; }
  .hero-trust { gap: 26px; }
  .footer-top { flex-direction: column; }
  .metric.feature .mnum { font-size: 70px; color: var(--bronze-light); position: relative; z-index: 2; }
	
   *, *::before, *::after { box-sizing: none !important;}
  .logo-mini-badge { clip-path : none !important; }
}


/* ---------- SECTION PARTENAIRES (bandeau défilant) ---------- */
.partners {
    background: var(--paper);
    padding: 0 50px 70px;
    position: relative;
    overflow: hidden;
}
.partners .fan-pattern { opacity: 0.035; position: absolute;}
.partners .wrap { position: relative; z-index: 2; }
.partners-head { text-align: center; margin-bottom: 40px; }
.partners-head .eyebrow { margin-bottom: 18px; }
.partners-head h2 {
    font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 500; color: var(--navy); line-height: 1.1; margin : 0 auto;
}
.partners-head p {
    max-width: 560px; margin: 16px auto 0; font-size: 16px;
    color: var(--ink); font-weight: 500; line-height: 1.6;
}
.logo-slider {
    width: 100%; overflow: hidden; padding: 10px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.logo-track {
    display: flex; width: max-content; align-items: center; gap: 64px;
    animation: nxa-scroll 32s linear infinite;
}
.logo-group { display: flex; align-items: center; gap: 64px; }
.logo-track img {
    height: 42px; width: auto; display: block; flex-shrink: 0;
    opacity: 0.55; filter: grayscale(100%);
    transition: opacity 0.3s, filter 0.3s;
}
.logo-track img:hover { opacity: 1; filter: grayscale(0%); }
.logo-slider:hover .logo-track { animation-play-state: paused; }
@keyframes nxa-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

@media (max-width: 767px) {
    .partners { padding: 50px 0; }
    .logo-track, .logo-group { gap: 44px; }
    .logo-track img { height: 34px; }
}

/* ============================================================
   SECTION IMPACT — fusion thèse + chiffres (crème + steel)
   ============================================================ */
.impact { background: var(--paper); padding: 75px 0; position: relative; overflow: hidden; }
.impact .fan-pattern { opacity: 0.05; position: absolute;}
.impact .wrap { position: relative; z-index: 2; }
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }

/* Gauche : chiffres */
.impact-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.istat {
    background: #fff;
    border: 1px solid rgba(11,31,58,0.08);
    border-left: 4px solid var(--steel);
    border-right: 4px solid var(--steel);
    border-radius: 4px; padding: 24px; box-shadow: var(--shadow-sm);
}
.istat.feature {
    grid-column: span 3;
    background: var(--navy);
    border-left: 4px solid var(--bronze);
    border-right: 4px solid var(--bronze);
    border-top-color: transparent; border-bottom-color: transparent;
    display: flex; align-items: center; gap: 24px;
}
.istat .n { font-family: var(--font-display); font-weight: 600; line-height: 0.95; color: var(--bronze); letter-spacing: -0.02em; font-size: 36px; }
.istat.feature .n { font-size: 56px; flex-shrink: 0; color: var(--bronze-light); }
.istat .l { font-size: 13.5px; font-weight: 700; color: var(--navy); margin-top: 8px; line-height: 1.3; }
.istat.feature .l { font-size: 15px; margin-top: 0; color: #fff; }
.istat.feature .d { font-size: 13px; color: rgba(255,255,255,0.72); margin-top: 8px; line-height: 1.55; font-weight: 500; }
.istat.feature .feat-txt { flex: 1; }

/* Droite : accroche + promesse + CTA */
.impact-copy .eyebrow { margin-bottom: 22px; }
.impact-quote { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 3.4vw, 36px); line-height: 1.14; margin: 0; color: var(--navy); }
.impact-quote .strike { color: var(--ink); text-decoration: line-through; text-decoration-color: var(--bronze); text-decoration-thickness: 2px; opacity: 0.7; }
.impact-quote em { color: var(--bronze); font-style: italic; }
.impact-promise {
    display: flex; gap: 14px; align-items: flex-start; margin: 30px 0;
    padding: 22px 24px; background: var(--steel-dark);
    border-radius: 6px; box-shadow: var(--shadow-md);
}
.impact-promise .ico { flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.5); display: grid; place-items: center; color: #fff; }
.impact-promise .ico svg { width: 19px; height: 19px; }
.impact-promise p { margin: 0; font-size: 15.5px; font-weight: 600; line-height: 1.55; color: #fff; }
.impact-promise strong { color: #fff; font-weight: 800; border-bottom: 2px solid rgba(255,255,255,0.5); }

@media (max-width: 980px) {
    .impact-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 600px) {
    .impact-stats { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
    .istat.feature { grid-column: span 3; flex-direction: column; align-items: flex-start; gap: 8px; text-align:left !important; padding: 22px 16px; margin-bottom:18px; }
    .istat.feature .n { font-size: 36px; }
	.istat { background : none; border : none; box-shadow : none; padding: 2px; text-align:center; }
	.impact { padding : 50px 0; }
	.impact-promise {margin-bottom : 0;}
}

.logo-wrapper > a { display: flex; align-items: center; height: 100%; }
.logo-full { max-height: 46px; width: auto; display: block; }

/* Badge mini : caché au repos */
.logo-mini-badge {
    display: none;
    align-items: center;
    justify-content: center;
    background: var(--bronze);
    height: 100%;
    margin-right: 28px;
    padding: 0 40px 0 35px;
    /* épouse la pointe gauche du header + encoche à droite */
    clip-path: polygon(22px 0, 100% 0, calc(100% - 22px) 50%, 100% 100%, 22px 100%, 0 50%);
}
.logo-mini-badge img { height: 32px; width: auto; display: block; }

.header-container.nxa-onlight .logo-full { filter: none; }

/* Scrollé : on masque le complet, on colle le badge mini à la pointe gauche */
.header-container.nxa-scrolled { padding: 0; }   /* le badge touche la pointe */
.header-container.nxa-scrolled .logo-wrapper { padding-left: 0; height: 100%; }
.header-container.nxa-scrolled .logo-full { display: none; }
.header-container.nxa-scrolled .logo-mini-badge { display: flex; }

.logo-mini-badge img {
    height: 32px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);   /* logo mini en blanc */
}

/* ====================================================
   SECTION ESPACE CLIENT
   ==================================================== */

.account{padding:0 0 75px;position:relative;overflow:hidden;background:var(--paper);}
.account .wrap{position:relative;z-index:2;display:grid;grid-template-columns:0.85fr 1.15fr;gap:60px;align-items:center;}

.account-copy .eyebrow{margin-bottom:22px;}
.account-copy h2{font-family:var(--font-display);font-weight:500;font-size:clamp(30px,3.8vw,46px);color:var(--navy);line-height:1.1;margin:0 0 20px;}
.account-copy h2 em{color:var(--bronze);font-style:italic;}
.account-copy .lead{font-size:17px;line-height:1.7;color:var(--ink-dark);font-weight:500;margin:0 0 26px;}
.account-features{list-style:none;margin:0 0 30px;padding:0;display:flex;flex-direction:column;gap:14px;}
.account-features li{display:flex;align-items:flex-start;gap:13px;font-size:15px;font-weight:600;color:var(--navy);line-height:1.4;}
.account-features .fic{flex-shrink:0;width:26px;height:26px;border-radius:50%;background:var(--steel-dark);display:grid;place-items:center;color:#fff;margin-top:1px;}
.account-features .fic svg{width:14px;height:14px;}

/* fenêtre navigateur qui contient le bloc réel */
.account-window{background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow-lg);overflow:hidden;}
.account-window-bar{display:flex;align-items:center;gap:7px;padding:12px 16px;background:var(--navy);}
.account-window-bar .dot{width:11px;height:11px;border-radius:50%;}
.account-window-bar .dot.r{background:#ED6A5E;}.account-window-bar .dot.y{background:#F4BF4F;}.account-window-bar .dot.g{background:#61C554;}
.account-window-bar .url{margin-left:12px;font-size:12px;font-weight:600;color:rgba(255,255,255,0.6);background:rgba(255,255,255,0.08);padding:4px 12px;border-radius:100px;}
.account-window-inner{padding:22px;background:var(--paper);}

/* ---- bloc transaction (repris de l'espace client) ---- */

@media (max-width:920px){
  .account .wrap{grid-template-columns:1fr;gap:40px;}
  .account-copy{order:-1;}
}

/* ====================================================
   SECTION FAQ — nexauto-faq-template.php
   ==================================================== */

.faq{padding:75px 0;position:relative;overflow:hidden;}
.faq.grad{background:var(--steel-dark);}
.grad .fan-pattern {opacity:0.22; position: absolute;}
.faq.solid{background:var(--steel-dark);}
.faq .wrap{position:relative;z-index:2;}
.faq-head{text-align:center;margin-bottom:38px;}
.faq-head .eyebrow{margin-bottom:18px;}
.faq-head h2{font-family:var(--font-display);font-weight:500;font-size:38px;color:#fff;line-height:1.1;margin:0;}

.faq-list{display:flex;flex-direction:column;gap:14px;}
.faq-item{background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.14);border-left:4px solid rgba(255,255,255,0.35);border-right:4px solid rgba(255,255,255,0.35);border-radius:6px;overflow:hidden;transition:border-color .25s,background .25s;backdrop-filter:blur(4px);}
.faq-item.open{border-left-color:var(--bronze);border-right-color:var(--bronze);background:rgba(255,255,255,0.1);}
.faq-q{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 26px;cursor:pointer;user-select:none;font-family:var(--font-display);font-weight:500;font-size:18px;color:#fff;line-height:1.35;margin:0;}

.faq-toggle{flex-shrink:0;width:34px;height:34px;display:flex;align-items:center;justify-content:center;position:relative;
  background:var(--steel);
  clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);transition:background .25s,border-color .25s;}
.faq-item.open .faq-toggle{background:var(--bronze);border-color:var(--bronze-light);}
.faq-toggle svg{transition:transform .35s cubic-bezier(.4,0,.2,1);width:14px;height:14px;}
.faq-item.open .faq-toggle svg{transform:rotate(135deg);}
.faq-toggle svg path{stroke:#fff;stroke-width:2;stroke-linecap:round;}

.faq-a{max-height:0;overflow:hidden;transition:max-height .35s ease;}
.faq-item.open .faq-a{max-height:320px;}
.faq-a-inner{padding:0 26px 24px;font-size:15px;line-height:1.7;color:rgba(255,255,255,0.82);font-weight:500;}
.faq-a-inner strong{color:var(--bronze-light);font-weight:700;}

/* ====================================================
   SECTION PROCESS TIMELINE — nexauto-process-timeline-template.php
   ==================================================== */

.process{padding:75px 0;position:relative;overflow:hidden;background:var(--navy);}
.process .fan-pattern { opacity : 0.1; position : absolute; }
.process .wrap{position:relative;z-index:2;}
.process-head{text-align:center;margin-bottom:62px;}
.process-head .eyebrow{margin-bottom:20px;}
.process-head h2{font-family:var(--font-display);font-weight:500;font-size:clamp(30px,3.8vw,46px);color:#fff;line-height:1.1;margin:0 0 14px;}
.process-head p{font-size:17px;color:rgba(255,255,255,0.78);font-weight:500;line-height:1.6;margin:0 auto;max-width:740px;}

/* ===== TIMELINE ===== */
.timeline{position:relative;padding:20px 0;}
.timeline::before{content:'';position:absolute;top:0;bottom:0;left:50%;transform:translateX(-50%);width:2px;background:linear-gradient(to bottom,transparent,var(--bronze) 8%,var(--bronze) 92%,transparent);}
.timeline-progress{position:absolute;top:0;left:50%;transform:translateX(-50%);width:3px;background:linear-gradient(to bottom,var(--bronze-light),var(--bronze));height:0;transition:height .1s linear;box-shadow:0 0 12px rgba(199,123,60,0.6);z-index:1;}

.tl-row{position:relative;display:grid;grid-template-columns:1fr 70px 1fr;align-items:center;}
.tl-row:last-child{margin-bottom:0;}

.tl-node{grid-column:2;justify-self:center;position:relative;z-index:3;width:52px;height:52px;display:flex;align-items:center;justify-content:center;
  background:var(--navy);border:2px solid var(--bronze);
  clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);
  transition:background .4s,border-color .4s,transform .4s; 
    grid-row:1;}
.tl-node span{font-family:var(--font-display);font-weight:600;font-size:19px;color:var(--bronze-light);transition:color .4s;}
.tl-row.active .tl-node{background:var(--bronze);border-color:var(--bronze-light);transform:scale(1.08);}
.tl-row.active .tl-node span{color:#fff;}

.tl-card{background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.14);border-radius:6px;padding:22px 26px;backdrop-filter:blur(4px);
  opacity:0;transform:translateY(20px);transition:opacity .6s cubic-bezier(.2,.65,.3,1),transform .6s cubic-bezier(.2,.65,.3,1),border-color .3s;
    grid-row:1;}
.tl-row.active .tl-card{opacity:1;transform:none;}
.tl-row:nth-child(odd) .tl-card{grid-column:1;border-right:4px solid rgba(199,123,60,0.6);text-align:right;}
.tl-row:nth-child(even) .tl-card{grid-column:3;border-left:4px solid rgba(199,123,60,0.6);text-align:left;}
.tl-row:nth-child(odd) .tl-card{transform:translateY(20px) translateX(10px);}
.tl-row:nth-child(even) .tl-card{transform:translateY(20px) translateX(-10px);}
.tl-row.active .tl-card{transform:none;}

.tl-card h3{font-family:var(--font-display);font-weight:500;font-size:20px;color:#fff;margin:0 0 8px;line-height:1.2;}
.tl-card .step-label{display:inline-block;font-size:11px;font-weight:800;letter-spacing:0.08em;text-transform:uppercase;color:var(--bronze-light);margin-bottom:8px;}
.tl-card p{font-size:14px;line-height:1.65;color:rgba(255,255,255,0.8);font-weight:500;margin:0;}
.tl-card .tl-meta{margin-top:12px;font-size:12px;font-weight:700;color:var(--bronze-light);}

@media (max-width:760px){
  .timeline::before,.timeline-progress{left:26px;}
  .tl-row{grid-template-columns:52px 1fr;gap:0;margin-bottom:26px;}
  .tl-node{grid-column:1;justify-self:center;}
  .tl-row:nth-child(odd) .tl-card,.tl-row:nth-child(even) .tl-card{grid-column:2;text-align:left;border-left:4px solid rgba(199,123,60,0.6);border-right:1px solid rgba(255,255,255,0.14);margin-left:18px;transform:translateY(20px);}
  .tl-row.active .tl-card{transform:none;}
}

/* ==================================
   NEXAUTO SECTION SCROLLER
================================== */

.nxa-scroller{
    position:fixed;
    right:35px;
    top:50%;
    transform:translateY(-50%);
    z-index:1000;
    display:flex;
    flex-direction:column;
    gap:22px;
    opacity:0;
    pointer-events:none;
    transition:opacity .4s ease;
}

.nxa-scroller.nxa-scroller-visible{
    opacity:1;
    pointer-events:auto;
}

.nxa-scroller-link{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:15px;
    text-decoration:none;
}

.nxa-scroller-label{
    font-size:13px;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:#d8d0c4;
    opacity:0;
    transform:translateX(10px);
    transition:opacity .3s ease,transform .3s ease;
}

.nxa-scroller-link:hover .nxa-scroller-label,
.nxa-scroller-link.nxa-scroller-active .nxa-scroller-label{
    opacity:1;
    transform:translateX(0);
}

.nxa-scroller-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#8c8c8c;
    border:1px solid rgba(176,141,87,.5);
    z-index:2;
    transition:width .3s ease,height .3s ease,background .3s ease,box-shadow .3s ease;
}

.nxa-scroller-link.nxa-scroller-active .nxa-scroller-dot{
    width:14px;
    height:14px;
    background:#B08D57;
    box-shadow:0 0 15px rgba(176,141,87,.6);
}

@media(max-width:991px){
    .nxa-scroller{
        display:none;
    }
}

/* ============================================================
   16. PAGE MENTIONS LÉGALES (.nxa-legal-*)
   ============================================================ */

.nxa-legal-hero {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: 190px 20px 50px;
    position: relative;
    z-index: 2;
}
.nxa-legal-hero .nxa-eyebrow { justify-content: center; margin-bottom: 20px; }
.nxa-legal-hero h1 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(32px, 4vw, 46px);
    color: var(--navy);
    line-height: 1.1;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}
.nxa-legal-hero p {
    font-size: 16px;
    color: var(--ink);
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

.nxa-legal {
    padding: 0 20px 100px;
    position: relative;
}

.nxa-legal-card {
    max-width: 820px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 3px solid var(--bronze);
    border-radius: var(--r-sm);
    box-shadow: var(--shadow-md);
    padding: 52px 60px;
}

.nxa-legal-card h2 {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 22px;
    color: var(--navy);
    letter-spacing: -0.01em;
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.nxa-legal-card h2::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--bronze);
    flex-shrink: 0;
}

.nxa-legal-card p {
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--ink-dark);
    font-weight: 500;
    margin: 0 0 12px;
}
.nxa-legal-card p:last-child { margin-bottom: 0; }
.nxa-legal-card a { color: var(--bronze-deep); font-weight: 700; text-decoration: none; }
.nxa-legal-card a:hover { text-decoration: underline; }

/* bloc identité (SIRET, RCS, adresse...) : encadré discret */
.nxa-identity {
    background: var(--paper);
    border-left: 3px solid var(--bronze);
    border-radius: var(--r-sm);
    padding: 18px 22px;
    margin: 0 0 18px;
}
.nxa-identity p { margin: 0 0 4px; font-size: 14px; }
.nxa-identity p:last-child { margin-bottom: 0; }
.nxa-identity p strong { color: var(--navy); }

.nxa-legal-card ul {
    margin: 0 0 14px;
    padding: 0 0 0 4px;
    list-style: none;
}
.nxa-legal-card ul li {
    position: relative;
    padding-left: 20px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--ink-dark);
    font-weight: 500;
    margin-bottom: 6px;
}
.nxa-legal-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    background: var(--bronze);
    border-radius: 1px;
    transform: rotate(45deg);
}

.nxa-sep {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-line) 20%, var(--gold-line) 80%, transparent);
    margin: 34px 0;
}

@media (max-width: 767px) {
    .nxa-legal-hero { padding: 150px 20px 40px; }
    .nxa-legal-card { padding: 34px 24px; }
    .nxa-legal-card h2 { font-size: 19px; }
}

.cta-prefill {
    display: flex;
    gap: 12px;
    justify-content: left;
    flex-wrap: wrap;
    margin: 24px 0;
}
.cta-model-input,
.cta-budget-input {
    background: rgba(242, 241, 237, 0.2);
    border: 1px solid rgba(242, 241, 237, 0.45);
    border-radius: 4px;
    color: var(--cream);
    padding: 12px 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    flex: 1 1 240px;
    max-width: 510px;
    transition: border-color 0.2s, background 0.2s;
}
.cta-model-input::placeholder,
.cta-budget-input::placeholder {
    color: rgba(242, 241, 237, 0.65);
}
.cta-model-input:focus,
.cta-budget-input:focus {
    outline: none;
    border-color: var(--bronze);
    background: rgba(242, 241, 237, 0.22);
}
/* garde-fou si jamais un input type=number réapparaît ailleurs */
.cta-model-input[type="number"],
.cta-budget-input[type="number"] {
    -moz-appearance: textfield;
}
.cta-model-input[type="number"]::-webkit-outer-spin-button,
.cta-model-input[type="number"]::-webkit-inner-spin-button,
.cta-budget-input[type="number"]::-webkit-outer-spin-button,
.cta-budget-input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.nxa-cta-group a { margin : 0 5px; }

.nxa-cta-group { display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px; }

/* style.css du thème enfant */
.nexauto-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 12px 64px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateY(100%);
  transition: transform .3s ease;
  display: none; /* masqué desktop */
}

.nexauto-sticky-cta.is-visible {
  transform: translateY(0);
}

.nexauto-sticky-cta a {
  display: block;
  background: var(--bronze) !important;
  color: #fff !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  border-radius: 0 !important;
  clip-path: polygon(14px 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 14px 100%, 0 50%);
  padding: 12px 32px !important;
  transition: background .25s, filter .25s !important;
  text-decoration : none;
  word-break: break-word;
  text-align: center;
  align-items: center;
}

.nexauto-sticky-cta a:hover {
    background: var(--bronze-deep) !important;
    color: #fff !important;
    filter: brightness(1.05);
    transform: none !important;
    box-shadow: none !important;
}

body.menu-open .nexauto-sticky-cta {
  display: none;
}

/* mobile uniquement */
@media (max-width: 768px) {
  .nexauto-sticky-cta {
    display: block;
  }
}

/* ===== Barre de stats hero (V3) ===== */
.statbar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}
.statbar .st {
  padding: 30px 20px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.statbar .st:last-child {
  border-right: none;
}
.statbar .st b {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--bronze-light);
  line-height: 1;
  letter-spacing: -0.02em;
}
.statbar .st span {
  display: block;
  margin-top: 9px;
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

@media (max-width: 720px) {
  .statbar {
    grid-template-columns: 1fr 1fr !imprtant;
  }
   .statbar .st { padding: 15px 10px; }
  .statbar .st:nth-child(2) {
    border-right: none;
  }
  .statbar .st:nth-child(1),
  .statbar .st:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

.risk-card .risk-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.risk-card .rn { margin-bottom: 0; }
.risk-card .ricon { margin-bottom: 0; }

/* ============================================================
   PAGE NOS RÉUSSITES — nexauto-succes-template.php
   Réutilise les variables globales du thème (--navy, --bronze, etc.)
   ============================================================ */

/* ===== HERO PAGE ===== */
.succes-hero { background: var(--navy); color: #fff; padding: 190px 0 80px; text-align: center; position: relative; overflow: hidden; }
.succes-hero .eyebrow { color: var(--bronze-light); margin-bottom: 24px; }
.succes-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.1; margin: 0 0 20px; }
.succes-hero h1 em { color: var(--bronze-light); font-style: italic; font-weight: 400; }
.succes-hero p { margin: 0 auto; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.75); font-weight: 500; }

/* ===== MOSAÏQUE — grosses + petites bulles mélangées ===== */
.succes-mix { padding: 70px 0 70px; }
.mix-head { text-align: center; margin-bottom: 54px; }
.mix-head .eyebrow { margin-bottom: 20px; }
.mix-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 3.2vw, 38px); color: var(--navy); margin: 0 0 14px; }
.mix-head p { max-width: 540px; margin: 0 auto; font-size: 15.5px; color: var(--ink); font-weight: 500; line-height: 1.6; }

.mix { columns: 3 320px; column-gap: 24px; }
.mix-item { break-inside: avoid; margin-bottom: 24px; }

/* grosse bulle — témoignage avec photo */
.mix-item.story {
    background: var(--white); border-radius: var(--r-md); overflow: hidden;
    box-shadow: var(--shadow-md); border: 1px solid var(--bronze);
}
.story-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.story-body { padding: 24px 26px 28px; border-top: 3px solid var(--bronze); }
.story-tag {
    display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
    text-transform: uppercase; color: var(--bronze-deep); background: rgba(199,123,60,0.1);
    padding: 5px 12px; border-radius: 100px; margin-bottom: 14px;
}
.story-body h3 { font-family: var(--font-display); font-weight: 500; font-size: 20px; color: var(--navy); line-height: 1.28; margin: 0 0 12px; }
.story-body p { font-size: 14.5px; line-height: 1.7; color: var(--ink); font-weight: 500; margin: 0 0 14px; }
.story-meta { display: flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700; color: var(--steel); }
.story-meta .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }

/* petite bulle — avis Google */
.mix-item.avis {
    background: var(--white); border: 1px solid var(--line); border-radius: 12px;
    padding: 22px 24px; position: relative;
}
.mix-item.avis .bubble-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mix-item.avis .bubble-stars { color: var(--bronze); letter-spacing: 2px; font-size: 13px; }
.mix-item.avis p { font-family: var(--font-display); font-style: italic; font-size: 16px; line-height: 1.55; color: var(--ink-dark); margin: 0 0 16px; font-weight: 400; }
.mix-item.avis .bubble-author { display: flex; align-items: center; gap: 10px; }
.mix-item.avis .bubble-avatar {
    width: 30px; height: 30px; border-radius: 50%; background: var(--navy);
    color: #fff; font-family: var(--font-display); font-size: 13px; font-weight: 600;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.mix-item.avis .bubble-author-name { font-size: 12.5px; font-weight: 700; color: var(--navy); }
.mix-item.avis .bubble-author-sub { font-size: 11.5px; color: var(--ink); font-weight: 600; }

/* accent ponctuel — une bulle avis mise en avant */
.mix-item.avis.feature { background: var(--navy); border: none; }
.mix-item.avis.feature .bubble-stars { color: var(--bronze-light); }
.mix-item.avis.feature p { color: #fff; }
.mix-item.avis.feature .bubble-author-name { color: #fff; }
.mix-item.avis.feature .bubble-author-sub { color: rgba(255,255,255,0.6); }
.mix-item.avis.feature .bubble-avatar { background: var(--bronze); }

@media (max-width: 860px) { .mix { columns: 2 260px; } }

@media (max-width: 767px) {
    .succes-hero { padding: 150px 20px 60px; }
    .succes-mix { padding: 60px 0 70px; }
    .wrap { padding: 0 20px; }
}

@media (max-width: 560px) { .mix { columns: 1; } }

/* ============================================================
   PAGE NOTRE PROCESSUS
   ============================================================ */

/* ===== HERO — steel + touches bronze + statbar façon landing ===== */
.proc-hero { background: var(--steel-dark); color: #fff; padding: 190px 0 0; text-align: center; overflow: hidden !important; position: relative; }
.proc-hero .fan-pattern { opacity: 0.2; position: absolute; }
.proc-hero .wrap { position: relative; z-index: 2; }
.proc-hero .eyebrow { color: var(--bronze-light); margin-bottom: 24px; }
.proc-hero h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.1; margin: 0 0 20px; }
.proc-hero h1 em { color: var(--bronze-light); font-style: italic; font-weight: 400; }
.proc-hero p { margin: 0 auto 60px; font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.85); font-weight: 500; }

.proc-statbar {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1fr 1fr;
    border-top: 2px solid var(--bronze);
    background: rgba(255,255,255,0.06);
}
.proc-statbar .proc-st { padding: 30px 20px; text-align: center; border-right: 1px solid rgba(255,255,255,0.16); }
.proc-statbar .proc-st:last-child { border-right: none; }
.proc-statbar .proc-st b { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.4vw, 40px); color: var(--bronze-light); line-height: 1; }
.proc-statbar .proc-st span { display: block; margin-top: 9px; font-size: 12.5px; font-weight: 700; color: rgba(255,255,255,0.85); line-height: 1.4; }

/* ===== SECTION INSPECTION — paper-warm, grille 2 colonnes ===== */
.proc-insp { background: var(--paper-warm); padding: 90px 0; }
.insp-head { max-width: 700px; margin: 0 auto 54px; text-align: center; }
.insp-head .eyebrow { justify-content: center; margin-bottom: 20px; }
.insp-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.6vw, 42px); line-height: 1.12; margin: 0 0 16px; color: var(--navy); }
.insp-head p { font-size: 16px; line-height: 1.7; color: var(--ink); font-weight: 500; margin: 0; }

.insp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 940px; margin: 0 auto; }
.insp-card {
    background: var(--white); border: 1px solid var(--line); border-radius: 12px;
    padding: 26px 28px 24px;
}
.insp-card-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.insp-num {
    flex-shrink: 0; width: 34px; height: 34px; background: var(--bronze);
    border-radius: 0; transform: rotate(45deg);
    display: flex; align-items: center; justify-content: center;
}
.insp-num span {
    transform: rotate(-45deg);
    font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--navy);
}
.insp-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 18px; color: var(--navy); margin: 0; }
.insp-card p { font-size: 14px; line-height: 1.65; color: var(--ink); font-weight: 500; margin: 0; }

.insp-note {
    max-width: 940px; margin: 40px auto 0; padding: 22px 30px;
    background: var(--white);
    border-left: 4px solid var(--bronze); border-right: 4px solid var(--bronze);
    border-radius: 8px; font-size: 14px; line-height: 1.7; color: var(--ink-dark); font-weight: 500;
}
.insp-note strong { color: var(--navy); }

.insp-brand {
    color: var(--bronze-deep); font-weight: 800;
    background: rgba(199,123,60,0.12); padding: 1px 6px; border-radius: 4px;
}

/* ===== SECTION PRÉPARATION — navy ===== */
.proc-prep { background: var(--navy); padding: 90px 0 100px; overflow: hidden !important; position: relative; }
.proc-prep .fan-pattern {opacity: 0.1; position: absolute;}
.prep-head { max-width: 700px; margin: 0 auto 50px; text-align: center; }
.prep-head .eyebrow { color: var(--bronze-light); margin-bottom: 20px; }
.prep-head h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 3.6vw, 42px); color: #fff; line-height: 1.12; margin: 0 0 16px; }
.prep-head p { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.75); font-weight: 500; margin: 0; }

.prep-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
    max-width: 900px; margin: 0 auto 30px;
}
.prep-item {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: 10px;
    padding: 16px 18px; font-size: 14.5px; font-weight: 700; color: #fff;
}
.prep-item .ic {
    flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
    background: rgba(221,168,106,0.16); color: var(--bronze-light);
    display: flex; align-items: center; justify-content: center;
}
.prep-item .ic svg { width: 15px; height: 15px; }

.prep-extra {
    max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.prep-extra-card {
    background: rgba(199,123,60,0.12); border: 1px solid rgba(199,123,60,0.3);
    border-radius: 10px; padding: 20px 22px;
}
.prep-extra-card h4 { font-family: var(--font-display); font-weight: 500; font-size: 16px; color: #fff; margin: 0 0 6px; }
.prep-extra-card p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.75); font-weight: 500; margin: 0; }
.prep-extra-card .price { color: var(--bronze-light); font-weight: 800; }

@media (max-width: 860px) {
    .statbar { grid-template-columns: 1fr 1fr; }
    .statbar .st { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.16); }
    .statbar .st:last-child { border-bottom: none; }
    .insp-grid { grid-template-columns: 1fr; }
    .prep-grid { grid-template-columns: 1fr 1fr; }
    .prep-extra { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .proc-hero { padding: 150px 0 0; }
    .wrap { padding: 0 20px; }
}

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

/* ============================================================
   17. CHOIX OUI / NON — financement (.nxa-choice-*)
   Un seul hexagone scindé en deux moitiés
   ============================================================ */
.nxa-choice-label {
    font-family: var(--font-body);
    font-size: 13px; font-weight: 700;
    color: var(--navy); letter-spacing: 0.3px;
}
.nxa-choice-label .req { color: var(--bronze); margin-left: 2px; }

.nxa-choice-row { display: flex; gap: 0; }

/* Couche 1 — liseré + forme */
.nxa-choice {
    flex: 1 1 0;
    display: block;
    padding: 1px;
    background: rgba(11, 31, 58, 0.16);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.25s ease;
    font-size: inherit; font-weight: inherit; letter-spacing: 0;
}

/* Moitié gauche — pointe à gauche, bord droit */
.nxa-choice:first-child,
.nxa-choice:first-child > span {
    clip-path: polygon(0 50%, 14px 0, 100% 0, 100% 100%, 14px 100%);
}

/* Moitié droite — bord gauche, pointe à droite */
.nxa-choice:last-child,
.nxa-choice:last-child > span {
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
}

.nxa-choice input[type="radio"] {
    position: absolute;
    width: 1px; height: 1px;
    opacity: 0; margin: 0; padding: 0;
    border: none; background: none;
    pointer-events: none;
    appearance: none; -webkit-appearance: none;
}

/* Couche 2 — le fond */
.nxa-choice > span {
    display: flex; align-items: center; justify-content: center;
    height: 46px;
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 13px; font-weight: 800;
    letter-spacing: 0.6px; text-transform: uppercase;
    color: var(--navy);
    transition: background 0.25s ease, color 0.25s ease;
}

.nxa-choice:hover { background: var(--bronze-light); }
.nxa-choice:hover > span { background: #fff; color: var(--bronze-deep); }

.nxa-choice:has(input:checked) { background: var(--bronze-deep); }
.nxa-choice input:checked + span { background: var(--bronze); color: #fff; }

.nxa-choice:has(input:focus-visible) { background: var(--bronze); padding: 3px; }
.nxa-choice:active > span { filter: brightness(0.97); }

/* Erreur — liseré seul */
.nxa-choice-field.error .nxa-choice { background: #E53E3E; padding: 2px; }
.nxa-choice-field.error .nxa-choice:has(input:checked) { background: var(--bronze-deep); padding: 1px; }

@media (max-width: 767px) {
    .nxa-choice > span { height: 42px; font-size: 12px; }
    .nxa-choice:first-child,
    .nxa-choice:first-child > span {
        clip-path: polygon(0 50%, 11px 0, 100% 0, 100% 100%, 11px 100%);
    }
    .nxa-choice:last-child,
    .nxa-choice:last-child > span {
        clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 0 100%);
    }
}

.nxa-field-hint {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    margin-top: -2px;
}