/* ==========================================================================
   STUDIO BOLDONE — DA « éditorial cuir » (11/11/2026)
   Éditorial vintage, mais moderne. Marron uniquement, au sens cuir et bois :
   cuir beige d'intérieur de voiture, cognac, noyer. Pas de vert, pas de
   rouge, pas de noir pur. Coins droits, filets fins, grain léger.

   Chargée APRÈS main.css : elle redéfinit les variables puis corrige les
   composants.

   Règle 60 / 30 / 10
   - 60 % papier (#EDE3D3) — fond de repos ; beige soutenu (#DCCAAE) en panneau
   - 30 % espresso (#1D1410) — texte et surfaces sombres ; noyer (#3B281C)
   - 10 % accent — cognac (#8A4B1F) sur clair, tan (#D09A62) sur sombre.
     Un seul rôle : dire « c'est ici » (mot en italique, repères, survols,
     bouton principal sur fond sombre). Jamais en aplat de fond de section.

   Contrastes vérifiés (WCAG) :
     espresso / papier 14,3:1 · texte2 / papier 6,5:1 · cognac / papier 5,3:1
     tan / espresso 7,3:1 · papier / cognac 5,3:1 · texte2 / beige 5,2:1
     papier à 66 % / espresso 6,8:1 (plancher du texte atténué sur sombre)
     ⚠ cognac / beige 4,2:1 : pas de petit texte cognac sur #DCCAAE.

   Principe conservé : la variable d'accent (et celles des boutons, du filet,
   du texte secondaire) est redéfinie dans chaque contexte sombre, si bien
   que tout composant qui l'utilise reste lisible.

   TYPOGRAPHIE : provisoire. Un design system va la définir ; toutes les
   familles et tailles passent par les variables ci-dessous — aucun
   composant de ce fichier n'écrit de famille en dur.
   ========================================================================== */

:root {
  /* ---- Polices (à redéfinir ici seulement) ---- */
  --font-display: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;  /* titres */
  --font-text: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; /* texte courant */
  --font-ui: var(--font-text);                                           /* navigation, boutons */
  --font-label: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;       /* petites étiquettes en capitales */
  --font-body: var(--font-text);   /* alias lu par main.css */

  /* ---- Échelle de tailles ---- */
  --fs-label: 0.6875rem;     /* 11px — étiquettes capitales */
  --fs-ui-sm: 0.875rem;      /* 14px — boutons, barre mobile */
  --fs-ui: 0.9375rem;        /* 15px — navigation */
  --fs-small: 0.875rem;
  --fs-body: 1.125rem;       /* 18px — texte courant */
  --fs-lead: 1.125rem;       /* chapeau de couverture */
  --fs-brand: 1.3125rem;     /* 21px — « Studio Boldone » dans l'en-tête */
  --fs-brand-sm: 1.125rem;   /* 18px — idem, mobile */
  --fs-caption: 0.9375rem;   /* légende de figure */
  --fs-h4: clamp(1.25rem, 2vw, 1.75rem);
  --fs-h3: clamp(1.5rem, 3vw, 2.5rem);
  --fs-h2: clamp(2rem, 5vw, 4rem);
  --fs-h1: clamp(2.5rem, 6vw, 5rem);
  --fs-hero: clamp(3.5rem, 10vw, 8rem);
  --fs-cover: clamp(3.375rem, 9.2vw, 9.5rem);        /* titre de couverture */
  --fs-cover-sm: clamp(3.25rem, 16.5vw, 6.875rem);   /* idem ≤ 960px */
  --fs-strip: clamp(1.125rem, 1.9vw, 1.625rem);      /* bandeau « Pour les… » */
  --fs-menu: clamp(2rem, 9vw, 2.75rem);              /* liens du menu mobile */

  /* ---- Palette ---- */
  --paper: #EDE3D3;          /* cuir beige clair — 60 % */
  --paper-deep: #DCCAAE;     /* cuir beige soutenu — panneaux */
  --paper-light: #F4EDE2;    /* papier éclairci — cartes et champs posés sur le papier */
  --ink: #1D1410;            /* espresso — 30 % */
  --walnut: #3B281C;         /* noyer */
  --cognac: #8A4B1F;         /* accent sur clair */
  --tan: #D09A62;            /* accent sur sombre */
  --stone: #5E4B3B;          /* texte secondaire sur papier */
  --paper-dim: rgba(237, 227, 211, 0.72); /* texte secondaire sur sombre */

  --gutter: clamp(20px, 3.4vw, 56px);

  /* ---- Mouvement : posé, précis ; seuls transform et opacity sont animés ---- */
  --ease-calm: cubic-bezier(0.16, 1, 0.3, 1);   /* sortie longue, sans rebond */
  --ease-swap: cubic-bezier(0.65, 0, 0.35, 1);  /* bascule symétrique */
  --dur-hover: 0.45s;
  --dur-sheet: 0.55s;
  --dur-enter: 1.1s;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  /* ---- Variables de main.css rebranchées ---- */
  --color-black: var(--ink);
  --color-dark: var(--ink);
  --color-white: var(--paper);
  --color-cream: var(--paper-deep);
  --color-gray: var(--stone);
  --color-gray-light: #CDB99B;
  --color-text-muted: var(--stone);

  --gradient-accent: none;
  --gradient-dark: none;

  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --radius-full: 0;

  /* L'en-tête n'est plus superposé : il occupe sa place dans le flux */
  --header-height: 0px;

  /* ---- Rôles (contexte clair) ---- */
  --color-accent: var(--cognac);
  --color-accent-bright: var(--cognac);
  --color-accent-dark: #6E3B17;
  --on-accent: var(--paper);
  --btn-fill: var(--ink);
  --btn-on: var(--paper);
  --btn-fill-hover: var(--cognac);
  --btn-on-hover: var(--paper);
  --text-2: var(--stone);
  --hairline: rgba(29, 20, 16, 0.18);
}

