/* ============================================================
   DESIGN TOKENS — KLEAA (noir + lime)
   ============================================================ */
:root {
  --bg: #010104;
  --bg-elevated: #0c0c0f;
  --bg-card: #121216;
  --bg-soft: #212124;
  --text: #ffffff;
  --text-muted: #757b83;
  --text-soft: rgba(255, 255, 255, 0.72);
  --border: rgba(255, 255, 255, 0.1);
  --accent: #348cff;
  --accent-lime: #cffe25;
  --accent-lime-hover: #d9ff4d;
  --lime-ink: #0a0a0c;
  --green: #34c648;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --container: 1120px;
  --header-h: 72px;
  --nav-glass: rgba(7, 7, 9, 0.72);
  --nav-glass-strong: rgba(7, 7, 9, 0.9);
  --nav-border: rgba(255, 255, 255, 0.12);
  --nav-radius: 18px;
  --glass-blur: saturate(150%) blur(24px);
  --glass-shadow:
    0 4px 24px rgba(0, 0, 0, 0.28),
    0 0 0 0.5px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
  /* Signature marque = même famille que les titres (identité V2) */
  --font-brand: "Instrument Serif", Georgia, "Times New Roman", serif;

  /* Échelle de titres unifiée */
  --title-size: clamp(3rem, 7vw, 6rem);
  --title-size-md: clamp(2.25rem, 5vw, 4.5rem);
  --title-size-sm: clamp(1.15rem, 2vw, 1.45rem);
  --title-weight: 400;
  --title-tracking: -0.05em;
  --title-leading: 0.92;
  --title-size-mobile: clamp(2.75rem, 13vw, 3.5rem);
  --title-leading-mobile: 0.94;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  /* clip évite de casser position:sticky sur mobile (overflow-x:hidden le casse) */
  overflow-x: clip;
}

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

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

button,
input {
  font: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  position: relative;
}

.section-eyebrow {
  color: var(--accent-lime);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--title-size-md);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-tracking);
  line-height: var(--title-leading);
  max-width: 18ch;
}

.section-title.wide {
  max-width: 22ch;
}

.section-subtitle {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  max-width: 46ch;
  line-height: 1.6;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease, border-color 0.25s ease,
    color 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(52, 140, 255, 0.28);
}

.btn-primary:hover {
  background: #4a98ff;
}

/* Bouton lime — identité KLEAA (nav CTA + formulaire) */
.btn-lime {
  background: var(--accent-lime);
  color: var(--lime-ink);
  box-shadow: 0 8px 24px rgba(207, 254, 37, 0.28);
  font-weight: 600;
}

.btn-lime:hover {
  background: var(--accent-lime-hover);
}

.btn-lime:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-dark {
  background: #fff;
  color: var(--bg);
}

.btn-dark:hover {
  background: #e8e8e8;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ============================================================
   HEADER / NAV — KLEAA
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 1.1rem 1.25rem 0;
  display: flex;
  justify-content: center;
  background: transparent;
  border: none;
  pointer-events: none;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.site-header.is-hidden {
  transform: translateY(calc(-100% - 1rem));
  pointer-events: none;
}

.site-header.is-hidden .nav {
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  position: relative;
  width: min(100%, 1080px);
  min-height: 62px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 0.55rem 0.5rem 1rem;
  border-radius: var(--nav-radius);
  background: var(--nav-glass);
  border: 1px solid var(--nav-border);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition:
    background 0.4s var(--ease),
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.nav::before {
  content: "";
  position: absolute;
  inset: -1px 24% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(207, 254, 37, 0.75), transparent);
  opacity: 0.7;
  pointer-events: none;
}

.site-header.is-scrolled .nav {
  background: var(--nav-glass-strong);
  border-color: rgba(255, 255, 255, 0.17);
  transform: translateY(-0.2rem);
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  justify-self: start;
  z-index: 1;
}

.logo-mark {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}

.logo:hover .logo-mark {
  transform: rotate(6deg) scale(1.06);
}

.logo-text {
  font-family: var(--font-brand);
  font-size: 1.85rem;
  font-weight: var(--title-weight);
  line-height: 0.8;
  letter-spacing: -0.065em;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  justify-self: center;
}

.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  padding: 0.65rem 0.8rem;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 0.42rem;
  height: 1px;
  background: var(--accent-lime);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-1px);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  justify-self: end;
  z-index: 1;
}

.nav-cta-desktop {
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: none;
}

.nav-cta-desktop::after {
  content: "↗";
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

.nav-cta-desktop:hover::after {
  transform: translate(2px, -2px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 14px;
  height: 1.5px;
  margin: 3.5px auto;
  background: #fff;
  border-radius: 2px;
}

/* ============================================================
   SECTION HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: end center;
  padding: calc(var(--header-h) + 2.5rem) 0 2rem;
  overflow: hidden;
  background: #000;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #000;
}

.hero-media-frame {
  position: absolute;
  inset: 0;
  filter: contrast(1.45) brightness(0.68) saturate(0.9);
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
}

/* Poster opaque : pas de bouton play en mode éco ; touch → play → cover disparaît */
.hero-poster-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #000 url("/assets/videos/hero-poster.jpg") center bottom / cover no-repeat;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.hero-media-frame.is-playing .hero-poster-cover {
  opacity: 0;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 58%, transparent 35%, rgba(0, 0, 0, 0.45) 70%, #000 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 28%, transparent 55%, rgba(0, 0, 0, 0.75) 88%, #000 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Espacements individuels pour faire “respirer” le hero */
  gap: 0;
  width: 100%;
}

/* BADGE — verre iOS + pastille lime */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-pill);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.22) 0%,
      rgba(255, 255, 255, 0.08) 45%,
      rgba(255, 255, 255, 0.05) 100%
    );
  border: 0.5px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.85rem;
}

.hero-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--accent-lime);
  box-shadow: 0 0 10px rgba(207, 254, 37, 0.55);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.5vw, 5rem);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-tracking);
  line-height: 1.02;
  max-width: 14em;
  color: #fff;
  margin-bottom: 1rem;
  white-space: normal;
}

.hero-subtitle {
  max-width: 28rem;
  margin: 0 auto 2rem;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

/* ------------------------------------------------------------
   FORM EMAIL (HERO) — style des CTA d’origine (pills + gap)
   ------------------------------------------------------------ */
.hero-email-form {
  position: relative;
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin: 0 auto;
}

.hero-email-row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem; /* même gap que .btn-row d’origine */
  width: 100%;
  max-height: 140px;
  transition:
    opacity 0.28s ease,
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.35s ease,
    max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-email-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  min-height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 0.85rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 500;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

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

.hero-email-form input[type="email"]:focus {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
}

.hero-email-form .btn-lime {
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: var(--radius-sm);
}

/* Flèche → avant le libellé (comme le CTA “Get Started Now” du template) */
.hero-email-form .btn-lime::before {
  content: "→";
  font-weight: 700;
  line-height: 1;
}

.hero-email-form.is-submitting .btn-lime::before {
  width: 15px;
  height: 15px;
  content: "";
  border: 2px solid rgba(10, 10, 12, 0.22);
  border-top-color: var(--lime-ink);
  border-radius: 50%;
  animation: form-spinner 0.72s linear infinite;
}

.hero-email-form.is-submitting .btn-lime {
  transform: scale(0.985);
  box-shadow:
    0 0 0 5px rgba(207, 254, 37, 0.08),
    0 10px 30px rgba(207, 254, 37, 0.18);
}

.hero-email-form .form-message {
  width: 100%;
  font-size: 0.875rem;
  color: var(--accent-lime);
  min-height: 1.25em;
  text-align: center;
}

.hero-email-form .form-message.is-error {
  color: #fc605c;
}

.hero-email-form.has-error .hero-email-row {
  animation: form-shake 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

.hero-email-form.has-error .form-message {
  animation: form-message-in 0.35s var(--ease) both;
}

.form-success-card {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 50%;
  width: min(100%, 440px);
  min-height: 52px;
  padding: 0.55rem 1.1rem 0.55rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(207, 254, 37, 0.42);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(circle at 18% 0%, rgba(207, 254, 37, 0.18), transparent 42%),
    rgba(13, 15, 9, 0.9);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.32),
    0 0 0 5px rgba(207, 254, 37, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  filter: blur(8px);
  transform: translate(-50%, 8px) scale(0.88);
  pointer-events: none;
}

.form-success-icon {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-lime);
  color: var(--lime-ink);
  box-shadow: 0 0 24px rgba(207, 254, 37, 0.34);
}

.form-success-icon::before,
.form-success-icon::after {
  position: absolute;
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--accent-lime);
  opacity: 0;
}

.form-success-icon::before {
  top: -4px;
  left: -2px;
}

.form-success-icon::after {
  right: -5px;
  bottom: 0;
}

.form-success-icon svg {
  width: 21px;
  height: 21px;
}

.form-success-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 18;
  stroke-dashoffset: 18;
}

.hero-email-form.is-success .hero-email-row {
  max-height: 52px;
  opacity: 0;
  filter: blur(6px);
  transform: scale(0.94);
  pointer-events: none;
}

.hero-email-form.is-success .form-success-card {
  animation: form-success-in 0.72s cubic-bezier(0.2, 1.35, 0.35, 1) 0.08s forwards;
}

.hero-email-form.is-success .form-success-icon {
  animation: form-icon-pop 0.62s cubic-bezier(0.2, 1.55, 0.35, 1) 0.24s both;
}

.hero-email-form.is-success .form-success-icon path {
  animation: form-check-draw 0.42s cubic-bezier(0.65, 0, 0.35, 1) 0.48s forwards;
}

.hero-email-form.is-success .form-success-icon::before,
.hero-email-form.is-success .form-success-icon::after {
  animation: form-spark 0.55s ease-out 0.5s both;
}

.hero-email-form.is-success .form-message {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

@keyframes form-spinner {
  to {
    transform: rotate(360deg);
  }
}

@keyframes form-shake {
  20%,
  60% {
    transform: translateX(-5px);
  }
  40%,
  80% {
    transform: translateX(5px);
  }
}

@keyframes form-message-in {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes form-success-in {
  0% {
    opacity: 0;
    filter: blur(8px);
    transform: translate(-50%, 8px) scale(0.88);
  }
  65% {
    opacity: 1;
    filter: blur(0);
    transform: translate(-50%, 0) scale(1.025);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translate(-50%, 0) scale(1);
  }
}

@keyframes form-icon-pop {
  from {
    opacity: 0;
    transform: scale(0.35) rotate(-18deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

@keyframes form-check-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes form-spark {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  35% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
    transform: translateY(-9px) scale(1.1);
  }
}

.hero-email-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  max-width: 36ch;
  line-height: 1.45;
  text-align: center;
  margin-top: 0.15rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   CE QUE TU REÇOIS — calendrier éditorial
   ============================================================ */
.receive {
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(5rem, 10vw, 8rem);
  background: #000;
}

.receive-glow {
  display: none;
}

.receive-head {
  max-width: 760px;
  margin: 0 auto clamp(2.75rem, 6vw, 4.5rem);
  text-align: center;
}

.receive-head .section-eyebrow {
  margin-bottom: 0.85rem;
}

.receive-title {
  color: var(--text);
  font-family: var(--font-display);
  font-size: var(--title-size);
  font-weight: var(--title-weight);
  line-height: var(--title-leading);
  letter-spacing: var(--title-tracking);
}

.receive-head .anim-fade-up:nth-child(2) {
  transition-delay: 0.05s;
}

.receive-head .anim-fade-up:nth-child(3) {
  transition-delay: 0.09s;
}

.receive-head .anim-fade-up {
  filter: blur(6px);
  transform: translateY(24px);
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease),
    filter 0.4s ease;
}

.receive-head .anim-fade-up.is-visible {
  filter: blur(0);
  transform: translateY(0);
}

.receive-board {
  position: relative;
  padding: clamp(0.75rem, 1.5vw, 1.15rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  background: #070707;
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition-delay: 0.08s;
}

.receive-board.anim-fade-up {
  filter: blur(8px);
  clip-path: inset(0 0 10% 0 round 30px);
  transform: translateY(32px) scale(0.98);
  transition:
    opacity 0.5s var(--ease) 0.08s,
    transform 0.5s var(--ease) 0.08s,
    filter 0.45s ease 0.08s,
    clip-path 0.5s var(--ease) 0.08s;
}

.receive-board.anim-fade-up.is-visible {
  filter: blur(0);
  clip-path: inset(0 round 30px);
  transform: translateY(0) scale(1);
}

.receive-board-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 42px;
  padding: 0 0.35rem 0.75rem;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.receive-board-top span:first-child {
  color: var(--accent-lime);
}

.receive-formula {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(0.65rem, 1.4vw, 1rem);
  align-items: stretch;
}

.receive-daily,
.receive-signature {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 3.3vw, 2.5rem);
  overflow: hidden;
  border-radius: 22px;
}

.receive-daily {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 18% 18%, rgba(207, 254, 37, 0.1), transparent 28%),
    #000;
}

.receive-signature {
  color: var(--lime-ink);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.5), transparent 28%),
    var(--accent-lime);
}

.receive-signature > * {
  position: relative;
  z-index: 1;
}

.receive-card-number {
  position: absolute;
  top: clamp(1.1rem, 2vw, 1.5rem);
  right: clamp(1.25rem, 2.5vw, 2rem);
  color: rgba(255, 255, 255, 0.16);
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 7rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  pointer-events: none;
}

.receive-signature .receive-card-number {
  color: rgba(10, 10, 12, 0.12);
}

.receive-daily-marker {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.25rem);
  left: clamp(1.5rem, 3.3vw, 2.5rem);
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(207, 254, 37, 0.28);
  border-radius: 50%;
  background: rgba(207, 254, 37, 0.07);
}

.receive-daily-marker span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-lime);
  box-shadow: 0 0 0 7px rgba(207, 254, 37, 0.1);
  animation: receive-pulse 2s ease-out infinite;
}

