/* =========================================================
   HORS CARTES — FEUILLE DE STYLE COMPLÈTE
   Accueil, navigation, compte à rebours, choix, FAQ et modales
   ========================================================= */

@font-face {
  font-family: "Dabre Grunge";
  src:
    local("Dabre Grunge"),
    url("assets/fonts/Dabre Grunge.otf") format("opentype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --ink: #171713;
  --ink-soft: #34342f;
  --muted: #706f67;
  --paper: #f6f2e9;
  --paper-soft: #eee9df;
  --white: #fffdf8;
  --red: #ef2b22;
  --red-dark: #c51f18;
  --line: rgba(23, 23, 19, 0.14);
  --line-strong: rgba(23, 23, 19, 0.24);
  --shadow: 0 1.2rem 3.2rem rgba(39, 34, 25, 0.12);

  --font-display: "Dabre Grunge", Impact, "Arial Black", sans-serif;
  --font-body: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-interface:
    Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --page-padding: clamp(1.25rem, 4vw, 4.5rem);
  --max-width: 1360px;
  --header-height: 6rem;
}

/* =========================================================
   BASE
   ========================================================= */

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

body,
button,
input {
  font-family: var(--font-body);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border-radius: 0;
}

::selection {
  color: var(--white);
  background: var(--red);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

/* =========================================================
   ÉLÉMENTS PARTAGÉS
   ========================================================= */

.eyebrow {
  margin: 0 0 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--red);
  font-family: var(--font-interface);
  font-size: clamp(0.68rem, 1vw, 0.8rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--red);
}

.eyebrow__mark {
  width: 1.9rem;
  height: 1px;
  display: inline-block;
  flex: 0 0 auto;
  background: currentColor;
}

.button {
  min-height: 3.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.95rem 1.3rem;
  border: 1px solid transparent;
  font-family: var(--font-interface);
  font-size: 0.72rem;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 1.1rem;
  height: 1.1rem;
}

.button--primary {
  color: var(--white);
  background: var(--red);
}

.button--primary:hover {
  background: var(--red-dark);
}

.button--secondary {
  color: var(--ink);
  border-color: var(--line-strong);
  background: var(--white);
}

.button--secondary:hover {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
}

.icon-button {
  width: 2.7rem;
  height: 2.7rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.icon-button:hover {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-2px);
}

/* =========================================================
   EN-TÊTE
   ========================================================= */

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(1.2rem);
  transition:
    background-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header__inner {
  width: min(100%, calc(var(--max-width) + 2 * var(--page-padding)));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.85rem var(--page-padding);
  transition:
    min-height 220ms ease,
    padding 220ms ease;
}

.site-header.is-compact {
  background: rgba(0, 0, 0, 0.985);
  box-shadow: 0 0.7rem 2rem rgba(0, 0, 0, 0.24);
}

.site-header.is-compact .site-header__inner {
  min-height: 4.6rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
  text-decoration: none;
}

.brand__logo {
  width: clamp(6.6rem, 8.5vw, 8.6rem);
  max-height: 8.6rem;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  transition:
    width 220ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.brand--header:hover .brand__logo {
  transform: scale(1.035);
}

.site-header.is-compact .brand__logo {
  width: 4.15rem;
}

.brand__box {
  width: clamp(4rem, 6vw, 5.1rem);
  aspect-ratio: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--red);
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.15vw, 1rem);
  line-height: 0.82;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  box-shadow: 0.45rem 0.45rem 0 var(--ink);
  transition:
    width 220ms ease,
    transform 180ms ease,
    box-shadow 180ms ease;
}

.brand:hover .brand__box {
  transform: translate(0.2rem, 0.2rem);
  box-shadow: 0.25rem 0.25rem 0 var(--ink);
}

.site-header.is-compact .brand__box {
  width: 3.8rem;
  box-shadow: 0.3rem 0.3rem 0 var(--ink);
}

.brand__box span + span {
  margin-top: 0.26em;
}

.brand__descriptor {
  color: rgba(255, 255, 255, 0.62);
  font-family: var(--font-interface);
  font-size: 0.68rem;
  line-height: 1.35;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition: opacity 220ms ease;
}

.site-header.is-compact .brand__descriptor {
  opacity: 0;
}

.brand--small .brand__box {
  width: 3.7rem;
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.6vw, 2.4rem);
  font-family: var(--font-interface);
}