/* Contextes sombres : l'accent devient tan, le bouton principal aussi */
.hero, .page-header, .section--dark, .cta, .footer, .loader,
.marquee--dark, .cover-fig__plate, .back-to-top {
  --color-accent: var(--tan);
  --color-accent-bright: var(--tan);
  --color-accent-dark: #E0B585;
  --on-accent: var(--ink);
  --btn-fill: var(--tan);
  --btn-on: var(--ink);
  --btn-fill-hover: var(--paper);
  --btn-on-hover: var(--ink);
  --text-2: var(--paper-dim);
  --hairline: rgba(237, 227, 211, 0.16);
}

::selection { background: var(--ink); color: var(--paper); }
.section--dark ::selection, .page-header ::selection, .cta ::selection, .footer ::selection { background: var(--tan); color: var(--ink); }

html { scroll-padding-top: 96px; }

body {
  background: var(--paper);
  color: var(--stone);
  font-family: var(--font-text);
}

/* Grain léger, sur tout le site */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.14;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 1500;
}

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

.skip-link {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-ui);
  border-radius: 0;
}
.skip-link:focus { outline-color: var(--tan); }

/* --------------------------------------------------------------------------
   TYPOGRAPHIE (provisoire — voir les variables en tête)
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.02;
}
h3, h4 { letter-spacing: -0.005em; line-height: 1.15; }

/* Le mot mis en avant : l'italique du Didone, en accent */
.text-gradient {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: var(--color-accent);
  font-style: italic;
  font-weight: 400;
}

.text-outline {
  -webkit-text-stroke: 0;
  -webkit-text-fill-color: currentColor;
  font-style: italic;
}

.hero__eyebrow,
.section-header__eyebrow,
.page-header__eyebrow,
.story-card__tag,
.footer__title,
.process-step__number {
  font-family: var(--font-label);
}

.hero__eyebrow,
.section-header__eyebrow,
.page-header__eyebrow {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--color-accent);
}

.section-header__eyebrow::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0.9em 0.18em 0;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

.section-header__subtitle { color: var(--text-2); }

/* --------------------------------------------------------------------------
   EN-TÊTE — barre papier collante, filet
   -------------------------------------------------------------------------- */