.receive-kicker {
  margin-bottom: 0.55rem;
  color: var(--accent-lime);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.receive-signature .receive-kicker {
  color: rgba(10, 10, 12, 0.62);
}

.receive-daily h3,
.receive-signature h3 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 3.8vw, 3.7rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.receive-daily h3 + p,
.receive-signature h3 + p {
  min-height: 3.6em;
  max-width: 34ch;
  margin-top: 0.9rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.receive-daily h3 + p {
  color: var(--text-soft);
}

.receive-time {
  align-self: flex-start;
  order: -1;
  margin-bottom: auto;
  margin-left: 3.5rem;
  padding: 0.42rem 0.68rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  color: var(--text-soft);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.receive-signature-label {
  align-self: flex-start;
  order: -1;
  margin-bottom: auto;
  padding: 0.42rem 0.68rem;
  border: 1px solid rgba(10, 10, 12, 0.2);
  border-radius: var(--radius-pill);
  color: rgba(10, 10, 12, 0.7);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.receive-plus {
  position: relative;
  z-index: 2;
  display: grid;
  width: 48px;
  height: 48px;
  place-self: center;
  place-items: center;
  margin-inline: -1.6rem;
  border: 6px solid #070707;
  border-radius: 50%;
  background: #fff;
}

.receive-plus span {
  position: absolute;
  width: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: #09090b;
}

.receive-plus span:last-child {
  transform: rotate(90deg);
}

.receive-week {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.receive-day {
  position: relative;
  appearance: none;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.025);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    color 0.45s ease,
    border-color 0.45s ease,
    background 0.45s ease,
    transform 0.45s var(--ease);
  overflow: hidden;
}

.receive-day-short {
  display: none;
}

.receive-day:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.18);
}

.receive-day.is-active {
  color: var(--lime-ink);
  border-color: var(--accent-lime);
  background: var(--accent-lime);
  transform: translateY(-2px);
}

.receive-day:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@keyframes receive-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(207, 254, 37, 0.28);
  }
  70%,
  100% {
    box-shadow: 0 0 0 12px rgba(207, 254, 37, 0);
  }
}

@keyframes receive-card-left-in {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateX(-30px) scale(0.98);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0) scale(1);
  }
}

@keyframes receive-card-right-in {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateX(30px) scale(0.98);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0) scale(1);
  }
}

@keyframes receive-detail-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes receive-plus-in {
  from {
    opacity: 0;
    transform: scale(0.4) rotate(-45deg);
  }
  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.receive-board.is-visible .receive-daily,
.receive-board.is-visible .receive-signature {
  opacity: 0;
  animation: receive-card-left-in 0.45s var(--ease) 0.12s forwards;
}

.receive-board.is-visible .receive-signature {
  animation-name: receive-card-right-in;
  animation-delay: 0.18s;
}

.receive-board.is-visible .receive-board-top,
.receive-board.is-visible .receive-week {
  animation: receive-detail-in 0.35s var(--ease) 0.22s backwards;
}

.receive-board.is-visible .receive-plus {
  animation: receive-plus-in 0.35s cubic-bezier(0.2, 1.45, 0.35, 1) 0.28s backwards;
}

.receive-board.is-visible .receive-day {
  animation: receive-detail-in 0.3s var(--ease) backwards;
}

.receive-board.is-visible .receive-day:nth-child(1) {
  animation-delay: 0.28s;
}

.receive-board.is-visible .receive-day:nth-child(2) {
  animation-delay: 0.32s;
}

.receive-board.is-visible .receive-day:nth-child(3) {
  animation-delay: 0.36s;
}

.receive-board.is-visible .receive-day:nth-child(4) {
  animation-delay: 0.4s;
}

.receive-board.is-visible .receive-day:nth-child(5) {
  animation-delay: 0.44s;
}

.marquee {
  margin-top: 2.5rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 3.5rem;
  align-items: center;
}

.marquee-track img {
  height: 28px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(1) brightness(1.4);
}

/* ============================================================
   ABOUT / CEO + STATS
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
}

.about-card,
.stat-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.about-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: center;
}

.about-portrait {
  width: 140px;
  height: 160px;
  object-fit: cover;
  border-radius: 18px;
}

.about-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent-lime);
  padding: 0.25rem 0.55rem;
  border-radius: 6px;
  margin-bottom: 0.85rem;
}

.about-quote {
  font-size: 1.05rem;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.about-author {
  margin-top: 1.25rem;
  font-weight: 600;
}

.about-role {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.stats-col {
  display: grid;
  gap: 1.25rem;
}

.stat-value {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-label {
  margin-top: 0.5rem;
  font-weight: 600;
}

.stat-text {
  margin-top: 0.5rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ============================================================
   SCROLL VIDEO — plein écran, scrub synchronisé au scroll
   ============================================================ */
.scroll-video {
  position: relative;
  /* Hauteur de scroll = distance pendant laquelle la vidéo avance */
  height: 280vh;
  background: var(--bg);
}

.scroll-video-pin {
  position: sticky;
  top: 0;
  height: 100dvh;
  width: 100%;
  overflow: hidden;
  background: var(--bg);
}

.scroll-video-el {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

@media (max-width: 809.98px) {
  .scroll-video-el {
    /* Affiche toute la largeur de la vidéo sans couper les mains */
    object-fit: contain;
  }
}

.scroll-video-caption {
  --caption-opacity: 0;
  --caption-y: 18px;
  position: absolute;
  z-index: 2;
  top: clamp(18%, 22vh, 27%);
  left: 50%;
  width: min(90%, 900px);
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-align: center;
  text-wrap: balance;
  opacity: var(--caption-opacity);
  transform: translate(-50%, var(--caption-y));
  text-shadow: 0 3px 30px rgba(0, 0, 0, 0.7);
  pointer-events: none;
  will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-video {
    height: auto;
  }

  .scroll-video-pin {
    position: relative;
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

/* ============================================================
   CONTACT REPLY — réponse à « Tout commence par un contact »
   ============================================================ */
.contact-reply {
  padding: clamp(4.5rem, 10vw, 8rem) 0;
  background: var(--bg);
}

.contact-reply-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
  width: 100%;
}

.contact-reply-title {
  font-family: var(--font-display);
  font-size: var(--title-size-md);
  font-weight: var(--title-weight);
  letter-spacing: var(--title-tracking);
  line-height: var(--title-leading);
  max-width: none;
  color: #fff;
  text-wrap: balance;
  white-space: nowrap;
}

.contact-reply-title.anim-fade-up {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(28px) scale(0.98);
  transition:
    opacity 0.45s var(--ease),
    transform 0.45s var(--ease),
    filter 0.4s ease;
}

.contact-reply-title.anim-fade-up.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.contact-reply-form {
  margin-top: 0.25rem;
  gap: 0.55rem;
}

.contact-reply-form.anim-fade-up {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(20px);
  transition:
    opacity 0.4s var(--ease) 0.08s,
    transform 0.4s var(--ease) 0.08s,
    filter 0.35s ease 0.08s;
}

.contact-reply-form.anim-fade-up.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.contact-reply-form .hero-email-note {
  margin-top: 0;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s var(--ease) 0.16s,
    transform 0.35s var(--ease) 0.16s;
}

.contact-reply-form.anim-fade-up.is-visible .hero-email-note {
  opacity: 1;
  transform: translateY(0);
}

.home-archives {
  overflow-x: clip;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.home-archives-head {
  display: block;
  max-width: 900px;
  margin: 0 auto clamp(2.25rem, 5vw, 3.5rem);
  text-align: center;
}

.home-archives-head .section-eyebrow {
  margin-bottom: 0.85rem;
}

.home-archives-title {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--title-size);
  font-weight: var(--title-weight);
  line-height: var(--title-leading);
  letter-spacing: var(--title-tracking);
}

.home-archives-subtitle {
  max-width: 42rem;
  margin: 0.85rem auto 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.55;
  text-align: center;
}

.home-archives-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.home-archives-actions .btn {
  color: var(--lime-ink);
  text-decoration: none;
}

.home-archives-carousel {
  position: relative;
  margin-inline: calc(50% - 50vw);
  width: 100vw;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
}

.home-archives-carousel.is-dragging {
  cursor: grabbing;
}

.home-archives-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  padding: 0.35rem clamp(1.25rem, 5vw, 4rem) 1.1rem;
  will-change: transform;
}

.home-archive-card {
  flex: 0 0 clamp(11.5rem, 18vw, 14.5rem);
  display: grid;
  grid-template-rows: 58% 42%;
  aspect-ratio: 210 / 297;
  padding: 0.4rem;
  overflow: hidden;
  background: #fbfbfd;
  border-radius: 18px;
  color: #1d1d1f;
  text-decoration: none;
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.34);
  transform: translateY(0);
  transition:
    transform 0.45s cubic-bezier(0.28, 0.11, 0.32, 1),
    box-shadow 0.45s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.home-archive-card:hover {
  color: #1d1d1f;
  text-decoration: none;
  transform: translateY(-0.4rem);
  box-shadow: 0 1.6rem 3rem rgba(0, 0, 0, 0.45);
}

.home-archive-card:focus-visible {
  outline: 3px solid var(--accent-lime);
  outline-offset: 4px;
}

.home-archive-image {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #e8e8ed;
}

.home-archive-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, transparent 42%);
  pointer-events: none;
}

.home-archive-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.28, 0.11, 0.32, 1);
}

.home-archive-card:hover .home-archive-image img {
  transform: scale(1.06);
}

.home-archive-brand {
  position: absolute;
  z-index: 1;
  top: 0.55rem;
  left: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.28rem;
  color: #fff;
  font-family: var(--font-brand);
  font-size: 0.95rem;
  letter-spacing: -0.065em;
  line-height: 0.8;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}

.home-archive-brand img {
  width: 0.9rem;
  height: 0.9rem;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
}

.home-archive-rubric,
.home-archive-latest {
  position: absolute;
  z-index: 2;
  padding: 0.32rem 0.52rem;
  border-radius: 999px;
  font-size: 0.56rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.02em;
}

.home-archive-rubric {
  right: 0.55rem;
  bottom: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(5, 5, 6, 0.54);
  color: #fff;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.home-archive-latest {
  top: 0.5rem;
  right: 0.5rem;
  background: var(--accent-lime);
  color: var(--lime-ink);
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.18);
}

.home-archive-body {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 0.7rem 0.55rem 0.45rem;
}

.home-archive-date {
  margin: 0 0 0.35rem;
  color: #86868b;
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.2;
}

.home-archive-body h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #1d1d1f;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.home-archive-read {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.2rem;
  margin-top: auto;
  padding-top: 0.4rem;
  color: #55555a;
  font-size: 0.66rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition:
    color 0.25s ease,
    opacity 0.25s ease,
    transform 0.3s var(--ease);
}

.home-archive-read span {
  font-size: 0.9rem;
  transition: transform 0.3s var(--ease);
}

.home-archive-card:hover .home-archive-read,
.home-archive-card:focus-visible .home-archive-read {
  color: #1d1d1f;
  opacity: 1;
  transform: none;
}

.home-archive-card:hover .home-archive-read span,
.home-archive-card:focus-visible .home-archive-read span {
  transform: translateX(2px);
}

.home-archives[hidden],
.home-archives.is-empty {
  display: none;
}

@media (max-width: 699.98px) {
  .home-archives-track {
    gap: 0.85rem;
  }

  .home-archive-card {
    flex-basis: 12.5rem;
  }

  .home-archive-read {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   PROMESSES AU SCROLL — trois messages, une seule scène
   ============================================================ */
.promise-scroll {
  position: relative;
  height: 260svh;
  background: #000;
}

.promise-scroll-sticky {
  position: sticky;
  top: 0;
  display: grid;
  width: 100%;
  height: 100svh;
  place-items: center;
  overflow: hidden;
}

.promise-scroll-stage {
  position: relative;
  width: min(100% - 2rem, 1200px);
  min-height: clamp(10rem, 24vw, 19rem);
}

.promise-scroll-item {
  --promise-opacity: 0;
  --promise-y: 40px;
  --promise-scale: 0.96;
  --promise-blur: 6px;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.12em;
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--title-size);
  font-weight: var(--title-weight);
  line-height: var(--title-leading);
  letter-spacing: var(--title-tracking);
  text-align: center;
  text-wrap: balance;
  opacity: var(--promise-opacity);
  filter: blur(var(--promise-blur));
  transform:
    translate3d(0, var(--promise-y), 0)
    scale(var(--promise-scale));
  will-change: opacity, filter, transform;
}

.promise-scroll-item:first-child {
  --promise-opacity: 1;
  --promise-y: 0px;
  --promise-scale: 1;
  --promise-blur: 0px;
}

.promise-scroll-item strong {
  color: var(--accent-lime);
  font: inherit;
}

/* ============================================================
   FORMAT AUDIO — waveform élégant, pleine largeur (#cffe25)
   ============================================================ */
.audio-format {
  --audio-lime: var(--accent-lime);
  --audio-lime-rgb: 207, 254, 37;
  position: relative;
  isolation: isolate;
  min-height: min(92svh, 900px);
  background: #010104;
  overflow: clip;
}

.audio-format-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: inherit;
  padding: clamp(4.5rem, 10vw, 7rem) 1.25rem;
}

.audio-format-back {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.audio-format-atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 90% 36% at 50% 50%,
      rgba(var(--audio-lime-rgb), 0.1) 0%,
      transparent 62%
    ),
    #010104;
}

.audio-format-atmosphere::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.audio-format-wave {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  height: clamp(150px, 28vw, 280px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  transform: translateY(-50%);
  box-sizing: border-box;
}

.audio-wave-bar {
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  max-width: none;
  height: 100%;
  transform-origin: center;
  border-radius: 1px;
  background: var(--audio-lime);
  opacity: calc(0.62 + var(--h, 0.5) * 0.38);
  box-shadow:
    0 0 0.5px rgba(255, 255, 255, 0.4),
    0 0 10px rgba(var(--audio-lime-rgb), 0.28);
  transform: scaleY(var(--h, 0.5));
  animation: audio-wave-play 1s cubic-bezier(0.4, 0, 0.6, 1) infinite
    alternate;
  animation-delay: calc(var(--i, 0) * -0.03s);
  will-change: transform, opacity;
}

.audio-format-glow {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: clamp(110px, 22vw, 220px);
  transform: translateY(-50%);
  background: linear-gradient(
    90deg,
    rgba(var(--audio-lime-rgb), 0.18) 0%,
    rgba(var(--audio-lime-rgb), 0.1) 22%,
    rgba(255, 255, 255, 0.12) 50%,
    rgba(var(--audio-lime-rgb), 0.1) 78%,
    rgba(var(--audio-lime-rgb), 0.18) 100%
  );
  filter: blur(24px);
  opacity: 0.8;
  animation: audio-glow-pulse 2.4s ease-in-out infinite alternate;
}

.audio-format-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(1, 1, 4, 0.72) 0%,
      rgba(1, 1, 4, 0.18) 28%,
      rgba(1, 1, 4, 0.1) 50%,
      rgba(1, 1, 4, 0.18) 72%,
      rgba(1, 1, 4, 0.72) 100%
    );
}

