/* ========================================
   Dossica — Nike-inspired stylesheet
   Template reutilisable (B&W, typo massive,
   editorial, video-first).
   ======================================== */

:root {
    --black: #111111;
    --white: #FFFFFF;
    --gray-900: #1F1F21;
    --gray-700: #39393B;
    --gray-500: #707072;
    --gray-400: #9E9EA0;
    --gray-300: #CACACB;
    --gray-200: #E5E5E5;
    --gray-100: #F5F5F5;
    --gray-50: #FAFAFA;
    --accent: #FF5000;

    --sans: 'Inter', 'Helvetica Now Text', Helvetica, Arial, sans-serif;
    --serif: 'DM Serif Display', 'Palatino LT Pro Light', Georgia, serif;
}

/* ========================================
   DARK MODE
   On inverse simplement --white et --black + on adapte la palette gray
   pour bien contraster en sombre. Toutes les classes dossica utilisent
   var(--xxx), donc le basculement est automatique partout.
   ======================================== */
.dark {
    --white: #0c0a09;     /* fond principal -> sombre */
    --black: #f5f5f4;     /* texte/CTA -> clair */
    --gray-900: #e7e5e4;
    --gray-700: #d6d3d1;
    --gray-500: #a8a29e;
    --gray-400: #78716c;
    --gray-300: #57534e;
    --gray-200: #44403c;
    --gray-100: #292524;
    --gray-50: #1c1917;
}

/* Overrides ciblés pour les rgba/hex hardcoded (les variables ne couvrent pas
   les valeurs translucides ni quelques cas particuliers). */
.dark .navbar {
    background: rgba(12,10,9,0.95);
    border-bottom-color: var(--gray-200);
}

/* .video-band a un fond noir hardcoded (#000) dans LES DEUX MODES.
   Donc son contenu doit rester BLANC dans LES DEUX MODES.
   Bug avant : .oversize utilise color: var(--white) qui s'inverse en dark
   et devient #0c0a09 (sombre) -> texte invisible sur fond noir.
   Fix : forcer color: white en absolu pour tout le contenu de .video-band. */
.video-band .oversize,
.dark .video-band .oversize {
    color: #ffffff;
}
.video-band .eyebrow,
.video-band .eyebrow-light,
.dark .video-band .eyebrow,
.dark .video-band .eyebrow-light {
    color: rgba(255,255,255,0.85);
}
.dark .nav-mobile-right a[style*="background: #1a2e1a"],
.dark .nav-cta {
    /* Le bouton CTA est noir (var(--black)) en clair, devient clair en sombre,
       avec texte sombre pour la lisibilité (le !important du color: var(--white)
       dans dossica est contre-productif en sombre, on force ici). */
    color: var(--white) !important;
}
/* Hero overlays (gradient noir transparent sur image) — on inverse */
.dark .expansion-bg-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.6) 100%);
}
.dark .video-overlay { background: rgba(0,0,0,0.5); }

/* Video band : fond noir en clair, on garde noir en sombre (pas de contraste à inverser) */
/* Cards / sections avec fond white — héritent automatiquement via var(--white) */

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--black);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* ========================================
   TYPOGRAPHY PRIMITIVES
   ======================================== */

.eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--black);
    margin-bottom: 20px;
}

.eyebrow-light {
    color: rgba(255,255,255,0.9);
}

.display {
    font-family: var(--sans);
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: var(--black);
    margin-bottom: 28px;
}

.display em {
    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.01em;
}

.oversize {
    font-family: var(--sans);
    font-weight: 900;
    font-size: clamp(3.5rem, 12vw, 11rem);
    line-height: 0.9;
    letter-spacing: -0.05em;
    color: var(--white);
}

