/* =========================================
   RESET CLINIQUE ET FONDATIONS
   ========================================= */

:root {
    --nav-height: 72px;
}

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

body {
    font-family: 'Bodoni Moda', serif;
    background-color: #EBEBE9;
    color: #000000;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* =========================================
   PAGE D'ACCUEIL (VITRINE IMMERSIVE)
   ========================================= */

.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    background-image: url('../assets/img/hero-bg.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #050505; 
}

/* Le filtre sombre classique de l'image (40%) */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 1;
}

/* LE VOILE NOIR DU CHARGEMENT */
#black-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #050505;
    z-index: 5; /* Au-dessus du fond, sous le texte */
    transition: opacity 1.5s ease;
}

#black-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

/* LE CONTENEUR CENTRAL */
.hero-center-block {
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: opacity 1s ease;
}

/* Disparition au scroll — la nav prend le relais */
.hero-center-block.faded {
    opacity: 0;
    pointer-events: none;
}

.hero-logo-link {
    text-decoration: none;
    transition: transform 0.4s ease;
    cursor: default; /* Rendu non cliquable tant qu'on n'a pas appuyé sur ENTRER */
}

/* Activation du clic une fois la boutique ouverte */
.hero-logo-link.active {
    cursor: pointer;
}
.hero-logo-link.active:hover {
    transform: scale(1.02);
}

.hero-logo {
    font-size: 120px;
    font-weight: 700;
    letter-spacing: 0.8rem;
    color: #EBEBE9;
    line-height: 0.85;
    margin-bottom: 0;
    /* text-shadow supprimé — interdit par la charte */
}

/* ANIMATION DES LETTRES ET POINTS */
.brand-letter, .brand-dot {
    opacity: 0;
    transition: opacity 0.8s ease; /* Fade fluide */
}

.brand-dot { color: #7A1F1F; }
.brand-glitch { color: #7A1F1F; }

.brand-letter.visible, .brand-dot.visible {
    opacity: 1;
}

/* ANIMATION DU SOUS-TITRE */
.hero-subtitle-wrapper { 
    margin-top: 15px; 
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-subtitle-wrapper.visible {
    opacity: 1;
}

.hero-subtitle {
    font-family: 'Space Mono', monospace;
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.15rem; 
    color: #EBEBE9; 
    text-transform: uppercase;
    text-shadow: 0px 2px 10px rgba(0,0,0,0.6);
    text-decoration: line-through;
    text-decoration-color: #EBEBE9; 
    text-decoration-thickness: 1px; 
    display: inline-block; 
}

/* LE BOUTON ENTRER */
#enter-btn {
    margin-top: 50px; /* S'écarte du sous-titre */
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 1s ease;
}

#enter-btn.visible {
    opacity: 1;
}

#enter-btn.hidden {
    opacity: 0;
    pointer-events: none;
}

/* =========================================
   ORGANE DE NAVIGATION PERMANENTE
   ========================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 50;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transition: opacity 1.5s ease;
}

/* État actif — révélé après ENTRER ou permanent sur pages intérieures */
.site-header.visible {
    opacity: 1;
}

/* Mode permanent : fond blanc chirurgical + séparateur dashed */
.site-header.permanent {
    opacity: 1;
    background-color: #FFFFFF;
    border-bottom: 1px dashed #b0b0b0;
}

/* --- LOGO NAV --- */
.nav-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ---- VERSION ACRONYME : visible sur le hero (fond sombre) ---- */
.nav-logo-acronym {
    font-family: 'Bodoni Moda', serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.28rem;
    color: #EBEBE9;
    display: block;
    line-height: 1.1;
    transition: color 0.4s ease;
}

/* Les points en rouge sang */
.nav-dot {
    color: #7A1F1F;
}

/* ---- VERSION MARQUE : visible sur pages intérieures ---- */
/* R.I.E.N. en Bodoni + tagline Space Mono — cohérence avec le hero */
.nav-logo-full {
    display: none; /* caché par défaut */
    flex-direction: column;
    gap: 3px;
    line-height: 1;
}

/* Le sigle — même traitement que le hero, réduit à l'échelle nav */
.nav-logo-mark {
    font-family: 'Bodoni Moda', serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.28rem;
    color: #050505;
    display: block;
    line-height: 1;
}

/* Les points restent rouge sang */
.nav-logo-mark .nav-dot {
    color: #7A1F1F;
}

/* Tagline clinique sous la marque */
.nav-logo-tagline {
    font-family: 'Space Mono', monospace;
    font-size: 6.5px;
    font-weight: 400;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: #666666;
    display: block;
    line-height: 1;
}

/* Swap selon le contexte */
.site-header.permanent .nav-logo-acronym {
    display: none;
}
.site-header.permanent .nav-logo-full {
    display: flex;
}

/* --- LIENS CENTRAUX --- */
.nav-links-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 44px;
    align-items: center;
}

/* --- UTILITAIRES DROITE --- */
.nav-utils {
    display: flex;
    gap: 28px;
    align-items: center;
    min-width: 80px;
    justify-content: flex-end;
}

/* --- STYLE COMMUN : LIENS DE NAVIGATION --- */
.nav-link {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #EBEBE9;
    position: relative;
    display: inline-block;
    transition: color 0.4s ease;
}

/* Couleur sombre sur pages intérieures */
.site-header.permanent .nav-link {
    color: #050505;
}

/* Ligne rouge animée au survol */
.nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #7A1F1F;
    transform: translateY(-50%) scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-link:hover { color: #7A1F1F; }
.nav-link:hover::after { transform: translateY(-50%) scaleX(1); }

/* --- BOUTON ENTRER (conservé indépendant) --- */
.corner-link {
    font-family: 'Space Mono', monospace;
    font-weight: bold;
    font-style: normal;
    color: #EBEBE9; 
    text-decoration: none;
    font-size: 20px; 
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    transition: color 0.4s ease; 
}

.corner-link::after {
    content: '';
    position: absolute;
    top: 50%; 
    left: 0;
    width: 100%;
    height: 1px; 
    background-color: #7A1F1F; 
    transform: translateY(-50%) scaleX(0); 
    transform-origin: left; 
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1); 
}

.corner-link:hover { color: #7A1F1F; }
.corner-link:hover::after { transform: translateY(-50%) scaleX(1); }

/* =========================================
   HOMEPAGE — SECTION ÉDITORIALE
   ========================================= */

.editorial-split {
    display: flex;
    width: 100vw;
    height: 100vh;
}

/* --- PANNEAU ÉDITORIAL --- */
.editorial-panel {
    position: relative;
    width: 50%;
    height: 100%;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.editorial-panel--left {
    border-right: 1px dashed #b0b0b0;
}

/* Fond image : remplacer background-image par la photo éditoriale */
.editorial-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #080808; /* Fallback si pas d'image */
    transition: transform 1.8s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Voile sombre permanent sur les images */
.editorial-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.35);
    z-index: 1;
    transition: background-color 0.6s ease;
}

/* Zoom image au survol — lent, élégant */
.editorial-panel:hover .editorial-bg {
    transform: scale(1.04);
}

/* Le voile s'allège au survol */
.editorial-panel:hover .editorial-overlay {
    background-color: rgba(0, 0, 0, 0.2);
}

/* --- LABEL EN BAS DE PANNEAU --- */
.editorial-label {
    position: absolute;
    bottom: 44px;
    left: 44px;
    z-index: 2;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    color: #EBEBE9;
    display: inline-block;
    transition: color 0.4s ease;
}

/* Ligne rouge au survol du panneau */
.editorial-label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #7A1F1F;
    transform: translateY(-50%) scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.editorial-panel:hover .editorial-label {
    color: #7A1F1F;
}

.editorial-panel:hover .editorial-label::after {
    transform: translateY(-50%) scaleX(1);
}

/* =========================================
   BANDE ARCHIVE — VIDÉO PLEINE LARGEUR
   Sous la split éditoriale sur l'accueil.
   ========================================= */

.archive-band {
    position: relative;
    display: block;
    width: 100vw;
    height: 72vh;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    border-top: 1px dashed #b0b0b0;
}

/* Vidéo ou poster image */
.archive-band-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(18%) contrast(1.06);
    transition: filter 0.9s ease, transform 2.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.archive-band:hover .archive-band-video {
    filter: grayscale(0%) contrast(1.04);
    transform: scale(1.025);
}

/* Voile dégradé sombre → accent bas */
.archive-band-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 5, 0.12) 0%,
        rgba(5, 5, 5, 0.62) 100%
    );
    z-index: 1;
    transition: opacity 0.6s ease;
}

.archive-band:hover .archive-band-overlay {
    opacity: 0.8;
}

/* Scan lines CRT — texture archive */
.archive-band::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 3px,
        rgba(0, 0, 0, 0.03) 3px,
        rgba(0, 0, 0, 0.03) 4px
    );
    z-index: 2;
    pointer-events: none;
}

/* Contenu centré */
.archive-band-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
}

.archive-band-eyebrow {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.24rem;
    text-transform: uppercase;
    color: rgba(235, 235, 233, 0.45);
    display: block;
    margin-bottom: 8px;
}

.archive-band-title {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(88px, 11vw, 160px);
    font-weight: 900;
    font-style: italic;
    letter-spacing: 0.22rem;
    color: #EBEBE9;
    line-height: 0.92;
    text-transform: uppercase;
    display: block;
    transition: color 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.archive-band:hover .archive-band-title {
    color: #7A1F1F;
}

.archive-band-cta {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: rgba(235, 235, 233, 0.52);
    display: block;
    margin-top: 16px;
    transition: color 0.4s ease;
}

.archive-band:hover .archive-band-cta {
    color: #EBEBE9;
}

/* =========================================
   PAGE COLLECTION — GRILLE ARCHIVE
   ========================================= */

.collection-page {
    padding-top: var(--nav-height);
    min-height: 100vh;
    background-color: #FFFFFF;
}

/* --- EN-TÊTE DE COLLECTION --- */
.collection-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 56px 44px 24px;
    border-bottom: 1px dashed #b0b0b0;
}

.collection-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 0.1rem;
    color: #050505;
    text-transform: uppercase;
    line-height: 1;
}

.collection-title span {
    color: #7A1F1F;
}

.collection-filters-btn {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    color: #050505;
    background: transparent;
    border: 1px solid #050505;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.4s ease, color 0.4s ease;
    flex-shrink: 0;
}

.collection-filters-btn:hover {
    background-color: #050505;
    color: #EBEBE9;
}

/* --- GRILLE 3 COLONNES — sans bordures, espacement aéré --- */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 56px 32px;
    padding: 48px 44px 100px;
}