.audio-format-content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 1rem;
  max-width: 38rem;
  text-align: center;
  /* Légère ombre derrière le texte pour garder la lisibilité sur toute la largeur */
  padding-inline: 1rem;
}

.audio-format-content::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  width: min(34rem, 100%);
  height: 58%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(1, 1, 4, 0.55) 0%,
    rgba(1, 1, 4, 0.22) 50%,
    transparent 76%
  );
  pointer-events: none;
}

.audio-format-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--title-size);
  font-weight: var(--title-weight);
  line-height: var(--title-leading);
  letter-spacing: var(--title-tracking);
  text-wrap: balance;
  white-space: pre-line;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
}

.audio-format-subtitle {
  max-width: 28rem;
  margin: 0.15rem 0 0.55rem;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.7vw, 1.125rem);
  line-height: 1.55;
  text-wrap: balance;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.audio-format-content .btn-lime {
  margin-top: 0.35rem;
}


.audio-format-content > .anim-fade-up:nth-child(1) {
  transition-delay: 0s;
}
.audio-format-content > .anim-fade-up:nth-child(2) {
  transition-delay: 0.06s;
}
.audio-format-content > .anim-fade-up:nth-child(3) {
  transition-delay: 0.12s;
}
.audio-format-content > .anim-fade-up:nth-child(4) {
  transition-delay: 0.18s;
}

/* Waveform : entrée plus lente, après le texte */
.audio-format[data-audio-reveal] .audio-format-wave {
  opacity: 0;
  transform: translateY(-50%) scaleY(0.35);
  filter: blur(6px);
  transition:
    opacity 1.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.2s ease;
  transition-delay: 0.42s;
  will-change: opacity, transform, filter;
}

.audio-format[data-audio-reveal] .audio-format-glow {
  opacity: 0;
  transform: translateY(-50%) scale(0.92);
  transition:
    opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: 0.5s;
}

.audio-format[data-audio-reveal]:not(.is-visible) .audio-wave-bar {
  animation-play-state: paused;
}

.audio-format[data-audio-reveal].is-visible .audio-format-wave {
  opacity: 1;
  transform: translateY(-50%) scaleY(1);
  filter: blur(0);
}

.audio-format[data-audio-reveal].is-visible .audio-format-glow {
  opacity: 0.8;
  transform: translateY(-50%) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .audio-format[data-audio-reveal] .audio-format-wave,
  .audio-format[data-audio-reveal] .audio-format-glow {
    opacity: 1 !important;
    filter: none !important;
    transform: translateY(-50%) !important;
    transition: none !important;
  }
}

@keyframes audio-wave-play {
  from {
    transform: scaleY(calc(var(--h, 0.5) * 0.86));
    opacity: calc(0.55 + var(--h, 0.5) * 0.3);
  }
  to {
    transform: scaleY(calc(var(--h, 0.5) * 1.05));
    opacity: calc(0.7 + var(--h, 0.5) * 0.3);
  }
}

@keyframes audio-glow-pulse {
  from {
    opacity: 0.45;
  }
  to {
    opacity: 0.85;
  }
}

@media (max-width: 640px) {
  .audio-format {
    min-height: min(82svh, 720px);
  }

  .audio-format-title {
    font-size: var(--title-size-mobile);
    line-height: var(--title-leading-mobile);
  }

  .audio-format-wave {
    left: 0;
    right: 0;
    width: 100%;
    height: 130px;
    gap: 1px;
  }

  .audio-format-glow {
    left: 0;
    right: 0;
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .audio-wave-bar,
  .audio-format-glow {
    animation: none !important;
  }

  .audio-wave-bar {
    transform: scaleY(var(--h, 0.5));
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .promise-scroll {
    height: auto;
    padding: 5rem 0;
  }

  .promise-scroll-sticky {
    position: relative;
    height: auto;
  }

  .promise-scroll-stage {
    display: grid;
    gap: 2.5rem;
    min-height: 0;
  }

  .promise-scroll-item {
    position: relative;
    opacity: 1;
    filter: none;
    transform: none;
  }

}

/* ============================================================
   LE SIGNAL — téléphone + notifications X / Instagram en continu
   ============================================================ */
.signal {
  --signal-live: #cffe25;
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: min(92svh, 860px);
  padding-block: clamp(4rem, 9vw, 7rem);
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.signal::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 72% 50%, #000, transparent 68%);
  pointer-events: none;
}

.signal-glow {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 72%;
  width: min(54rem, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(207, 254, 37, 0.13) 0%,
    rgba(207, 254, 37, 0.035) 34%,
    transparent 68%
  );
  filter: blur(12px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.signal-layout {
  display: grid;
  grid-template-columns: minmax(22rem, 1fr) minmax(300px, 0.72fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 8rem);
}

.signal-copy {
  max-width: 43rem;
  min-width: 0;
}

.signal-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.035);
}

.signal-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.signal-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal-live);
  box-shadow: 0 0 12px rgba(207, 254, 37, 0.8);
}

.signal-dot::after {
  position: absolute;
  inset: -4px;
  content: "";
  border: 1px solid var(--signal-live);
  border-radius: 50%;
  opacity: 0;
  animation: signal-ping 2.4s var(--ease) infinite;
}

.signal-title {
  margin: clamp(1.35rem, 3vw, 2rem) 0 0;
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--title-size);
  font-weight: var(--title-weight);
  line-height: var(--title-leading);
  letter-spacing: var(--title-tracking);
}

.signal-title-line {
  display: block;
  white-space: nowrap;
}

.signal-subtitle {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(1rem, 1.7vw, 1.125rem);
  line-height: 1.62;
  text-wrap: balance;
}

.signal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(1.65rem, 4vw, 2.5rem);
}

.signal-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

/* Scène du téléphone */
.signal-phone-scene {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 640px;
  perspective: 1200px;
}

.signal-orbit {
  position: absolute;
  border: 1px solid rgba(207, 254, 37, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

.signal-orbit-one {
  width: 440px;
  height: 440px;
  animation: signal-orbit 18s linear infinite;
}

.signal-orbit-two {
  width: 530px;
  height: 280px;
  border-color: rgba(255, 255, 255, 0.06);
  transform: rotate(-18deg);
  animation: signal-orbit-reverse 24s linear infinite;
}

.signal-phone {
  position: relative;
  z-index: 2;
  display: grid;
  /* minmax(0,1fr) : l’écran occupe exactement la content-box du châssis.
     height:100% est résolu contre la padding-box par WebKit et débordait. */
  grid-template-rows: minmax(0, 1fr);
  width: 310px;
  max-width: 78vw;
  aspect-ratio: 9 / 19.5;
  min-height: 560px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 48px;
  background: linear-gradient(145deg, #555 0%, #111 18%, #050505 75%, #444 100%);
  box-shadow:
    0 45px 90px rgba(0, 0, 0, 0.65),
    0 0 0 2px #080808,
    0 0 80px rgba(207, 254, 37, 0.08);
  transform: rotateY(-8deg) rotateX(2deg) rotateZ(2deg);
  transition: transform 0.7s var(--ease);
}

.signal-phone-scene:hover .signal-phone {
  transform: rotateY(-2deg) rotateX(0) rotateZ(0) translateY(-5px);
}

.signal-phone::before,
.signal-phone::after {
  position: absolute;
  left: -3px;
  width: 3px;
  content: "";
  border-radius: 2px 0 0 2px;
  background: #333;
}

.signal-phone::before {
  top: 98px;
  height: 54px;
}

.signal-phone::after {
  top: 165px;
  height: 80px;
}

.signal-phone-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  border-radius: 41px;
  background: #05070a;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    var(--font);
}

/* Fond d’écran */
.signal-wallpaper {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18)),
    url("assets/images/fondeecran-lime.png") center / cover no-repeat,
    #05070a;
}

.signal-wallpaper::after {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.12;
  background-image: repeating-radial-gradient(
    circle at 20% 30%,
    rgba(255, 255, 255, 0.22) 0 0.5px,
    transparent 0.5px 3px
  );
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.signal-wallpaper-aurora {
  position: absolute;
  bottom: -14%;
  left: 50%;
  width: 165%;
  height: 62%;
  background: radial-gradient(
    closest-side,
    rgba(207, 254, 37, 0.28) 0%,
    rgba(207, 254, 37, 0.09) 46%,
    transparent 78%
  );
  filter: blur(38px);
  transform: translateX(-50%);
}

/* Vignette : garde date / heure / notifs lisibles */
.signal-wallpaper-ridge {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.24) 0%,
    transparent 26%,
    rgba(0, 0, 0, 0.32) 62%,
    rgba(0, 0, 0, 0.6) 100%
  );
}

/* Barre d’état */
.signal-statusbar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  flex-shrink: 0;
  height: 44px;
  padding: 0 20px;
  color: #fff;
}

.signal-island {
  grid-column: 2;
  width: 84px;
  height: 26px;
  border-radius: 20px;
  background: #000;
}

.signal-statusbar-icons {
  display: inline-flex;
  grid-column: 3;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

/* Horloge de l’écran verrouillé */
.signal-lock-header {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  padding-top: 8px;
  color: #fff;
  text-align: center;
}

.signal-lock-icon {
  display: block;
  margin-inline: auto;
  opacity: 0.85;
}

.signal-lock-date {
  margin: 5px 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.signal-lock-time {
  margin: -2px 0 0;
  font-size: 4.15rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-shadow: 0 4px 26px rgba(0, 0, 0, 0.35);
}

/* Notifications iOS */
.signal-notifications {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
  padding: 0 10px;
}

.signal-notification {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 9px;
  padding: 11px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 17px;
  background: rgba(38, 38, 41, 0.55);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  transform-origin: 50% 0;
}

/* Le panneau glisse déjà opaque : opacity/filter sur la carte casseraient
   le rendu du backdrop-filter. Seul le contenu se révèle. */
.signal-notification.is-arriving {
  animation: signal-notification-in 0.58s var(--ease) both;
}

.signal-notification.is-arriving > * {
  animation: signal-notification-content-in 0.4s var(--ease) 0.1s both;
}

.signal-notification.is-leaving {
  animation: signal-notification-out 0.35s ease-in both;
}

.signal-x-icon,
.signal-ig-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  color: #fff;
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.16);
}

.signal-x-icon {
  background: #000;
}

.signal-ig-icon {
  background: radial-gradient(
      circle at 30% 107%,
      #fdf497 0%,
      #fdf497 5%,
      #fd5949 45%,
      #d6249f 60%,
      #285aeb 90%
    ),
    linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888);
}

.signal-notification-copy {
  min-width: 0;
}