.oversize em {
    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.01em;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn-primary {
    display: inline-block;
    padding: 16px 32px;
    background: var(--black);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 999px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background: var(--gray-700);
    transform: translateY(-1px);
}

.btn-white {
    background: var(--white);
    color: var(--black);
}

.btn-white:hover {
    background: var(--gray-200);
}

/* .btn-link : posé sur le hero sombre (image expansion), reste blanc
   quel que soit le mode (var(--white) s'inverse en dark = noir = invisible). */
.btn-link {
    display: inline-block;
    padding: 16px 8px;
    color: #FFFFFF;
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.btn-link:hover {
    border-color: #FFFFFF;
}

.link-arrow {
    display: inline-block;
    font-weight: 600;
    font-size: 1rem;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--black);
    transition: gap 0.2s;
}

.link-arrow:hover {
    opacity: 0.7;
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
    max-width: 1920px;
    margin: 0 auto;
    padding: 16px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 1.6rem;
    letter-spacing: -0.01em;
    color: #1a2e1a;
}
.logo::after {
    content: ".";
    color: #FF5000;
}
.dark .logo {
    color: #f5f5f0;
}

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

.nav-links a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--black);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--gray-500);
}

.nav-cta {
    padding: 10px 20px;
    background: var(--black);
    color: var(--white) !important;
    border-radius: 999px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--gray-700);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--black);
    transition: transform 0.2s;
}

.nav-links.open {
    display: flex;
}

/* ========================================
   SCROLL EXPANSION HERO (preserved)
   ======================================== */

.expansion-hero {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    z-index: 50;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0f0f;
}

.expansion-hero.done {
    position: relative;
    z-index: auto;
}

/* Garde-fou : si la classe .static est présente (rendu SSR par défaut),
   on force le layout statique avec !important pour défeater tout style
   d'animation hérité (cache CSS pourri sur iOS Safari). */
.expansion-hero.static {
    position: relative !important;
    height: auto !important;
}
.expansion-hero.static .expansion-media {
    animation: none !important;
    position: relative !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    opacity: 1 !important;
}
.expansion-hero.static #titleLine1,
.expansion-hero.static #titleLine2 {
    animation: none !important;
    transform: none !important;
}
.expansion-hero.static .expansion-text {
    animation: none !important;
    opacity: 1 !important;
    position: relative !important;
}
.expansion-hero.static .expansion-bg-overlay {
    animation: none !important;
}
.expansion-hero.static .expansion-media-overlay {
    animation: none !important;
}

/* Animation pilotée par JS (dossica.js) — transforms et opacity uniquement,
   ce qui garantit GPU compositor et fluidité sur tous browsers (iOS inclus).
   Les keyframes CSS scroll-driven ont été retirées car iOS Safari les
   implémente avec bugs (image décalée hors viewport). */

.expansion-bottom {
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

/* HERO STATIQUE — version finale, scroll 100% natif sur tous les devices */
.expansion-hero.static {
    position: relative;
    height: auto;
    min-height: 100vh;
    padding: 6rem 1.5rem 5rem;
    overflow: hidden;
    flex-direction: column;
    text-align: center;
}
.expansion-hero.static .expansion-media {
    position: relative;
    width: min(85vw, 420px);
    height: min(55vh, 540px);
    border-radius: 20px;
    margin: 0 auto 2.5rem;
    transform: none !important;
    box-shadow: 0 25px 60px -20px rgba(0,0,0,0.4);
}
.expansion-hero.static .expansion-text {
    position: relative;
    margin: 0 0 1.5rem;
    z-index: 2;
}
.expansion-hero.static .expansion-title-line {
    transform: none !important;
}
.expansion-hero.static .expansion-bottom {
    position: relative;
    opacity: 1;
    transform: none;
    margin-top: 1.5rem;
    z-index: 2;
}
.expansion-hero.static .expansion-scroll-hint { display: none; }

/* Sur grand écran : cap la largeur du media pour ne pas qu'il devienne énorme */
@media (min-width: 768px) {
    .expansion-hero.static .expansion-media {
        width: min(50vw, 480px);
        height: min(60vh, 600px);
    }
}

.expansion-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.expansion-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.expansion-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
}

.expansion-media {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 80px rgba(0,0,0,0.5);
    width: 280px;
    height: 380px;
}

.expansion-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.expansion-media-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
}