body > .header,
body > .header.scrolled {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0;
  pointer-events: auto;
  background: rgba(237, 227, 211, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
/* état « défilé » : une ombre apparaît en fondu, le logo se resserre */
body > .header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
  background: linear-gradient(rgba(29, 20, 16, 0.10), rgba(29, 20, 16, 0));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-calm);
}
body > .header.scrolled::after { opacity: 1; }
.header__brand { transform-origin: left center; transition: transform 0.5s var(--ease-calm); }
body > .header.scrolled .header__brand { transform: scale(0.92); }

.header__row {
  height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--gutter);
}

.header__brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  height: 34px;
  color: var(--ink);
}
.header__brand svg { display: block; height: 100%; width: auto; flex-shrink: 0; }
.header__brand-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-brand);
  white-space: nowrap;
  line-height: 1;
}

.header__links {
  display: flex;
  gap: 40px;
  font-family: var(--font-ui);
  font-size: var(--fs-ui);
  font-weight: 500;
}
.header__links a {
  position: relative;
  padding: 6px 0;
  color: var(--ink);
}
.header__links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--cognac);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--dur-hover) var(--ease-calm);
}
.header__links a:hover::after,
.header__links a:focus-visible::after,
.header__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left center; }
.header__links a[aria-current="page"] { color: var(--cognac); }

.header__end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}

.header__btn,
.cover__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: var(--fs-ui-sm);
  font-weight: 600;
  padding: 14px 22px;
  white-space: nowrap;
  background: var(--btn-fill);
  color: var(--btn-on);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
/* survol : la teinte cognac monte du bas, la flèche avance d'un cran */
.header__btn::before,
.cover__btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-fill-hover);
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform var(--dur-hover) var(--ease-calm);
}
.header__btn:hover::before,
.cover__btn:hover::before,
.header__btn:focus-visible::before,
.cover__btn:focus-visible::before { transform: scaleY(1); }
.cover__btn > span { display: inline-block; transition: transform var(--dur-hover) var(--ease-calm); }
.cover__btn:hover > span { transform: translateX(4px); }
.header__btn small { font-weight: 400; font-size: 0.8125rem; opacity: 0.8; transition: opacity var(--dur-hover) ease; }
.header__btn:hover small,
.header__btn:focus-visible small { opacity: 1; } /* sur cognac, 80 % passerait sous 4,5:1 */

.header__menu {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--fs-ui-sm);
  font-weight: 500;
  cursor: pointer;
}
.header__menu i { position: relative; display: block; width: 26px; height: 10px; }
.header__menu i b {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.45s var(--ease-swap);
}
.header__menu i b:first-child { top: 0; }
.header__menu i b:last-child { bottom: 0; }
.header__menu[aria-expanded="true"] i b:first-child { transform: translateY(4.25px) rotate(45deg); }
.header__menu[aria-expanded="true"] i b:last-child { transform: translateY(-4.25px) rotate(-45deg); }

/* Menu plein écran (mobile) */
.menu-sheet {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: calc(66px + 28px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: var(--paper);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.menu-sheet[hidden] { display: none; }
.menu-sheet.open { opacity: 1; }
/* les liens montent l'un après l'autre, puis le pied */
.menu-sheet__link,
.menu-sheet__foot {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s ease, transform var(--dur-sheet) var(--ease-calm);
}
.menu-sheet.open .menu-sheet__link,
.menu-sheet.open .menu-sheet__foot { opacity: 1; transform: none; }
.menu-sheet.open .menu-sheet__link:nth-child(1) { transition-delay: 0.06s; }
.menu-sheet.open .menu-sheet__link:nth-child(2) { transition-delay: 0.11s; }
.menu-sheet.open .menu-sheet__link:nth-child(3) { transition-delay: 0.16s; }
.menu-sheet.open .menu-sheet__link:nth-child(4) { transition-delay: 0.21s; }
.menu-sheet.open .menu-sheet__foot { transition-delay: 0.28s; }
.menu-sheet__label { display: inline-block; transition: transform var(--dur-hover) var(--ease-calm); }
.menu-sheet__link:hover .menu-sheet__label { transform: translateX(6px); }

.menu-sheet__link {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
}
.menu-sheet__link:first-child { border-top: 1px solid var(--hairline); }
.menu-sheet__label {
  font-family: var(--font-display);
  font-size: var(--fs-menu);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.menu-sheet__note {
  font-family: var(--font-text);
  font-size: var(--fs-ui-sm);
  color: var(--stone);
  white-space: nowrap;
}
.menu-sheet__link[aria-current="page"] .menu-sheet__label,
.menu-sheet__link:hover .menu-sheet__label { font-style: italic; color: var(--cognac); }

.menu-sheet__foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--font-ui);
  font-size: var(--fs-ui);
}
.menu-sheet__foot a {
  align-self: flex-start;
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--cognac);
  padding-bottom: 2px;
}
.menu-sheet__foot span { color: var(--stone); font-size: var(--fs-ui-sm); }