.site-nav button {
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.site-nav__link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  padding: 0.75rem 0;
  color: var(--white);
  font-size: 0.74rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.site-nav__link:hover {
  color: var(--red);
}

.site-header .site-nav__link {
  color: var(--white);
}

.site-header .site-nav__link:hover {
  color: var(--red);
}

.site-nav__number {
  color: var(--red);
  font-size: 0.58rem;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-interface);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-toggle__icon {
  width: 1.25rem;
  display: grid;
  gap: 0.24rem;
}

.menu-toggle__icon span {
  width: 100%;
  height: 1px;
  display: block;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(1) {
  transform: translateY(0.25rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:nth-child(3) {
  transform: translateY(-0.25rem) rotate(-45deg);
}

.site-progress {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  overflow: hidden;
  background: transparent;
}

.site-progress span {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

/* =========================================================
   ACCUEIL
   ========================================================= */

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(0.5rem, 1vw, 1rem) var(--page-padding);
  background:
    radial-gradient(circle at 85% 20%, rgba(239, 43, 34, 0.1), transparent 25rem),
    linear-gradient(135deg, #fbf8f1, var(--paper));
}

.hero__background-mark {
  position: absolute;
  right: -0.08em;
  bottom: -0.34em;
  color: rgba(23, 23, 19, 0.035);
  font-family: var(--font-display);
  font-size: clamp(18rem, 40vw, 46rem);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(25rem, 1.08fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.hero__content {
  max-width: 47rem;
}

.hero h1 {
  max-width: 15ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.65rem, 5vw, 5.6rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.012em;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--red);
}

.hero__intro {
  max-width: 40rem;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(0.96rem, 1.25vw, 1.1rem);
}

.hero__topics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 2.4rem;
}

.topic {
  min-width: 0;
  display: grid;
  justify-items: start;
  gap: 0.65rem;
  padding: 0.95rem 0.7rem;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
  font-family: var(--font-interface);
  font-size: 0.65rem;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.topic:hover {
  color: var(--ink);
  transform: translateY(-0.25rem);
}

.topic__icon {
  width: 1.45rem;
  height: 1.45rem;
  color: var(--red);
  transition: transform 180ms ease;
}

.topic:hover .topic__icon {
  transform: rotate(-5deg) scale(1.08);
}

.hero__scroll-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 2.3rem;
  color: var(--ink);
  font-family: var(--font-interface);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero__scroll-arrow {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--white);
  transition:
    color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease;
}

.hero__scroll-link:hover .hero__scroll-arrow {
  color: var(--white);
  background: var(--red);
  transform: translateY(0.25rem);
}

.hero-visual {
  --hero-shift: 0px;
  position: relative;
  width: min(100%, 26rem);
  justify-self: center;
  padding: 1.2rem 1.8rem 2rem 0;
}

.hero-visual__frame {
  position: relative;
  aspect-ratio: 794 / 1123;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.hero-visual__frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  pointer-events: none;
}

.hero-visual__image {
  position: absolute;
  inset: 0;
  background:
    url("assets/images/hors-cartes-lynx-png-page1.png")
    center / contain no-repeat;
  background-color: var(--ink);
}

/* =========================================================
   COMPTE À REBOURS
   ========================================================= */

.countdown-section {
  position: relative;
  overflow: hidden;
  padding:
    clamp(4.5rem, 9vw, 8rem)
    var(--page-padding);
  color: var(--white);
  background:
    radial-gradient(
      circle at 12% 20%,
      rgba(239, 43, 34, 0.24),
      transparent 24rem
    ),
    var(--ink);
}

.countdown-section::before {
  content: "";
  position: absolute;
  right: -10rem;
  bottom: -16rem;
  width: 34rem;
  height: 34rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(255, 255, 255, 0.025),
    0 0 0 9rem rgba(239, 43, 34, 0.035);
  pointer-events: none;
}

.countdown-section__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 72rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns:
    minmax(0, 0.8fr)
    minmax(28rem, 1.2fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.countdown-section__content h2 {
  max-width: 11ch;
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.countdown-section__intro {
  max-width: 38rem;
  margin: 1.6rem 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
}

.countdown-section__button {
  margin-top: 2rem;
}

.countdown {
  min-width: 0;
}

.countdown__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.countdown__item {
  min-width: 0;
  padding: clamp(1.4rem, 3vw, 2.4rem) 0.8rem;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
}

.countdown__item:last-child {
  border-right: 0;
}

.countdown__item strong {
  display: block;
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
  line-height: 0.85;
}

.countdown__item span {
  display: block;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-interface);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.countdown__status {
  min-height: 1.4rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-interface);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-align: right;
  text-transform: uppercase;
}

.countdown-section.is-complete .countdown__item strong {
  color: var(--white);
}

/* =========================================================
   PRÉSENTATION DU MAGAZINE PAPIER
   ========================================================= */

.magazine-showcase {
  position: relative;
  overflow: hidden;
  padding:
    clamp(3.5rem, 7vw, 6rem)
    var(--page-padding);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.magazine-showcase::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 16%;
  width: clamp(15rem, 34vw, 30rem);
  aspect-ratio: 1;
  border: 1px solid rgba(239, 43, 34, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.magazine-showcase__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 72rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.magazine-showcase__visual {
  min-width: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

.magazine-showcase__visual img {
  width: 130%;
  max-width: none;
  height: auto;
  max-height: none;
  flex-shrink: 0;
  object-fit: contain;
  filter: drop-shadow(0 1.5rem 1.8rem rgba(39, 34, 25, 0.16));
}

.magazine-showcase__content h2 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.3vw, 4rem);
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
}

.magazine-showcase__content > p:last-child {
  max-width: 36rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
}

/* =========================================================
   TROIS ACCÈS
   ========================================================= */

.choice-section {
  position: relative;
  min-height: min(72svh, 48rem);
  display: grid;
  align-items: center;
  padding:
    clamp(4rem, 8vw, 8rem)
    var(--page-padding);
  overflow: hidden;
  background:
    linear-gradient(rgba(23, 23, 19, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 19, 0.025) 1px, transparent 1px),
    var(--paper-soft);
  background-size: 4rem 4rem;
}

.choice-section::before {
  content: "";
  position: absolute;
  right: -11rem;
  bottom: -14rem;
  width: 31rem;
  height: 31rem;
  border: 1px solid rgba(239, 43, 34, 0.16);
  border-radius: 50%;
  box-shadow:
    0 0 0 4rem rgba(239, 43, 34, 0.03),
    0 0 0 9rem rgba(239, 43, 34, 0.02);
}

.choice-section__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 72rem);
  margin: 0 auto;
}

.choice-section__heading {
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
  text-align: center;
}

.choice-section__heading .eyebrow {
  justify-content: center;
}

.choice-section__heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}

.choice-card {
  position: relative;
  min-height: clamp(13rem, 23vw, 18rem);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 1.5rem;
  padding: 2rem 1rem;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 0.8rem 2rem rgba(39, 34, 25, 0.05);
  cursor: pointer;
  overflow: hidden;
  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.choice-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 220ms ease;
}

.choice-card:hover,
.choice-card:focus-visible {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 0 1.4rem 3rem rgba(39, 34, 25, 0.14);
  transform: translateY(-0.45rem);
}

.choice-card:hover::before,
.choice-card:focus-visible::before {
  transform: scaleX(1);
}

.choice-card__icon {
  width: clamp(3.5rem, 7vw, 5.5rem);
  height: clamp(3.5rem, 7vw, 5.5rem);
  color: var(--red);
  transition:
    color 220ms ease,
    transform 220ms ease;
}

.choice-card:hover .choice-card__icon,
.choice-card:focus-visible .choice-card__icon {
  color: var(--red);
  transform: scale(1.08) rotate(-3deg);
}

.choice-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  line-height: 0.95;
  text-align: center;
  text-transform: uppercase;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq-section {
  position: relative;
  padding:
    clamp(5rem, 10vw, 9rem)
    var(--page-padding);
  overflow: hidden;
  background: var(--paper);
}

.faq-section::before {
  content: "FAQ";
  position: absolute;
  right: -0.04em;
  bottom: -0.3em;
  color: rgba(23, 23, 19, 0.025);
  font-family: var(--font-display);
  font-size: clamp(14rem, 32vw, 35rem);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.faq-section__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 68rem);
  margin: 0 auto;
}

.faq-section__heading {
  max-width: 44rem;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.faq-section__heading h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.faq-section__heading > p:last-child {
  max-width: 38rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
}

.faq-list {
  border-bottom: 1px solid var(--line-strong);
}

.faq-item {
  border-top: 1px solid var(--line-strong);
}

.faq-item summary {
  position: relative;
  min-height: 5.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: 1.3rem 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.3vw, 1.7rem);
  line-height: 1.05;
  list-style: none;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 180ms ease,
    padding-left 180ms ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  padding-left: 0.5rem;
  color: var(--red);
}

.faq-item__icon {
  position: relative;
  width: 2.6rem;
  height: 2.6rem;
  display: block;
  flex: 0 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 220ms ease;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.8rem;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 220ms ease;
}

.faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item[open] summary {
  color: var(--red);
}

.faq-item[open] .faq-item__icon {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
  transform: rotate(180deg);
}

.faq-item[open] .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item__answer p {
  max-width: 54rem;
  margin: 0;
  padding: 0 4.5rem 2rem 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.4vw, 1.08rem);
  line-height: 1.8;
}

/* =========================================================
   PIED DE PAGE
   ========================================================= */

.site-footer {
  position: relative;
  width: min(100%, calc(var(--max-width) + 2 * var(--page-padding)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  padding: 2rem var(--page-padding);
  color: var(--muted);
  background: var(--paper);
  font-family: var(--font-interface);
  font-size: 0.7rem;
}

.site-footer__rule {
  position: absolute;
  top: 0;
  right: var(--page-padding);
  left: var(--page-padding);
  height: 1px;
  background: var(--line);
}

.site-footer p {
  margin: 0;
}

.social-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.social-links a {
  text-decoration-color: var(--red);
  text-underline-offset: 0.3rem;
}

/* =========================================================
   MODALES
   ========================================================= */

.content-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(0.6rem, 2vw, 1.5rem);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 220ms ease,
    visibility 220ms ease;
}

.content-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.content-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 13, 0.78);
  backdrop-filter: blur(0.45rem);
}

.content-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 88rem);
  max-height: calc(100svh - 1.2rem);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--paper);
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.34);
  transform: translateY(1.25rem) scale(0.985);
  transition: transform 240ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.content-modal.is-open .content-modal__panel {
  transform: translateY(0) scale(1);
}