/* --- CARTE PRODUIT --- */
.product-card {
    /* Pas de bordure — l'espace parle */
}

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0;
}

/* Conteneur image — plein cadre, respiration interne */
.product-card-img-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    position: relative; /* pour l'overlay hover */
    padding: 20px;
}

/* Fond blanc pour mockups coloris — unifié avec les autres cartes */
.product-card-img-wrapper--dark {
    background-color: #FFFFFF;
    padding: 20px;
}

.product-card-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 1.4s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Zoom au survol */
.product-card:hover .product-card-img {
    transform: scale(1.04);
}

/* --- IMAGE HOVER PORTÉ (style ERD) — inactive tant que hoverImg est null --- */
.product-card-img-hover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 1;
}
.product-card-img-hover[src=""] { display: none; }

/* --- OVERLAY : NUMÉRO DE RÉFÉRENCE GÉANT AU HOVER --- */
.product-card-ref-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 2;
}

.product-card-ref-overlay span {
    font-family: 'Bodoni Moda', serif;
    font-size: 110px;
    font-weight: 900;
    line-height: 1;
    color: rgba(122, 31, 31, 0);
    transition: color 0.5s ease;
    user-select: none;
}

.product-card:hover .product-card-ref-overlay span {
    color: rgba(122, 31, 31, 0.55);
}

/* --- INFOS PRODUIT SOUS L'IMAGE --- */
.product-card-meta {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-card-ref {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.12rem;
    color: #7A1F1F;
    text-transform: uppercase;
}

.product-card-name {
    font-family: 'Bodoni Moda', serif;
    font-size: 18px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.01rem;
    color: #050505;
    text-transform: none;
    line-height: 1.2;
}

.product-card-price {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: #444;
    margin-top: 2px;
}

.product-card-status {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.08rem;
    color: #7A1F1F;
    text-transform: uppercase;
    margin-top: 3px;
}

/* =========================================
   PAGE PRODUIT (SPLIT SCREEN)
   ========================================= */

/* Fond blanc chirurgical sur la page produit */
.split-layout {
    display: flex;
    width: 100vw;
    min-height: calc(100vh - var(--nav-height));
    margin-top: var(--nav-height);
    background-color: #FFFFFF;
}

/* Left panel : flex-row — thumbnails à gauche, image à droite */
.left-panel {
    width: 50%;
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border-right: 1px dashed #b0b0b0;
    /* Image sticky : reste visible pendant le scroll du right panel */
    position: sticky;
    top: var(--nav-height);
    height: calc(100vh - var(--nav-height));
    align-self: flex-start;
}

/* --- GALERIE THUMBNAILS — strip vertical WDW --- */
.thumbnail-strip {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 76px;
    flex-shrink: 0;
    padding: 28px 14px;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(0, 0, 0, 0.07);
    overflow-y: auto;
}

/* Masquer la scrollbar du strip */
.thumbnail-strip::-webkit-scrollbar { display: none; }
.thumbnail-strip { scrollbar-width: none; }

.thumbnail-item {
    width: 48px;
    height: 60px;
    object-fit: contain;
    cursor: pointer;
    opacity: 0.38;
    border: 1px solid transparent;
    transition: opacity 0.35s ease, border-color 0.35s ease;
    flex-shrink: 0;
}

.thumbnail-item:hover {
    opacity: 0.72;
}

.thumbnail-item.active {
    opacity: 1;
    border-color: #050505;
}

/* Zone image principale — prend l'espace restant, contient le slide */
.product-image-zone {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: hidden;
}

/* Cadre avec coins rouges — ADN R.I.E.N. */
.corner-frame {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 75vh;
}

/* Les 4 coins en rouge sang */
.corner {
    position: absolute;
    width: 14px;
    height: 14px;
    z-index: 2;
    pointer-events: none;
}

.corner--tl { top: -7px;    left: -7px;    border-top:    1.5px solid #7A1F1F; border-left:   1.5px solid #7A1F1F; }
.corner--tr { top: -7px;    right: -7px;   border-top:    1.5px solid #7A1F1F; border-right:  1.5px solid #7A1F1F; }
.corner--bl { bottom: -7px; left: -7px;    border-bottom: 1.5px solid #7A1F1F; border-left:   1.5px solid #7A1F1F; }
.corner--br { bottom: -7px; right: -7px;   border-bottom: 1.5px solid #7A1F1F; border-right:  1.5px solid #7A1F1F; }

/* Image principale */
.product-image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    background-color: transparent;
    display: block;
    /* transition gérée dynamiquement par JS pour le slide directionnel */
}
.right-panel { width: 50%; min-height: 100%; display: flex; align-items: center; padding-left: 8%; }
.product-info { max-width: 420px; width: 100%; padding: 40px 0; }
.reference { font-family: 'Space Mono', monospace; font-size: 0.7rem; color: #7A1F1F; letter-spacing: 0.1rem; text-transform: uppercase; margin-bottom: 16px; }

/* Titre style ERD — Helvetica Neue Bold All Caps */
.product-title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    line-height: 1.05;
    color: #050505;
    margin-bottom: 20px;
}

/* Description style ERD — uppercase, aérée */
.description {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.85;
    color: #111;
    margin-bottom: 28px;
}
.description p { margin: 0; }

/* Ligne tailles + mesures */
.size-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.size-selector-custom { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08rem;
    width: 46px;
    height: 46px;
    border: 1px solid #b0b0b0;
    background: transparent;
    color: #666666;
    cursor: pointer;
    transition: border-color 0.35s ease, background 0.35s ease, color 0.35s ease;
}
.size-btn:hover { border-color: #050505; color: #050505; }
.size-btn.active { background: #050505; color: #EBEBE9; border-color: #050505; }

/* Lien mesures */
.mesures-btn {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
    white-space: nowrap;
}
.mesures-btn:hover { color: #050505; }

/* Prix + Acquérir sur la même ligne */
.actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
}
.price {
    font-family: 'Space Mono', monospace;
    font-size: 0.82rem;
    color: #050505;
    letter-spacing: 0.06rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Bouton ACQUÉRIR */
.btn-acquerir {
    flex: 1;
    background-color: #050505;
    color: #EBEBE9;
    padding: 16px;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 0.1rem;
    border: none;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    transition: background-color 0.4s cubic-bezier(0.19, 1, 0.22, 1), color 0.4s ease;
}
.btn-acquerir:hover { background-color: #7A1F1F; }

/* =========================================
   BOUTON WISHLIST — FICHE PRODUIT
   ========================================= */
.wishlist-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-bottom: 20px;
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: #999;
    transition: color 0.3s ease;
}
.wishlist-btn:hover { color: #050505; }
.wishlist-btn.active { color: #7A1F1F; }
.wishlist-btn-icon {
    font-size: 14px;
    line-height: 1;
    transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}
.wishlist-btn:hover .wishlist-btn-icon,
.wishlist-btn.active .wishlist-btn-icon { transform: scale(1.2); }

/* =========================================
   GRILLE OBSESSIONS — PAGE COMPTE
   ========================================= */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.wishlist-card { display: flex; flex-direction: column; gap: 8px; }
.wishlist-card-link { text-decoration: none; color: inherit; display: block; }
.wishlist-card-img-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #fff;
    border: 1px dashed #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin-bottom: 8px;
}
.wishlist-card-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}
.wishlist-card-link:hover .wishlist-card-img { transform: scale(1.03); }
.wishlist-card-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.wishlist-card-ref {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: #7A1F1F;
}
.wishlist-card-name {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #050505;
}
.wishlist-card-price {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: #666;
}
.wishlist-card-remove {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    padding: 0;
    text-align: left;
    transition: color 0.2s ease;
    margin-top: 2px;
}
.wishlist-card-remove:hover { color: #7A1F1F; }

/* =========================================
   ACCORDÉONS FICHE PRODUIT
   ========================================= */
.product-accordions {
    margin-top: 28px;
    border-top: 1px dashed #b0b0b0;
}
.accordion-item {
    border-bottom: 1px dashed #b0b0b0;
}
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    cursor: pointer;
    user-select: none;
}
.accordion-header-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: #050505;
}
.accordion-toggle {
    font-family: 'Space Mono', monospace;
    font-size: 16px;
    color: #b0b0b0;
    line-height: 1;
    transition: transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}
.accordion-item.open .accordion-toggle { transform: rotate(45deg); }
.accordion-content {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.45s cubic-bezier(0.19, 1, 0.22, 1);
}
.accordion-item.open .accordion-content { max-height: 500px; }
.accordion-body {
    padding-bottom: 18px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.85;
    color: #555;
}
.accordion-body p { margin: 0 0 6px; }
.accordion-body p:last-child { margin-bottom: 0; }

/* =========================================
   SUGGESTIONS PRODUITS — scroll horizontal
   ========================================= */
.suggestions-section {
    width: 100%;
    padding: 48px 0 0;
    border-top: 1px dashed #b0b0b0;
    background: #fff;
    /* Colle au footer via le flow normal du document */
}

.suggestions-header {
    padding: 0 60px 24px;
}

.suggestions-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    color: #050505;
}

/* Track scrollable */
.suggestions-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 60px 48px;
}
.suggestions-track::-webkit-scrollbar { display: none; }

/* Card suggestion */
.suggestion-card {
    flex: 0 0 calc(25% - 18px);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.suggestion-img-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin-bottom: 14px;
}

.suggestion-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}
.suggestion-card:hover .suggestion-img { transform: scale(1.04); }

.suggestion-unavailable {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: #999;
}

.suggestion-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 2px;
}

.suggestion-ref {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: #7A1F1F;
}

.suggestion-name {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #050505;
    line-height: 1.2;
}

.suggestion-price {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: #050505;
    margin-top: 2px;
}

/* Mobile */
@media (max-width: 768px) {
    .suggestions-section { padding-top: 40px; margin-top: 40px; }
    .suggestions-header { padding: 0 20px 20px; }
    .suggestions-track { padding: 0 20px 30px; gap: 12px; }
    .suggestion-card { flex: 0 0 160px; }
}

/* =========================================
   MODAL GUIDE DES MESURES
   ========================================= */
.size-guide-overlay {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.65);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
}
.size-guide-overlay[hidden] { display: none; }
.size-guide-inner {
    background: #fff;
    padding: 40px;
    max-width: 460px;
    width: 90%;
    position: relative;
}
.size-guide-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #666;
    line-height: 1;
}
.size-guide-close:hover { color: #050505; }
.size-guide-title {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: #7A1F1F;
    margin-bottom: 24px;
}
.size-guide-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.8rem;
}
.size-guide-table th {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: #999;
    padding: 0 0 12px;
    text-align: left;
    border-bottom: 1px dashed #b0b0b0;
}
.size-guide-table td {
    padding: 10px 0;
    border-bottom: 1px dashed #ebebeb;
    color: #050505;
}
.size-guide-table td:first-child { font-weight: 700; }
.size-guide-note {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: #999;
    margin-top: 20px;
}