/* Barre d'actions fixe en bas (mobile) */
.action-bar { display: none; }

@media (min-width: 961px) {
  .menu-sheet { display: none !important; }
}

@media (max-width: 960px) {
  .header__links,
  .header__btn { display: none; }
  .header__menu { display: inline-flex; }
  .header__row { height: 66px; grid-template-columns: 1fr auto; }
  .header__brand { height: 28px; gap: 11px; }
  .header__brand-name { font-size: var(--fs-brand-sm); }

  .action-bar {
    display: grid;
    grid-template-columns: auto 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 998;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--paper);
    border-top: 1px solid var(--hairline);
  }
  .action-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 60px;
    padding: 0 20px;
    font-family: var(--font-ui);
    font-size: var(--fs-ui-sm);
    font-weight: 500;
    color: var(--ink);
    white-space: nowrap;
  }
  .action-bar a:last-child { background: var(--ink); color: var(--paper); font-weight: 600; }
  .action-bar small { font-weight: 400; opacity: 0.8; font-size: 0.8125rem; }

  /* la barre ne doit pas masquer le bas du pied de page */
  body:has(.action-bar) { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  body:has(.action-bar) .back-to-top { bottom: calc(76px + env(safe-area-inset-bottom)); right: 16px; }
}

/* --------------------------------------------------------------------------
   BOUTONS — rectangles nets
   Clair : espresso, survol cognac. Sombre : tan, survol papier.
   -------------------------------------------------------------------------- */
.btn {
  border-radius: 0;
  font-family: var(--font-ui);
  font-size: var(--fs-ui-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
}
.btn--lg { font-size: var(--fs-ui); padding: 1.15rem 2rem; }

.btn--primary {
  background: var(--btn-fill);
  color: var(--btn-on);
  border: 1px solid var(--btn-fill);
}
.btn--primary:hover {
  background: var(--btn-fill-hover);
  color: var(--btn-on-hover);
  border-color: var(--btn-fill-hover);
  box-shadow: none;
  transform: none;
}

.btn--outline,
.btn--secondary { border-width: 1px; }
.btn--outline:hover,
.btn--secondary:hover { transform: none; }

.btn--accent,
.btn--diagnostic {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}
.btn--accent:hover,
.btn--diagnostic:hover {
  background: var(--btn-fill);
  border-color: var(--btn-fill);
  color: var(--btn-on);
  box-shadow: none;
  transform: none;
}

.btn--white {
  background: var(--btn-fill);
  color: var(--btn-on);
  border: 1px solid var(--btn-fill);
}
.btn--white:hover {
  background: var(--btn-fill-hover);
  border-color: var(--btn-fill-hover);
  color: var(--btn-on-hover);
  box-shadow: none;
  transform: none;
}

/* --------------------------------------------------------------------------
   ACCUEIL — COUVERTURE (remplace l'ancien .hero et le .marquee)
   -------------------------------------------------------------------------- */
.cover-folio {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0 var(--gutter);
  padding: 16px 0;
  position: relative;
  font-family: var(--font-label);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}
.cover-folio b { color: var(--cognac); font-weight: 600; }

.cover {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: end;
  padding: clamp(36px, 5vw, 72px) var(--gutter) clamp(36px, 4.4vw, 64px);
}

.cover__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-cover);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-left: -0.04em;
  color: var(--ink);
}
.cover__line {
  display: block;
  overflow: hidden;
  /* marge pour les jambages (q, p) sans décaler la ligne */
  padding: 0 0.06em 0.14em;
  margin: 0 -0.06em -0.14em;
}
.cover__line > span { display: block; }
.cover__title em { color: var(--cognac); padding-left: 0.55em; font-style: italic; }
.cover__title b { color: var(--cognac); font-weight: inherit; }