.content-modal__panel--text {
  width: min(100%, 68rem);
}

.content-modal__panel--form {
  width: min(100%, 58rem);
  color: var(--white);
  background: var(--ink);
}

.content-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding:
    clamp(1rem, 2vw, 1.6rem)
    clamp(1.1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.95);
}

.content-modal__header--dark {
  border-color: rgba(255, 255, 255, 0.14);
  background: var(--ink);
}

.content-modal__eyebrow {
  margin: 0 0 0.35rem;
  color: var(--red);
  font-family: var(--font-interface);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.content-modal__header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.5vw, 3.2rem);
  font-weight: 400;
  line-height: 0.92;
  text-transform: uppercase;
}

.content-modal__close {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  font-family: Arial, sans-serif;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition:
    color 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.content-modal__close:hover {
  color: var(--white);
  border-color: var(--red);
  background: var(--red);
  transform: rotate(90deg);
}

.content-modal__body {
  min-height: 0;
  overflow: auto;
  padding: clamp(1.1rem, 3vw, 2.5rem);
}

.content-modal__body--magazine {
  padding-top: 0.5rem;
}

.content-modal__body--form {
  padding: clamp(1.5rem, 5vw, 4rem);
}

/* =========================================================
   MODALE MAGAZINE
   ========================================================= */

.content-modal--magazine .flipbook-shell {
  width: 100%;
  max-width: none;
  margin: 0;
}

.content-modal--magazine .flipbook-stage {
  min-height: min(64svh, 43rem);
}

.viewer__toolbar {
  font-family: var(--font-interface);
}

.content-modal--magazine .viewer__toolbar {
  display: grid;
  grid-template-columns: auto minmax(14rem, 1fr) auto;
  align-items: center;
  gap: 1rem;
}

.viewer__counter {
  margin: 0;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.viewer__controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.flipbook-open-reader {
  min-height: 2.7rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.62rem;
}

.flipbook-open-reader svg {
  width: 1rem;
  height: 1rem;
}

.magazine-progress {
  max-width: 32rem;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  justify-self: center;
  width: 100%;
}

.magazine-progress span {
  position: relative;
  padding: 0.4rem 0;
  color: var(--muted);
  font-size: 0.52rem;
  letter-spacing: 0.05em;
  text-align: center;
  transition: color 180ms ease;
}

.magazine-progress span::before,
.magazine-progress span::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.magazine-progress span::before {
  z-index: 2;
  left: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--white);
  transform: translate(-50%, -50%);
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.magazine-progress span::after {
  z-index: 1;
  right: 50%;
  left: -50%;
  height: 1px;
  background: var(--line);
}

.magazine-progress span:first-child::after {
  display: none;
}

.magazine-progress span.is-complete,
.magazine-progress span.is-active {
  color: var(--ink);
}

.magazine-progress span.is-complete::before,
.magazine-progress span.is-active::before {
  border-color: var(--red);
  background: var(--red);
}

.magazine-progress span.is-active::before {
  transform: translate(-50%, -50%) scale(1.45);
}

.flipbook-hint {
  font-family: var(--font-interface);
}

/* =========================================================
   MODALE MANIFESTE
   ========================================================= */

.modal-manifesto-route {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
  color: var(--muted);
  font-family: var(--font-interface);
}

.modal-manifesto-route span {
  height: 1px;
  background: var(--line-strong);
}

.modal-manifesto-route b {
  color: var(--red);
  font-weight: 400;
}

.modal-manifesto-route small {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
}

.modal-manifesto {
  position: relative;
  max-width: 58rem;
  margin: 0 auto;
  padding:
    clamp(2rem, 5vw, 4rem)
    clamp(1.2rem, 4vw, 3rem);
  border-top: 1px solid var(--line-strong);
  background: rgba(255, 253, 248, 0.72);
}

.modal-manifesto::before {
  content: "";
  position: absolute;
  top: -2px;
  left: clamp(1.2rem, 4vw, 3rem);
  width: clamp(4rem, 11vw, 8rem);
  height: 3px;
  background: var(--red);
}

.modal-manifesto__lead {
  max-width: 66ch;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.modal-manifesto p {
  max-width: 66ch;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  line-height: 1.85;
}

.modal-manifesto p + p {
  margin-top: clamp(1.3rem, 2.5vw, 2rem);
}

.modal-manifesto__opening::first-letter {
  float: left;
  margin: 0.14em 0.12em 0 0;
  color: var(--red);
  font-family: var(--font-display);
  font-size: 4.5em;
  line-height: 0.72;
}

.modal-manifesto__questions {
  padding:
    clamp(1.2rem, 3vw, 2rem)
    clamp(1.1rem, 3vw, 1.8rem);
  border-left: 3px solid var(--red);
  color: var(--ink) !important;
  background: var(--paper-soft);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem) !important;
  line-height: 1.3 !important;
  text-transform: uppercase;
}

.modal-manifesto__interlude {
  color: var(--red) !important;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem) !important;
  line-height: 1.2 !important;
  text-align: center;
  text-transform: uppercase;
}

.modal-manifesto__ending {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line-strong);
  color: var(--ink) !important;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem) !important;
  line-height: 1.1 !important;
  text-transform: uppercase;
}

