/* =====================================================================
   DT-SOLUTION — Design system « BLEU BLANC ROUGE »
   Univers service public français : clair, institutionnel, sobre.
   Bleu marine + rouge tricolore sur base blanche.
   ===================================================================== */

/* ------------------------------ Fonts ------------------------------- */
@font-face {
    font-family: 'Outfit';
    src: url('../fonts/outfit-variable.woff2') format('woff2');
    font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/jetbrains-mono-variable.woff2') format('woff2');
    font-weight: 100 800; font-style: normal; font-display: swap;
}

/* ------------------------------ Tokens ------------------------------ */
:root {
    /* Encres & neutres */
    --ink:        #0e1f47;   /* bleu marine profond (sections sombres, hero, footer) */
    --ink-2:      #16305f;
    --graphite:   #17284d;   /* texte fort */
    --steel:      #52607d;   /* texte secondaire */
    --steel-2:    #8892a8;
    --line:       #e3e7f0;   /* bordures */
    --line-2:     #ccd4e4;
    --paper:      #ffffff;
    --paper-2:    #f4f6fb;   /* sections alternées, bleuté très clair */
    --paper-3:    #e9edf6;

    /* Accent principal — bleu France institutionnel */
    --accent:     #1b3ba3;
    --accent-ink: #12297a;   /* survol / plus foncé */
    --accent-soft:#eaf0fb;   /* fond bleu très clair */
    --accent-line:#c3d2f2;

    /* Rouge tricolore — pompier / alerte / accent secondaire */
    --flag-red:      #e2001a;
    --flag-red-ink:  #b3000f;
    --flag-red-soft: #fdecec;
    --flag-red-line: #f5cccc;

    /* Signalétique discrète */
    --ok:         #0f8a5f;
    --ok-soft:    #e7f5ee;

    /* Rayons & ombres */
    --r-sm: 8px;
    --r:    12px;
    --r-lg: 18px;
    --shadow-sm: 0 1px 2px rgba(14,31,71,.06), 0 1px 3px rgba(14,31,71,.05);
    --shadow:    0 6px 24px rgba(14,31,71,.10);
    --shadow-lg: 0 24px 60px rgba(14,31,71,.16);

    /* Typo */
    --font-sans: 'Outfit', system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, "SF Mono", "Menlo", "Consolas", monospace;

    --maxw: 1180px;
}

/* Filet tricolore fin en haut de page — touche institutionnelle */
body::before {
    content: ""; display: block; height: 3px;
    background: linear-gradient(90deg,
        var(--accent) 0 33.33%, #ffffff 33.33% 66.66%, var(--flag-red) 66.66% 100%);
}

/* ------------------------------ Reset ------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

/* --------------------------- Utilitaires ---------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: .72rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 18px;
    padding-left: 12px;
    border-left: 3px solid var(--flag-red);
    line-height: 1.05;
}
.eyebrow.on-dark { color: #9fc0ff; }
.muted { color: var(--steel); }
.center { text-align: center; }

.section { padding: 96px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--paper-2); border-block: 1px solid var(--line); }
.section-dark { background: var(--ink); color: #f2f4f7; }

.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; }
.section-head h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    line-height: 1.08;
    text-transform: uppercase;
}
.section-head p { margin-top: 18px; color: var(--steel); font-size: 1.08rem; }
.section-dark .section-head p { color: #aab2bd; }

/* ----------------------------- Boutons ------------------------------ */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .98rem;
    letter-spacing: .01em;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; }

.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: var(--graphite); border-color: var(--graphite); box-shadow: var(--shadow); }

.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); box-shadow: 0 8px 24px rgba(31,95,214,.28); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper-2); }

.on-dark .btn-ghost, .btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.28); }
.on-dark .btn-ghost:hover, .btn-ghost.on-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.btn-block { width: 100%; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }

/* ------------------------------ Header ------------------------------ */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.82);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--line);
}
.nav {
    display: flex; align-items: center; gap: 28px;
    height: 68px;
    max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
}
.brand {
    font-weight: 800; font-size: 1.12rem; letter-spacing: .04em;
    display: flex; align-items: center; gap: 9px;
}
.brand .brand-mark {
    width: 30px; height: 30px; border-radius: 8px;
    background: var(--ink); color: #fff;
    display: grid; place-items: center;
    font-size: .82rem; font-weight: 800; letter-spacing: -.02em;
}
.brand span { color: var(--accent); }
.nav-spacer { flex: 1; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a.nav-link {
    font-size: .95rem; font-weight: 500; color: var(--steel);
    padding: 6px 0; position: relative; transition: color .18s ease;
}
.nav-links a.nav-link:hover, .nav-links a.nav-link.is-active { color: var(--ink); }
.nav-links a.nav-link.is-active::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
    background: var(--accent); border-radius: 2px;
}
.nav-user { font-size: .9rem; color: var(--steel); }
.nav-user strong { color: var(--ink); font-weight: 600; }