.cover__under {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  margin-top: clamp(28px, 3.4vw, 52px);
  padding-top: 22px;
  position: relative;
}
.cover__under p {
  font-family: var(--font-text);
  font-size: var(--fs-lead);
  line-height: 1.55;
  max-width: 40ch;
  color: var(--stone);
  margin: 0;
}
.cover__under p strong { color: var(--ink); font-weight: 500; }

.cover__acts { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cover__acts .cover__btn { padding: 19px 30px; font-size: var(--fs-ui); }
.cover__link {
  position: relative;
  font-family: var(--font-ui);
  font-size: var(--fs-ui);
  font-weight: 500;
  color: var(--ink);
  padding-bottom: 4px;
}
/* filet cognac qui se retire puis se redessine */
.cover__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--cognac);
}
.cover__link:hover::after { animation: rule-redraw 0.7s var(--ease-calm); }
@keyframes rule-redraw {
  0% { transform: scaleX(1); transform-origin: right center; }
  45% { transform: scaleX(0); transform-origin: right center; }
  46% { transform: scaleX(0); transform-origin: left center; }
  100% { transform: scaleX(1); transform-origin: left center; }
}

.cover-fig { position: relative; margin: 0; }
.cover-fig__plate {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink);
}
/* le fond dessiné (ou la photo) : noyer → espresso, halo */
.cover-fig__fill {
  position: absolute;
  inset: 0;
  display: block;
  background:
    radial-gradient(70% 55% at 46% 38%, rgba(208, 154, 98, 0.22) 0%, transparent 70%),
    linear-gradient(160deg, var(--walnut), var(--ink) 70%);
}
/* rideau : un aplat marron qui se retire vers le haut à l'arrivée */
.cover-fig__curtain {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: var(--stone);
  transform: scaleY(0);
  transform-origin: top center;
  pointer-events: none;
}
/* filet intérieur : la planche se tient seule, même sans photo */
.cover-fig__plate::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(237, 227, 211, 0.14);
  pointer-events: none;
  z-index: 2;
}
.cover-fig__plate::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.5;
  mix-blend-mode: overlay;
  filter: invert(1);
  pointer-events: none;
}
img.cover-fig__fill {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: none;
}
.cover-fig__plate.has-photo::after { opacity: 0.18; }

.cover-fig figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 12px;
  font-family: var(--font-label);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}
.cover-fig figcaption i {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-caption);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

/* Tampon tournant */
.stamp {
  position: absolute;
  left: -62px;
  bottom: 74px;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: var(--cognac);
  color: var(--paper);
  z-index: 3;
}
/* deux rotations empilées : la lente tourne toujours, la seconde s'ajoute
   au survol de la figure (le tampon accélère sans à-coup) */
.stamp__spin { position: absolute; inset: 0; animation: stamp-turn 7s linear infinite paused; }
.cover-fig:hover .stamp__spin { animation-play-state: running; }
.stamp__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: stamp-turn 26s linear infinite; }
.stamp__ring text {
  fill: currentColor;
  font-family: var(--font-label);
  font-size: 9.2px;
  font-weight: 600;
}
.stamp__mark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stamp__mark svg { display: block; height: 34px; width: auto; }
@keyframes stamp-turn { to { transform: rotate(360deg); } }

/* Bandeau « Pour les… » */
.pour { padding: 0 var(--gutter); }
.pour__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 20px 0;
  position: relative;
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--fs-strip);
  color: var(--ink);
  line-height: 1.2;
}
.pour__row i { width: 6px; height: 6px; border-radius: 50%; background: var(--cognac); flex-shrink: 0; }
.pour__row .pour__lead {
  font-family: var(--font-label);
  font-style: normal;
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
}
/* l'accroche qui suit garde de l'air */
.pour + .section { padding-top: clamp(64px, 7vw, 112px); }