.modal-manifesto__signature {
  max-width: 56rem;
  margin: clamp(2rem, 5vw, 4rem) auto 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 3.8rem);
  line-height: 0.92;
  text-align: right;
  text-transform: uppercase;
}

/* =========================================================
   MODALE FORMULAIRE
   ========================================================= */

.modal-form-intro {
  max-width: 38rem;
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.signup-form {
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.055);
  font-family: var(--font-interface);
}

.content-modal--form .signup-form {
  max-width: none;
}

.signup-form > label:first-child {
  display: block;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.signup-form__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.signup-form input[type="email"] {
  min-width: 0;
  min-height: 3.8rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-right: 0;
  border-radius: 0;
  color: var(--white);
  background: rgba(0, 0, 0, 0.2);
}

.signup-form input[type="email"]::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.signup-form input[type="email"]:focus {
  border-color: var(--red);
  outline: 0;
}

.signup-form__row .button {
  min-height: 3.8rem;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  line-height: 1.55;
}

.consent input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.18rem;
  accent-color: var(--red);
}

.form-status {
  min-height: 1.6rem;
  margin: 0.8rem 0 0;
  color: var(--white);
  font-size: 0.76rem;
}

/* Brevo est utilisé uniquement comme moteur d'inscription.
   Ces règles conservent l'apparence Hors Cartes du formulaire. */