.expansion-text {
    position: absolute;
    z-index: 5;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    pointer-events: none;
    /* Mix-blend supprimé : illisible sur fond chaud. Remplacé par texte blanc
       net + ombre portée pour garantir le contraste sur n'importe quelle image. */
    text-shadow: 0 6px 32px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.55);
}

.expansion-title-line { overflow: hidden; }

.expansion-title-line span {
    font-family: var(--sans);
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    color: #FFFFFF;
    letter-spacing: -0.04em;
    line-height: 1;
    white-space: nowrap;
    display: block;
    text-transform: uppercase;
}

.expansion-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
    padding: 48px 24px 56px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    display: none;
    opacity: 0;
}

.expansion-bottom.visible {
    display: block;
    animation: fadeUp 0.6s ease forwards;
}

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

.expansion-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.9);
    max-width: 520px;
    margin: 0 auto 28px;
    line-height: 1.5;
    font-weight: 400;
}

.expansion-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.expansion-cta .btn-primary {
    background: var(--white);
    color: var(--black);
}

.expansion-cta .btn-primary:hover {
    background: var(--gray-200);
}

.expansion-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: opacity 0.3s ease;
}

.expansion-scroll-hint.hidden {
    opacity: 0;
    pointer-events: none;
}

.expansion-scroll-hint > span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.scroll-arrow span {
    display: block;
    width: 14px;
    height: 14px;
    border-right: 2px solid rgba(255,255,255,0.7);
    border-bottom: 2px solid rgba(255,255,255,0.7);
    transform: rotate(45deg);
    animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translateY(0); opacity: 0.6; }
    50% { transform: rotate(45deg) translateY(6px); opacity: 1; }
}

/* ========================================
   EDITORIAL STORY SECTION
   ======================================== */

.editorial {
    padding: 120px 40px;
    background: var(--white);
}

.editorial-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.editorial-image img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    border-radius: 4px;
}

.editorial-text p {
    font-size: 1.1rem;
    color: var(--gray-700);
    line-height: 1.65;
    margin-bottom: 20px;
}

.editorial-text p + p {
    margin-bottom: 32px;
}

/* ========================================
   VIDEO BAND (full-width)
   ======================================== */

.video-band {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.video-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
    max-width: 1400px;
}

.video-content .oversize {
    margin-bottom: 40px;
}

/* ========================================
   PRODUCTS (Nike grid)
   ======================================== */

.products {
    padding: 120px 40px 80px;
    background: var(--white);
}

.products-header {
    max-width: 1440px;
    margin: 0 auto 48px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.products-header .display {
    margin-bottom: 0;
}

.products-grid {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.product {
    background: var(--gray-100);
    cursor: pointer;
    transition: transform 0.3s ease;
    overflow: hidden;
    /* button reset au cas où on utilise <button> au lieu de <a> */
    border: none;
    padding: 0;
    text-align: left;
    font-family: inherit;
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
}

.product:hover {
    transform: translateY(-4px);
}

.product-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--gray-200);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product:hover .product-media img {
    transform: scale(1.04);
}

.product-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background: var(--accent);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 2px;
}

.product-tag-dark {
    background: var(--black);
}

.product-body {
    padding: 24px 8px 8px;
}

.product-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.product-sub {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
}

.product-price span {
    font-size: 0.9rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-left: 4px;
}

.product-cta {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--black);
    padding-bottom: 2px;
    border-bottom: 1px solid var(--black);
    transition: opacity 0.2s;
}

.product-cta:hover {
    opacity: 0.6;
}

/* ========================================
   NUMBERS (big typography)
   ======================================== */

.numbers {
    padding: 140px 40px;
    /* var(--gray-50) au lieu de --gray-100 pour homogeneite dark mode :
       --gray-100 = #292524 (stone-800, marron-gris) ressortait comme une
       couche distincte des autres sections en stone-900 (#1c1917).
       --gray-50 = #FAFAFA en clair (presque blanc, OK) et #1c1917 en dark
       (aligne avec les autres surfaces). */
    background: var(--gray-50);
}

.numbers-inner {
    max-width: 1440px;
    margin: 0 auto;
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    margin-top: 40px;
}