/* Filets fins de la couverture : dessinés en pseudo-éléments pour pouvoir
   se tracer de gauche à droite à l'arrivée. */
.cover-folio::after,
.cover__under::before,
.pour__row::before,
.pour__row::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--hairline);
  transform-origin: left center;
}
.cover-folio::after,
.pour__row::after { bottom: 0; }
.cover__under::before,
.pour__row::before { top: 0; }

/* --------------------------------------------------------------------------
   ENTRÉE EN SCÈNE — validée par le propriétaire :
   (1) le titre monte ligne par ligne derrière un cache ;
   (2) les filets se tracent de gauche à droite ;
   (3) un rideau marron se retire de la planche, qui se dézoome à peine ;
   le reste se pose en fondu. Uniquement transform / opacity.
   En attente tant que l'écran de chargement est affiché.
   -------------------------------------------------------------------------- */
@keyframes cover-rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes cover-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes cover-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes rule-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes curtain-lift { from { transform: scaleY(1); } to { transform: scaleY(0); } }
@keyframes plate-settle { from { transform: scale(1.08); } to { transform: none; } }

@media (prefers-reduced-motion: no-preference) {
  html:not([data-reduced-motion="true"]) .cover__line > span {
    transform: translateY(105%);
    animation: cover-rise var(--dur-enter) var(--ease-calm) forwards;
  }
  html:not([data-reduced-motion="true"]) .cover__line:nth-child(2) > span { animation-delay: 0.09s; }
  html:not([data-reduced-motion="true"]) .cover__line:nth-child(3) > span { animation-delay: 0.18s; }

  html:not([data-reduced-motion="true"]) .cover-folio::after,
  html:not([data-reduced-motion="true"]) .cover__under::before,
  html:not([data-reduced-motion="true"]) .pour__row::before,
  html:not([data-reduced-motion="true"]) .pour__row::after {
    transform: scaleX(0);
    animation: rule-draw 1.2s var(--ease-calm) forwards;
  }
  html:not([data-reduced-motion="true"]) .cover-folio::after { animation-delay: 0.05s; }
  html:not([data-reduced-motion="true"]) .cover__under::before { animation-delay: 0.35s; }
  html:not([data-reduced-motion="true"]) .pour__row::before { animation-delay: 0.5s; }
  html:not([data-reduced-motion="true"]) .pour__row::after { animation-delay: 0.6s; }

  html:not([data-reduced-motion="true"]) .cover-folio > span,
  html:not([data-reduced-motion="true"]) .pour__row > span,
  html:not([data-reduced-motion="true"]) .pour__row > i {
    opacity: 0;
    animation: cover-fade 0.8s ease forwards 0.15s;
  }
  html:not([data-reduced-motion="true"]) .pour__row > span,
  html:not([data-reduced-motion="true"]) .pour__row > i { animation-delay: 0.7s; }

  html:not([data-reduced-motion="true"]) .cover__under > * {
    opacity: 0;
    animation: cover-in 0.9s var(--ease-calm) forwards 0.45s;
  }
  html:not([data-reduced-motion="true"]) .cover__acts { animation-delay: 0.55s; }

  html:not([data-reduced-motion="true"]) .cover-fig__curtain {
    transform: scaleY(1);
    animation: curtain-lift 1.15s var(--ease-swap) forwards 0.2s;
  }
  html:not([data-reduced-motion="true"]) .cover-fig__fill {
    transform: scale(1.08);
    animation: plate-settle 1.8s var(--ease-calm) forwards 0.2s;
  }
  html:not([data-reduced-motion="true"]) .stamp {
    opacity: 0;
    animation: cover-in 0.8s var(--ease-calm) forwards 0.95s;
  }
  html:not([data-reduced-motion="true"]) .cover-fig figcaption {
    opacity: 0;
    animation: cover-fade 0.8s ease forwards 0.9s;
  }

  body:has(.loader:not(.loaded)) .cover__line > span,
  body:has(.loader:not(.loaded)) .cover-folio::after,
  body:has(.loader:not(.loaded)) .cover__under::before,
  body:has(.loader:not(.loaded)) .pour__row::before,
  body:has(.loader:not(.loaded)) .pour__row::after,
  body:has(.loader:not(.loaded)) .cover-folio > span,
  body:has(.loader:not(.loaded)) .pour__row > span,
  body:has(.loader:not(.loaded)) .pour__row > i,
  body:has(.loader:not(.loaded)) .cover__under > *,
  body:has(.loader:not(.loaded)) .cover-fig__curtain,
  body:has(.loader:not(.loaded)) .cover-fig__fill,
  body:has(.loader:not(.loaded)) .stamp,
  body:has(.loader:not(.loaded)) .cover-fig figcaption { animation-play-state: paused; }
}