.signup-form .sib-input,
.signup-form .sib-form-block,
.signup-form .form__entry,
.signup-form .form__label-row {
  width: 100%;
  margin: 0;
  padding: 0;
}

.signup-form .entry__field {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.signup-form .entry__field input[type="email"] {
  width: 100%;
}

.signup-form .entry__error {
  display: block;
  min-height: 0;
  margin-top: 0.45rem;
  color: #ffb7b2;
  background: transparent;
  font-family: var(--font-interface);
  font-size: 0.7rem;
  line-height: 1.4;
}

.sib-form-message-panel.form-status {
  display: none;
  min-height: 0;
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--font-interface);
  line-height: 1.5;
}

.sib-form-message-panel.form-status.sib-form-message-panel--active {
  display: block;
}

.form-status--success {
  border-left: 3px solid #5fcf8b !important;
}

.form-status--error {
  border-left: 3px solid var(--red) !important;
}

.signup-form .input--hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  clip-path: inset(50%) !important;
}

/* =========================================================
   APPARITIONS
   ========================================================= */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.6rem);
  transition:
    opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .hero-visual[data-reveal] {
  transform: translateY(calc(1.6rem + var(--hero-shift)));
}

.js .hero-visual[data-reveal].is-visible {
  transform: translateY(var(--hero-shift));
}