/* =========================================
   DRAWER PANIER
   ========================================= */

/* Voile sombre derrière le drawer */
.cart-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(5, 5, 5, 0);
    z-index: 90;
    pointer-events: none;
    transition: background-color 0.5s ease;
}
.cart-overlay.visible {
    background-color: rgba(5, 5, 5, 0.55);
    pointer-events: all;
}

/* Le drawer lui-même */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    height: 100vh;
    background-color: #EBEBE9;
    z-index: 100;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.55s cubic-bezier(0.19, 1, 0.22, 1);
    border-left: 1px dashed #b0b0b0;
}
.cart-drawer.open {
    transform: translateX(0);
}

/* --- EN-TÊTE DU DRAWER --- */
.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 32px;
    border-bottom: 1px dashed #b0b0b0;
    height: var(--nav-height);
}
.cart-drawer-title {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    color: #050505;
}
.cart-close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: #050505;
    line-height: 1;
    padding: 4px;
    transition: color 0.3s ease;
}
.cart-close:hover { color: #7A1F1F; }

/* --- LISTE DES ARTICLES --- */
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 0 32px;
}

/* État vide — typographie brutale ERD */
.cart-empty {
    font-family: 'Bodoni Moda', serif;
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 0.05rem;
    color: #050505;
    text-transform: uppercase;
    line-height: 1.1;
    padding-top: 60px;
}

/* Ligne article */
.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 0;
    border-bottom: 1px dashed #b0b0b0;
}
.cart-item-img {
    width: 72px;
    height: 88px;
    background-color: #E8E8E6;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-item-img img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.cart-item-ref {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: #7A1F1F;
    letter-spacing: 0.1rem;
}
.cart-item-name {
    font-family: 'Bodoni Moda', serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: #050505;
}
.cart-item-size {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 11px;
    color: #666666;
}
.cart-item-price {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 12px;
    color: #050505;
    margin-top: 4px;
}
.cart-item-remove {
    background: none;
    border: none;
    font-size: 18px;
    color: #b0b0b0;
    cursor: pointer;
    padding: 0 4px;
    transition: color 0.3s ease;
    line-height: 1;
    flex-shrink: 0;
}
.cart-item-remove:hover { color: #7A1F1F; }

/* Ligne quantité + prix par article */
.cart-item-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

/* Contrôles −/+ quantité */
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px dashed #b0b0b0;
}
.cart-qty-btn {
    background: none;
    border: none;
    width: 24px;
    height: 24px;
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    color: #050505;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
    padding: 0;
    line-height: 1;
}
.cart-qty-btn:hover { background-color: #050505; color: #FFFFFF; }
.cart-qty-value {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    color: #050505;
    min-width: 20px;
    text-align: center;
}

/* --- PIED DU DRAWER --- */
.cart-footer {
    padding: 24px 32px 36px;
    border-top: 1px dashed #b0b0b0;
}
.cart-total-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
}
.cart-shipping-line {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 16px;
}
.cart-shipping-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: #666666;
}
.cart-shipping-price {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: #444444;
}
.cart-total-label {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    color: #666666;
    display: block;
}
.cart-total-taxes {
    font-family: 'Space Mono', monospace;
    font-size: 7px;
    letter-spacing: 0.06rem;
    color: #b0b0b0;
    display: block;
    margin-top: 2px;
}
.cart-total-price {
    font-family: 'Bodoni Moda', serif;
    font-size: 20px;
    font-weight: 700;
    color: #050505;
}
.cart-checkout-btn {
    width: 100%;
    padding: 16px;
    background-color: #050505;
    color: #EBEBE9;
    border: none;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.cart-checkout-btn:hover { background-color: #7A1F1F; }

/* =========================================
   SEARCH OVERLAY — ARCHIVE SECRÈTE
   ========================================= */

/* Fond plein écran */
.search-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(5, 5, 5, 0);
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: background-color 0.5s ease;
}

.search-overlay.open {
    background-color: rgba(5, 5, 5, 0.92);
    pointer-events: all;
}

/* Conteneur centré */
.search-inner {
    width: 100%;
    max-width: 700px;
    padding: 0 40px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.search-overlay.open .search-inner {
    opacity: 1;
    transform: translateY(0);
}

/* Label clinique */
.search-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: #666666;
    display: block;
    margin-bottom: 16px;
}

/* L'input — tranchant, sans ornement */
/* Row input + bouton → */
.search-input-row {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    border-bottom: 1px solid #444;
    transition: border-color 0.3s ease;
}
.search-input-row:focus-within {
    border-color: #7A1F1F;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Bodoni Moda', serif;
    font-size: 48px;
    font-weight: 400;
    font-style: italic;
    color: #EBEBE9;
    padding: 10px 0 14px;
    caret-color: #7A1F1F;
}

.search-input::placeholder {
    color: rgba(235, 235, 233, 0.2);
}

/* Bouton → (visible surtout sur mobile) */
.search-submit-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
    font-size: 22px;
    color: #444;
    padding: 0 0 16px;
    line-height: 1;
    transition: color 0.3s ease;
    flex-shrink: 0;
}
.search-submit-btn:hover,
.search-input-row:focus-within .search-submit-btn {
    color: #7A1F1F;
}

/* Fermeture ESC hint */
.search-hint {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.15rem;
    text-transform: uppercase;
    color: #444;
    margin-top: 20px;
    display: block;
}

/* Onglets genre HOMME / FEMME */
.search-genre-tabs {
    display: flex;
    gap: 28px;
    margin-bottom: 24px;
}
.search-genre-tab {
    background: none;
    border: none;
    border-bottom: 1px solid transparent;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.search-genre-tab:hover {
    color: rgba(255, 255, 255, 0.65);
}
.search-genre-tab.active {
    color: #EBEBE9;
    border-bottom-color: #7A1F1F;
}

/* État : aucun résultat */
.search-no-results {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: #7A1F1F;
    text-align: center;
    padding: 60px 0;
    display: none;
}

/* =========================================
   FOOTER — ARCHIVES PERMANENTES
   ========================================= */

.site-footer {
    background-color: #050505;
    border-top: 1px dashed #2a2a2a;
    padding: 56px 44px 36px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* --- LIGNE HAUTE : marque gauche / liens droite --- */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

/* Bloc marque */
.footer-brand {}

.footer-brand-name {
    font-family: 'Bodoni Moda', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.28rem;
    color: #EBEBE9;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.footer-brand-name .nav-dot {
    color: #7A1F1F;
}

.footer-brand-sub {
    font-family: 'Space Mono', monospace;
    font-size: 7px;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    color: #444;
    display: block;
}

/* Navigation footer */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    row-gap: 16px;
    gap: 16px 36px;
    align-items: flex-start;
    margin-top: 4px;
}

.footer-nav-link {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: #666;
    text-decoration: none;
    position: relative;
    transition: color 0.4s ease;
}

.footer-nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #7A1F1F;
    transform: translateY(-50%) scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.footer-nav-link:hover {
    color: #EBEBE9;
}

.footer-nav-link:hover::after {
    transform: translateY(-50%) scaleX(1);
}

/* --- SÉPARATEUR --- */
.footer-divider {
    width: 100%;
    height: 1px;
    border: none;
    border-top: 1px dashed #2a2a2a;
}

/* --- LIGNE BASSE : copyright / social / légal --- */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copy {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.1rem;
    color: #333;
    text-transform: uppercase;
    line-height: 1.8;
}

.footer-copy strong {
    color: #555;
    font-weight: 400;
}

/* Social */
.footer-social {
    display: flex;
    gap: 24px;
}

.footer-social-link {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: #444;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social-link:hover {
    color: #EBEBE9;
}

/* Légal */
.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal-link {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-link:hover {
    color: #666;
}

/* =========================================
   PAGE MANIFESTE — DOSSIER MÉDICAL
   ========================================= */

/* =========================================
   PAGE PROGRAMME NÉVROSÉ
   ========================================= */
.pn-page {
    padding-top: var(--nav-height);
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 60px;
    padding-right: 60px;
    padding-bottom: 80px;
}

.pn-divider {
    border: none;
    border-top: 1px dashed #b0b0b0;
    margin: 0;
}

/* Hero */
.pn-hero { padding: 80px 0 60px; }
.pn-hero-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    color: #7A1F1F;
    display: block;
    margin-bottom: 20px;
}
.pn-hero-title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 900;
    font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    line-height: 1;
    color: #050505;
    margin-bottom: 24px;
}
.pn-hero-sub {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #444;
    max-width: 480px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 40px;
}

/* Statut utilisateur */
.pn-user-status {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
    border: 1px solid #050505;
    padding: 20px 28px;
    margin-bottom: 0;
}
.pn-user-status-label {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: #999;
}
.pn-user-status-level {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
    color: #7A1F1F;
}
.pn-user-status-orders {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: #666;
}

/* CTA non connecté */
.pn-cta-auth { max-width: 440px; }
.pn-cta-text {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.7;
    color: #444;
    margin-bottom: 20px;
}
.pn-cta-btn { display: inline-block; }

/* Sections */
.pn-section { padding: 60px 0; }
.pn-section-inner { }
.pn-section-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    color: #7A1F1F;
    display: block;
    margin-bottom: 16px;
}
.pn-section-title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #050505;
    margin-bottom: 40px;
}

/* Comment ça marche */
.pn-how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.pn-how-item { display: flex; flex-direction: column; gap: 16px; }
.pn-how-num {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14rem;
    color: #7A1F1F;
}
.pn-how-text {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.8;
    color: #444;
}