.number-item {
    border-top: 1px solid var(--black);
    padding-top: 24px;
}

.number {
    font-family: var(--sans);
    font-weight: 900;
    font-size: clamp(4rem, 9vw, 8rem);
    line-height: 0.9;
    letter-spacing: -0.05em;
    color: var(--black);
    margin-bottom: 24px;
}

.number span {
    font-size: 0.4em;
    font-weight: 700;
    margin-left: 6px;
    letter-spacing: -0.02em;
    vertical-align: 0.2em;
}

.number-item p {
    font-size: 1rem;
    color: var(--gray-700);
    line-height: 1.6;
    max-width: 320px;
}

/* ========================================
   FINAL CTA
   ======================================== */

.final-cta {
    position: relative;
    height: 80vh;
    min-height: 520px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
}

.final-cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.final-cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55);
}

.final-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 24px;
    color: var(--white);
}

.final-cta-content .oversize {
    margin-bottom: 24px;
}

.final-cta-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.9);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--black);
    color: var(--gray-300);
    padding: 80px 40px 32px;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
}

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

.footer-logo {
    font-family: var(--sans);
    font-weight: 900;
    font-size: 1.75rem;
    color: var(--white);
    letter-spacing: -0.02em;
}

.footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
}

.footer-col a {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-400);
    margin-bottom: 10px;
    transition: color 0.2s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--gray-700);
    font-size: 0.82rem;
    color: var(--gray-500);
    flex-wrap: wrap;
    gap: 12px;
}

/* ========================================
   COMMANDER / FORM PAGES (minimal, Nike style)
   ======================================== */

.page-padded {
    padding: 140px 40px 80px;
    max-width: 760px;
    margin: 0 auto;
    min-height: 100vh;
}

.page-padded h1 {
    font-family: var(--sans);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--black);
}

.page-padded .lead {
    font-size: 1.1rem;
    color: var(--gray-500);
    margin-bottom: 48px;
    line-height: 1.5;
}

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

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--black);
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 2px;
    font-family: var(--sans);
    font-size: 0.98rem;
    color: var(--black);
    transition: border-color 0.2s, background 0.2s;
    outline: none;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.form-help {
    font-size: 0.82rem;
    color: var(--gray-500);
    margin-top: 6px;
}

.form-submit {
    width: 100%;
    padding: 18px 32px;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: 999px;
    font-family: var(--sans);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 16px;
}

.form-submit:hover {
    background: var(--gray-700);
}

/* File upload */
.file-upload-zone {
    border: 1.5px dashed var(--gray-300);
    border-radius: 4px;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: var(--gray-50);
}

.file-upload-zone:hover,
.file-upload-zone.dragover {
    border-color: var(--black);
    background: var(--white);
}

.file-upload-zone p {
    font-size: 0.92rem;
    color: var(--gray-500);
}

.file-list {
    margin-top: 16px;
}

.file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--gray-100);
    margin-bottom: 8px;
    border-radius: 2px;
}

.file-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--black);
}

.file-item-size {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-left: 12px;
}

.file-item-remove {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--gray-500);
    cursor: pointer;
    padding: 4px 8px;
}

.file-item-remove:hover {
    color: var(--black);
}

/* Loading overlay */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
}

.loading-overlay.active {
    display: flex;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--black);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loading-overlay p {
    font-size: 0.95rem;
    color: var(--gray-500);
}

/* ========================================
   RESPONSIVE
   ======================================== */

/* Breakpoint nav abaissé : on garde la nav desktop visible plus longtemps */
@media (max-width: 720px) {
    .nav-inner { padding: 14px 20px; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        border-bottom: 1px solid var(--gray-200);
        gap: 20px;
    }
    .nav-links.open { display: flex; }
    .menu-toggle { display: flex; }
    .nav-mobile-right { display: flex !important; align-items: center; }
}