/* =========================================================
   RESPONSIVE — TABLETTES
   ========================================================= */

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

  .hero__content {
    max-width: 52rem;
  }

  .hero-visual {
    width: min(100%, 42rem);
    justify-self: center;
    margin-top: 1rem;
  }

  .countdown-section__inner {
    grid-template-columns: 1fr;
  }

  .countdown-section__content h2 {
    max-width: 15ch;
  }
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 760px) {
  :root {
    --header-height: 5rem;
    --mobile-cover-width: 17rem;
    --mobile-hero-title-size: clamp(2rem, 9vw, 3rem);
    --mobile-hero-text-size: 0.82rem;
    --mobile-cover-text-gap: 2rem;
    --mobile-hero-title-width: 52ch;
  }

  .site-header__inner,
  .site-header.is-compact .site-header__inner {
    min-height: var(--header-height);
    flex-wrap: nowrap;
    gap: 0.75rem;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
  }

  .brand__descriptor {
    display: none;
  }

  .brand__logo,
  .site-header.is-compact .brand__logo {
    width: 6.2rem;
  }

  .brand__box,
  .site-header.is-compact .brand__box {
    width: 3.6rem;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.42);
    background: transparent;
  }

  .menu-toggle:hover {
    color: var(--white);
    border-color: var(--red);
    background: var(--red);
  }

  .site-nav {
    position: absolute;
    z-index: 10;
    top: calc(100% + 1px);
    right: var(--page-padding);
    left: var(--page-padding);
    width: auto;
    display: grid;
    gap: 0;
    padding: 0.45rem;
    border: 1px solid var(--line-strong);
    background: rgba(255, 253, 248, 0.98);
    box-shadow: 0 1.2rem 2.8rem rgba(23, 23, 19, 0.15);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.6rem);
    pointer-events: none;
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .site-nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-header .site-nav__link {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0.9rem 0.85rem;
    color: var(--ink);
    border: 0;
    border-bottom: 1px solid var(--line);
    background: transparent;
    font-size: 0.65rem;
    text-align: left;
  }

  .site-header .site-nav__link:last-child {
    border-bottom: 0;
  }

  .site-header .site-nav__link:hover {
    color: var(--white);
    background: var(--red);
  }

  .site-header .site-nav__link:hover .site-nav__number {
    color: var(--white);
  }

  .hero {
    min-height: auto;
    padding-top: 1.5rem;
    padding-bottom: 5rem;
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .hero-visual {
    --hero-shift: 0px;
    order: 1;
    width: min(100%, var(--mobile-cover-width));
    margin: 0 auto;
    padding: 0;
  }

  .hero__content {
    order: 2;
    width: 100%;
    max-width: none;
    margin-top: var(--mobile-cover-text-gap);
  }

  .hero h1 {
    max-width: var(--mobile-hero-title-width);
    font-size: var(--mobile-hero-title-size);
  }

  .hero__intro {
    font-size: var(--mobile-hero-text-size);
  }

  .hero__topics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .countdown-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .countdown-section__inner {
    gap: 3rem;
  }

  .countdown__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .countdown__item:nth-child(2) {
    border-right: 0;
  }

  .countdown__item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .countdown__item strong {
    font-size: clamp(2.8rem, 15vw, 4.5rem);
  }

  .countdown__status {
    text-align: left;
  }

  .magazine-showcase {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .magazine-showcase__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .magazine-showcase__visual img {
  width: 135%;
  max-width: none;
  height: auto;
  max-height: none;
}

  .magazine-showcase__content h2 {
    max-width: 15ch;
  }

  .choice-section {
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .choice-grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin: 0 auto;
  }

  .choice-card {
    min-height: 10rem;
    grid-template-columns: auto 1fr;
    justify-items: start;
    align-content: center;
    gap: 1.25rem;
    padding: 1.4rem 1.5rem;
  }

  .choice-card__icon {
    width: 3.5rem;
    height: 3.5rem;
  }

  .choice-card__title {
    font-size: 1.4rem;
    text-align: left;
  }

  .faq-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .faq-item summary {
    min-height: 4.8rem;
    gap: 1rem;
    font-size: clamp(1.05rem, 5.5vw, 1.4rem);
  }

  .faq-item__icon {
    width: 2.3rem;
    height: 2.3rem;
  }

  .faq-item__answer p {
    padding-right: 0;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .social-links {
    justify-content: flex-start;
  }

  .content-modal {
    padding: 0;
  }

  .content-modal__panel,
  .content-modal__panel--text,
  .content-modal__panel--form {
    width: 100%;
    max-height: 100svh;
    min-height: 100svh;
    border: 0;
  }

  .content-modal__header {
    padding: 0.9rem 1rem;
  }

  .content-modal__header h2 {
    font-size: clamp(1.4rem, 7vw, 2.2rem);
  }

  .content-modal__close {
    width: 2.5rem;
    height: 2.5rem;
  }

  .content-modal__body {
    padding: 1rem;
  }

  .content-modal--magazine .viewer__toolbar {
    grid-template-columns: auto auto;
  }

  .content-modal--magazine .magazine-progress {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
    margin-top: 0.35rem;
  }

  .content-modal--magazine .magazine-progress span {
    font-size: 0;
  }

  .content-modal--magazine .flipbook-stage {
    min-height: 65svh;
  }

  .modal-manifesto-route {
    grid-template-columns: 1fr auto;
  }

  .modal-manifesto-route small {
    grid-column: 1 / -1;
  }

  .modal-manifesto {
    padding: 1.8rem 1.1rem;
  }

  .modal-manifesto__lead {
    font-size: clamp(1.8rem, 9vw, 2.6rem);
  }

  .modal-manifesto p {
    font-size: 1rem;
    line-height: 1.8;
  }

  .modal-manifesto__questions {
    font-size: 1.15rem !important;
  }

  .modal-manifesto__opening::first-letter {
    font-size: 3.8em;
  }

  .modal-manifesto__signature {
    font-size: clamp(1.55rem, 8vw, 2.5rem);
    text-align: left;
  }

  .content-modal__body--form {
    padding: 1.3rem 1rem;
  }
}

/* =========================================================
   RESPONSIVE — PETITS TÉLÉPHONES
   ========================================================= */

@media (max-width: 560px) {
  .menu-toggle__label {
    display: none;
  }

  .brand__logo,
  .site-header.is-compact .brand__logo {
    width: 8rem;
  }

  .brand__box,
  .site-header.is-compact .brand__box {
    width: 3.45rem;
  }

  .hero__topics {
    gap: 0.35rem;
  }

  .topic {
    padding-right: 0.35rem;
    padding-left: 0.35rem;
  }

  .choice-section__heading h2 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .signup-form {
    padding: 1.1rem;
  }

  .signup-form__row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .signup-form input[type="email"] {
    border-right: 1px solid rgba(255, 255, 255, 0.28);
  }

  .signup-form__row .button {
    width: 100%;
  }
}

/* =========================================================
   DÉCALAGE DE LA COUVERTURE SUR ORDINATEUR
   ========================================================= */

@media (min-width: 1001px) {
  .hero-visual {
    --hero-shift: -3rem;
  }
}

/* =========================================================
   ACCESSIBILITÉ — MOUVEMENTS RÉDUITS
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js [data-reveal],
  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   BANDE-ANNONCE AUDIO — PREMIÈRE SECTION
   ========================================================= */

.hero-audio {
  width: min(100%, 36rem);
  min-height: 4.4rem;
  display: grid;
  grid-template-columns: auto minmax(8.5rem, auto) minmax(5rem, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  margin-top: 2.3rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line-strong);
  background: rgba(255, 253, 248, 0.72);
  box-shadow: 0.5rem 0.5rem 0 rgba(23, 23, 19, 0.06);
  font-family: var(--font-interface);
}

.hero-audio.is-unavailable {
  opacity: 0.7;
}

.hero-audio__button {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--red);
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.hero-audio__button:hover {
  color: var(--white);
  border-color: var(--red-dark);
  background: var(--red-dark);
  transform: scale(1.05);
}

.hero-audio__button:disabled {
  cursor: not-allowed;
  transform: none;
}

.hero-audio__icon {
  width: 1.2rem;
  height: 1.2rem;
}

.hero-audio__icon--pause {
  display: none;
}

.hero-audio.is-playing .hero-audio__icon--play {
  display: none;
}

.hero-audio.is-playing .hero-audio__icon--pause {
  display: block;
}

.hero-audio__copy {
  min-width: 0;
  display: grid;
  gap: 0.15rem;
}

.hero-audio__label {
  color: var(--red);
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-audio__copy strong {
  overflow: hidden;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-audio__progress {
  position: relative;
  width: 100%;
  height: 1.6rem;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hero-audio__progress::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  height: 2px;
  background: var(--line-strong);
  transform: translateY(-50%);
}

.hero-audio__progress span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 0;
  height: 2px;
  display: block;
  background: var(--red);
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-audio__time {
  min-width: 3rem;
  color: var(--muted);
  font-size: 0.62rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  text-align: right;
}

.hero-audio + .hero__scroll-link {
  margin-top: 1.4rem;
}

/* =========================================================
   PROCHAINS THÈMES — CARROUSEL
   ========================================================= */

.themes-section {
  position: relative;
  overflow: hidden;
  padding:
    clamp(5rem, 10vw, 9rem)
    var(--page-padding);
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(239, 43, 34, 0.17), transparent 28rem),
    var(--ink);
}

.themes-section::before {
  content: "06";
  position: absolute;
  right: -0.05em;
  bottom: -0.28em;
  color: rgba(255, 255, 255, 0.025);
  font-family: var(--font-display);
  font-size: clamp(18rem, 38vw, 42rem);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.themes-section__inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max-width));
  margin: 0 auto;
}

.themes-section__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.themes-section__heading {
  max-width: 50rem;
}

.themes-section__heading h2 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.3rem);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.themes-section__heading > p:last-child {
  max-width: 46rem;
  margin: 1.5rem 0 0;
  color: rgba(255, 255, 255, 0.63);
}