/* Mouvement réduit — système (avant que main.js ne pose l'attribut) ou
   bouton « Animations » du pied de page (html[data-reduced-motion="true"]).
   Tout reste à sa place finale ; les survols changent sans glisser. */
@media (prefers-reduced-motion: reduce) {
  html:not([data-reduced-motion="false"]) .stamp__ring,
  html:not([data-reduced-motion="false"]) .stamp__spin { animation: none; }
}
html[data-reduced-motion="true"] .stamp__ring,
html[data-reduced-motion="true"] .stamp__spin,
html[data-reduced-motion="true"] .cover__link:hover::after { animation: none; }
html[data-reduced-motion="true"] .header__links a::after,
html[data-reduced-motion="true"] .header__btn::before,
html[data-reduced-motion="true"] .cover__btn::before,
html[data-reduced-motion="true"] .header__menu i b,
html[data-reduced-motion="true"] .menu-sheet,
html[data-reduced-motion="true"] .menu-sheet__link,
html[data-reduced-motion="true"] .menu-sheet__foot,
html[data-reduced-motion="true"] .header__brand,
html[data-reduced-motion="true"] .cover__btn > span,
html[data-reduced-motion="true"] .menu-sheet__label,
html[data-reduced-motion="true"] body > .header::after { transition: none !important; }
html[data-reduced-motion="true"] .menu-sheet__link,
html[data-reduced-motion="true"] .menu-sheet__foot,
html[data-reduced-motion="true"] .menu-sheet__link:hover .menu-sheet__label,
html[data-reduced-motion="true"] .cover__btn:hover > span,
html[data-reduced-motion="true"] body > .header.scrolled .header__brand { transform: none; }

@media (max-width: 960px) {
  .cover-folio span:last-child { display: none; }
  .cover { grid-template-columns: 1fr; align-items: start; }
  .cover__title { font-size: var(--fs-cover-sm); }
  .cover__title em { padding-left: 0.3em; }
  .cover__under { grid-template-columns: 1fr; gap: 24px; }
  .cover-fig { margin-top: 8px; max-width: 520px; }
  .stamp { left: auto; right: 14px; bottom: auto; top: -46px; width: 96px; height: 96px; }
  .stamp__mark svg { height: 26px; }
  .pour__row { flex-wrap: wrap; justify-content: flex-start; column-gap: 14px; row-gap: 6px; }
  .pour__row .pour__lead { flex-basis: 100%; }
}
@media (max-width: 600px) {
  .cover-folio { letter-spacing: 0.16em; }
  .cover-folio span:nth-child(2) { display: none; }
}

/* --------------------------------------------------------------------------
   HAUTS DE PAGE INTÉRIEURS — espresso, sous la barre papier
   -------------------------------------------------------------------------- */
.page-header__blob { display: none; }
.page-header {
  background: var(--ink);
  min-height: clamp(320px, 48vh, 520px);
}
.page-header__title { color: var(--paper); font-weight: 400; }
.page-header__title .text-gradient,
.page-header__title em { color: var(--tan); }
.page-header__subtitle { color: var(--paper-dim); }

/* L'ancien .hero n'est plus utilisé sur l'accueil ; on le garde lisible si une page s'en sert */
.hero__bg, .hero__blob { display: none; }
.hero { background: var(--ink); }