@media (max-width: 960px) {
    .editorial {
        padding: 80px 24px;
    }
    .editorial-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .editorial-image img { height: 420px; }

    .video-band { min-height: 560px; }

    .products { padding: 80px 24px 60px; }
    .products-header {
        flex-direction: column;
        align-items: flex-start;
    }
    /* Grille 2 colonnes facon Vinted + cartes compactes sur mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .product-body { padding: 8px 2px 6px; }
    .product-body h3 { font-size: 0.9rem; margin-bottom: 2px; }
    .product-sub { font-size: 0.74rem; margin-bottom: 5px; }
    .product-price { font-size: 1rem; margin-bottom: 6px; }
    .product-cta { display: none; }
    .product-tag { top: 8px; left: 8px; padding: 3px 7px; font-size: 0.6rem; }

    .numbers { padding: 80px 24px; }
    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .final-cta { height: 70vh; }

    .footer { padding: 60px 24px 24px; }
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .expansion-title-line span { font-size: clamp(2rem, 12vw, 3.5rem); }
    .expansion-sub { font-size: 0.95rem; }

    .page-padded { padding: 100px 20px 60px; }
}

@media (max-width: 480px) {
    .editorial { padding: 60px 20px; }
    .editorial-image img { height: 320px; }
    .products-grid { gap: 16px; }
    .final-cta-content p { font-size: 1rem; }
    .footer-top { grid-template-columns: 1fr; }
}

/* ========================================
   WIZARD (Typeform-style form)
   ======================================== */

.wizard-body {
    background: var(--white);
    min-height: 100vh;
    overflow: hidden;
}

.wizard-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gray-100);
    z-index: 200;
}

.wizard-progress-bar {
    height: 100%;
    background: var(--black);
    width: 0%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wizard-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 150;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    pointer-events: none;
}

.wizard-topbar > * {
    pointer-events: auto;
}

.wizard-logo {
    font-family: var(--sans);
    font-weight: 900;
    font-size: 1.25rem;
    color: var(--black);
    letter-spacing: -0.02em;
}

.wizard-step-count {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    font-variant-numeric: tabular-nums;
}

/* ---- QUESTIONS ---- */

.wizard {
    min-height: 100vh;
    width: 100%;
    position: relative;
}

.q {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(40px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.q.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.q-inner {
    max-width: 720px;
    width: 100%;
}

.q-num {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.q-title {
    font-family: var(--sans);
    font-weight: 900;
    font-size: clamp(1.75rem, 4.5vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--black);
    margin-bottom: 14px;
}

.q-title em {
    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
}

.q-sub {
    font-size: 1.05rem;
    color: var(--gray-500);
    margin-bottom: 40px;
    line-height: 1.5;
}

.q-sub em {
    font-style: italic;
    color: var(--gray-400);
}

.q-input-wrap {
    position: relative;
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.q-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--gray-300);
    padding: 12px 0;
    font-family: var(--sans);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--black);
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.q-input:focus {
    border-bottom-color: var(--black);
}

.q-input::placeholder {
    color: var(--gray-400);
    font-weight: 400;
}

.q-textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.4;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    padding: 16px 20px;
    font-size: 1.05rem;
}

.q-textarea:focus {
    border-color: var(--black);
}

.q-input-suffix {
    font-size: 1.2rem;
    color: var(--gray-500);
    font-weight: 500;
    white-space: nowrap;
}

.q-error {
    min-height: 22px;
    font-size: 0.85rem;
    color: #D30005;
    margin-bottom: 8px;
    font-weight: 500;
}

.q-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.q-next,
.q-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--black);
    color: var(--white);
    border: none;
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, transform 0.15s;
    letter-spacing: -0.01em;
}

.q-next:hover,
.q-submit:hover {
    background: var(--gray-700);
    transform: translateY(-1px);
}

.q-submit {
    font-size: 1.05rem;
    padding: 16px 32px;
}

.q-check {
    font-size: 0.85em;
    opacity: 0.8;
}

.q-skip {
    background: transparent;
    border: none;
    color: var(--gray-500);
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    padding: 14px 8px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.q-skip:hover {
    color: var(--black);
}

.q-hint {
    font-size: 0.82rem;
    color: var(--gray-500);
}

.q-hint kbd {
    display: inline-block;
    padding: 2px 6px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 3px;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-700);
    margin: 0 2px;
}