.themes-carousel__controls {
  display: flex;
  gap: 0.65rem;
}

.themes-carousel__button {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.035);
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.themes-carousel__button:hover:not(:disabled) {
  border-color: var(--red);
  background: var(--red);
  transform: translateY(-0.2rem);
}

.themes-carousel__button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.themes-carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(18rem, calc((100% - 4rem) / 3));
  gap: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.4rem 0.15rem 1.6rem;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  scrollbar-width: thin;
  overscroll-behavior-inline: contain;
}

.themes-carousel__track::-webkit-scrollbar {
  height: 5px;
}

.themes-carousel__track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
}

.themes-carousel__track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
}

.theme-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.045);
  scroll-snap-align: start;
  overflow: hidden;
  transition:
    border-color 220ms ease,
    background-color 220ms ease,
    transform 220ms ease,
    box-shadow 220ms ease;
}

.theme-card:hover {
  border-color: rgba(239, 43, 34, 0.72);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: 0 1.5rem 3.5rem rgba(0, 0, 0, 0.18);
  transform: translateY(-0.35rem);
}

.theme-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  margin: 0;
  overflow: hidden;
  background: #22221e;
}

.theme-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 3px solid var(--red);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent 55%);
  pointer-events: none;
}

.theme-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.theme-card:hover .theme-card__media img {
  transform: scale(1.045);
}

.theme-card__body {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 2.5vw, 1.8rem);
}

.theme-card__number {
  margin: 0 0 1.2rem;
  color: var(--red);
  font-family: var(--font-interface);
  font-size: 0.55rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.theme-card h3 {
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.3vw, 2.05rem);
  font-weight: 400;
  line-height: 0.95;
  text-transform: uppercase;
}

.theme-card__body > p:last-child {
  margin: 1.1rem 0 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  line-height: 1.65;
}

.themes-carousel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-interface);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.themes-carousel__status,
.themes-carousel__hint {
  margin: 0;
}

.themes-carousel__status span:first-child {
  color: var(--red);
}

/* =========================================================
   RESPONSIVE — AUDIO ET PROCHAINS THÈMES
   ========================================================= */

@media (max-width: 1000px) {
  .themes-carousel__track {
    grid-auto-columns: minmax(18rem, calc((100% - 2rem) / 2));
  }
}