/* ------------------------------- Hero ------------------------------- */
.hero {
    position: relative;
    background:
        radial-gradient(1100px 560px at 76% -10%, rgba(60,110,220,.28), transparent 60%),
        radial-gradient(760px 420px at 8% 108%, rgba(226,0,26,.14), transparent 60%),
        linear-gradient(180deg, #0e1f47 0%, #16305f 100%);
    color: #fff;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,.10);
}
.hero-grid {
    display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px;
    padding: 96px 0 84px;
}
.hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.9rem);
    text-transform: uppercase; line-height: 1.02;
}
.hero h1 .thin { font-weight: 300; color: #b9c1cc; display: block; letter-spacing: -.01em; }
.hero-lede {
    margin-top: 24px; max-width: 520px;
    color: #b6bdc8; font-size: 1.12rem;
}
.hero-price {
    margin-top: 30px;
    display: inline-flex; align-items: baseline; gap: 10px;
    padding: 12px 20px 12px 22px;
    border: 1px solid rgba(255,255,255,.14); border-radius: var(--r);
    background: rgba(255,255,255,.04); position: relative; overflow: hidden;
}
.hero-price::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: var(--flag-red);
}
.hero-price .lbl { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #8b929c; }
.hero-price .val { font-size: 1.5rem; font-weight: 700; color: #fff; }
.hero-price .val small { font-size: .9rem; font-weight: 500; color: #aab2bd; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; }
.hero-visual img { filter: drop-shadow(0 40px 60px rgba(0,0,0,.55)); }
.hero-tags { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 8px; }

.chip {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: .8rem; font-weight: 500;
    padding: 6px 13px; border-radius: 999px;
    border: 1px solid var(--line-2); color: var(--steel); background: var(--paper);
}
.chip.on-dark { border-color: rgba(255,255,255,.16); color: #cbd2db; background: rgba(255,255,255,.03); }
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

/* ---------------------------- Bande stats --------------------------- */
.trust {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    border: 1px solid var(--line); border-radius: var(--r-lg);
    background: var(--paper); overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-top: -46px; position: relative; z-index: 5;
}
.trust .cell { padding: 26px 26px; border-left: 1px solid var(--line); }
.trust .cell:first-child { border-left: none; }
.trust .k { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; }
.trust .v { margin-top: 4px; font-size: .9rem; color: var(--steel); }

/* --------------------------- Lineup produits ------------------------ */
.lineup { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product {
    display: flex; flex-direction: column;
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--r-lg); overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.product .shot {
    background: radial-gradient(120% 100% at 50% 0%, #fbfbfc 0%, #eef0f3 100%);
    padding: 30px 24px 18px; text-align: center;
}
.product .shot img { margin: 0 auto; max-height: 190px; width: auto; }
.product .body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.product .kicker { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.product h3 { font-size: 1.5rem; margin-top: 8px; text-transform: uppercase; }
.product .type { color: var(--steel); font-size: .92rem; margin-top: 2px; }
.product .desc { margin-top: 14px; color: var(--steel); font-size: .96rem; flex: 1; }
.product .spec-mini { margin-top: 16px; display: flex; gap: 18px; flex-wrap: wrap; }
.product .spec-mini div { font-size: .82rem; color: var(--steel); }
.product .spec-mini strong { display: block; color: var(--ink); font-size: 1.02rem; font-weight: 700; }
.product .foot {
    margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.price { line-height: 1.1; }
.price .from { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel-2); }
.price .amount { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; }
.price .amount small { font-size: .78rem; font-weight: 600; color: var(--steel); }

/* --------------------------- Catalogue détail ----------------------- */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.detail.rev .detail-media { order: 2; }
.detail-media {
    background: radial-gradient(120% 100% at 50% 40%, #fbfbfc 0%, #e9ebef 100%);
    border: 1px solid var(--line); border-radius: var(--r-lg);
    padding: 40px; display: grid; place-items: center; min-height: 320px;
}
.detail h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); text-transform: uppercase; margin-top: 6px; }
.detail .lede { margin-top: 16px; color: var(--steel); font-size: 1.06rem; }
.spec-table { margin-top: 26px; border-top: 1px solid var(--line); }
.spec-table .row {
    display: flex; justify-content: space-between; gap: 20px;
    padding: 13px 2px; border-bottom: 1px solid var(--line); font-size: .95rem;
}
.spec-table .row .k { color: var(--steel); }
.spec-table .row .v { font-weight: 600; text-align: right; }
.detail-cta {
    margin-top: 28px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.detail-cta .price .amount { font-size: 1.7rem; }

/* ------------------------------ Étapes ------------------------------ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); overflow: hidden; }
.step-media { aspect-ratio: 16 / 10; background: var(--paper-2); overflow: hidden; }
.step-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.step:hover .step-media img { transform: scale(1.04); }
.step-body { padding: 22px 24px 26px; }
.step .n { font-family: var(--font-mono); font-size: .9rem; color: var(--accent); font-weight: 700; }
.step h3 { font-size: 1.12rem; margin-top: 12px; }
.step p { margin-top: 8px; color: var(--steel); font-size: .92rem; }

/* --------------------------- Cartes valeur -------------------------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); }
.value .ic {
    width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
    background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line);
    margin-bottom: 18px;
}
.value h3 { font-size: 1.14rem; }
.value p { margin-top: 10px; color: var(--steel); font-size: .96rem; }

/* --------------------------- Système (dark) ------------------------- */
.system-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.system-card {
    padding: 30px; border-radius: var(--r-lg);
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
}
.system-card h3 { font-size: 1.25rem; color: #fff; }
.system-card ul { margin-top: 16px; display: grid; gap: 10px; }
.system-card li { position: relative; padding-left: 24px; color: #b6bdc8; font-size: .96rem; }
.system-card li::before {
    content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 8px;
    border-radius: 50%; background: var(--accent);
}
.system-banner {
    margin-top: 28px; padding: 18px 24px; text-align: center;
    border: 1px dashed rgba(255,255,255,.2); border-radius: var(--r);
    font-family: var(--font-mono); font-size: .86rem; letter-spacing: .04em; color: #aab2bd;
}

/* ------------------------------ CTA band ---------------------------- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: 56px; text-align: center; }
.cta-band h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); text-transform: uppercase; }
.cta-band p { margin-top: 14px; color: #aab2bd; max-width: 560px; margin-inline: auto; }
.cta-band .hero-actions { justify-content: center; }

/* ------------------------ Formulaires / auth ------------------------ */
.form-narrow { max-width: 560px; }
.panel {
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 36px; box-shadow: var(--shadow-sm);
}
.auth-card {
    max-width: 460px; margin: 72px auto; padding: 40px 36px;
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--r-lg); box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 1.7rem; text-transform: uppercase; margin-bottom: 8px; }
.auth-sub { color: var(--steel); margin-bottom: 26px; font-size: .96rem; }

.form-group { margin-bottom: 18px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label, .panel label, .auth-card label {
    display: block; font-size: .86rem; font-weight: 600; color: var(--graphite); margin-bottom: 7px;
}
.form-group input, .form-group select, .form-group textarea,
.panel input, .panel select, .panel textarea,
.auth-card input, .auth-card select, .auth-card textarea,
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], select, textarea {
    width: 100%; padding: 12px 14px; font-size: .98rem; font-family: inherit;
    color: var(--ink); background: var(--paper);
    border: 1px solid var(--line-2); border-radius: var(--r-sm);
    transition: border-color .15s ease, box-shadow .15s ease;
}
textarea { min-height: 130px; resize: vertical; }
input:focus, select:focus, textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-check { display: flex; align-items: flex-start; gap: 10px; }
.form-check input { width: auto; margin-top: 4px; }
.form-check label { margin: 0; font-weight: 500; color: var(--steel); }
.hint { display: block; font-size: .82rem; color: var(--steel-2); margin-top: 6px; }
.auth-alt { margin-top: 22px; text-align: center; font-size: .94rem; color: var(--steel); }
.auth-alt a { color: var(--accent); font-weight: 600; }

/* Erreurs de formulaire Symfony */
.form-group ul, form ul.errors { color: #c0392b; font-size: .85rem; }
form ul { padding-left: 18px; list-style: disc; margin-top: 6px; color: #c0392b; }

/* Résumé de précommande */
.order-summary {
    background: var(--paper-2); border: 1px solid var(--line);
    border-radius: var(--r); padding: 22px 24px; margin-bottom: 26px;
}
.order-summary .line { display: flex; justify-content: space-between; padding: 7px 0; font-size: .95rem; }
.order-summary .line .k { color: var(--steel); }
.order-summary .line.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-weight: 700; }
.order-summary .line.total .v { font-size: 1.15rem; }

/* ------------------------------ Flash ------------------------------- */
.flash {
    padding: 14px 18px; border-radius: var(--r-sm); margin-bottom: 18px; font-size: .95rem;
    border: 1px solid transparent;
}
.flash-success { background: var(--ok-soft); color: #0c6b4a; border-color: #bfe6d4; }
.flash-error   { background: #fdecec; color: #b0281f; border-color: #f5cfcf; }

/* ------------------------------ Footer ------------------------------ */
.site-footer { background: var(--ink); color: #aab2bd; padding: 56px 0 30px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand .brand-mark { background: #fff; color: var(--ink); }
.footer-desc { font-size: .92rem; max-width: 320px; }
.footer-mono { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .1em; color: #6b7280; display: block; margin-top: 12px; }
.footer-col h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; font-size: .92rem; padding: 5px 0; color: #aab2bd; transition: color .15s ease; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
    margin-top: 44px; padding-top: 22px; border-top: 1px solid #1c2128;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    font-size: .82rem; color: #6b7280;
}

/* ---------------------------- Responsive ---------------------------- */
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; gap: 24px; padding: 64px 0 56px; }
    .hero-visual { order: -1; }
    .trust { grid-template-columns: repeat(2, 1fr); margin-top: 32px; }
    .trust .cell:nth-child(3) { border-left: none; }
    .lineup { grid-template-columns: 1fr; }
    .detail, .detail.rev { grid-template-columns: 1fr; gap: 32px; }
    .detail.rev .detail-media { order: 0; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .values { grid-template-columns: 1fr; }
    .system-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
    body { font-size: 16px; }
    .section { padding: 64px 0; }
    .nav-links { gap: 16px; }
    .nav-links .hide-sm { display: none; }
    .trust { grid-template-columns: 1fr; }
    .trust .cell { border-left: none; border-top: 1px solid var(--line); }
    .trust .cell:first-child { border-top: none; }
    .steps { grid-template-columns: 1fr; }
    .form-row-2 { grid-template-columns: 1fr; }
    .cta-band { padding: 40px 24px; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* =====================================================================
   CONFIGURATEUR DE PRÉCOMMANDE
   ===================================================================== */
.configurator {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    min-height: calc(100vh - 68px);
}

/* ---- Vitrine (gauche, sombre, sticky) ---- */
.showcase {
    position: sticky; top: 68px; align-self: start;
    height: calc(100vh - 68px);
    padding: 56px 56px 44px;
    color: #fff;
    background:
        radial-gradient(900px 500px at 70% 8%, rgba(31,95,214,.22), transparent 62%),
        linear-gradient(165deg, #0b0d10 0%, #12161c 62%, #0b0d10 100%);
    overflow: hidden;
    display: flex; flex-direction: column;
}
.showcase::before {
    /* trame technique discrète */
    content: ""; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 44px 44px;
    -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
            mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 100%);
    pointer-events: none;
}
.showcase > * { position: relative; z-index: 1; }
.showcase-top { display: flex; align-items: center; justify-content: space-between; }
.showcase-step { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #8fb4ff; }
.showcase-badge {
    font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
    color: #aab2bd; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 5px 12px;
}
.showcase-stage {
    flex: 1; display: grid; place-items: center; padding: 24px 0; min-height: 220px;
}
.showcase-stage img {
    max-height: 340px; width: auto;
    filter: drop-shadow(0 46px 55px rgba(0,0,0,.6));
    transition: opacity .35s ease, transform .35s ease;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.showcase-name { font-size: 2.3rem; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.showcase-type { margin-top: 8px; color: #aab2bd; font-size: .98rem; }
.showcase-specs { margin-top: 22px; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.1); }
.showcase-specs .row {
    display: flex; justify-content: space-between; gap: 16px;
    padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.09); font-size: .9rem;
}
.showcase-specs .row .k { color: #8b929c; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.showcase-specs .row .v { color: #eef1f5; font-weight: 600; text-align: right; }
.showcase-price {
    margin-top: 26px; padding: 20px 22px;
    border: 1px solid rgba(255,255,255,.12); border-radius: var(--r);
    background: rgba(255,255,255,.04);
    display: flex; align-items: flex-end; justify-content: space-between; gap: 18px;
}
.showcase-price .unit .lbl,
.showcase-price .total .lbl { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #8b929c; display: block; margin-bottom: 4px; }
.showcase-price .unit .amt { font-size: 1.25rem; font-weight: 700; color: #dfe4ea; }
.showcase-price .total { text-align: right; }
.showcase-price .total .amt { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.showcase-price .total .amt small { font-size: .8rem; font-weight: 600; color: #aab2bd; }
.showcase-foot { margin-top: 16px; font-size: .78rem; color: #6b7280; text-align: center; }

/* ---- Formulaire (droite, clair) ---- */
.form-side { padding: 56px 56px 72px; max-width: 640px; }
.form-side .lead-title { font-size: clamp(1.7rem, 3vw, 2.2rem); text-transform: uppercase; }
.form-side .lead-sub { margin-top: 12px; color: var(--steel); font-size: 1.02rem; }

.fstep { margin-top: 40px; }
.fstep-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.fstep-num {
    font-family: var(--font-mono); font-size: .8rem; font-weight: 700; color: var(--accent);
    width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
    background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.fstep-head h3 { font-size: 1.12rem; text-transform: uppercase; letter-spacing: -.01em; }

/* Cartes de sélection produit (radios cachés) */
.config-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.config-card {
    position: relative; cursor: pointer;
    border: 1.5px solid var(--line-2); border-radius: var(--r);
    background: var(--paper); padding: 16px 16px 14px;
    display: flex; align-items: center; gap: 14px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .12s ease, background .18s ease;
}
.config-card:hover { border-color: var(--steel-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.config-card input { position: absolute; opacity: 0; pointer-events: none; }
.config-card .cc-thumb {
    width: 62px; height: 54px; flex: none; border-radius: 8px;
    background: radial-gradient(120% 120% at 50% 20%, #fbfbfc, #e9ebef);
    display: grid; place-items: center; border: 1px solid var(--line);
}
.config-card .cc-thumb img { max-height: 42px; width: auto; }
.config-card .cc-name { font-weight: 700; text-transform: uppercase; font-size: .98rem; letter-spacing: -.01em; }
.config-card .cc-price { font-size: .82rem; color: var(--steel); margin-top: 2px; }
.config-card .cc-check {
    position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border-radius: 50%;
    border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: .18s ease;
}
.config-card .cc-check svg { width: 12px; height: 12px; opacity: 0; transform: scale(.6); transition: .18s ease; color: #fff; }
.config-card:has(input:checked) {
    border-color: var(--accent); background: var(--accent-soft);
    box-shadow: 0 0 0 3px rgba(31,95,214,.12);
}
.config-card:has(input:checked) .cc-check { background: var(--accent); border-color: var(--accent); }
.config-card:has(input:checked) .cc-check svg { opacity: 1; transform: scale(1); }
.config-card:has(input:focus-visible) { box-shadow: 0 0 0 3px var(--accent-soft); }

/* Stepper quantité */
.qty-stepper { display: inline-flex; align-items: stretch; border: 1.5px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.qty-stepper button {
    width: 52px; border: none; background: var(--paper-2); cursor: pointer;
    font-size: 1.4rem; color: var(--graphite); line-height: 1; transition: background .15s ease;
}
.qty-stepper button:hover { background: var(--paper-3); }
.qty-stepper input {
    width: 84px; text-align: center; border: none; border-inline: 1.5px solid var(--line-2);
    border-radius: 0; font-size: 1.1rem; font-weight: 700; padding: 12px 0;
}
.qty-stepper input:focus { box-shadow: none; outline: none; }
.qty-note { margin-top: 10px; font-size: .85rem; color: var(--steel-2); }

/* Réassurance */
.reassure { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.reassure .chip .dot { background: var(--ok); }

/* Erreur globale du champ drone */
.drone-error { margin-top: 10px; }
.drone-error ul { color: #c0392b; font-size: .85rem; list-style: disc; padding-left: 18px; }

@media (max-width: 1040px) {
    .configurator { grid-template-columns: 1fr; }
    .showcase {
        position: static; height: auto; top: 0;
        padding: 44px 32px; flex-direction: row; align-items: center; gap: 32px; flex-wrap: wrap;
    }
    .showcase-top { display: none; }
    .showcase-stage { flex: 1 1 240px; min-height: 0; padding: 0; }
    .showcase-stage img { max-height: 220px; }
    .showcase-info { flex: 1 1 300px; }
    .showcase-name { font-size: 1.9rem; }
    .form-side { padding: 44px 32px 64px; max-width: none; }
}
@media (max-width: 620px) {
    .showcase { flex-direction: column; align-items: stretch; padding: 36px 22px; }
    .form-side { padding: 36px 22px 56px; }
    .config-cards { grid-template-columns: 1fr; }
    .showcase-price { flex-direction: column; align-items: stretch; gap: 12px; }
    .showcase-price .total { text-align: left; }
}

/* =====================================================================
   TABLEAU COMPARATIF — SENTINEL vs solutions classiques
   ===================================================================== */
.compare {
    width: 100%; overflow-x: auto;
    border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm); background: var(--paper);
}
.compare table { width: 100%; border-collapse: collapse; min-width: 680px; }
.compare th, .compare td {
    padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: .95rem;
}
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: none; }
.compare thead th {
    font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em;
    text-transform: uppercase; color: var(--steel); font-weight: 600;
}
.compare tbody th { font-weight: 600; color: var(--ink); }
.compare td { color: var(--steel); }
.compare .col-sentinel { background: var(--accent-soft); border-left: 1px solid var(--accent-line); border-right: 1px solid var(--accent-line); }
.compare thead .col-sentinel { color: var(--accent); font-weight: 700; }
.compare td.col-sentinel { color: var(--ink); font-weight: 600; }
.compare tbody tr:last-child .col-sentinel { border-bottom: 1px solid var(--accent-line); }
.compare .yes { color: var(--ok); font-weight: 700; }
.compare .no { color: var(--steel-2); }

/* Grille d'accessoires / briques du SENTINEL */
.bricks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.brick { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); }
.brick .shot { background: radial-gradient(120% 100% at 50% 0%, #fbfbfc, #eef0f3); padding: 26px; text-align: center; }
.brick .shot img { margin: 0 auto; max-height: 150px; width: auto; }
.brick .body { padding: 22px 24px 26px; }
.brick .kicker { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.brick h3 { font-size: 1.15rem; margin-top: 6px; }
.brick p { margin-top: 10px; color: var(--steel); font-size: .94rem; }
@media (max-width: 960px) { .bricks { grid-template-columns: 1fr; } }

/* =====================================================================
   CAS D'USAGE MÉTIER + CHECKLIST + BANDEAU CHIFFRES
   ===================================================================== */
.usecases { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.usecase {
    background: var(--paper); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: 34px; box-shadow: var(--shadow-sm);
}
.usecase .ic {
    width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
    background: var(--accent-soft); color: var(--accent); border: 1px solid var(--accent-line);
    margin-bottom: 18px;
}
.usecase h3 { font-size: 1.3rem; text-transform: uppercase; letter-spacing: -.01em; }
.usecase .uc-intro { margin-top: 10px; color: var(--steel); font-size: .98rem; }

.checklist { margin-top: 20px; display: grid; gap: 12px; }
.checklist.cols-2 { grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.checklist li { position: relative; padding-left: 30px; font-size: .96rem; color: var(--graphite); line-height: 1.5; }
.checklist li::before {
    content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
    background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.checklist li::after {
    content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 3px;
    border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}

.kpis {
    display: grid; grid-template-columns: repeat(6, 1fr);
    border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
    background: var(--paper); box-shadow: var(--shadow-sm);
}
.kpi { padding: 26px 16px; border-left: 1px solid var(--line); text-align: center; }
.kpi:first-child { border-left: none; }
.kpi .k { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.kpi .v { margin-top: 5px; font-size: .8rem; color: var(--steel); line-height: 1.35; }

@media (max-width: 960px) {
    .usecases { grid-template-columns: 1fr; }
    .checklist.cols-2 { grid-template-columns: 1fr; }
    .kpis { grid-template-columns: repeat(3, 1fr); }
    .kpi:nth-child(4) { border-left: none; }
    .kpi:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
    .kpis { grid-template-columns: repeat(2, 1fr); }
    .kpi { border-left: 1px solid var(--line); }
    .kpi:nth-child(odd) { border-left: none; }
    .kpi:nth-child(n+3) { border-top: 1px solid var(--line); }
    .kpi:nth-child(4) { border-left: 1px solid var(--line); }
}

/* =====================================================================
   SHOWREEL VIDÉO
   ===================================================================== */
.showreel-frame {
    position: relative; border-radius: var(--r-lg); overflow: hidden;
    border: 1px solid var(--line); box-shadow: var(--shadow-lg);
    background: var(--ink); aspect-ratio: 16 / 9;
}
.showreel-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Boucle animée affichée par défaut : elle démarre seule dans tous les navigateurs.
   Elle s'efface en fondu si la vidéo pleine qualité parvient à se lancer. */
.showreel-frame .showreel-anim {
    position: absolute; inset: 0; z-index: 1;
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: opacity .7s ease;
}
.showreel-frame.video-live .showreel-anim { opacity: 0; pointer-events: none; }

.showreel-frame .vctrl {
    position: absolute; bottom: 16px; right: 16px; z-index: 2;
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(11,13,16,.55); backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.28); color: #fff; cursor: pointer;
    display: grid; place-items: center; transition: background .15s ease;
}
.showreel-frame .vctrl:hover { background: rgba(11,13,16,.82); }
.showreel-frame .vctrl svg { width: 18px; height: 18px; }
.showreel-frame .vctrl .i-play { display: none; }
.showreel-frame .vctrl[data-state="paused"] .i-pause { display: none; }
.showreel-frame .vctrl[data-state="paused"] .i-play { display: block; }

/* Le bouton lecture/pause n'apparaît que si la vidéo tourne réellement */
.showreel-frame .vctrl { opacity: 0; pointer-events: none; transition: opacity .3s ease, background .15s ease; }
.showreel-frame.video-live .vctrl { opacity: 1; pointer-events: auto; }


/* =====================================================================
   RENFORCEMENT TRICOLORE — plus de rouge (esprit pompier / alerte)
   Le bleu reste la structure (liens, nav, bordures, focus, titres) ;
   le rouge prend les points d'action et les accents forts.
   ===================================================================== */

/* CTA principaux en rouge pompier */
.btn-accent { background: var(--flag-red); color: #fff; border-color: var(--flag-red); }
.btn-accent:hover {
    background: var(--flag-red-ink); border-color: var(--flag-red-ink);
    box-shadow: 0 8px 24px rgba(226,0,26,.30);
}

/* Pastilles & puces en rouge */
.chip .dot { background: var(--flag-red); }
.system-card li::before { background: var(--flag-red); }

/* Kickers produits & accessoires en rouge */
.product .kicker, .brick .kicker { color: var(--flag-red); }

/* Icônes carrées (valeurs, cas d'usage) en rouge */
.value .ic, .usecase .ic {
    background: var(--flag-red-soft); color: var(--flag-red); border-color: var(--flag-red-line);
}

/* Chiffres clés (KPI) en rouge vif */
.kpi .k { color: var(--flag-red); }

/* Numéros d'étapes */
.fstep-num { color: var(--flag-red); background: var(--flag-red-soft); border-color: var(--flag-red-line); }
.step .n { color: #ff6b6b; }              /* sur fond marine, rouge clair */

/* Soulignement nav active : dégradé bleu → rouge (rappel drapeau) */
.nav-links a.nav-link.is-active::after {
    background: linear-gradient(90deg, var(--accent), var(--flag-red));
}

/* Barre supérieure des blocs CTA marine : liseré rouge */
.cta-band { border-top: 3px solid var(--flag-red); }

/* Hero centré (titre + boutons seuls, la vidéo est descendue plus bas) */
.hero-solo { min-height: 84vh; display: grid; align-items: center; }
.hero-solo .hero-copy { max-width: 780px; margin: 0 auto; text-align: center; }
.hero-solo .hero-copy .eyebrow { border-left: none; padding-left: 0; }
.hero-solo .hero-lede { margin-left: auto; margin-right: auto; }
.hero-solo .hero-actions { justify-content: center; }
.hero-solo .hero-tags { justify-content: center; }

/* Vidéo qui grandit en entrant dans l'écran (piloté au scroll par JS) */
.reveal-section { overflow: hidden; }
.reveal-video {
    transform: scale(.5);
    transform-origin: center center;
    opacity: .45;
    will-change: transform, opacity;
}