/* Cards niveaux */
.pn-levels-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: #b0b0b0;
    border: 1px solid #b0b0b0;
}
.pn-levels-grid--5 {
    grid-template-columns: repeat(6, 1fr);
}
.pn-level-card {
    background: #fff;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.pn-level-card--top { background: #050505; }
.pn-level-card--active { outline: 2px solid #7A1F1F; outline-offset: -2px; }

.pn-level-header { display: flex; flex-direction: column; gap: 6px; }
.pn-level-num {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14rem;
    color: #7A1F1F;
}
.pn-level-card--top .pn-level-num { color: #7A1F1F; }

.pn-level-name {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 900;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #050505;
}
.pn-level-card--top .pn-level-name { color: #EBEBE9; }

.pn-level-threshold {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: #999;
    margin-top: 4px;
}
.pn-level-card--top .pn-level-threshold { color: #888; }

.pn-level-perks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.pn-perk {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.4;
    padding-left: 14px;
    position: relative;
}
.pn-perk::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
}
.pn-perk--on { color: #050505; }
.pn-perk--on::before { background: #7A1F1F; }
.pn-perk--off { color: #ccc; }
.pn-perk--off::before { background: #e0e0e0; }
.pn-level-card--top .pn-perk--on { color: #EBEBE9; }
.pn-level-card--top .pn-perk--off { color: #555; }
.pn-level-card--top .pn-perk--off::before { background: #444; }

.pn-level-note {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    line-height: 1.7;
    color: #666;
    border-top: 1px dashed #e0e0e0;
    padding-top: 14px;
    margin-top: auto;
}
.pn-level-card--top .pn-level-note { color: #888; border-top-color: #333; }

/* Tableau comparatif */
.pn-table-wrapper { overflow-x: auto; }
.pn-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}
.pn-table th {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: #050505;
    padding: 12px 16px;
    text-align: center;
    border-bottom: 1px solid #050505;
    font-weight: 700;
}
.pn-th-label { text-align: left; padding-left: 0; color: #999; }
.pn-th-top { background: #050505; color: #EBEBE9 !important; }
.pn-table td {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 14px 16px;
    text-align: center;
    border-bottom: 1px dashed #e0e0e0;
    color: #050505;
}
.pn-td-label { text-align: left; padding-left: 0; color: #444; font-size: 0.75rem; }
.pn-td--off { color: #ccc; }
.pn-td--on { color: #050505; font-weight: 700; }
.pn-td--top { background: #f8f8f8; }

/* CTA final */
.pn-section--cta { padding-bottom: 0; }
.pn-cta-final { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.pn-cta-final-title {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 900;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #050505;
}
.pn-cta-final-sub {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.7;
    color: #444;
    max-width: 480px;
}
.pn-cta-final-btns { display: flex; align-items: center; gap: 32px; margin-top: 8px; }
.pn-cta-boutique {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: #666;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.pn-cta-boutique:hover { color: #050505; }

/* Mobile */
@media (max-width: 768px) {
    .pn-page { padding-left: 20px; padding-right: 20px; }
    .pn-hero-title { font-size: 2.5rem; }
    .pn-how-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .pn-levels-grid { grid-template-columns: 1fr 1fr; }
    .pn-levels-grid--5 { grid-template-columns: 1fr 1fr; }
    .pn-table th, .pn-table td { padding: 10px 8px; font-size: 0.7rem; }
    .pn-td-label { font-size: 0.7rem; }
    .pn-section-title { font-size: 1.4rem; }
    .pn-cta-final-title { font-size: 1.6rem; }
    .pn-cta-final-btns { flex-direction: column; align-items: flex-start; gap: 16px; }
}

.manifeste-page {
    padding-top: var(--nav-height);
    background-color: #FFFFFF;
    min-height: 100vh;
}

/* --- EN-TÊTE DIAGNOSTIQUE --- */
.manifeste-header {
    padding: 72px 44px 56px;
    border-bottom: 1px dashed #b0b0b0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.manifeste-dossier-id {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    color: #7A1F1F;
    display: block;
    margin-bottom: 20px;
}

.manifeste-title {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(52px, 7vw, 96px);
    font-weight: 900;
    line-height: 0.92;
    color: #050505;
    letter-spacing: -0.01em;
}

.manifeste-title em {
    font-style: italic;
    color: #7A1F1F;
}

.manifeste-header-meta {
    text-align: right;
    flex-shrink: 0;
    margin-left: 40px;
}

.manifeste-header-meta span {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: #999;
    display: block;
    line-height: 2;
}

/* --- CORPS DU MANIFESTE --- */
.manifeste-body {
    max-width: 860px;
    margin: 0 auto;
    padding: 80px 44px 100px;
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/* Bloc de section */
.manifeste-section {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0 48px;
    align-items: start;
}

/* Label latéral clinique */
.manifeste-section-label {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    color: #b0b0b0;
    padding-top: 6px;
    border-top: 1px solid #e0e0e0;
    line-height: 1.8;
}

/* Contenu */
.manifeste-section-content {}

.manifeste-section-content h2 {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 400;
    font-style: italic;
    color: #050505;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}

.manifeste-section-content p {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: #333;
    margin-bottom: 16px;
}

.manifeste-section-content p:last-child {
    margin-bottom: 0;
}

/* Phrase clé en exergue */
.manifeste-exergue {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 400;
    font-style: italic;
    color: #050505;
    line-height: 1.4;
    padding: 40px 0;
    border-top: 1px dashed #b0b0b0;
    border-bottom: 1px dashed #b0b0b0;
    text-align: center;
    letter-spacing: 0.01em;
}

.manifeste-exergue span {
    color: #7A1F1F;
}

/* Signature finale */
/* =========================================
   NAV MOBILE — HAMBURGER + OVERLAY
   ========================================= */

/* Le hamburger — caché sur desktop */
/* --- BOUTON PANIER MOBILE — toujours visible dans la nav --- */
.nav-mobile-cart-btn {
    display: none; /* masqué sur desktop */
    align-items: center;
    gap: 4px;
    text-decoration: none;
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    padding: 8px 12px;
    border: 1px dashed transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}

/* Couleur adaptée au fond */
.site-header.permanent .nav-mobile-cart-btn        { color: #050505; }
.site-header:not(.permanent) .nav-mobile-cart-btn  { color: #EBEBE9; }

.nav-mobile-cart-btn:hover {
    border-color: currentColor;
}

.nav-mobile-cart-label { display: block; }

.nav-mobile-cart-badge {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
}

/* Badge mis en évidence quand panier non vide — géré via JS si besoin */
.nav-mobile-cart-btn.has-items {
    color: #7A1F1F !important;
}

/* ------------------------------------------------------------------ */

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 60;
    position: relative;
}

.ham-line {
    display: block;
    width: 22px;
    height: 1px;
    background-color: currentColor;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1),
                opacity  0.3s ease;
}

/* Couleur adaptée au contexte */
.site-header.permanent .nav-hamburger  { color: #050505; }
.site-header:not(.permanent) .nav-hamburger { color: #EBEBE9; }

/* État ouvert — croix */
.nav-hamburger.active .ham-line--1 { transform: translateY(6px) rotate(45deg); }
.nav-hamburger.active .ham-line--2 { opacity: 0; }
.nav-hamburger.active .ham-line--3 { transform: translateY(-6px) rotate(-45deg); }

/* L'overlay plein écran */
.nav-mobile-overlay {
    position: fixed;
    inset: 0;
    background-color: #050505;
    z-index: 55;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.nav-mobile-overlay.open {
    opacity: 1;
    pointer-events: all;
}

/* Logo centré dans l'overlay */
.nav-mobile-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.nav-mobile-mark {
    font-family: 'Bodoni Moda', serif;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 0.28rem;
    color: #EBEBE9;
}

.nav-mobile-tagline {
    font-family: 'Space Mono', monospace;
    font-size: 7px;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    color: #444;
}

/* Liens principaux */
.nav-mobile-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.nav-mobile-link {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(36px, 10vw, 52px);
    font-weight: 400;
    font-style: italic;
    color: rgba(235, 235, 233, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1.3;
    text-align: center;
}

.nav-mobile-link:hover { color: #EBEBE9; }

/* Utilitaires */
.nav-mobile-utils {
    display: flex;
    gap: 32px;
}

.nav-mobile-util {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    color: #444;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-mobile-util:hover { color: #EBEBE9; }

/* Bouton fermeture */
.nav-mobile-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 28px;
    color: #444;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.nav-mobile-close:hover { color: #EBEBE9; }

/* =========================================
   TUNNEL CHECKOUT
   ========================================= */

.checkout-page {
    padding-top: var(--nav-height);
    min-height: 100vh;
    background: #FFFFFF;
}

/* Barre de progression */
.checkout-progress {
    display: flex;
    align-items: center;
    padding: 28px 44px;
    border-bottom: 1px dashed #b0b0b0;
    gap: 0;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkout-step-num {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1rem;
    color: #ccc;
    transition: color 0.3s ease;
}

.checkout-step-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: #ccc;
    transition: color 0.3s ease;
}

.checkout-step.active .checkout-step-num,
.checkout-step.active .checkout-step-label   { color: #050505; }

.checkout-step.completed .checkout-step-num,
.checkout-step.completed .checkout-step-label { color: #7A1F1F; }

.checkout-step-line {
    flex: 1;
    height: 1px;
    background: #e0e0e0;
    margin: 0 20px;
}

/* Corps */
.checkout-body {
    max-width: 640px;
    margin: 0 auto;
    padding: 48px 44px 120px;
}

.checkout-panel { display: none; }
.checkout-panel.active { display: block; }

.checkout-panel-header { margin-bottom: 32px; }
.checkout-panel-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: #7A1F1F;
    display: block;
    margin-bottom: 6px;
}
.checkout-panel-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 32px;
    font-weight: 400;
    font-style: italic;
    color: #050505;
}

/* Items récapitulatif */
.checkout-items { display: flex; flex-direction: column; gap: 0; margin-bottom: 24px; }
.checkout-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px dashed #ebebeb;
}
.checkout-item-info { display: flex; flex-direction: column; gap: 3px; }
.checkout-item-ref {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: #7A1F1F;
}
.checkout-item-name {
    font-family: 'Bodoni Moda', serif;
    font-size: 16px;
    font-style: italic;
    color: #050505;
}
.checkout-item-qty {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    color: #999;
}
.checkout-item-price {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    color: #050505;
    font-weight: 600;
}
.checkout-total-row {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #050505;
    margin-bottom: 32px;
}
.checkout-total-label {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: #050505;
}
.checkout-total-amount {
    font-family: 'Bodoni Moda', serif;
    font-size: 22px;
    font-weight: 700;
    color: #050505;
}

/* Sélecteur adresses sauvegardées */
.checkout-saved-label-header {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 12px;
    display: block;
}
#saved-addresses-selector {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px dashed #b0b0b0;
}
.checkout-saved-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}
.checkout-saved-card {
    border: 1px dashed #b0b0b0;
    padding: 14px 16px;
    cursor: pointer;
    transition: border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.checkout-saved-card:hover { border-color: #050505; border-style: solid; }
.checkout-saved-card.selected { border-color: #050505; border-style: solid; }
.checkout-saved-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: #050505;
    margin-bottom: 4px;
}
.checkout-saved-default {
    color: #7A1F1F;
    font-style: normal;
}
.checkout-saved-line {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    color: #666;
    line-height: 1.5;
}
.checkout-new-addr-btn {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
    margin-top: 4px;
}
.checkout-new-addr-btn:hover { color: #050505; }

/* Formulaire livraison */
.checkout-form { display: flex; flex-direction: column; gap: 16px; }
.checkout-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkout-field { display: flex; flex-direction: column; gap: 6px; }
.checkout-label {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: #999;
}
.checkout-input {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    color: #050505;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
    background: none;
    outline: none;
    transition: border-color 0.3s ease;
}
.checkout-input:focus { border-bottom-color: #050505; }

.checkout-back-btn {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: #999;
    background: none;
    border: 1px dashed #b0b0b0;
    padding: 16px 20px;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
    white-space: nowrap;
}
.checkout-back-btn:hover { color: #050505; border-color: #050505; }

.checkout-error {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: #7A1F1F;
    letter-spacing: 0.08rem;
    min-height: 14px;
}

/* Récap paiement */
.checkout-order-recap {
    background: #f8f8f6;
    padding: 20px;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.checkout-recap-row {
    display: flex;
    justify-content: space-between;
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: #666;
}

/* Container Stripe Payment Element */
#payment-element-container {
    background: #FAFAFA;
    border: 1px dashed #b0b0b0;
    padding: 28px;
    margin-bottom: 8px;
}

#payment-element {
    min-height: 120px;
}

.checkout-secure-note {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    color: #ccc;
    margin-top: 20px;
    text-align: center;
}

.checkout-loading-text {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: #666;
}

/* Page confirmation */
.confirmation-page {
    padding-top: var(--nav-height);
    min-height: 100vh;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
}
.confirmation-loading, .confirmation-content {
    text-align: center;
    padding: 40px;
    max-width: 480px;
}
.confirmation-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: #7A1F1F;
    display: block;
    margin-bottom: 16px;
}
.confirmation-title {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(64px, 12vw, 100px);
    font-weight: 900;
    font-style: italic;
    color: #050505;
    line-height: 1;
    margin-bottom: 20px;
}
.confirmation-sub {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}
.confirmation-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.confirmation-link {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}
.confirmation-link:hover { color: #050505; }

/* =========================================
   PAGE COMPTE — DOSSIER PATIENT
   ========================================= */

.compte-page {
    padding-top: var(--nav-height);
    min-height: 100vh;
    background: #FFFFFF;
}

/* --- Chargement / non-auth --- */
.compte-loading, .compte-unauth {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--nav-height));
    text-align: center;
    padding: 40px;
}
.compte-loading-text {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: #666;
}
.compte-unauth-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: #7A1F1F;
    margin-bottom: 16px;
}
.compte-unauth-title {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(48px, 8vw, 88px);
    font-weight: 900;
    font-style: italic;
    color: #050505;
    line-height: 1;
    margin-bottom: 24px;
}
.compte-unauth-sub {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    color: #666;
    margin-bottom: 40px;
}
.compte-login-btn { display: inline-block; }

/* --- Contenu connecté --- */
.compte-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 44px 120px;
}

/* En-tête dossier */
.compte-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 32px;
}
.compte-header-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: #7A1F1F;
    display: block;
    margin-bottom: 8px;
}
.compte-header-name {
    font-family: 'Bodoni Moda', serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 900;
    font-style: italic;
    color: #050505;
    line-height: 1;
    margin-bottom: 8px;
}
.compte-header-ref {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.14rem;
    color: #999;
    text-transform: uppercase;
}
.compte-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

/* Badge Névrosé */
.nevrose-badge {
    border: 1px dashed #b0b0b0;
    padding: 12px 20px;
    text-align: right;
    transition: border-color 0.3s ease;
}
.nevrose-badge-label {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    color: #999;
    display: block;
    margin-bottom: 4px;
}
.nevrose-badge-level {
    font-family: 'Bodoni Moda', serif;
    font-size: 15px;
    font-style: italic;
    color: #050505;
    display: block;
}
.nevrose-badge.nevrose--ordinaire { border-color: #b0b0b0; }
.nevrose-badge.nevrose--confirme  { border-color: #7A1F1F; }
.nevrose-badge.nevrose--confirme .nevrose-badge-level  { color: #7A1F1F; }
.nevrose-badge.nevrose--chronique { border-color: #7A1F1F; background: rgba(122,31,31,0.04); }
.nevrose-badge.nevrose--chronique .nevrose-badge-level { color: #7A1F1F; font-weight: 700; }

.compte-logout {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: #999;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.3s ease;
}
.compte-logout:hover { color: #7A1F1F; }

/* Séparateur */
.compte-divider {
    border: none;
    border-top: 1px dashed #b0b0b0;
    margin: 0 0 32px;
}

/* Navigation sections */
.compte-nav {
    display: flex;
    gap: 0;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.compte-nav-btn {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 10px 20px 10px 0;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.compte-nav-btn:hover   { color: #050505; }
.compte-nav-btn.active  { color: #050505; border-bottom-color: #050505; }

/* Sections */
.compte-section { display: none; }
.compte-section.active { display: block; }

.compte-section-header { margin-bottom: 28px; }
.compte-section-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: #7A1F1F;
    display: block;
    margin-bottom: 6px;
}
.compte-section-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 28px;
    font-weight: 400;
    font-style: italic;
    color: #050505;
}

.compte-empty {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14rem;
    color: #ccc;
    text-transform: uppercase;
    padding: 40px 0;
    border-top: 1px dashed #ebebeb;
}

/* Formulaire dossier */
.compte-form { display: flex; flex-direction: column; gap: 24px; max-width: 520px; }
.compte-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compte-form-field { display: flex; flex-direction: column; gap: 10px; }
.compte-form-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
    color: #666;
}
.compte-form-input {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    color: #050505;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 8px 0 10px;
    background: none;
    outline: none;
    transition: border-color 0.3s ease;
}
.compte-form-input:focus { border-bottom-color: #050505; }
.compte-form-input[readonly] { color: #999; cursor: not-allowed; }

/* Consultation */
.compte-consultation { display: flex; flex-direction: column; gap: 0; max-width: 480px; }
.compte-consult-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px dashed #ebebeb;
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}
.compte-consult-link:hover { color: #7A1F1F; }
.compte-consult-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: #999;
}
.compte-consult-value {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    color: inherit;
}

/* --- Lignes de commandes --- */
/* =========================================
   CARTES COMMANDES — style horizontal
   ========================================= */

.order-card {
    border-bottom: 1px dashed #d0d0d0;
    padding-bottom: 0;
    margin-bottom: 0;
}
.order-card:first-child { border-top: 1px dashed #d0d0d0; }

/* Barre statut + numéro */
.order-card-topbar {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
    border-bottom: 1px dashed #ebebeb;
}

.order-number {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12rem;
    color: #666;
    text-transform: uppercase;
}

.order-status {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.12rem;
    text-transform: uppercase;
    color: #999;
    padding: 3px 8px;
    border: 1px dashed #ddd;
    flex-shrink: 0;
}
.order-status.status--paid      { color: #2d6a4f; border-color: #2d6a4f; }
.order-status.status--shipped   { color: #7A1F1F; border-color: #7A1F1F; }
.order-status.status--delivered { color: #050505; border-color: #050505; }
.order-status.status--cancelled { color: #bbb;    border-color: #ddd;    }

/* Corps : vignettes + infos */
.order-card-body {
    display: grid;
    grid-template-columns: 1fr 260px;
    min-height: 200px;
}

/* Zone vignettes */
.order-card-thumbs {
    display: flex;
    align-items: stretch;
    border-right: 1px dashed #ebebeb;
    background-color: #F5F5F3;
    overflow: hidden;
}

.order-thumb {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px dashed #e8e8e6;
    overflow: hidden;
    min-height: 200px;
}
.order-thumb:last-child { border-right: none; }

.order-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 24px;
}

.order-thumb--empty {
    background-color: #EBEBEB;
}
.order-thumb--empty span {
    font-family: 'Bodoni Moda', serif;
    font-size: 24px;
    color: #ccc;
}

.order-thumb--more {
    background-color: #F0F0EE;
    flex: 0 0 80px;
}
.order-thumb--more {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: #999;
    letter-spacing: 0.05rem;
}

/* Zone infos */
.order-card-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px 28px;
}

.order-card-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-meta-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.order-meta-label {
    font-family: 'Space Mono', monospace;
    font-size: 7px;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: #aaa;
}
.order-meta-value {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    color: #050505;
}

/* Bouton voir le détail */
.order-voir-btn {
    width: 100%;
    padding: 14px;
    background-color: #050505;
    color: #FFFFFF;
    border: none;
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 24px;
}
.order-voir-btn:hover { background-color: #7A1F1F; }
.order-voir-btn.is-open { background-color: #333; }

/* Panneau détail dépliable */
.order-detail-panel {
    border-top: 1px dashed #ebebeb;
    padding: 20px 0 24px;
}
.order-detail-items { display: flex; flex-direction: column; gap: 12px; }

.order-item-row {
    display: grid;
    grid-template-columns: 36px 1fr 1fr auto;
    align-items: baseline;
    gap: 8px 16px;
    padding: 10px 0;
    border-bottom: 1px dashed #f0f0f0;
}
.order-item-row:last-child { border-bottom: none; }

.order-item-ref {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    color: #7A1F1F;
    letter-spacing: 0.1rem;
}
.order-item-name {
    font-family: 'Bodoni Moda', serif;
    font-size: 13px;
    font-style: italic;
    color: #050505;
}
.order-item-meta {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    color: #999;
}
.order-item-price {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: #050505;
    text-align: right;
    white-space: nowrap;
}
.order-no-items {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    color: #ccc;
    letter-spacing: 0.1rem;
}

/* Mobile */
@media (max-width: 768px) {
    .order-card-body {
        grid-template-columns: 1fr;
    }
    .order-card-thumbs {
        border-right: none;
        border-bottom: 1px dashed #ebebeb;
        min-height: 160px;
    }
    .order-card-info { padding: 20px; }
    .order-voir-btn { margin-top: 16px; }
    .order-item-row { grid-template-columns: 30px 1fr auto; }
    .order-item-meta { display: none; }
}

.compte-add-btn {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    background: none;
    border: 1px dashed #b0b0b0;
    padding: 14px 24px;
    cursor: pointer;
    color: #050505;
    margin-top: 24px;
    transition: border-color 0.3s ease;
}
.compte-add-btn:hover { border-color: #050505; }

/* =========================================
   CARDS ADRESSES
   ========================================= */
.compte-address-card {
    border: 1px dashed #b0b0b0;
    padding: 20px 24px;
    margin-bottom: 12px;
    transition: border-color 0.3s ease;
}
.compte-address-card.is-default {
    border-color: #050505;
    border-style: solid;
}
.compte-address-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.compte-address-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: #050505;
}
.compte-address-default-badge {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.1rem;
    color: #7A1F1F;
}
.compte-address-body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.7;
    color: #666;
}
.compte-address-body p { margin: 0; }
.compte-address-actions {
    display: flex;
    gap: 16px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e0e0e0;
}
.compte-address-btn {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 0;
    transition: color 0.2s ease;
}
.compte-address-btn:hover { color: #050505; }
.compte-address-btn--delete:hover { color: #7A1F1F; }

/* Formulaire ajout adresse */
.compte-address-form-wrapper {
    margin-bottom: 12px;
    border: 1px dashed #b0b0b0;
    padding: 24px;
}
.compte-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.compte-address-form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

/* =========================================
   SÉLECTEUR TÉLÉPHONE
   ========================================= */
.phone-input-wrapper {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #e0e0e0;
    gap: 0;
}
.phone-input-wrapper:focus-within {
    border-bottom-color: #050505;
}
.phone-dial-selector {
    position: relative;
    flex-shrink: 0;
}
.phone-dial-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    border-right: 1px dashed #e0e0e0;
    padding: 12px 12px 12px 0;
    cursor: pointer;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    color: #050505;
    white-space: nowrap;
    height: 100%;
}
.phone-dial-btn:hover { color: #7A1F1F; }
.phone-dial-arrow {
    font-size: 9px;
    color: #aaa;
}
.phone-dial-search-wrap {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    background: #FFFFFF;
    border: 1px dashed #b0b0b0;
    min-width: 260px;
}
.phone-dial-search {
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-bottom: 1px dashed #e0e0e0;
    padding: 10px 14px;
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.06rem;
    color: #050505;
    outline: none;
    background: #fafaf8;
}
.phone-dial-search::placeholder { color: #bbb; }
.phone-dial-dropdown {
    max-height: 260px;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 0;
}
.phone-dial-empty {
    padding: 12px 14px;
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: #bbb;
    letter-spacing: 0.08rem;
}
.phone-dial-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px dashed #f0f0f0;
    transition: background-color 0.2s ease;
}
.phone-dial-option:last-child { border-bottom: none; }
.phone-dial-option:hover { background-color: #f8f8f6; }
.phone-dial-option-name {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    color: #333;
    flex: 1;
}
.phone-dial-option-code {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: #999;
}
.phone-number-input {
    border-bottom: none !important;
    flex: 1;
    padding-left: 12px;
}
.phone-error {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.08rem;
    color: #7A1F1F;
    margin-top: 6px;
    min-height: 14px;
}

.compte-feedback {
    margin-top: 12px;
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}
.compte-feedback--ok    { color: #2d6a4f; }
.compte-feedback--error { color: #7A1F1F; }


/* =========================================
   MODAL AUTH — LOGIN / INSCRIPTION
   ========================================= */

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.auth-modal.open {
    opacity: 1;
    pointer-events: all;
}
.auth-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.6);
}
.auth-modal-inner {
    position: relative;
    z-index: 1;
    background: #FFFFFF;
    width: min(460px, 92vw);
    padding: 48px;
    border: 1px dashed #b0b0b0;
}
.auth-modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}
.auth-modal-close:hover { color: #050505; }

.auth-modal-header { margin-bottom: 32px; }
.auth-modal-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: #7A1F1F;
    display: block;
    margin-bottom: 8px;
}
.auth-modal-title {
    font-family: 'Bodoni Moda', serif;
    font-size: 32px;
    font-weight: 900;
    font-style: italic;
    color: #050505;
}
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.auth-field { display: flex; flex-direction: column; }
.auth-input {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    color: #050505;
    background: none;
    border: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
    outline: none;
    transition: border-color 0.3s ease;
}
.auth-input:focus { border-bottom-color: #050505; }
.auth-input::placeholder { color: #999; }

.auth-error {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    color: #7A1F1F;
    letter-spacing: 0.08rem;
    min-height: 16px;
}
.auth-submit {
    margin-top: 8px;
    background: #050505;
    color: #EBEBE9;
    border: none;
    padding: 16px;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.auth-submit:hover   { background: #7A1F1F; }
.auth-submit:disabled { opacity: 0.5; cursor: not-allowed; }

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

/* --- Cases RGPD --- */
.auth-consents {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px 0 4px;
    border-top: 1px dashed #e0e0e0;
}

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

.auth-checkbox {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 2px;
    accent-color: #050505;
    cursor: pointer;
}

.auth-consent-text {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 11px;
    color: #666;
    line-height: 1.5;
}

.auth-consent-required .auth-consent-text { color: #444; }

.auth-consent-text a {
    color: #050505;
    text-decoration: underline;
}

.auth-required-mark { color: #7A1F1F; }

.auth-required-note {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    color: #bbb;
    letter-spacing: 0.08rem;
    margin: 4px 0 0;
}

/* --- Input code vérification --- */
.auth-code-field { align-items: center; }

.auth-code-input {
    font-family: 'Space Mono', monospace !important;
    font-size: 28px !important;
    letter-spacing: 10px;
    text-align: center;
    border-bottom: 2px solid #050505 !important;
    padding: 12px 0 !important;
    width: 100%;
}

/* --- Intro vérification --- */
.auth-verify-intro {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 24px;
}

.auth-switch {
    margin-top: 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    color: #999;
}
.auth-switch a {
    color: #050505;
    text-decoration: underline;
    margin-left: 6px;
}

/* Boutons de choix reset (email / SMS) */
.auth-reset-choices {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.auth-reset-choice-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    background: none;
    border: 1px dashed #b0b0b0;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}
.auth-reset-choice-btn:hover {
    border-color: #050505;
    background-color: #f8f8f6;
}
.auth-choice-method {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: #050505;
}
.auth-choice-masked {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 12px;
    color: #666;
}


/* =========================================
   RESPONSIVE — BREAKPOINT 768px
   Mobile-first adaptations
   ========================================= */

/* Plage intermédiaire 769–960px : la nav desktop manque de place
   (liens centrés + Connexion/Search/Cart à droite se chevauchent),
   on bascule sur le hamburger avant la collision */
@media (min-width: 769px) and (max-width: 960px) {
    .nav-hamburger          { display: flex; }
    .nav-mobile-cart-btn    { display: flex; }
    .nav-links-wrapper      { display: none; }
    .nav-utils              { display: none; }
}

@media (max-width: 768px) {

    /* ---- NAV ---- */
    .nav-hamburger          { display: flex; }
    .nav-mobile-cart-btn    { display: flex; } /* panier visible en permanence */
    .nav-links-wrapper      { display: none; }
    .nav-utils              { display: none; }

    .site-header {
        padding: 0 20px;
    }

    /* ---- HERO ---- */
    .hero-logo {
        font-size: clamp(48px, 16vw, 80px);
        letter-spacing: 0.18rem;
    }

    .hero-subtitle {
        font-size: clamp(9px, 2.5vw, 12px);
        letter-spacing: 0.12rem;
    }

    /* Section éditoriale — empilée verticalement */
    .editorial-split {
        flex-direction: column;
        height: auto;
    }

    .editorial-panel {
        width: 100%;
        height: 50vh;
    }

    /* Bande archive — mobile */
    .archive-band {
        height: 55vh;
    }

    .archive-band-title {
        font-size: clamp(56px, 18vw, 88px);
    }

    .archive-band-eyebrow {
        font-size: 8px;
        letter-spacing: 0.18rem;
    }

    .archive-band-cta {
        font-size: 9px;
        letter-spacing: 0.16rem;
        margin-top: 12px;
    }

    /* ---- COLLECTION ---- */
    .collection-page {
        padding-top: var(--nav-height);
    }

    .collection-header {
        padding: 16px 16px 12px;
        flex-wrap: wrap;
        gap: 10px;
    }

    .collection-title {
        font-size: 16px;
        letter-spacing: 0.06rem;
    }

    .collection-filters-btn {
        font-size: 9px;
        padding: 8px 14px;
    }

    /* Grille 2 colonnes — overview immédiat */
    .collection-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 12px;
        padding: 16px 12px 100px;
    }

    /* Meta texte adapté aux petites cartes */
    .product-card-name  { font-size: 13px; }
    .product-card-ref   { font-size: 8px; }
    .product-card-price { font-size: 11px; }
    .product-card-status { font-size: 8px; }
    .product-card-meta  { gap: 3px; }

    /* Image wrapper plus compact */
    .product-card-img-wrapper {
        padding: 10px;
        margin-bottom: 10px;
    }

    /* Hover overlay désactivé sur touch */
    .product-card-ref-overlay { display: none; }

    /* --- Dots de swipe (mobile uniquement) --- */
    .card-swipe-dots {
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 5px;
        z-index: 3;
        pointer-events: none;
    }

    .card-swipe-dot {
        width: 4px;
        height: 4px;
        background: rgba(5, 5, 5, 0.18);
        transition: background 0.3s ease;
    }

    .card-swipe-dot.active {
        background: #7A1F1F;
    }

    /* Fade de transition image au swipe */
    .product-card-img.swipe-fading {
        opacity: 0;
        transition: opacity 0.18s ease;
    }
    .product-card-img.swipe-visible {
        opacity: 1;
        transition: opacity 0.22s ease;
    }

    /* ---- PAGE PRODUIT ---- */
    .split-layout {
        flex-direction: column;
        height: auto;
        min-height: auto;
        margin-top: var(--nav-height);
    }

    /* Zone image — dominante, luxueuse */
    .left-panel {
        width: 100%;
        height: 56vh;
        min-height: 320px;
        max-height: none; /* lever la limite qui écrasait l'image */
        border-right: none;
        border-bottom: 1px dashed #b0b0b0;
        flex-direction: row;
        position: relative; /* pour les dots swipe */
    }

    /* Coins rouges visibles — overflow: hidden les clippait */
    .product-image-zone {
        overflow: visible;
        padding: 28px;
    }

    /* Strip masqué — remplacé par swipe + dots */
    .thumbnail-strip {
        display: none !important;
    }

    /* Panel infos — flush depuis le bord */
    .right-panel {
        width: 100%;
        height: auto;
        padding: 28px 20px 80px;
        align-items: flex-start;
    }

    .product-info {
        max-width: 100%;
        width: 100%;
    }

    .product-title {
        font-size: 1.5rem;
        letter-spacing: 0.01em;
        margin-bottom: 16px;
    }

    .description { margin-bottom: 22px; }
    .reference { margin-bottom: 8px; }

    .size-row { flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
    .actions { gap: 12px; }
    .price { font-size: 0.78rem; }
    .btn-acquerir { padding: 18px; font-size: 0.8rem; }

    .product-accordions { margin-top: 24px; }
    .size-guide-inner { padding: 28px 20px; }

    /* --- Dots swipe produit (multi-images, mobile) --- */
    .product-swipe-dots {
        position: absolute;
        bottom: 14px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 7px;
        z-index: 5;
        pointer-events: none;
    }
    .product-swipe-dot {
        width: 5px;
        height: 5px;
        background: rgba(5, 5, 5, 0.18);
        transition: background 0.3s ease;
    }
    .product-swipe-dot.active {
        background: #7A1F1F;
    }

    /* ---- DRAWER PANIER ---- */
    .cart-drawer {
        width: 100vw;
    }

    /* ---- FOOTER ---- */
    .site-footer {
        padding: 40px 20px 28px;
    }

    .footer-top {
        flex-direction: column;
        gap: 28px;
    }

    .footer-nav {
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    /* ---- PAGE COMPTE ---- */
    .compte-content   { padding: 32px 20px 100px; }
    .compte-header    { flex-direction: column; gap: 24px; }
    .compte-header-right { align-items: flex-start; }
    .compte-nav-btn   { font-size: 8px; padding: 10px 14px 10px 0; }
    .auth-modal-inner { padding: 36px 24px; }
    .compte-form-row  { grid-template-columns: 1fr; }

    /* ---- MANIFESTE ---- */
    .manifeste-header {
        flex-direction: column;
        gap: 24px;
        padding: 40px 20px 32px;
    }

    .manifeste-header-meta {
        text-align: left;
        margin-left: 0;
    }

    .manifeste-title {
        font-size: clamp(36px, 12vw, 64px);
    }

    .manifeste-body {
        padding: 48px 20px 80px;
    }

    .manifeste-section {
        grid-template-columns: 1fr;
        gap: 16px 0;
    }

    .manifeste-section-label {
        border-top: 1px solid #e0e0e0;
        padding-top: 8px;
    }

} /* fin @media 768px */

/* =========================================
   FIN DU FICHIER — SIGNATURE BODONI
   ========================================= */

.manifeste-signature {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.2rem;
    text-transform: uppercase;
    color: #666;
    text-align: right;
    padding-top: 32px;
    border-top: 1px dashed #b0b0b0;
}

/* =========================================
   ACCESSIBILITÉ — CLASSE UTILITAIRE
   ========================================= */

/* Masqué visuellement mais lisible par les moteurs de recherche et lecteurs d'écran */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Lien d'évitement — visible uniquement au focus clavier */
.skip-link {
    position: fixed;
    top: -100%;
    left: 0;
    z-index: 100;
    background: #050505;
    color: #FFFFFF;
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    padding: 14px 22px;
    text-decoration: none;
    transition: top 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.skip-link:focus {
    top: 0;
}

/* =========================================
   PAGE PRESSE — ESPACE PRESSE
   DA propre à la page : noir d'encre, Cormorant
   Garamond, animations lentes et dérangeantes.
   Luxueux. Pas rassurant.
   ========================================= */

body.presse-dark {
    background-color: #0A0A09;
    color: #EDEAE3;
}

body.presse-dark ::selection {
    background: #7A1F1F;
    color: #EDEAE3;
}

/* Nav : fond noir solide, texte clair (header non-permanent) */
body.presse-dark .site-header {
    background-color: #0A0A09;
    border-bottom: 1px dashed #2a2825;
}

.presse-page {
    padding-top: var(--nav-height);
    background-color: #0A0A09;
    min-height: 100vh;
    overflow-x: hidden;
}

/* --- HERO — TITRE MONUMENTAL --- */
.presse-hero {
    min-height: calc(96vh - var(--nav-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 24px 80px;
    position: relative;
}

.presse-hero-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.42rem;
    text-transform: uppercase;
    color: #7a756e;
    margin-bottom: 42px;
}

.presse-hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    font-style: italic;
    font-size: clamp(72px, 15vw, 210px);
    line-height: 0.82;
    color: #EDEAE3;
    letter-spacing: -0.02em;
    animation: presseBreath 9s ease-in-out infinite;
}

.presse-hero-title .ph-line {
    display: block;
}

.presse-hero-title .ph-line--red {
    color: #7A1F1F;
}

/* Lettres : apparition décalée (delay injecté par presse.js) */
.ph-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(0.5em) rotate(5deg);
    filter: blur(10px);
    transition:
        opacity   1.1s cubic-bezier(0.19, 1, 0.22, 1),
        transform 1.1s cubic-bezier(0.19, 1, 0.22, 1),
        filter    1.1s cubic-bezier(0.19, 1, 0.22, 1);
}

body.presse-loaded .ph-letter {
    opacity: 1;
    transform: none;
    filter: none;
}

/* Spasme — une lettre se disloque brièvement, au hasard */
.ph-letter.is-twitching {
    transition: transform 0.08s linear, color 0.08s linear !important;
    transition-delay: 0ms !important;
    transform: translateY(3px) skewX(-9deg) !important;
    color: #7A1F1F;
}

/* Respiration imperceptible du titre */
@keyframes presseBreath {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.014); }
}

.presse-hero-sub {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    color: #4d4a45;
    margin-top: 48px;
    opacity: 0;
    transition: opacity 1.4s cubic-bezier(0.19, 1, 0.22, 1) 1.6s;
}

body.presse-loaded .presse-hero-sub {
    opacity: 1;
}

/* Goutte verticale rouge sous le titre */
.presse-hero-drip {
    width: 1px;
    height: 90px;
    background-color: #7A1F1F;
    margin-top: 40px;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 1.8s cubic-bezier(0.19, 1, 0.22, 1) 2s;
}

body.presse-loaded .presse-hero-drip {
    transform: scaleY(1);
}

/* --- MARQUEE — MANTRA EN BOUCLE --- */
.presse-marquee {
    border-top: 1px dashed #2a2825;
    border-bottom: 1px dashed #2a2825;
    padding: 18px 0;
    overflow: hidden;
}

.presse-marquee-track {
    display: flex;
    width: max-content;
    animation: presseMarquee 42s linear infinite;
}

.presse-marquee-track span {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.4rem;
    text-transform: uppercase;
    color: #5c5852;
    white-space: nowrap;
    padding-right: 12px;
}

.presse-marquee-track .mq-red {
    color: #7A1F1F;
    padding-right: 0;
}

@keyframes presseMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* --- SECTIONS --- */
.presse-section {
    max-width: 940px;
    margin: 0 auto;
    padding: 110px 44px;
    border-bottom: 1px dashed #2a2825;
}

.presse-section:last-of-type {
    border-bottom: none;
}

.presse-section-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    color: #7A1F1F;
    display: block;
    margin-bottom: 28px;
}

.presse-section h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    font-style: italic;
    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1.05;
    color: #EDEAE3;
    margin-bottom: 48px;
    letter-spacing: -0.01em;
}

.presse-section p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 20px;
    line-height: 1.75;
    color: #C9C4BB;
    margin-bottom: 18px;
}

.presse-section p:last-child {
    margin-bottom: 0;
}

/* --- BOILERPLATES — SPÉCIMENS ÉTIQUETÉS --- */
.presse-boilerplate {
    position: relative;
    border: 1px solid #2a2825;
    padding: 40px 36px 34px;
    margin-bottom: 36px;
    transition: border-color 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.presse-boilerplate:hover {
    border-color: #7A1F1F;
}

.presse-boilerplate:last-child {
    margin-bottom: 0;
}

.presse-note {
    position: absolute;
    top: -7px;
    left: 28px;
    background-color: #0A0A09;
    padding: 0 12px;
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.24rem;
    text-transform: uppercase;
    color: #7A1F1F;
}

/* --- FICHE D'IDENTITÉ --- */
.presse-fiche {
    border-top: 1px solid #2a2825;
    margin: 0;
}

.presse-fiche-row {
    position: relative;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0 40px;
    padding: 20px 0;
    border-bottom: 1px dashed #2a2825;
    transition: padding-left 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.presse-fiche-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #7A1F1F;
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.presse-fiche-row:hover {
    padding-left: 20px;
}

.presse-fiche-row:hover::before {
    transform: scaleY(1);
}

.presse-fiche-row dt {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.22rem;
    text-transform: uppercase;
    color: #6e6a64;
    padding-top: 8px;
}

.presse-fiche-row dd {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 21px;
    line-height: 1.5;
    color: #EDEAE3;
    margin: 0;
}

/* --- CITATIONS — DÉCLASSIFIÉES AU SCROLL --- */
.presse-citation {
    margin: 0 0 56px;
    padding: 0;
}

.presse-citation:last-child {
    margin-bottom: 0;
}

.presse-citation p {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(26px, 3.4vw, 40px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.3;
    color: #EDEAE3;
    margin-bottom: 14px;
}

.presse-citation cite {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    font-style: normal;
    letter-spacing: 0.24rem;
    text-transform: uppercase;
    color: #6e6a64;
}

/* --- COUVERTURE ÉDITORIALE --- */
.presse-couverture {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #2a2825;
}

.presse-couverture li {
    padding: 26px 0;
    border-bottom: 1px dashed #2a2825;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.presse-couverture a {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 26px;
    font-style: italic;
    color: #EDEAE3;
    text-decoration: none;
    align-self: flex-start;
    transition:
        color     0.5s cubic-bezier(0.19, 1, 0.22, 1),
        transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.presse-couverture a:hover {
    color: #7A1F1F;
    transform: translateX(14px);
}

.presse-couverture span {
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.22rem;
    text-transform: uppercase;
    color: #5c5852;
}

/* --- EMAIL PRESSE — INVERSION AU SURVOL --- */
.presse-mail {
    font-family: 'Space Mono', monospace;
    font-size: 15px;
    color: #7A1F1F;
    text-decoration: none;
    border: 1px solid #7A1F1F;
    padding: 14px 22px;
    display: inline-block;
    margin-top: 8px;
    transition:
        background-color 0.5s cubic-bezier(0.19, 1, 0.22, 1),
        color            0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.presse-mail:hover {
    background-color: #7A1F1F;
    color: #0A0A09;
}

/* --- SIGNATURE FINALE --- */
.presse-signature {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.26rem;
    text-transform: uppercase;
    color: #4d4a45;
    text-align: right;
    max-width: 940px;
    margin: 0 auto;
    padding: 0 44px 90px;
    line-height: 2.2;
}

/* --- REVEALS AU SCROLL --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(4px);
    transition:
        opacity   1.1s cubic-bezier(0.19, 1, 0.22, 1),
        transform 1.1s cubic-bezier(0.19, 1, 0.22, 1),
        filter    1.1s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
}

/* Variante "déclassifiée" : flou fort qui se dissipe lentement */
.reveal-blur {
    opacity: 0.15;
    filter: blur(9px);
    transition:
        opacity 1.6s cubic-bezier(0.19, 1, 0.22, 1),
        filter  1.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal-blur.is-visible {
    opacity: 1;
    filter: none;
}

/* --- ACCESSIBILITÉ : MOUVEMENT RÉDUIT --- */
@media (prefers-reduced-motion: reduce) {
    .presse-hero-title,
    .presse-marquee-track {
        animation: none;
    }
    .ph-letter,
    .presse-hero-sub,
    .presse-hero-drip,
    .reveal,
    .reveal-blur {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .presse-section {
        padding: 70px 24px;
    }

    .presse-fiche-row {
        grid-template-columns: 1fr;
        gap: 8px 0;
    }

    .presse-fiche-row:hover {
        padding-left: 0;
    }

    .presse-signature {
        padding: 0 24px 70px;
    }
}

/* =========================================
   PAGE MANIFESTE V2 — DOSSIER FONDATEUR
   DA propre à la page : le fond mue au scroll
   (os → sang → noir). Anton monumental,
   Instrument Serif pour les aveux.
   ========================================= */

body.mf-body {
    background-color: #F2EFE7;
    color: #14130F;
    transition:
        background-color 1.1s cubic-bezier(0.19, 1, 0.22, 1),
        color            1.1s cubic-bezier(0.19, 1, 0.22, 1);
}

body.mf-body.mf-theme-red {
    background-color: #6E1B1B;
    color: #F2EFE7;
}

body.mf-body.mf-theme-black {
    background-color: #0B0B0A;
    color: #F2EFE7;
}

body.mf-body ::selection {
    background: #7A1F1F;
    color: #F2EFE7;
}

/* --- NAV ADAPTATIVE : suit la mue du fond --- */
body.mf-body .site-header {
    background-color: #F2EFE7;
    border-bottom: 1px dashed rgba(20, 19, 15, 0.3);
    transition:
        background-color 1.1s cubic-bezier(0.19, 1, 0.22, 1),
        border-color     1.1s cubic-bezier(0.19, 1, 0.22, 1);
}

body.mf-body.mf-theme-red   .site-header { background-color: #6E1B1B; border-color: rgba(242, 239, 231, 0.3); }
body.mf-body.mf-theme-black .site-header { background-color: #0B0B0A; border-color: rgba(242, 239, 231, 0.2); }

body.mf-body .site-header .nav-link,
body.mf-body .site-header .nav-logo-acronym,
body.mf-body .site-header .nav-hamburger {
    color: #14130F;
    transition: color 1.1s cubic-bezier(0.19, 1, 0.22, 1);
}

body.mf-body.mf-theme-red   .site-header .nav-link,
body.mf-body.mf-theme-red   .site-header .nav-logo-acronym,
body.mf-body.mf-theme-red   .site-header .nav-hamburger,
body.mf-body.mf-theme-black .site-header .nav-link,
body.mf-body.mf-theme-black .site-header .nav-logo-acronym,
body.mf-body.mf-theme-black .site-header .nav-hamburger {
    color: #F2EFE7;
}

.mf-page {
    padding-top: var(--nav-height);
    overflow-x: hidden;
}

/* --- HERO — LES QUATRE MOTS --- */
.mf-hero {
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8vh 7vw;
    position: relative;
}

.mf-hero-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.34rem;
    text-transform: uppercase;
    opacity: 0.55;
    margin-bottom: 6vh;
}

.mf-hero-title {
    font-weight: 400;
    margin: 0;
}

.mf-word {
    font-family: 'Anton', 'Arial Narrow', sans-serif;
    font-size: clamp(60px, 13.5vw, 210px);
    line-height: 0.92;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    display: block;
    overflow: hidden;
    /* Headroom pour les accents majuscules (É de NÉVROSES),
       sinon clippés par l'overflow — compensé par la marge */
    padding-top: 0.12em;
    margin-top: -0.12em;
}

.mf-word > span {
    display: inline-block;
    transform: translateY(118%);
    transition: transform 1.1s cubic-bezier(0.19, 1, 0.22, 1);
}

body.mf-loaded .mf-word > span      { transform: none; }
.mf-word:nth-child(2) > span        { transition-delay: 0.15s; }
.mf-word:nth-child(3) > span        { transition-delay: 0.3s; }
.mf-word:nth-child(4) > span        { transition-delay: 0.45s; }

.mf-word--red {
    color: #7A1F1F;
}

/* "RICHESSE" : rayé d'un trait rouge après l'apparition */
.mf-strike {
    position: relative;
}

.mf-strike::after {
    content: '';
    position: absolute;
    left: -2%;
    top: 52%;
    width: 104%;
    height: clamp(4px, 0.8vw, 11px);
    background-color: #7A1F1F;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.7s cubic-bezier(0.19, 1, 0.22, 1) 1.7s;
}

body.mf-loaded .mf-strike::after {
    transform: scaleX(1);
}

/* Indication de défilement */
.mf-hero-cue {
    position: absolute;
    bottom: 5vh;
    right: 7vw;
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 1.2s ease 2.6s;
    animation: mfCue 3.2s ease-in-out infinite;
}

body.mf-loaded .mf-hero-cue {
    opacity: 0.5;
}

@keyframes mfCue {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(8px); }
}

/* --- CONSTATS — SECTIONS DU DOSSIER --- */
.mf-constat {
    max-width: 1160px;
    margin: 0 auto;
    padding: 20vh 7vw;
}

.mf-constat-label {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    color: #7A1F1F;
    display: block;
    margin-bottom: 36px;
    transition: color 1.1s cubic-bezier(0.19, 1, 0.22, 1);
}

body.mf-theme-red .mf-constat-label {
    color: #F2EFE7;
    opacity: 0.7;
}

.mf-constat h2 {
    font-family: 'Anton', 'Arial Narrow', sans-serif;
    font-size: clamp(38px, 6.5vw, 104px);
    line-height: 0.96;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-weight: 400;
    margin-bottom: 7vh;
    max-width: 14em;
}

.mf-constat p {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(20px, 2.1vw, 27px);
    line-height: 1.55;
    max-width: 29em;
    margin-bottom: 1.1em;
    opacity: 0.94;
}

.mf-constat p:last-child {
    margin-bottom: 0;
}

.mf-aside {
    font-style: italic;
    opacity: 0.6 !important;
}

/* Mot rayé dans le texte — déclenché par .is-visible */
.mf-kill {
    position: relative;
    white-space: nowrap;
}

.mf-kill::after {
    content: '';
    position: absolute;
    left: -1%;
    top: 52%;
    width: 102%;
    height: 2px;
    background-color: #7A1F1F;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1) 0.9s;
}

.is-visible .mf-kill::after {
    transform: scaleX(1);
}

body.mf-theme-red .mf-kill::after {
    background-color: #F2EFE7;
}

/* --- ÉLECTROCARDIOGRAMME — LIGNE PLATE --- */
.mf-flatline {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 7vw;
}

.mf-flatline svg {
    display: block;
    width: 100%;
    height: 80px;
}

.mf-flatline path {
    fill: none;
    stroke: #7A1F1F;
    stroke-width: 1.5;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 2.6s cubic-bezier(0.19, 1, 0.22, 1) 0.2s;
}

.mf-flatline.is-visible path {
    stroke-dashoffset: 0;
}

/* --- FAQ — QUESTIONS CLINIQUES --- */
.mf-faq {
    border-top: 1px dashed rgba(242, 239, 231, 0.25);
}

.mf-faq-item {
    padding: 44px 0;
    border-bottom: 1px dashed rgba(242, 239, 231, 0.25);
}

.mf-faq-item h3 {
    font-family: 'Anton', 'Arial Narrow', sans-serif;
    font-size: clamp(17px, 1.8vw, 23px);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 400;
    margin-bottom: 18px;
}

.mf-faq-item h3 span {
    color: #7A1F1F;
    margin-right: 14px;
}

.mf-faq-item p {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 19px;
    line-height: 1.6;
    max-width: 36em;
    opacity: 0.85;
}

/* --- FINAL — ACRONYME + LIENS --- */
.mf-final {
    max-width: 1160px;
    margin: 0 auto;
    padding: 22vh 7vw 16vh;
    text-align: center;
}

.mf-final-acronym {
    font-family: 'Anton', 'Arial Narrow', sans-serif;
    font-size: clamp(80px, 18vw, 280px);
    line-height: 1;
    letter-spacing: 0.02em;
}

.mf-final-acronym .mf-dot {
    color: #7A1F1F;
}

.mf-final-tagline {
    font-family: 'Space Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    opacity: 0.5;
    margin-top: 28px;
}

.mf-final-links {
    display: flex;
    justify-content: center;
    gap: 44px;
    flex-wrap: wrap;
    margin-top: 9vh;
}

.mf-final-links a {
    font-family: 'Space Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14rem;
    text-transform: uppercase;
    color: #F2EFE7;
    text-decoration: none;
    position: relative;
}

.mf-final-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #7A1F1F;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.mf-final-links a:hover::after {
    transform: scaleX(1);
}

/* --- TÉMOIN DE LECTURE — CONSULTATION % --- */
.mf-progress {
    position: fixed;
    bottom: 22px;
    right: 24px;
    z-index: 40;
    font-family: 'Space Mono', monospace;
    font-size: 8px;
    letter-spacing: 0.26rem;
    text-transform: uppercase;
    opacity: 0.55;
    pointer-events: none;
}

/* --- ACCESSIBILITÉ : MOUVEMENT RÉDUIT --- */
@media (prefers-reduced-motion: reduce) {
    .mf-word > span,
    .mf-strike::after,
    .mf-kill::after,
    .mf-flatline path,
    .mf-hero-cue {
        transition: none;
        animation: none;
        transform: none;
        opacity: 1;
        stroke-dashoffset: 0;
    }
    .mf-strike::after,
    .is-visible .mf-kill::after {
        transform: scaleX(1);
    }
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .mf-hero {
        padding: 6vh 24px;
    }

    .mf-hero-cue {
        right: 24px;
    }

    .mf-constat {
        padding: 13vh 24px;
    }

    .mf-final {
        padding: 16vh 24px 12vh;
    }

    .mf-final-links {
        flex-direction: column;
        gap: 26px;
    }

    .mf-progress {
        display: none;
    }

    .mf-flatline {
        padding: 0 24px;
    }
}