@media (max-width: 760px) {
  .hero-audio {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding: 0.65rem;
  }

  .hero-audio__progress {
    grid-column: 1 / -1;
    grid-row: 2;
    height: 1rem;
  }

  .hero-audio__time {
    min-width: 2.8rem;
  }

  .themes-section {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .themes-section__header {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.6rem;
  }

  .themes-carousel__controls {
    justify-self: start;
  }

  .themes-carousel__track {
    grid-auto-columns: minmax(16.5rem, 84vw);
    gap: 1rem;
    margin-right: calc(-1 * var(--page-padding));
  }

  .themes-carousel__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 420px) {
  .hero-audio__copy strong {
    font-size: 0.88rem;
  }

  .hero-audio__label {
    font-size: 0.49rem;
  }

  .themes-carousel__track {
    grid-auto-columns: 86vw;
  }
}



/* =========================================================
   FORMULAIRE BREVO — COULEURS FORCÉES
   ========================================================= */

.content-modal--form #sib-form,
.content-modal--form #sib-form label,
.content-modal--form #sib-form .consent,
.content-modal--form #sib-form .consent span {
  color: #ffffff !important;
}

.content-modal--form #sib-form #EMAIL {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: rgba(0, 0, 0, 0.2) !important;
}

.content-modal--form #sib-form #EMAIL::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
  -webkit-text-fill-color: rgba(255, 255, 255, 0.55) !important;
  opacity: 1 !important;
}

.content-modal--form #sib-form .consent {
  color: rgba(255, 255, 255, 0.72) !important;
}

.content-modal--form #sib-form .consent span {
  color: inherit !important;
}

/* =========================================================
   CHAMP EMAIL — FOND NOIR MÊME EN AUTOREMPLISSAGE
   ========================================================= */

.content-modal--form #EMAIL {
  background-color: #171713 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff;
}

/* Chrome / Edge / Safari — saisie automatique */
.content-modal--form #EMAIL:-webkit-autofill,
.content-modal--form #EMAIL:-webkit-autofill:hover,
.content-modal--form #EMAIL:-webkit-autofill:focus,
.content-modal--form #EMAIL:-webkit-autofill:active {
  -webkit-text-fill-color: #ffffff !important;
  -webkit-box-shadow: 0 0 0 1000px #171713 inset !important;
  box-shadow: 0 0 0 1000px #171713 inset !important;
  caret-color: #ffffff !important;
}

/* Firefox */
.content-modal--form #EMAIL:autofill {
  background-color: #171713 !important;
  color: #ffffff !important;
}

/* =========================================================
   LE CRÉATEUR
   ========================================================= */

.creator-section {
  position: relative;
  overflow: hidden;
  padding:
    clamp(4.5rem, 9vw, 8rem)
    var(--page-padding);
  border-top: 1px solid var(--line);
  background: var(--paper-soft);
}

.creator-section::before {
  content: "HC";
  position: absolute;
  right: -0.08em;
  bottom: -0.35em;
  color: rgba(23, 23, 19, 0.025);
  font-family: var(--font-display);
  font-size: clamp(16rem, 34vw, 36rem);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.creator-section__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 68rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(16rem, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 6rem);
}

.creator-section__portrait {
  margin: 0;
}

.creator-section__photo-placeholder {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(23, 23, 19, 0.025), transparent),
    var(--paper);
  box-shadow: var(--shadow);
}

.creator-section__photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-section__photo-placeholder span {
  color: var(--muted);
  font-family: var(--font-interface);
  font-size: 0.62rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.creator-section__content h2 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 5rem);
  font-weight: 400;
  line-height: 0.9;
  text-transform: uppercase;
}

.creator-section__content > p:not(.eyebrow) {
  max-width: 42rem;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: clamp(0.98rem, 1.35vw, 1.08rem);
}

/* =========================================================
   INSTAGRAM — BLOC DISCRET
   ========================================================= */

.instagram-section {
  padding:
    clamp(1.8rem, 4vw, 2.8rem)
    var(--page-padding);
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.instagram-section__inner {
  width: min(100%, 68rem);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.instagram-section__label {
  color: var(--red);
  font-family: var(--font-interface);
  font-size: 0.58rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.instagram-section p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.instagram-section__link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-family: var(--font-interface);
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-decoration-color: var(--red);
  text-underline-offset: 0.3rem;
  text-transform: uppercase;
}

/* =========================================================
   PIED DE PAGE — LIEN MENTIONS LÉGALES
   ========================================================= */

.footer-link-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-underline-offset: 0.3rem;
  cursor: pointer;
}

/* =========================================================
   MENTIONS LÉGALES
   ========================================================= */

.legal-notice {
  max-width: 54rem;
  margin: 0 auto;
}

.legal-notice > p {
  color: var(--muted);
}

.legal-notice__list {
  margin: 2rem 0 2.5rem;
  border-bottom: 1px solid var(--line-strong);
}

.legal-notice__list > div {
  display: grid;
  grid-template-columns: minmax(10rem, 0.7fr) minmax(0, 1.3fr);
  gap: 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line-strong);
}

.legal-notice dt {
  color: var(--ink);
  font-family: var(--font-interface);
  font-size: 0.65rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.legal-notice dd {
  margin: 0;
  color: var(--muted);
}

.legal-notice h3 {
  margin: 2.2rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .creator-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .creator-section__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .creator-section__portrait {
    width: min(100%, 22rem);
  }

  .creator-section__content h2 {
    max-width: 15ch;
  }

  .instagram-section__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .legal-notice__list > div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