/* --------------------------------------------------------------------------
   BANDEAU DÉFILANT (autres pages éventuelles)
   -------------------------------------------------------------------------- */
.marquee {
  background: var(--paper);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.marquee__item {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--ink);
}
.marquee__dot { background: var(--cognac); width: 7px; height: 7px; }

/* --------------------------------------------------------------------------
   SECTIONS
   -------------------------------------------------------------------------- */
.section--dark { background: var(--ink); color: var(--paper-dim); }
.section--dark h1, .section--dark h2, .section--dark h3,
.section--dark h4, .section--dark strong { color: var(--paper); }
.section--cream { background: var(--paper); }

/* --------------------------------------------------------------------------
   CARTES « OÙ EN ÊTES-VOUS » ET ÉTAPES
   -------------------------------------------------------------------------- */
.story-card {
  border-radius: 0;
  background: transparent;
  border: 1px solid var(--hairline);
  box-shadow: none;
}
.story-card:hover { border-color: rgba(208, 154, 98, 0.6); transform: none; box-shadow: none; }
.story-card__quote { font-family: var(--font-display); color: var(--tan); opacity: 0.6; }
.story-card__problem { font-family: var(--font-display); font-style: italic; }
.story-card__tag { letter-spacing: 0.28em; color: var(--paper-dim); }
.story-card__link { color: var(--paper); border-bottom: 1px solid var(--tan); }
.story-card__link:hover { color: var(--tan); }

.process-step__number {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  color: var(--cognac);
}
.process-step::after { background: var(--hairline); }

/* Badge « Site vitrine » (/offres) : son fond était un dégradé désactivé,
   le texte papier tombait sur du papier. */
.pricing-card__badge { background: var(--ink); color: var(--paper); }

/* --------------------------------------------------------------------------
   APPEL FINAL — espresso, le monogramme en filigrane
   -------------------------------------------------------------------------- */
.cta--accent {
  background: var(--ink);
  border-top: 1px solid var(--hairline);
}
.cta__mark {
  display: block;
  width: 56px;
  margin: 0 auto var(--space-md);
  color: var(--tan);
}
.cta__mark svg { display: block; width: 100%; height: auto; }
.cta__title { font-weight: 400; color: var(--paper); }
.cta__text { color: var(--paper-dim); }

/* --------------------------------------------------------------------------
   PIED DE PAGE
   -------------------------------------------------------------------------- */
.footer {
  background: var(--ink);
  border-top: 1px solid var(--hairline);
}
.footer__logo { color: var(--paper); margin-bottom: var(--space-md); }
.footer__logo svg { display: block; height: 64px; width: auto; }
.footer__tagline {
  font-family: var(--font-label);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: var(--space-sm);
}
.footer__title { font-weight: 500; letter-spacing: 0.24em; font-size: var(--fs-label); color: var(--paper-dim); }
.footer__links a,
.footer__desc,
.footer__copy,
.footer__legal a,
.motion-toggle { color: var(--paper-dim); }
.footer__links a:hover,
.footer__legal a:hover,
.motion-toggle:hover { color: var(--tan); }

.back-to-top {
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  border-color: var(--hairline);
}
.back-to-top:hover { background: var(--tan); border-color: var(--tan); color: var(--ink); }

/* --------------------------------------------------------------------------
   CHARGEMENT — le monogramme apparaît
   -------------------------------------------------------------------------- */
.loader { background: var(--ink); }
.loader__blob { display: none; }
.loader__letter { color: var(--paper); line-height: 0; }
.loader__letter svg { display: block; height: clamp(56px, 12vw, 84px); width: auto; }
.loader__ring-bg { stroke: rgba(237, 227, 211, 0.08); }
.loader__ring-progress { stroke: var(--tan); }
.loader__signature-text {
  font-family: var(--font-label);
  color: var(--paper-dim);
}
.loader__signature-line { background: rgba(208, 154, 98, 0.5); }

@media (max-width: 600px) {
  .hero__eyebrow,
  .section-header__eyebrow { letter-spacing: 0.2em; }
  .btn,
  .btn--lg { padding: 1.05rem 1.25rem; }
}