.signal-notification-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.signal-notification-head strong {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.signal-notification-head span {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.6rem;
}

.signal-notification-title {
  margin: 2px 0 0;
  overflow: hidden;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signal-notification-text {
  display: -webkit-box;
  margin: 1px 0 0;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.7rem;
  line-height: 1.32;
  letter-spacing: -0.01em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

/* Boutons lampe / appareil photo */
.signal-lock-actions {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 16px 34px 0;
}

.signal-lock-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.signal-phone-home {
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  width: 96px;
  height: 4px;
  margin: 14px auto 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.8);
}

@keyframes signal-ping {
  0% {
    opacity: 0.85;
    transform: scale(0.7);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.9);
  }
}

@keyframes signal-notification-in {
  from {
    transform: translate3d(0, -20px, 0) scale(0.96);
  }
  to {
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes signal-notification-content-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes signal-notification-out {
  to {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale(0.96);
  }
}

@keyframes signal-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes signal-orbit-reverse {
  from {
    transform: rotate(-18deg);
  }
  to {
    transform: rotate(-378deg);
  }
}

@media (max-width: 959.98px) {
  .signal-layout {
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
  }

  .signal-title {
    font-size: clamp(3.4rem, 7vw, 5.2rem);
  }
}

@media (max-width: 809.98px) {
  .signal {
    min-height: 0;
    padding-block: 4.5rem 5rem;
  }

  .signal::before {
    mask-image: radial-gradient(circle at 50% 68%, #000, transparent 72%);
  }

  .signal-glow {
    top: 70%;
    left: 50%;
    width: 135vw;
  }

  .signal-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .signal-copy {
    max-width: none;
    text-align: center;
  }

  .signal-status {
    margin-inline: auto;
  }

  .signal-title {
    margin-inline: auto;
    font-size: var(--title-size-mobile);
    line-height: var(--title-leading-mobile);
  }

  .signal-subtitle {
    margin-inline: auto;
  }

  .signal-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  .signal-cta.btn {
    width: auto;
    min-height: 40px;
    padding: 0.55rem 1rem;
    font-size: 0.8125rem;
    gap: 0.45rem;
  }

  .signal-cta svg {
    width: 13px;
    height: 13px;
  }

  .signal-phone-scene {
    min-height: 560px;
  }

  .signal-phone {
    width: min(290px, 76vw);
    transform: rotateY(-4deg) rotateZ(1deg);
  }

  .signal-orbit-one {
    width: 105vw;
    height: 105vw;
  }

  .signal-orbit-two {
    width: 120vw;
    height: 66vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .signal-dot::after,
  .signal-orbit,
  .signal-notification,
  .signal-notification > * {
    animation: none !important;
  }

  .signal-phone {
    transition: none !important;
    transform: none;
  }
}

/* ============================================================
   THÉMATIQUES — constellation éditoriale interactive
   ============================================================ */
.themes {
  --themes-x: 50%;
  --themes-y: 45%;
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  overflow-y: visible;
  background:
    linear-gradient(180deg, #000 0%, #050604 48%, #000 100%);
  padding-block: clamp(5rem, 10vw, 8rem);
}

.themes::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 78%, transparent);
  pointer-events: none;
}

.themes-atmosphere {
  position: absolute;
  z-index: -1;
  top: 2%;
  left: 50%;
  display: block;
  width: min(900px, 90vw);
  height: 520px;
  border-radius: 50%;
  background: rgba(207, 254, 37, 0.07);
  filter: blur(120px);
  transform: translateX(-50%);
  pointer-events: none;
}

.themes-head {
  display: block;
  max-width: 900px;
  margin: 0 0 clamp(2.25rem, 5vw, 4rem);
  margin-inline: auto;
  text-align: center;
}

.themes-head .section-eyebrow {
  margin-bottom: 0.85rem;
}

.themes-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--title-size);
  font-weight: var(--title-weight);
  line-height: var(--title-leading);
  letter-spacing: var(--title-tracking);
}

.themes-intro {
  padding-bottom: 0.35rem;
}

.themes-count {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(207, 254, 37, 0.24);
  border-radius: var(--radius-pill);
  color: var(--accent-lime);
  background: rgba(207, 254, 37, 0.06);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.themes-count::before {
  width: 5px;
  height: 5px;
  content: "";
  border-radius: 50%;
  background: var(--accent-lime);
  box-shadow: 0 0 10px rgba(207, 254, 37, 0.7);
}

.themes-intro p {
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.54);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.65;
}

.themes-intro.anim-fade-up {
  transition-delay: 0.05s;
}

.themes-carousel {
  position: relative;
  margin-inline: calc(50% - 50vw);
  width: 100vw;
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  transition-delay: 0.08s;
}

.themes-carousel.is-dragging {
  cursor: grabbing;
}

.themes-carousel.is-dragging .theme-item {
  transition: none;
}

.themes-carousel::before,
.themes-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(2rem, 6vw, 5rem);
  pointer-events: none;
}

.themes-carousel::before {
  left: 0;
  background: linear-gradient(90deg, #000, transparent);
}

.themes-carousel::after {
  right: 0;
  background: linear-gradient(270deg, #000, transparent);
}

.themes-track {
  display: flex;
  width: max-content;
  gap: 0.75rem;
  padding: 0.75rem clamp(1.25rem, 4vw, 4rem) 1.25rem;
  will-change: transform;
}

.themes-carousel.is-paused .theme-item {
  transition-duration: 0.35s;
}

.theme-item {
  appearance: none;
  position: relative;
  display: flex;
  flex: 0 0 clamp(220px, 22vw, 270px);
  min-height: 190px;
  align-items: stretch;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  text-align: left;
  opacity: 0.72;
  transform: scale(0.985);
  transition:
    border-color 0.4s ease,
    background 0.4s ease,
    opacity 0.4s ease,
    transform 0.5s var(--ease);
}

.theme-item::before {
  content: none;
}

.theme-item:hover,
.theme-item:focus-visible {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-2px);
}

.theme-item.is-active {
  opacity: 1;
  color: #fff;
  border-color: rgba(207, 254, 37, 0.45);
  background:
    linear-gradient(145deg, rgba(207, 254, 37, 0.075), transparent 55%),
    rgba(255, 255, 255, 0.045);
  transform: translateY(-3px);
}

.theme-item.is-active::after {
  position: absolute;
  right: 1.25rem;
  bottom: 0;
  left: 1.25rem;
  height: 1px;
  content: "";
  background: var(--accent-lime);
}

.theme-item:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.theme-index {
  position: absolute;
  top: 1.15rem;
  right: 1.2rem;
  color: rgba(255, 255, 255, 0.24);
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
}

.theme-item.is-active .theme-index {
  color: var(--accent-lime);
}

.theme-content {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: auto;
}

.theme-item h3 {
  max-width: 15ch;
  padding-right: 1.25rem;
  color: inherit;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: var(--title-weight);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.theme-text {
  display: block;
  max-width: 26ch;
  margin-top: 0.55rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  line-height: 1.45;
  transition: color 0.35s ease;
}

.theme-item.is-active .theme-text {
  color: rgba(255, 255, 255, 0.7);
}

.themes-progress {
  position: relative;
  width: min(220px, 48%);
  height: 2px;
  margin: 0.15rem auto clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.themes-progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(0);
  background: linear-gradient(90deg, rgba(207, 254, 37, 0.2), var(--accent-lime));
  will-change: transform;
}

@keyframes theme-item-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 0.72;
    transform: translateY(0) scale(0.985);
  }
}

.themes-carousel.is-visible .theme-item {
  animation: theme-item-in 0.35s var(--ease) backwards;
  animation-delay: calc(0.05s + var(--theme-delay, 0ms));
}

.themes-carousel.is-visible .theme-item.is-active {
  opacity: 1;
  transform: translateY(-3px);
}

.themes-cta {
  position: relative;
  margin-top: clamp(1.5rem, 4vw, 2.75rem);
  padding: clamp(2rem, 6vw, 4.5rem) 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(207, 254, 37, 0.2);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 120%, rgba(207, 254, 37, 0.13), transparent 48%),
    #070707;
  text-align: center;
  transition-delay: 0.1s;
}