/* ---- CHOICE BUTTONS ---- */

.q-choices {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.q-choice {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    padding: 18px 22px;
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 6px;
    font-family: var(--sans);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--black);
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
}

.q-choice em {
    font-style: normal;
    color: var(--gray-500);
    font-weight: 400;
    margin-left: 6px;
}

.q-choice:hover {
    border-color: var(--black);
    background: var(--gray-50);
    transform: translateX(4px);
}

.q-choice.selected {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}

.q-choice.selected em {
    color: rgba(255,255,255,0.7);
}

.q-choice.selected .q-letter {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
}

.q-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--gray-300);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--gray-500);
    flex-shrink: 0;
    transition: all 0.15s;
}

.q-choice:hover .q-letter {
    border-color: var(--black);
    color: var(--black);
}

/* ---- FILE UPLOAD (inside wizard) ---- */

.file-upload-zone {
    border: 2px dashed var(--gray-300);
    border-radius: 6px;
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: var(--gray-50);
    margin-bottom: 16px;
}

.file-upload-zone:hover,
.file-upload-zone.dragover {
    border-color: var(--black);
    background: var(--white);
}

.file-upload-zone p {
    font-size: 0.98rem;
    color: var(--black);
    margin-bottom: 4px;
}

.file-upload-zone .q-sub-muted {
    color: var(--gray-500);
    font-size: 0.92rem;
}

.q-link {
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.file-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    background: var(--gray-100);
    border-radius: 4px;
    gap: 8px;
}

.file-item-name {
    flex: 1;
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--black);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-item-size {
    font-size: 0.78rem;
    color: var(--gray-500);
    white-space: nowrap;
}

.file-item-remove {
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0 6px;
    line-height: 1;
}

.file-item-remove:hover {
    color: var(--black);
}

/* ---- RECAP ---- */

.recap {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    padding: 24px 28px;
    margin-bottom: 32px;
}

.recap-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.95rem;
}

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

.recap-label {
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    flex-shrink: 0;
    width: 110px;
    padding-top: 2px;
}

.recap-value {
    color: var(--black);
    text-align: right;
    flex: 1;
    word-break: break-word;
}

/* ---- BOTTOM NAV ---- */