.themes-cta::before {
  content: "";
  position: absolute;
  top: -8rem;
  left: 50%;
  width: min(34rem, 80vw);
  aspect-ratio: 1;
  border: 1px solid rgba(207, 254, 37, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 3rem rgba(207, 254, 37, 0.02),
    0 0 0 7rem rgba(207, 254, 37, 0.012);
  transform: translateX(-50%);
  pointer-events: none;
}

.themes-cta-kicker {
  position: relative;
  color: var(--accent-lime);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.themes-cta h3 {
  position: relative;
  max-width: 13ch;
  margin: 0.8rem auto 1.75rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--title-size-md);
  font-weight: var(--title-weight);
  line-height: var(--title-leading);
  letter-spacing: var(--title-tracking);
  text-wrap: balance;
}

.themes-cta-form {
  position: relative;
  max-width: 620px;
}

.themes-cta-form .hero-email-note {
  color: rgba(255, 255, 255, 0.48);
}

@media (max-width: 899.98px) {
  .themes-head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .themes-intro p {
    max-width: 48ch;
  }

  .theme-item {
    flex-basis: min(64vw, 250px);
    min-height: 190px;
  }
}

@media (max-width: 599.98px) {
  .themes {
    padding-block: 4rem;
  }

  .themes-head {
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .themes-title {
    max-width: none;
    margin-inline: auto;
    font-size: var(--title-size-mobile);
    line-height: var(--title-leading-mobile);
  }

  .promise-scroll-item {
    font-size: var(--title-size-mobile);
    line-height: var(--title-leading-mobile);
  }

  .themes-intro {
    padding-bottom: 0;
  }

  .themes-track {
    gap: 0.75rem;
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .theme-item {
    flex-basis: min(72vw, 245px);
    min-height: 185px;
    padding: 1.15rem;
    border-radius: 16px;
  }

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

  .theme-item.is-active {
    transform: translateY(-3px);
  }

  .theme-item h3 {
    padding-right: 1.5rem;
    font-size: 1.15rem;
  }

  .theme-index {
    top: 1rem;
    right: 1rem;
  }

  .themes-progress {
    margin-top: 0;
  }

  .themes-cta {
    margin-top: 1.75rem;
    padding: 2.5rem 1rem;
    border-radius: 22px;
  }

  .themes-cta h3 {
    margin-bottom: 1.5rem;
    font-size: var(--title-size-mobile);
    line-height: var(--title-leading-mobile);
  }

  .themes-cta-form {
    width: min(100%, 300px);
  }

  .themes-cta-form .hero-email-row {
    gap: 0.55rem;
  }

  .themes-cta-form input[type="email"],
  .themes-cta-form .btn-lime {
    min-height: 44px;
    padding: 0.65rem 1rem;
    font-size: 0.875rem;
  }
}

/* ============================================================
   EARTH SCROLL — planète et révélation finale
   ============================================================ */
.earth-scroll {
  --earth-caption-opacity: 0;
  --earth-caption-y: 24px;
  --earth-shade-opacity: 0.25;
  position: relative;
  height: 300dvh;
  background: #000;
}

.earth-scroll-pin {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}

.earth-scroll-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #000;
  pointer-events: none;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.earth-scroll-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 48%, transparent 24%, rgba(0, 0, 0, 0.28) 72%, #000 112%),
    linear-gradient(
      180deg,
      #000 0%,
      transparent 16%,
      transparent 38%,
      rgba(0, 0, 0, 0.68) 57%,
      rgba(0, 0, 0, 0.96) 76%,
      #000 100%
    );
  opacity: var(--earth-shade-opacity);
  pointer-events: none;
}

.earth-scroll-caption {
  position: absolute;
  z-index: 2;
  right: 1.25rem;
  bottom: clamp(4rem, 10vh, 7rem);
  left: 1.25rem;
  max-width: 950px;
  margin-inline: auto;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6.3vw, 6.25rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-align: center;
  text-wrap: balance;
  opacity: var(--earth-caption-opacity);
  transform: translateY(var(--earth-caption-y));
  text-shadow: 0 4px 35px rgba(0, 0, 0, 0.9);
  pointer-events: none;
  will-change: opacity, transform;
}

@media (max-width: 809.98px) {
  .earth-scroll-video {
    object-fit: contain;
  }

  .earth-scroll-shade {
    background: linear-gradient(
      180deg,
      transparent 55%,
      rgba(0, 0, 0, 0.72) 100%
    );
  }

  .earth-scroll-caption {
    right: 1.25rem;
    bottom: max(3.5rem, env(safe-area-inset-bottom));
    left: 1.25rem;
    font-size: clamp(2.75rem, 13vw, 3.5rem);
  }

  .earth-scroll-caption span {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .earth-scroll {
    height: auto;
  }

  .earth-scroll-pin {
    position: relative;
    height: auto;
    min-height: 70svh;
    aspect-ratio: 16 / 9;
  }

  .earth-scroll-caption {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-layout {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.feature-preview {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.feature-preview img {
  width: 100%;
  height: auto;
}

.feature-list {
  display: grid;
  gap: 1rem;
}

.feature-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}

.feature-item img {
  width: 40px;
  height: 40px;
}

.feature-item h3 {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-item h4 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ============================================================
   TEAM MARQUEE
   ============================================================ */
.team .section-title {
  margin-inline: auto;
  text-align: center;
  max-width: 20ch;
}

.team-card {
  width: 220px;
  flex-shrink: 0;
}

.team-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  background: var(--bg-soft);
}

.team-card h3 {
  margin-top: 0.85rem;
  font-size: 1rem;
}

.team-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.marquee.reverse .marquee-track {
  animation-direction: reverse;
}

/* ============================================================
   MODULES / CAREER FEATURES
   ============================================================ */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.module-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.4rem;
  min-height: 190px;
}

.module-card img {
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
}

.module-card h3 {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
}

.module-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* ============================================================
   INTEGRATIONS
   ============================================================ */
.integ-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 2rem;
}

.integ-cell {
  aspect-ratio: 1.4;
  display: grid;
  place-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 18px;
}

.integ-cell img {
  width: 42px;
  height: 42px;
  opacity: 0.9;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  margin-top: 1rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: start;
}

.rating {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--accent-lime);
  line-height: 1;
}

.testimonial-quote {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: -0.02em;
  line-height: 1.45;
  max-width: 40ch;
}

.testimonial-meta {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial-meta img.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-meta .company {
  height: 28px;
  width: auto;
  margin-left: auto;
  opacity: 0.85;
}

/* ============================================================
   PRICING
   ============================================================ */
.billing-toggle {
  display: inline-flex;
  padding: 0.3rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  gap: 0.25rem;
}

.billing-toggle button {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
}

.billing-toggle button.is-active {
  background: #fff;
  color: var(--bg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.price-card {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(1.4rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.price-card.is-popular {
  border-color: rgba(52, 140, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(52, 140, 255, 0.25), 0 20px 50px rgba(52, 140, 255, 0.12);
}

.popular-badge {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.price-card .desc {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.price {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-features {
  display: grid;
  gap: 0.65rem;
  margin: 0.5rem 0 1rem;
}

.price-features li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.price-features li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: var(--accent-lime);
  flex-shrink: 0;
}

.price-card .btn {
  margin-top: auto;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(5rem, 10vw, 8rem);
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.faq-section::before {
  content: none;
}

.faq-section .faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: start;
}

.faq-intro {
  position: static;
  text-align: center;
}

.faq-title {
  max-width: none;
  margin-inline: auto;
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--title-size);
  font-weight: var(--title-weight);
  line-height: var(--title-leading);
  letter-spacing: var(--title-tracking);
}

.faq-subtitle {
  max-width: 34ch;
  margin: 1.25rem auto 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 2rem;
  color: var(--accent-lime);
  font-size: 0.82rem;
  font-weight: 700;
  transition: gap 0.3s var(--ease), color 0.3s ease;
}

.faq-cta:hover {
  gap: 0.8rem;
  color: var(--accent-lime-hover);
}

.faq-list {
  display: grid;
  width: min(100%, 880px);
  margin-inline: auto;
  gap: 0.7rem;
}

.faq-email-cta {
  width: min(100%, 880px);
  margin-inline: auto;
  margin-top: clamp(0.5rem, 2vw, 1rem);
}

.faq-email-cta h3 {
  max-width: 16ch;
}

.faq-item {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background:
    radial-gradient(circle at 96% 0%, rgba(255, 255, 255, 0.045), transparent 30%),
    #070707;
  transition:
    border-color 0.4s var(--ease),
    background 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.faq-item[open] {
  border-color: rgba(207, 254, 37, 0.38);
  background:
    radial-gradient(circle at 96% 0%, rgba(207, 254, 37, 0.09), transparent 34%),
    #080908;
  transform: translateX(-6px);
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 82px;
  padding: 1.15rem 1.25rem;
  list-style: none;
  color: #fff;
  cursor: pointer;
}

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

.faq-number {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.22);
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1;
  transition: color 0.3s ease;
}

.faq-item[open] .faq-number {
  color: var(--accent-lime);
}

.faq-question {
  flex: 1;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.faq-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease);
}

.faq-toggle::before,
.faq-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 2px;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background 0.35s ease;
}

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

.faq-item[open] .faq-toggle {
  border-color: var(--accent-lime);
  background: var(--accent-lime);
  transform: rotate(180deg);
}

.faq-item[open] .faq-toggle::before,
.faq-item[open] .faq-toggle::after {
  background: var(--lime-ink);
}

.faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%);
}

.faq-item .answer {
  padding: 0 4.8rem 1.5rem 3.45rem;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.9rem;
  line-height: 1.6;
}

.faq-item .answer p {
  max-width: 56ch;
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--accent-lime);
  outline-offset: -3px;
  border-radius: 18px;
}

@media (max-width: 899.98px) {
  .faq-layout {
    gap: 2.5rem;
  }

  .faq-intro {
    position: static;
  }

  .faq-title {
    max-width: 10ch;
  }
}

@media (max-width: 599.98px) {
  .faq-section {
    padding-block: 4rem;
  }

  .faq-intro {
    width: 100%;
    text-align: center;
  }

  .faq-title {
    width: 100%;
    max-width: 12ch;
    margin-inline: auto;
    font-size: var(--title-size-mobile);
    line-height: var(--title-leading-mobile);
    text-align: center;
    white-space: normal;
  }

  .faq-cta {
    margin-top: 1.4rem;
  }

  .faq-email-cta {
    margin-top: 0.25rem;
  }

  .faq-item {
    border-radius: 17px;
  }

  .faq-item[open] {
    transform: none;
  }

  .faq-item summary {
    min-height: 74px;
    gap: 0.75rem;
    padding: 1rem;
  }

  .faq-number {
    font-size: 1rem;
  }

  .faq-toggle {
    width: 30px;
    height: 30px;
  }

  .faq-item .answer {
    padding: 0 3.7rem 1.25rem 2.75rem;
    font-size: 0.86rem;
  }
}

/* ============================================================
   DERNIERS NUMÉROS — couvertures éditoriales
   ============================================================ */
.latest-issues {
  overflow: hidden;
  background: #000;
  padding-block: clamp(5rem, 10vw, 8rem);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.latest-issues-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}

.latest-issues-title {
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--title-size);
  font-weight: var(--title-weight);
  line-height: var(--title-leading);
  letter-spacing: var(--title-tracking);
}

.latest-issues-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

.issue-card {
  min-width: 0;
}

.issue-cover {
  position: relative;
  display: flex;
  aspect-ratio: 4 / 5;
  padding: 1.25rem;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 22px;
  color: #09090b;
  transform: none;
}

@media (min-width: 700px) and (hover: hover) and (pointer: fine) {
  .issue-cover {
    transition: transform 0.5s var(--ease);
  }

  .issue-card:hover .issue-cover {
    transform: translateY(-6px) rotate(-1deg);
  }
}

.issue-cover-1 {
  background: var(--accent-lime);
}

.issue-cover-2 {
  color: #fff;
  background: #6d4cff;
}

.issue-cover-3 {
  background: #ff835c;
}

.issue-cover-4 {
  color: #fff;
  background: #087f8c;
}

.issue-cover-5 {
  background: #f1eee5;
}

.issue-cover-6 {
  color: #fff;
  background: #1746d1;
}

.issue-cover-top {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.issue-cover > p {
  position: relative;
  z-index: 2;
  max-width: 7ch;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 4.2rem);
  line-height: 0.85;
  letter-spacing: -0.06em;
}

.issue-cover-art {
  position: absolute;
  inset: 20% 8% 16%;
}

.issue-cover-art span {
  position: absolute;
  display: block;
}

.issue-cover-1 .issue-cover-art span:first-child {
  inset: 8% 12% 22%;
  border: 2px solid #09090b;
  border-radius: 50%;
}

.issue-cover-1 .issue-cover-art span:nth-child(2) {
  top: 28%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #09090b;
  transform: rotate(-18deg);
}

.issue-cover-1 .issue-cover-art span:last-child {
  right: 7%;
  bottom: 4%;
  width: 28%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #09090b;
}

.issue-cover-2 .issue-cover-art span:first-child {
  inset: 10% 5% 8% 24%;
  border-radius: 42% 58% 70% 30% / 36% 40% 60% 64%;
  background: #ff7759;
  transform: rotate(18deg);
}

.issue-cover-2 .issue-cover-art span:nth-child(2) {
  top: 4%;
  right: 4%;
  width: 45%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
}

.issue-cover-2 .issue-cover-art span:last-child {
  left: 2%;
  bottom: 10%;
  width: 70%;
  height: 12%;
  background: #cffe25;
  transform: rotate(-12deg);
}

.issue-cover-3 .issue-cover-art span:first-child {
  top: 7%;
  left: 13%;
  width: 62%;
  aspect-ratio: 1;
  border: 2px solid #09090b;
  transform: rotate(45deg);
}

.issue-cover-3 .issue-cover-art span:nth-child(2) {
  top: 23%;
  left: 29%;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #cffe25;
}

.issue-cover-3 .issue-cover-art span:last-child {
  right: 1%;
  bottom: 4%;
  width: 54%;
  height: 2px;
  background: #09090b;
  box-shadow: 0 9px 0 #09090b, 0 18px 0 #09090b;
  transform: rotate(-8deg);
}

.issue-cover-4 .issue-cover-art span:first-child {
  inset: 5% 13% 18%;
  border: 2px solid #cffe25;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 18px #087f8c,
    inset 0 0 0 20px rgba(255, 255, 255, 0.75);
}

.issue-cover-4 .issue-cover-art span:nth-child(2) {
  top: 38%;
  left: 2%;
  width: 96%;
  height: 2px;
  background: #fff;
  transform: rotate(24deg);
}

.issue-cover-4 .issue-cover-art span:last-child {
  top: 22%;
  right: 5%;
  width: 18%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #cffe25;
}

.issue-cover-5 .issue-cover-art span:first-child {
  inset: 5% 10% 12%;
  border: 3px solid #09090b;
  border-radius: 3px;
  transform: rotate(8deg);
}

.issue-cover-5 .issue-cover-art span:nth-child(2) {
  inset: 18% 22% 25%;
  border: 2px solid #09090b;
  border-radius: 50%;
}

.issue-cover-5 .issue-cover-art span:last-child {
  top: 35%;
  left: 38%;
  width: 26%;
  aspect-ratio: 1;
  background: #ff5d3d;
  transform: rotate(45deg);
}

.issue-cover-6 .issue-cover-art span:first-child {
  top: 4%;
  left: 7%;
  width: 78%;
  height: 22%;
  border-radius: 999px;
  background: #ff5c9a;
  transform: rotate(-18deg);
  box-shadow:
    0 44px 0 #cffe25,
    0 88px 0 rgba(255, 255, 255, 0.92);
}

.issue-cover-6 .issue-cover-art span:nth-child(2) {
  right: 4%;
  bottom: 5%;
  width: 44%;
  aspect-ratio: 1;
  border: 2px solid #fff;
  border-radius: 50%;
}

.issue-cover-6 .issue-cover-art span:last-child {
  right: 18%;
  bottom: 18%;
  width: 13%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ff5c9a;
}

.issue-body {
  padding: 1.25rem 0.15rem 0;
}

.issue-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  color: rgba(255, 255, 255, 0.36);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.issue-meta span {
  color: var(--accent-lime);
}

.issue-body h3 {
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--title-size-sm);
  font-weight: var(--title-weight);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

@media (max-width: 699.98px) {
  .latest-issues {
    padding-block: 4rem;
  }

  .latest-issues-head {
    display: block;
    margin-bottom: 2rem;
  }

  .latest-issues-title {
    max-width: 10ch;
    margin-inline: auto;
    font-size: var(--title-size-mobile);
    line-height: var(--title-leading-mobile);
  }

  .latest-issues-head .btn {
    margin-top: 1.5rem;
  }

  .latest-issues-grid {
    width: calc(100vw - 1.25rem);
    margin-right: calc(50% - 50vw);
    padding-right: 1.25rem;
    padding-bottom: 0.75rem;
    grid-template-columns: none;
    grid-auto-columns: min(78vw, 320px);
    grid-auto-flow: column;
    gap: 1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    touch-action: auto;
  }

  .latest-issues-grid::-webkit-scrollbar {
    display: none;
  }

  .issue-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
    -webkit-tap-highlight-color: transparent;
  }

  .issue-card:hover .issue-cover,
  .issue-card:active .issue-cover,
  .issue-card:focus .issue-cover,
  .issue-card:focus-within .issue-cover {
    transform: none !important;
  }

  .issue-cover {
    border-radius: 20px;
    transition: none !important;
    transform: none !important;
  }
}

/* ============================================================
   FINAL CTA + EMAIL FORM
   ============================================================ */
.cta-band {
  border-radius: 28px;
  border: 1px solid var(--border);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(52, 140, 255, 0.2), transparent 45%),
    var(--bg-elevated);
  padding: clamp(1.5rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  overflow: hidden;
}

.cta-band .section-title {
  max-width: 14ch;
}

.email-form {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: 420px;
}

.email-form input {
  flex: 1 1 200px;
  min-height: 48px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding: 0 1.15rem;
  outline: none;
}

.email-form input:focus {
  border-color: var(--accent-lime);
}

.email-form .form-message {
  width: 100%;
  font-size: 0.875rem;
  color: var(--green);
  min-height: 1.2em;
}

.email-form .form-message.is-error {
  color: #fc605c;
}

.cta-visual {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.cta-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  margin-top: 1px;
  padding: clamp(3rem, 7vw, 6rem) 0 1.5rem;
  overflow: hidden;
  border-top: 1px solid rgba(207, 254, 37, 0.22);
  background: #000;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-lime), transparent);
  pointer-events: none;
}

.footer-unified {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(480px, 1.15fr);
  gap: clamp(3rem, 9vw, 8rem);
  align-items: stretch;
}

.footer-intro {
  display: flex;
  min-width: 0;
  overflow: visible;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.footer-wordmark {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  color: #fff;
}

.footer-wordmark img {
  width: clamp(58px, 8vw, 92px);
  height: auto;
  flex: 0 0 auto;
  transition: transform 0.45s var(--ease);
}

.footer-wordmark span {
  font-family: var(--font-brand);
  font-size: clamp(5.5rem, 13vw, 10rem);
  font-weight: var(--title-weight);
  line-height: 0.75;
  letter-spacing: -0.075em;
  transition: color 0.35s ease;
}

.footer-wordmark:hover img {
  transform: rotate(-8deg);
}

.footer-wordmark:hover span {
  color: var(--accent-lime);
}

.footer-social {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin: 0;
  padding: 2.75rem 0 0;
  overflow: visible;
}

.footer-social.example-2 .icon-content {
  margin: 0 10px 0 0;
  position: relative;
}

.footer-social.example-2 .icon-content:last-child {
  margin-right: 0;
}

.footer-social.example-2 .icon-content .tooltip {
  position: absolute;
  top: -30px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  color: #fff;
  padding: 6px 10px;
  border-radius: 5px;
  background-color: #000;
  opacity: 0;
  visibility: hidden;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  transition: all 0.3s ease;
}

.footer-social.example-2 .icon-content:hover .tooltip {
  opacity: 1;
  visibility: visible;
  top: -50px;
}

.footer-social.example-2 .icon-content a {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  margin: 0;
  border-radius: 50%;
  color: #4d4d4d;
  background-color: #fff;
  transition: all 0.3s ease-in-out;
}

.footer-social.example-2 .icon-content a:hover {
  color: #fff;
  box-shadow: 3px 2px 45px 0 rgb(0 0 0 / 12%);
  transform: none;
}

.footer-social.example-2 .icon-content a svg {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
}

.footer-social.example-2 .icon-content a .filled {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: #000;
  transition: all 0.3s ease-in-out;
}

.footer-social.example-2 .icon-content a:hover .filled {
  height: 100%;
}

.footer-social.example-2 .icon-content a[data-social="linkedin"] .filled,
.footer-social.example-2 .icon-content a[data-social="linkedin"] ~ .tooltip {
  background-color: #0274b3;
}

.footer-social.example-2 .icon-content a[data-social="twitter"] .filled,
.footer-social.example-2 .icon-content a[data-social="twitter"] ~ .tooltip {
  background-color: #000;
}

.footer-social.example-2 .icon-content a[data-social="tiktok"] .filled,
.footer-social.example-2 .icon-content a[data-social="tiktok"] ~ .tooltip {
  background-color: #010101;
}

.footer-social.example-2 .icon-content a[data-social="instagram"] .filled,
.footer-social.example-2 .icon-content a[data-social="instagram"] ~ .tooltip {
  background-color: #e1306c;
}

.footer-actions {
  display: flex;
  padding-left: clamp(2rem, 5vw, 4rem);
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-groups {
  display: grid;
  grid-template-columns: 0.8fr 1.15fr 1.3fr;
  gap: clamp(1.5rem, 3vw, 3rem);
}

.footer-group h4 {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.32);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-group a {
  display: block;
  width: fit-content;
  margin-bottom: 0.6rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  line-height: 1.4;
  transition: color 0.25s ease, transform 0.25s var(--ease);
}

.footer-group a:hover {
  color: var(--accent-lime);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.72rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
}

.footer-bottom a span {
  margin-left: 0.25rem;
  color: var(--accent-lime);
}

@media (max-width: 899.98px) {
  .footer-unified {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .footer-actions {
    padding-top: 2.5rem;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }
}

@media (max-width: 699.98px) {
  .site-footer {
    padding-top: 3.5rem;
  }

  .footer-unified {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .footer-wordmark {
    gap: 0.65rem;
  }

  .footer-wordmark img {
    width: clamp(48px, 14vw, 62px);
  }

  .footer-wordmark span {
    font-size: clamp(4.8rem, 23vw, 6.8rem);
  }

  .footer-social.example-2 .icon-content a {
    width: 44px;
    height: 44px;
  }

  .footer-social.example-2 .icon-content a svg {
    width: 26px;
    height: 26px;
  }

  .footer-groups {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ============================================================
   ANIMATIONS (keyframes + utility classes)
   See also animations.js for scroll / counter / marquee JS
   ============================================================ */

/* Fade + rise on scroll reveal */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Soft scale-in for media blocks */
@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Infinite horizontal marquee */
@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Hero background entrance — fondu cinématique depuis le noir */
@keyframes hero-scene-in {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Navbar entrance — descente douce depuis le haut */
@keyframes nav-in {
  from {
    opacity: 0;
    transform: translateY(-24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes mobile-nav-in {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Hero content entrance — fade-in + léger slide-up */
@keyframes hero-in {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

.anim-fade-up {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(22px);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease),
    filter 0.35s ease;
}

.anim-fade-up.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.anim-scale-in {
  opacity: 0;
  filter: blur(5px);
  transform: scale(0.98) translateY(14px);
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease),
    filter 0.35s ease;
}

.anim-scale-in.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: scale(1) translateY(0);
}

/* Entrée latérale — section Signal */
.anim-from-left,
.anim-from-right {
  opacity: 0;
  filter: blur(8px);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.7s ease;
  will-change: opacity, transform, filter;
}

.anim-from-left {
  transform: translateX(-72px);
}

.anim-from-right {
  transform: translateX(88px);
  transition-delay: 0.12s;
}

.anim-from-left.is-visible,
.anim-from-right.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
  will-change: auto;
}

/* Stagger — titres / sous-titres de section */
.themes-head > div > .anim-fade-up:nth-child(1),
.latest-issues-head > div > .anim-fade-up:nth-child(1),
.faq-intro > .anim-fade-up:nth-child(1) {
  transition-delay: 0s;
}

.themes-head > div > .anim-fade-up:nth-child(2),
.latest-issues-head > div > .anim-fade-up:nth-child(2),
.faq-intro > .anim-fade-up:nth-child(2) {
  transition-delay: 0.05s;
}

.themes-head > div > .anim-fade-up:nth-child(3),
.latest-issues-head > div > .anim-fade-up:nth-child(3),
.faq-intro > .anim-fade-up:nth-child(3) {
  transition-delay: 0.09s;
}

.latest-issues-actions.anim-fade-up {
  transition-delay: 0.1s;
}

.themes-carousel.anim-fade-up {
  transition-delay: 0.08s;
}

.themes-cta.anim-fade-up {
  transition-delay: 0.12s;
}

/* Rubans thématiques — une presse */
.themes-ribbons {
  margin: 0 calc(50% - 50vw) clamp(2.5rem, 5vw, 3.5rem);
  width: 100vw;
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.themes-ribbon {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.05rem, 2.4vw, 1.55rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    #000 5%,
    #000 95%,
    transparent 100%
  );
}

.themes-ribbon:last-of-type {
  border-bottom: 0;
}

.themes-ribbon-track {
  display: flex;
  width: max-content;
  animation: themes-ribbon-scroll var(--ribbon-duration, 42s) linear infinite;
  animation-play-state: running;
  will-change: transform;
}

.themes-ribbon.is-reverse .themes-ribbon-track {
  animation-direction: reverse;
}

/* Jamais de pause au hover / focus / clic */
.themes-ribbon:hover .themes-ribbon-track,
.themes-ribbon:focus-within .themes-ribbon-track,
.themes-ribbons:hover .themes-ribbon-track,
.themes-ribbon-track:hover {
  animation-play-state: running !important;
}

.themes-ribbon-group {
  display: flex;
  align-items: baseline;
  flex-shrink: 0;
}

.themes-ribbon-item {
  display: inline-flex;
  align-items: baseline;
  gap: 0.65rem;
  padding-inline: 1.35rem;
  white-space: nowrap;
  color: #fff;
}

.themes-ribbon-index {
  color: rgba(207, 254, 37, 0.7);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transform: translateY(-0.35em);
}

.themes-ribbon-title {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.6vw, 2.85rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
}

.themes-ribbon-text {
  color: rgba(255, 255, 255, 0.42);
  font-size: clamp(0.82rem, 1.2vw, 0.95rem);
  line-height: 1.2;
}

.themes-ribbon-sep {
  display: inline-block;
  width: 0.38rem;
  height: 0.38rem;
  margin-left: 0.55rem;
  border-radius: 1px;
  background: var(--accent-lime);
  transform: rotate(45deg);
  opacity: 0.85;
}

.themes-ribbon:nth-of-type(2) .themes-ribbon-title {
  color: rgba(255, 255, 255, 0.55);
}

.themes-ribbon:nth-of-type(3) .themes-ribbon-title {
  color: var(--accent-lime);
}

.themes-ribbon:nth-of-type(3) .themes-ribbon-index {
  color: rgba(255, 255, 255, 0.45);
}

.themes-ribbon:nth-of-type(3) .themes-ribbon-sep {
  background: #fff;
  opacity: 0.35;
}

@keyframes themes-ribbon-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 560px) {
  .themes-ribbon-text {
    display: none;
  }

  .themes-ribbon-item {
    gap: 0.5rem;
    padding-inline: 1rem;
  }

  .themes-ribbon-title {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .themes-ribbons {
    margin-inline: 0;
    width: auto;
    border: 0;
  }

  .themes-ribbon {
    overflow: visible;
    padding-block: 0.35rem;
    border: 0;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .themes-ribbon-track {
    display: block;
    width: auto;
    animation: none !important;
  }

  .themes-ribbon-group {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 0.65rem;
  }

  .themes-ribbon-group[aria-hidden="true"] {
    display: none;
  }

  .themes-ribbon-item {
    white-space: normal;
  }
}

/* Grille numéros — cascade des cartes */
.latest-issues-grid.anim-fade-up {
  opacity: 1;
  filter: none;
  transform: none;
}

.latest-issues-grid.anim-fade-up .issue-card,
.latest-issues-grid.anim-fade-up .issue-card-link {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(20px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease),
    filter 0.3s ease;
}

.latest-issues-grid.anim-fade-up.is-visible .issue-card,
.latest-issues-grid.anim-fade-up.is-visible .issue-card-link {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.latest-issues-grid.anim-fade-up.is-visible .issue-card:nth-child(1),
.latest-issues-grid.anim-fade-up.is-visible .issue-card-link:nth-child(1) {
  transition-delay: 0.02s;
}
.latest-issues-grid.anim-fade-up.is-visible .issue-card:nth-child(2),
.latest-issues-grid.anim-fade-up.is-visible .issue-card-link:nth-child(2) {
  transition-delay: 0.05s;
}
.latest-issues-grid.anim-fade-up.is-visible .issue-card:nth-child(3),
.latest-issues-grid.anim-fade-up.is-visible .issue-card-link:nth-child(3) {
  transition-delay: 0.08s;
}
.latest-issues-grid.anim-fade-up.is-visible .issue-card:nth-child(4),
.latest-issues-grid.anim-fade-up.is-visible .issue-card-link:nth-child(4) {
  transition-delay: 0.11s;
}
.latest-issues-grid.anim-fade-up.is-visible .issue-card:nth-child(5),
.latest-issues-grid.anim-fade-up.is-visible .issue-card-link:nth-child(5) {
  transition-delay: 0.14s;
}
.latest-issues-grid.anim-fade-up.is-visible .issue-card:nth-child(6),
.latest-issues-grid.anim-fade-up.is-visible .issue-card-link:nth-child(6) {
  transition-delay: 0.17s;
}

/* FAQ — cascade des questions */
.faq-list.anim-fade-up {
  opacity: 1;
  filter: none;
  transform: none;
}

.faq-list.anim-fade-up .faq-item {
  opacity: 0;
  filter: blur(5px);
  transform: translateY(16px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease),
    filter 0.3s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.faq-list.anim-fade-up.is-visible .faq-item {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.faq-list.anim-fade-up.is-visible .faq-item:nth-child(1) { transition-delay: 0.02s; }
.faq-list.anim-fade-up.is-visible .faq-item:nth-child(2) { transition-delay: 0.05s; }
.faq-list.anim-fade-up.is-visible .faq-item:nth-child(3) { transition-delay: 0.08s; }
.faq-list.anim-fade-up.is-visible .faq-item:nth-child(4) { transition-delay: 0.11s; }
.faq-list.anim-fade-up.is-visible .faq-item:nth-child(5) { transition-delay: 0.14s; }
.faq-list.anim-fade-up.is-visible .faq-item:nth-child(6) { transition-delay: 0.17s; }
.faq-list.anim-fade-up.is-visible .faq-item:nth-child(7) { transition-delay: 0.2s; }
.faq-list.anim-fade-up.is-visible .faq-item:nth-child(8) { transition-delay: 0.23s; }
.faq-list.anim-fade-up.is-visible .faq-item:nth-child(9) { transition-delay: 0.26s; }
.faq-list.anim-fade-up.is-visible .faq-item:nth-child(10) { transition-delay: 0.29s; }

/* Footer */
.footer-intro.anim-fade-up,
.footer-actions.anim-fade-up,
.footer-bottom.anim-fade-up {
  /* uses global anim-fade-up */
}

.footer-actions.anim-fade-up {
  transition-delay: 0.05s;
}

.footer-bottom.anim-fade-up {
  transition-delay: 0.1s;
}

.marquee-track {
  animation: marquee-scroll 28s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* La navbar arrive avant le contenu principal */
.nav {
  opacity: 0;
  animation: nav-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
  will-change: opacity, transform;
}

/* Arrivée du décor, puis apparition échelonnée du contenu */
.hero-media {
  opacity: 0;
  transform: scale(1.06);
  animation: hero-scene-in 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.05s forwards;
  will-change: opacity, transform;
}

.hero-content > * {
  opacity: 0;
  animation: hero-in 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: opacity, filter, transform;
}

.hero-content > *:nth-child(1) {
  animation-delay: 0.3s;
}
.hero-content > *:nth-child(2) {
  animation-delay: 0.46s;
}
.hero-content > *:nth-child(3) {
  animation-delay: 0.58s;
}
.hero-content > *:nth-child(4) {
  animation-delay: 0.72s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .site-header {
    transition: none !important;
    transform: none !important;
  }
  .nav,
  .marquee-track,
  .themes-ribbon-track,
  .receive-daily-marker span,
  .receive-board.is-visible .receive-daily,
  .receive-board.is-visible .receive-signature,
  .receive-board.is-visible .receive-board-top,
  .receive-board.is-visible .receive-plus,
  .receive-board.is-visible .receive-week,
  .receive-board.is-visible .receive-day,
  .themes-carousel.is-visible .theme-item,
  .hero-media,
  .hero-content > *,
  .anim-fade-up,
  .anim-scale-in,
  .anim-from-left,
  .anim-from-right {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
  }
  .latest-issues-grid.anim-fade-up .issue-card,
  .latest-issues-grid.anim-fade-up .issue-card-link,
  .faq-list.anim-fade-up .faq-item,
  .contact-reply-form.anim-fade-up .hero-email-note {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .hero-email-row,
  .form-success-card,
  .form-success-icon,
  .form-success-icon path,
  .form-success-icon::before,
  .form-success-icon::after {
    animation: none !important;
    transition: none !important;
  }
  .hero-email-form.is-success .form-success-card {
    opacity: 1;
    filter: none;
    transform: translateX(-50%);
  }
  .hero-email-form.is-success .form-success-icon path {
    stroke-dashoffset: 0;
  }
}

/* ============================================================
   RESPONSIVE — breakpoints aligned with Framer (1200 / 810)
   ============================================================ */
@media (max-width: 1199.98px) {
  .about-grid,
  .features-layout,
  .faq-layout,
  .cta-band,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .modules-grid,
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }

  .integ-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 899.98px) {
  .site-header {
    padding: 0.75rem 0.85rem 0;
  }

  .nav {
    width: 100%;
    min-height: 58px;
    display: flex;
    justify-content: space-between;
    padding: 0.4rem 0.45rem 0.4rem 0.9rem;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.45rem);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.35rem;
    overflow: hidden;
    background: rgba(7, 7, 9, 0.96);
    border: 1px solid var(--nav-border);
    border-radius: 14px;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
  }

  .nav-links::before {
    display: none;
  }

  .nav-links.is-open {
    display: flex;
    animation: mobile-nav-in 0.3s var(--ease) both;
  }

  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 43px;
    padding: 0.65rem 0.8rem;
    border-radius: 9px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    font-weight: 500;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a:hover,
  .nav-links a:focus-visible {
    background: rgba(255, 255, 255, 0.055);
    color: #fff;
    outline: none;
    transform: none;
  }

  .nav-cta-desktop {
    display: none;
  }

  .nav-toggle {
    display: grid;
    place-content: center;
    transition:
      background 0.2s ease,
      border-color 0.2s ease;
  }

  .nav-toggle span {
    grid-area: 1 / 1;
    transition: transform 0.25s var(--ease), opacity 0.2s ease;
  }

  .nav-toggle span:nth-child(1) {
    transform: translateY(-5px);
  }

  .nav-toggle span:nth-child(3) {
    transform: translateY(5px);
  }

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

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

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

  .nav-toggle[aria-expanded="true"] {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.09);
  }

  .about-grid,
  .features-layout,
  .faq-layout,
  .pricing-grid,
  .cta-band,
  .footer-grid,
  .modules-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    width: 100%;
    height: 220px;
  }

  .testimonial-card {
    grid-template-columns: 1fr;
  }

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

  .receive-formula {
    grid-template-columns: 1fr;
  }

  .receive-daily,
  .receive-signature {
    min-height: 300px;
  }

  .receive-plus {
    margin-block: -1.9rem;
    margin-inline: 0;
  }

  .receive-week {
    grid-template-columns: repeat(5, 1fr);
  }

  .section-title {
    max-width: none;
  }
}

@media (max-width: 809.98px) {
  .container {
    width: min(100% - 1.5rem, var(--container));
  }

  .hero {
    min-height: 100svh;
    padding-bottom: 1.5rem;
  }

  .hero-title {
    max-width: none;
    font-size: clamp(2.35rem, 8vw, 3.35rem);
    line-height: 1;
    white-space: pre-line;
  }

  .hero-eyebrow {
    margin-bottom: 0.7rem;
    padding: 0.5rem 0.95rem;
  }

  .hero-title {
    margin-bottom: 1.75rem;
  }

  .contact-reply-title {
    white-space: pre-line;
  }

  /* Formulaire empilé en colonne sur mobile */
  .hero-email-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-email-form input[type="email"],
  .hero-email-form .btn-lime {
    width: 100%;
    flex: none;
  }

  .hero .hero-email-form,
  .contact-reply .contact-reply-form {
    max-width: 390px;
  }

  .hero .hero-email-row,
  .contact-reply .hero-email-row {
    gap: 0.6rem;
  }

  .hero .hero-email-form input[type="email"],
  .hero .hero-email-form .btn-lime,
  .contact-reply .contact-reply-form input[type="email"],
  .contact-reply .contact-reply-form .btn-lime {
    min-height: 46px;
    padding: 0.72rem 1.15rem;
    font-size: 0.9rem;
  }

  .btn-row {
    width: 100%;
  }

  .btn-row .btn {
    flex: 1 1 auto;
  }
}

@media (max-width: 599.98px) {
  .scroll-video-caption {
    top: 18%;
    width: min(92%, 420px);
    font-size: clamp(2.75rem, 13vw, 3.5rem);
    line-height: 0.94;
  }

  .contact-reply {
    padding: 2.25rem 0 4.5rem;
  }

  .contact-reply-inner {
    gap: 1.5rem;
  }

  .contact-reply-title {
    max-width: none;
    font-size: var(--title-size-mobile);
    line-height: var(--title-leading-mobile);
    white-space: pre-line;
  }

  .receive {
    padding-block: 4rem;
  }

  .receive-head {
    margin-bottom: 2.25rem;
  }

  .receive-head .section-eyebrow {
    margin-bottom: 0.6rem;
    font-size: 0.7rem;
  }

  .receive-title {
    max-width: 7em;
    margin-inline: auto;
    font-size: var(--title-size-mobile);
    line-height: var(--title-leading-mobile);
  }

  .receive-board {
    padding: 0.5rem;
    border-radius: 20px;
  }

  .receive-board.anim-fade-up {
    clip-path: inset(0 0 8% 0 round 20px);
  }

  .receive-board.anim-fade-up.is-visible {
    clip-path: inset(0 round 20px);
  }

  .receive-board-top {
    min-height: 34px;
    padding: 0 0.3rem 0.45rem;
    font-size: 0.6rem;
  }

  .receive-formula {
    gap: 0;
  }

  .receive-daily,
  .receive-signature {
    min-height: 250px;
    padding: 1.2rem;
    border-radius: 15px;
  }

  .receive-daily-marker {
    top: 1.2rem;
    left: 1.2rem;
    width: 34px;
    height: 34px;
  }

  .receive-daily-marker span {
    width: 8px;
    height: 8px;
  }

  .receive-time {
    margin-left: 2.65rem;
  }

  .receive-time,
  .receive-signature-label {
    padding: 0.35rem 0.55rem;
    font-size: 0.58rem;
  }

  .receive-daily h3,
  .receive-signature h3 {
    font-size: clamp(2.1rem, 11vw, 2.75rem);
    white-space: normal;
  }

  .receive-daily h3 + p,
  .receive-signature h3 + p {
    min-height: 0;
    margin-top: 0.6rem;
    font-size: 0.82rem;
    line-height: 1.45;
  }

  .receive-card-number {
    top: 1rem;
    right: 1.15rem;
    font-size: 3.5rem;
  }

  .receive-plus {
    width: 40px;
    height: 40px;
    margin-block: -1.25rem;
    border-width: 5px;
  }

  .receive-week {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.25rem;
    margin-top: 0.55rem;
  }

  .receive-day {
    min-width: 0;
    min-height: 42px;
    padding: 0.45rem 0.15rem;
    border-radius: 10px;
    font-size: 0.65rem;
    letter-spacing: 0.03em;
  }

  .receive-day-full {
    display: none;
  }

  .receive-day-short {
    display: inline;
  }

  .receive-day:last-child {
    grid-column: auto;
  }

  .hero .hero-email-form,
  .contact-reply .contact-reply-form {
    width: min(100%, 330px);
  }

  .hero .hero-email-form input[type="email"],
  .hero .hero-email-form .btn-lime,
  .contact-reply .contact-reply-form input[type="email"],
  .contact-reply .contact-reply-form .btn-lime {
    min-height: 44px;
    padding-block: 0.65rem;
    font-size: 0.875rem;
  }

  .receive-board-top span:last-child {
    display: none;
  }
}

/* ============================================================
   SKIP LINK + PAGES LÉGALES
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 10000;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--accent-lime);
  color: var(--lime-ink);
  font-weight: 700;
  font-size: 0.85rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ------------------------------------------------------------
   LEGAL PAGES — mentions / confidentialité / conditions
   ------------------------------------------------------------ */
.legal-body {
  background: #000;
  color: var(--text);
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.legal-header .nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.85rem;
  grid-template-columns: unset;
}

.legal-header .nav-end,
.legal-header .btn,
.legal-header .btn-lime {
  display: none !important;
}

.legal-page {
  padding: clamp(5.5rem, 12vw, 7.5rem) 0 clamp(4rem, 8vw, 6rem);
}

.legal-wrap {
  max-width: 44rem;
}

.legal-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.25rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
}

.legal-breadcrumb a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-breadcrumb a:hover {
  color: var(--accent-lime);
}

.legal-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
  padding: 0.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.legal-switcher a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.legal-switcher a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.legal-switcher a[aria-current="page"] {
  color: #0a0a0c;
  background: var(--accent-lime);
}

.legal-page h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: var(--title-weight);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.legal-lead {
  margin: 0 0 1rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.02rem;
  line-height: 1.55;
}

.legal-updated {
  margin: 0 0 2rem;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.legal-doc {
  display: grid;
  gap: 0.85rem;
}

.legal-page section {
  margin: 0;
  padding: 1.25rem 1.3rem 1.35rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.legal-page h2 {
  margin: 0 0 0.7rem;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.legal-page p,
.legal-page li {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal-page p:last-child,
.legal-page ul:last-child {
  margin-bottom: 0;
}

.legal-page ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

.legal-page li + li {
  margin-top: 0.4rem;
}

.legal-page a {
  color: var(--accent-lime);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.legal-back {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  align-items: center;
  margin-top: 2.25rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.88rem;
}

.legal-back a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.72);
}

.legal-back a:hover {
  color: var(--accent-lime);
  text-decoration: underline;
}

.legal-footer {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-footer .footer-bottom {
  margin-top: 0;
}

@media (max-width: 640px) {
  .legal-switcher {
    border-radius: 18px;
  }

  .legal-switcher a {
    flex: 1 1 auto;
    justify-content: center;
  }

  .legal-page section {
    padding: 1.1rem 1rem 1.2rem;
    border-radius: 14px;
  }
}

.themes-subtitle,
.blog-subtitle,
.receive-intro {
  max-width: 42rem;
  margin: 0.85rem auto 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.55;
  text-align: center;
}

.latest-issues-head p.blog-subtitle {
  margin-top: 0.75rem;
}

.latest-issues-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center;
}

.footer-tagline {
  margin: 0.85rem 0 0;
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.92rem;
  line-height: 1.5;
}

.footer-about {
  margin: 0.75rem 0 0;
  max-width: 26rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-about a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-about a:hover {
  color: var(--lime, #c8f31e);
}

a.issue-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

a.issue-card-link:hover {
  transform: translateY(-2px);
}

a.issue-card-link:focus-visible {
  outline: 2px solid var(--lime, #c8f31e);
  outline-offset: 3px;
}

.archives-page .legal-wrap {
  max-width: 75rem;
}

.archives-page.legal-page {
  padding-top: clamp(6.5rem, 10vw, 7.5rem);
  overflow-x: clip;
}

.archives-body {
  overflow-x: clip;
}

.archive-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 1.1rem;
  margin: 0 0 clamp(3.5rem, 7vw, 5.5rem);
  padding: clamp(0.5rem, 2vw, 1.5rem) 0 clamp(2.25rem, 5vw, 3.25rem);
  text-align: center;
}

.archive-hero::before {
  position: absolute;
  z-index: -2;
  top: 50%;
  left: 50%;
  width: min(52rem, 96vw);
  height: min(30rem, 66vw);
  content: "";
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(207, 254, 37, 0.15),
    rgba(207, 254, 37, 0.04) 42%,
    transparent 70%
  );
  transform: translate(-50%, -58%);
  pointer-events: none;
}

/* Fine ligne de séparation : ferme la composition sans encadrer le hero. */
.archive-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.14) 22%,
    rgba(207, 254, 37, 0.4) 50%,
    rgba(255, 255, 255, 0.14) 78%,
    transparent
  );
}

.archive-hero-grid {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(60rem, 100vw);
  height: min(28rem, 64vw);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 62%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 62%);
  transform: translate(-50%, -55%);
  pointer-events: none;
}

.archive-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.42rem 0.9rem 0.42rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.archive-hero-eyebrow span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent-lime);
  box-shadow: 0 0 0.85rem rgba(207, 254, 37, 0.7);
}

.archives-page .archive-hero h1 {
  margin: 0;
  font-size: clamp(3.1rem, 8vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.archive-lead {
  max-width: 34rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: clamp(0.98rem, 1.3vw, 1.1rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.archive-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

/* La page hérite des styles « legal-page » (liens lime soulignés) : on les neutralise ici. */
.archives-page .archive-hero a {
  text-decoration: none;
}

.archives-page a.archive-hero-cta {
  color: var(--lime-ink);
}

.archives-page a.archive-hero-latest {
  color: rgba(255, 255, 255, 0.82);
}

.archive-hero-latest {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  max-width: min(30rem, 92vw);
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  text-decoration: none;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s var(--ease);
}

.archive-hero-latest:hover {
  border-color: rgba(207, 254, 37, 0.42);
  background: rgba(207, 254, 37, 0.08);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

.archive-hero-latest-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  color: var(--accent-lime);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.archive-hero-latest-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent-lime);
  box-shadow: 0 0 0 0 rgba(207, 254, 37, 0.5);
  animation: archive-hero-pulse 2.6s ease-out infinite;
}

@keyframes archive-hero-pulse {
  70% {
    box-shadow: 0 0 0 0.45rem rgba(207, 254, 37, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(207, 254, 37, 0);
  }
}

.archive-hero-latest-title {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.archive-hero-latest-arrow {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.3s var(--ease);
}

.archive-hero-latest:hover .archive-hero-latest-arrow {
  color: var(--accent-lime);
  transform: translateX(3px);
}

.archives-page .archive-hero-cta {
  min-height: 44px;
  padding: 0.7rem 1.35rem;
  font-size: 0.85rem;
}

.archive-hero-eyebrow,
.archives-page .archive-hero h1,
.archive-lead,
.archive-hero-actions {
  animation: archive-hero-enter 0.7s var(--ease) both;
}

.archives-page .archive-hero h1 {
  animation-delay: 0.06s;
}

.archive-lead {
  animation-delay: 0.12s;
}

.archive-hero-actions {
  animation-delay: 0.18s;
}

@keyframes archive-hero-enter {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}

.archives-page .archive-library {
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  min-width: 0;
}

.archive-filters {
  display: flex;
  gap: 0.55rem;
  max-width: 100%;
  margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
  padding: 0.2rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.archive-filters::-webkit-scrollbar {
  display: none;
}

.archive-filter {
  display: grid;
  min-width: max-content;
  gap: 0.16rem;
  padding: 0.65rem 0.9rem;
  color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    color 0.3s ease,
    background 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s var(--ease);
}

.archive-filter strong {
  color: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1;
}

.archive-filter span {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.62rem;
  line-height: 1;
}

.archive-filter:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

.archive-filter.is-active {
  color: var(--lime-ink);
  background: var(--accent-lime);
  border-color: var(--accent-lime);
}

.archive-filter.is-active span {
  color: rgba(6, 12, 4, 0.58);
}

.archive-filter:focus-visible {
  outline: 2px solid var(--accent-lime);
  outline-offset: 3px;
}

.archive-filter:not(:has(span)) {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-right: 1.05rem;
  padding-left: 1.05rem;
}

.archive-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.4rem);
}

/* Liste crawlable (noscript / avant hydratation JS) */
.archive-seo-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.archive-seo-list[hidden] {
  display: none;
}

.archive-seo-list a {
  color: rgba(245, 245, 247, 0.78);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.45;
}

.archive-seo-list a:hover {
  color: #f5f5f7;
  text-decoration: underline;
}

.archive-item {
  flex-shrink: 0;
  min-width: 0;
  opacity: 0;
  transform: translateY(1.75rem) scale(0.985);
  transition:
    opacity 0.65s var(--ease) var(--archive-delay, 0ms),
    transform 0.65s var(--ease) var(--archive-delay, 0ms);
}

.archive-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.archive-item-featured {
  grid-column: span 2;
}

.archives-page a.archive-cover {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  display: grid;
  grid-template-rows: 48% 52%;
  aspect-ratio: 210 / 297;
  padding: 0.5rem;
  overflow: hidden;
  background: #fbfbfd;
  border: 0;
  border-radius: 24px;
  color: #1d1d1f;
  text-decoration: none;
  box-shadow:
    0 0 0 0.5px rgba(255, 255, 255, 0.12),
    0 1.25rem 3rem rgba(0, 0, 0, 0.38);
  transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y))
    translateY(0);
  transform-style: preserve-3d;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(207, 254, 37, 0.18);
  transition:
    transform 0.5s cubic-bezier(0.28, 0.11, 0.32, 1),
    box-shadow 0.5s cubic-bezier(0.28, 0.11, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .archives-page a.archive-cover:hover {
    color: #1d1d1f;
    text-decoration: none;
    transform: perspective(1000px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y))
      translateY(-0.65rem) scale(1.018);
    box-shadow:
      0 0 0 0.5px rgba(255, 255, 255, 0.18),
      0 2.5rem 5rem rgba(0, 0, 0, 0.52);
  }
}

.archives-page .archive-item-featured a.archive-cover {
  grid-template: 1fr / minmax(0, 1.08fr) minmax(0, 0.92fr);
  /* La carte à la une remplit la hauteur de la rangée : pas de vide sous elle. */
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}

.archives-page .archive-item-featured .archive-cover h3 {
  font-size: clamp(1.75rem, 2.8vw, 2.55rem);
  -webkit-line-clamp: 4;
}

.archives-page .archive-item-featured .archive-cover-body {
  justify-content: space-between;
}

@media (max-width: 1100px) {
  /* Tablette : à la une en format carte vertical, pas en bandeau plat. */
  .archive-item-featured {
    grid-column: span 1;
  }

  .archives-page .archive-item-featured a.archive-cover {
    grid-template-rows: 48% 52%;
    grid-template-columns: 1fr;
    height: auto;
    aspect-ratio: 210 / 297;
  }

  .archives-page .archive-item-featured .archive-cover h3 {
    font-size: clamp(1.25rem, 1.85vw, 1.6rem);
    -webkit-line-clamp: 3;
  }
}

.archives-page a.archive-cover:focus-visible {
  outline: 3px solid var(--accent-lime);
  outline-offset: 5px;
}

.archive-cover-image {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: #e8e8ed;
  border-radius: 18px;
}

.archive-cover-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, transparent 38%);
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.archive-cover-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.28, 0.11, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .archive-cover:hover .archive-cover-image img {
    transform: scale(1.08);
  }
}

.archive-cover-brand {
  position: absolute;
  z-index: 1;
  top: 0.8rem;
  left: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.32rem;
  color: #fff;
  font-family: var(--font-brand);
  font-size: 1.3rem;
  font-weight: var(--title-weight);
  letter-spacing: -0.065em;
  line-height: 0.8;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.archive-cover-brand strong {
  font-weight: inherit;
  padding-top: 0.08em;
}

.archives-page .archive-cover-mark {
  display: block;
  width: 1.22rem;
  height: 1.22rem;
  object-fit: contain;
  /* Marque blanche : ombre portée pour tenir sur les photos claires. */
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.45));
}

.archive-featured-label {
  position: absolute;
  z-index: 1;
  top: 0.78rem;
  right: 0.82rem;
  padding: 0.42rem 0.68rem;
  color: var(--lime-ink);
  background: var(--accent-lime);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  line-height: 1;
}

.archive-cover-body {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: clamp(1rem, 1.8vw, 1.35rem) clamp(0.85rem, 1.4vw, 1.1rem)
    clamp(0.7rem, 1.2vw, 0.9rem);
}

.archives-page .archive-cover-date {
  margin: 0 0 0.5rem;
  color: #86868b;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: none;
}

.archives-page .archive-cover h3 {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #1d1d1f;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.85vw, 1.6rem);
  font-weight: var(--title-weight);
  letter-spacing: -0.042em;
  line-height: 1.02;
  text-wrap: balance;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.archives-page .archive-cover-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  align-items: center;
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 0.5px solid rgba(0, 0, 0, 0.1);
  color: #86868b;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-transform: none;
}

.archive-cover-action {
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
  padding: 0.42rem 0.8rem;
  background: #1d1d1f;
  border-radius: 999px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.3s ease, color 0.3s ease;
}

.archive-cover-action span {
  transition: transform 0.35s cubic-bezier(0.28, 0.11, 0.32, 1);
}

@media (hover: hover) and (pointer: fine) {
  .archive-cover:hover .archive-cover-action {
    background: var(--accent-lime);
    color: var(--lime-ink);
  }

  .archive-cover:hover .archive-cover-action span {
    transform: translateX(2px);
  }
}

.archive-status {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (max-width: 880px) {
  .archive-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .archive-item-featured {
    grid-column: span 1;
  }

  /* Évite le « trou noir » : cartes déjà visibles hors desktop. */
  .archive-item {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .archives-page.legal-page {
    padding-top: clamp(5.5rem, 18vw, 6.5rem);
    padding-bottom: clamp(3rem, 8vw, 4.5rem);
  }

  .archive-hero {
    margin-bottom: clamp(2rem, 6vw, 3rem);
    gap: 0.75rem;
  }

  .archives-page .archive-hero h1 {
    font-size: clamp(2.9rem, 15vw, 4rem);
  }

  .archive-lead {
    max-width: 24rem;
    padding-inline: 0.5rem;
    font-size: 0.95rem;
  }

  .archive-hero-eyebrow {
    padding: 0.36rem 0.75rem 0.36rem 0.6rem;
    font-size: 0.64rem;
  }

  .archive-hero-actions {
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 0.35rem;
  }

  .archive-hero-latest {
    max-width: 100%;
    padding: 0.45rem 0.8rem 0.45rem 0.65rem;
  }

  .archive-hero-latest-label {
    font-size: 0.6rem;
  }

  .archive-hero-latest-title {
    font-size: 0.72rem;
  }

  .archives-page .archive-hero-cta {
    width: fit-content;
    max-width: 100%;
    padding: 0.65rem 1.1rem;
    font-size: 0.8rem;
  }

  .archive-filters {
    gap: 0.45rem;
    margin-right: -0.75rem;
    margin-left: -0.75rem;
    margin-bottom: 1.5rem;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .archive-filter {
    min-height: 44px;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
  }

  .archive-list {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    justify-items: stretch;
  }

  .archive-item {
    width: 100%;
  }

  .archive-item-featured {
    margin-bottom: 0.45rem;
  }

  /* Cartes compactes : photo à gauche, titre à droite — plus de A4 pleine hauteur. */
  .archives-page a.archive-cover {
    display: grid;
    grid-template-columns: 6rem minmax(0, 1fr);
    grid-template-rows: minmax(6rem, auto);
    width: 100%;
    height: auto;
    min-height: 6rem;
    aspect-ratio: auto;
    padding: 0.38rem;
    border-radius: 16px;
    transform: none;
    transform-style: flat;
    box-shadow:
      0 0 0 0.5px rgba(255, 255, 255, 0.1),
      0 0.55rem 1.35rem rgba(0, 0, 0, 0.28);
  }

  .archives-page a.archive-cover:active {
    transform: scale(0.985);
  }

  .archives-page .archive-item:not(.archive-item-featured) .archive-cover-image {
    align-self: center;
    width: 6rem;
    height: 6rem;
    min-height: 6rem;
    border-radius: 12px;
  }

  .archives-page .archive-item:not(.archive-item-featured) .archive-cover-brand {
    display: none;
  }

  .archives-page .archive-item:not(.archive-item-featured) .archive-cover-footer {
    display: none;
  }

  .archives-page .archive-cover-body {
    justify-content: center;
    gap: 0.18rem;
    padding: 0.42rem 0.7rem 0.38rem 0.75rem;
  }

  .archives-page .archive-cover-date {
    margin-bottom: 0.18rem;
    font-size: 0.72rem;
  }

  .archives-page .archive-cover h3 {
    font-size: 1rem;
    line-height: 1.18;
    letter-spacing: -0.03em;
    -webkit-line-clamp: 3;
  }

  .archives-page .archive-cover-footer {
    justify-content: flex-start;
    margin-top: 0.28rem;
    padding-top: 0.2rem;
    border-top: 0;
  }

  .archive-cover-action {
    padding: 0.32rem 0.62rem;
    font-size: 0.66rem;
  }

  /* À la une : format paysage, photo lisible, titre entier. */
  .archives-page .archive-item-featured a.archive-cover {
    grid-template: auto auto / 1fr;
    height: auto;
    min-height: 0;
    aspect-ratio: auto;
    padding: 0.42rem;
    border-radius: 20px;
    box-shadow:
      0 0 0 0.5px rgba(255, 255, 255, 0.12),
      0 1rem 2.4rem rgba(0, 0, 0, 0.36);
  }

  .archives-page .archive-item-featured .archive-cover-image {
    aspect-ratio: 16 / 10;
    border-radius: 15px;
  }

  .archives-page .archive-item-featured .archive-cover-body {
    justify-content: space-between;
    gap: 0.35rem;
    padding: 0.85rem 0.8rem 0.7rem;
  }

  .archives-page .archive-item-featured .archive-cover-date {
    margin-bottom: 0.35rem;
    font-size: 0.74rem;
  }

  .archives-page .archive-item-featured .archive-cover h3 {
    font-size: clamp(1.22rem, 5.4vw, 1.42rem);
    line-height: 1.08;
    -webkit-line-clamp: 4;
  }

  .archives-page .archive-item-featured .archive-cover-footer {
    justify-content: flex-end;
    margin-top: 0.55rem;
    padding-top: 0.55rem;
    border-top: 0.5px solid rgba(0, 0, 0, 0.1);
  }

  .archives-page .archive-item-featured .archive-cover-action {
    padding: 0.42rem 0.78rem;
    font-size: 0.72rem;
  }

  .archives-page .site-footer {
    padding-top: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .archive-cover,
  .archive-cover-image img,
  .archive-item {
    transition: none;
  }

  .archive-item {
    opacity: 1;
    transform: none;
  }

  .archive-hero-eyebrow,
  .archives-page .archive-hero h1,
  .archive-lead,
  .archive-hero-actions,
  .archive-hero-latest-dot {
    animation: none;
  }
}

.article-kicker {
  margin: 0 0 0.75rem;
  color: var(--lime, #c8f31e);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-lead {
  margin: 1.25rem 0 2rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.1rem;
  line-height: 1.65;
}

.article-page section {
  margin-bottom: 1.75rem;
}

.article-page ol {
  padding-left: 1.25rem;
  color: rgba(255, 255, 255, 0.7);
}

.article-page ol li + li {
  margin-top: 0.5rem;
}

.article-subscribe {
  margin: 2.5rem 0;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.article-subscribe h2 {
  margin-top: 0;
}

.article-subscribe .btn {
  margin-top: 0.75rem;
}

.article-related {
  margin: 2rem 0;
}

.article-related ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
}

.article-related li + li {
  margin-top: 0.4rem;
}

.article-related a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.article-related a:hover {
  color: var(--lime, #c8f31e);
}

.archive-upcoming {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.archive-teaser-list {
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
}

.archive-teaser-list li + li {
  margin-top: 0.55rem;
}

.archive-teaser-list span {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.legal-nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.legal-nav-links > a:not(.btn) {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.92rem;
}

.legal-nav-links > a:not(.btn):hover {
  color: #fff;
}

/* Page /suivre — inscription minimale */
.follow-page {
  min-height: calc(100vh - 5rem);
  display: flex;
  align-items: center;
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.follow-wrap {
  max-width: 34rem;
  margin: 0 auto;
  text-align: center;
}

.follow-eyebrow {
  margin: 0 0 1rem;
  color: var(--lime, #c8f31e);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.follow-page h1 {
  margin: 0;
  font-family: var(--font-display, "Instrument Serif", Georgia, serif);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
}

.follow-lead {
  margin: 1rem 0 1.75rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.05rem;
  line-height: 1.5;
}

.follow-wrap > .anim-fade-up:nth-child(1) { transition-delay: 0s; }
.follow-wrap > .anim-fade-up:nth-child(2) { transition-delay: 0.04s; }
.follow-wrap > .anim-fade-up:nth-child(3) { transition-delay: 0.08s; }
.follow-wrap > .anim-fade-up:nth-child(4) { transition-delay: 0.12s; }
.follow-wrap > .anim-fade-up:nth-child(5) { transition-delay: 0.16s; }

.follow-form {
  margin: 0 auto;
  max-width: 28rem;
  text-align: left;
}

.follow-back {
  margin: 2rem 0 0;
}

.follow-back a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.92rem;
}

.follow-back a:hover {
  color: #fff;
}

@media (max-width: 720px) {
  .latest-issues-actions {
    justify-content: flex-start;
    width: 100%;
  }
}

/* ============================================================
   PAGE 404
   ============================================================ */
.error-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.error-page {
  flex: 1;
  padding: clamp(6.5rem, 14vw, 8.5rem) 0 clamp(3.5rem, 7vw, 5rem);
}

.error-wrap {
  max-width: 52rem;
}

.error-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  gap: 1rem;
  margin: 0 0 clamp(2.5rem, 6vw, 4rem);
  padding: 0.5rem 0 clamp(2rem, 5vw, 3rem);
  text-align: center;
}

.error-hero::before {
  position: absolute;
  z-index: -2;
  top: 48%;
  left: 50%;
  width: min(46rem, 94vw);
  height: min(26rem, 58vw);
  content: "";
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(207, 254, 37, 0.16),
    rgba(207, 254, 37, 0.04) 44%,
    transparent 70%
  );
  transform: translate(-50%, -58%);
  pointer-events: none;
}

.error-hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.14) 22%,
    rgba(207, 254, 37, 0.4) 50%,
    rgba(255, 255, 255, 0.14) 78%,
    transparent
  );
}

.error-hero-grid {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(56rem, 100vw);
  height: min(26rem, 60vw);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 62%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 62%);
  transform: translate(-50%, -55%);
  pointer-events: none;
}

.error-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.42rem 0.9rem 0.42rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-eyebrow span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent-lime);
  box-shadow: 0 0 0.85rem rgba(207, 254, 37, 0.7);
}

.error-code {
  margin: 0.15rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(5.2rem, 16vw, 8.75rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.07em;
  color: var(--accent-lime);
}

.error-hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 5.4vw, 3.35rem);
  font-weight: var(--title-weight);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.error-lead {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.05rem;
  line-height: 1.55;
  text-wrap: pretty;
}

.error-path {
  margin: 0;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.8rem;
}

.error-path code {
  color: rgba(255, 255, 255, 0.78);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  word-break: break-all;
}

.error-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.35rem;
}

.error-hero-actions .btn {
  text-decoration: none;
}

.error-explore {
  display: grid;
  gap: 1.15rem;
}

.error-explore h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.error-explore-lead {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.98rem;
  line-height: 1.55;
}

.error-link-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.error-card {
  position: relative;
  display: grid;
  gap: 0.4rem;
  min-height: 100%;
  padding: 1.2rem 1.25rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.28s var(--ease),
    border-color 0.28s ease,
    background 0.28s ease;
}

.error-card:hover,
.error-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(207, 254, 37, 0.38);
  background: rgba(255, 255, 255, 0.055);
}

.error-card:focus-visible {
  outline: 2px solid var(--accent-lime);
  outline-offset: 3px;
}

.error-card-kicker {
  color: var(--accent-lime);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.error-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: #fff;
}

.error-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  line-height: 1.5;
}

.error-card-arrow {
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.42);
  font-size: 1rem;
  transition: transform 0.28s var(--ease), color 0.28s ease;
}

.error-card:hover .error-card-arrow,
.error-card:focus-visible .error-card-arrow {
  color: var(--accent-lime);
  transform: translateX(3px);
}

.error-latest {
  margin-top: 1.5rem;
}

.error-latest[hidden],
.error-path[hidden] {
  display: none !important;
}

.error-latest a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label arrow"
    "meta arrow"
    "title arrow";
  gap: 0.2rem 1rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s var(--ease);
}

.error-latest a:hover,
.error-latest a:focus-visible {
  border-color: rgba(207, 254, 37, 0.35);
  background: rgba(255, 255, 255, 0.055);
  transform: translateY(-2px);
}

.error-latest a:focus-visible {
  outline: 2px solid var(--accent-lime);
  outline-offset: 3px;
}

.error-latest-label {
  grid-area: label;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.error-latest-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent-lime);
  box-shadow: 0 0 0.7rem rgba(207, 254, 37, 0.7);
}

.error-latest-meta {
  grid-area: meta;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.78rem;
}

.error-latest-title {
  grid-area: title;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.error-latest-arrow {
  grid-area: arrow;
  color: var(--accent-lime);
  font-size: 1.2rem;
  justify-self: end;
}

.error-contact {
  margin: 1.75rem 0 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.92rem;
}

.error-contact a {
  color: var(--accent-lime);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.error-contact a:hover {
  color: var(--accent-lime-hover);
}

@media (max-width: 720px) {
  .error-link-grid {
    grid-template-columns: 1fr;
  }

  .error-hero-actions {
    width: 100%;
  }

  .error-hero-actions .btn {
    flex: 1 1 auto;
  }

  .error-latest a {
    grid-template-columns: 1fr auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .error-card,
  .error-card-arrow,
  .error-latest a {
    transition: none;
  }

  .error-card:hover,
  .error-card:focus-visible,
  .error-latest a:hover,
  .error-latest a:focus-visible {
    transform: none;
  }
}