.wizard-footer {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 150;
    display: flex;
    gap: 2px;
    background: var(--black);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.wizard-prev,
.wizard-next-arrow {
    width: 44px;
    height: 44px;
    background: var(--black);
    color: var(--white);
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wizard-prev:hover:not(:disabled),
.wizard-next-arrow:hover:not(:disabled) {
    background: var(--gray-700);
}

.wizard-prev:disabled,
.wizard-next-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

/* ---- WIZARD RESPONSIVE ---- */

@media (max-width: 720px) {
    .q {
        padding: 80px 20px 120px;
        align-items: flex-start;
    }
    .q-inner {
        margin-top: 40px;
    }
    .wizard-topbar {
        padding: 18px 20px;
    }
    .q-title {
        font-size: clamp(1.5rem, 6vw, 2.25rem);
    }
    .q-choices {
        gap: 10px;
    }
    .q-choice {
        padding: 14px 16px;
        font-size: 0.98rem;
    }
    .wizard-footer {
        bottom: 16px;
        right: 16px;
    }
    .recap-row {
        flex-direction: column;
        gap: 4px;
    }
    .recap-value {
        text-align: left;
    }
}

/* ========== LEGAL PAGES ========== */
.legal-page {
    padding: 140px 24px 80px;
    min-height: 100vh;
    background: #fafaf7;
}
.legal-inner {
    max-width: 780px;
    margin: 0 auto;
    background: #fff;
    padding: 56px 64px;
    border-radius: 8px;
    box-shadow: 0 2px 24px rgba(0,0,0,0.04);
}
.legal-back {
    display: inline-block;
    color: #888;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 24px;
    transition: color 0.2s;
}
.legal-back:hover { color: #000; }
.legal-page h1.display {
    font-family: 'DM Serif Display', serif;
    font-size: 52px;
    line-height: 1.1;
    margin: 0 0 12px;
    color: #111;
}
.legal-date {
    color: #999;
    font-size: 13px;
    margin: 0 0 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eee;
}
.legal-page h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin: 36px 0 12px;
    color: #111;
}
.legal-page h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    margin: 24px 0 8px;
    color: #222;
}
.legal-page p, .legal-page li {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
}
.legal-page ul {
    padding-left: 22px;
    margin: 12px 0;
}
.legal-page li { margin-bottom: 6px; }
.legal-page a {
    color: #d97706;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.legal-page a:hover { color: #92400e; }
.legal-notice {
    background: #fef3c7;
    border-left: 4px solid #d97706;
    padding: 16px 20px;
    margin: 24px 0 32px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
    color: #78350f;
}
.legal-footer-link {
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 14px;
    color: #888;
}
@media (max-width: 640px) {
    .legal-page { padding: 100px 12px 40px; }
    .legal-inner { padding: 32px 24px; }
    .legal-page h1.display { font-size: 36px; }
}

/* ========== TESTIMONIALS ========== */
.testimonials {
    padding: 120px 24px;
    background: #fafaf7;
}
.testimonials-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.testimonials-header {
    text-align: center;
    margin-bottom: 64px;
}
.testimonials-badge {
    display: inline-block;
    background: #fff7ed;
    color: #92400e;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.testimonials h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 48px;
    line-height: 1.1;
    margin: 0 0 16px;
    color: #111;
}
.testimonials-sub {
    color: #666;
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto;
}
.testimonials-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
    font-size: 15px;
    color: #444;
}
.stars { color: #f59e0b; letter-spacing: 2px; font-size: 18px; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: #fff;
    padding: 28px;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}
.testimonial-stars { color: #f59e0b; margin-bottom: 12px; }
.testimonial-text {
    font-size: 15px;
    line-height: 1.65;
    color: #222;
    flex: 1;
    margin: 0 0 20px;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f0f0ec;
}
.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}
.testimonial-meta {
    display: flex;
    flex-direction: column;
}
.testimonial-name { font-weight: 600; font-size: 14px; color: #111; }
.testimonial-role { font-size: 13px; color: #888; }
.testimonials-disclaimer {
    margin-top: 40px;
    text-align: center;
    font-size: 12px;
    color: #999;
    font-style: italic;
}
.testimonials-cta {
    text-align: center;
    margin-top: 48px;
}
.testimonials-cta a {
    color: #d97706;
    text-decoration: underline;
    font-size: 14px;
}
@media (max-width: 900px) {
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonials h2 { font-size: 36px; }
    .testimonials { padding: 80px 16px; }
}

/* ========== FOOTER LEGAL LINKS ========== */
.footer-bottom a {
    color: inherit;
    text-decoration: none;
    opacity: 0.8;
}
.footer-bottom a:hover { opacity: 1; text-decoration: underline; }

/* ========== REVIEW SUBMISSION FORM ========== */
.review-form {
    max-width: 620px;
    margin: 40px auto 0;
    background: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}
.review-form h3 {
    font-family: 'DM Serif Display', serif;
    font-size: 24px;
    margin: 0 0 8px;
}
.review-form p.review-intro {
    color: #666;
    font-size: 14px;
    margin: 0 0 24px;
}
.review-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin: 16px 0 6px;
    color: #333;
}
.review-form input,
.review-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e5e0;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}
.review-form textarea { min-height: 100px; resize: vertical; }
.star-picker {
    display: flex;
    gap: 4px;
    font-size: 28px;
    color: #ddd;
    cursor: pointer;
    user-select: none;
}
.star-picker span.active,
.star-picker span:hover,
.star-picker span:hover ~ span.active { color: #f59e0b; }
.review-form button {
    margin-top: 20px;
    width: 100%;
    padding: 14px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.review-form button:hover { background: #000; }
.review-status {
    margin-top: 12px;
    font-size: 13px;
    text-align: center;
}
.review-status.success { color: #059669; }
.review-status.error { color: #dc2626; }
