/* ==========================================================================
   MyPing - Design system
   Identité : indigo nuit · vert électrique · blanc craie. Motif : la
   trajectoire de la balle. Registre : marque (premium, vivant, généreux).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces - indigo nuit (préservation de l'identité du logo #0F0F2C) */
  --bg: #0a0c24;
  --bg-deep: #07081a;
  --surface: #12153a;
  --surface-2: #1a1e4d;
  --line: #272c63;
  --line-soft: #1d2150;

  /* Texte */
  --ink: #f4f5ff;
  --ink-dim: #c3c7ec;
  --muted: #9ea3d4;
  --faint: #6f74ab;

  /* Marque - vert électrique MyPing */
  --brand: #1fe06a;
  --brand-bright:#5dff9b;
  --brand-deep: #11a64d;
  --on-brand: #04210f;

  /* Accents par outil (couleurs des apps) */
  --orange: #f4610b;
  --orange-soft: #ff7d2e;
  --cyan: #219ebc;
  --cyan-soft: #25abcb;
  --gold: #d4a832;
  --gold-soft: #e8c547;
  --purple: #7c5cbf;
  --purple-soft: #9670d4;
  --rose: #e11d48;
  --rose-soft: #f43f5e;
  --teal: #0d9488;
  --teal-soft: #14b8a6;

  /* Géométrie */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 56px);

  /* Élévation (rare, structurelle) */
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --shadow-brand: 0 18px 50px -20px rgba(31, 224, 106, .45);

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1); /* out-expo-ish */
  --ease-soft: cubic-bezier(.16, 1, .3, 1);
  --dur: .55s;

  /* Z-scale sémantique */
  --z-bg: 0;
  --z-base: 1;
  --z-sticky: 100;
  --z-header: 200;
  --z-overlay: 300;
  --z-toast: 400;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Switzer", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand-bright); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(31, 224, 106, .26); color: #fff; }

/* ---------- Typographie ---------- */
.display, h1, h2, h3 {
  font-family: "Clash Display", "Switzer", ui-sans-serif, system-ui, sans-serif;
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.02em;
  text-wrap: balance;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + .9vw, 1.7rem); letter-spacing: -.015em; }
p { text-wrap: pretty; }
strong { font-weight: 600; color: var(--ink); }

.brand-text { color: var(--brand); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 600; font-size: .82rem; letter-spacing: .02em;
  color: var(--brand-bright);
}
.eyebrow::before {
  content: ""; width: 26px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--brand));
}

.lead { font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); color: var(--ink-dim); max-width: 60ch; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(72px, 9vw, 140px); position: relative; }
.section--tight { padding-block: clamp(56px, 6vw, 96px); }
.stack > * + * { margin-top: var(--s, 1rem); }

/* ---------- Boutons ---------- */
.btn {
  --pad-y: .85em; --pad-x: 1.35em;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: var(--pad-y) var(--pad-x);
  border-radius: var(--r-sm);
  font-weight: 600; font-size: .98rem; letter-spacing: -.01em;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              border-color .25s var(--ease), box-shadow .35s var(--ease), color .2s;
  will-change: transform;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn--primary { background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-brand); }
.btn--primary:hover { background: var(--brand-bright); transform: translateY(-2px); }
.btn--primary:active { transform: translateY(0) scale(.98); }
.btn--ghost { background: rgba(255,255,255,.04); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--brand); transform: translateY(-2px); }
.btn--lg { --pad-y: 1.05em; --pad-x: 1.7em; font-size: 1.05rem; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* lien fléché */
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--brand); }
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  transition: background-color .4s var(--ease), border-color .4s var(--ease), backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(10, 12, 36, .72);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--line-soft);
}
.site-header__inner {
  --header-row-h: 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 76px; height: 76px;
}
.site-header__end {
  display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2rem);
  margin-left: auto; min-width: 0;
}
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2.2rem); }
.site-nav a:not(.btn) {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--header-row-h);
  padding-block: 0;
  line-height: 1;
  color: var(--ink-dim); font-weight: 500; font-size: .96rem; position: relative;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 8px; height: 2px; width: 0;
  background: var(--brand); border-radius: 2px; transition: width .3s var(--ease);
}
.site-nav a:not(.btn):hover { color: var(--ink); }
.site-nav a:not(.btn):hover::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: .9rem; flex: none; }
.header-actions .btn {
  --pad-y: 0; --pad-x: 1.2em;
  min-height: var(--header-row-h);
  padding-block: 0;
  font-size: .94rem;
  line-height: 1;
  box-shadow: 0 10px 28px -14px rgba(31, 224, 106, .38);
}

/* Logo (SVG animé : balle le long de l'arc, pilotée par main.js) */
.logo { display: inline-flex; align-items: center; flex: none; min-height: var(--header-row-h); }
.logo__img, .logo__svg { display: block; height: 32px; width: auto; }
.logo__ball { fill: #fff; }
.logo--animated .logo__ball:not([data-logo-ball-init="1"]) { opacity: 0; }

/* Burger */
.nav-toggle { display: none; background: rgba(255,255,255,.05); border: 1px solid var(--line); border-radius: var(--r-sm); width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.nav-toggle svg { width: 22px; height: 22px; color: var(--ink); }
.site-nav__cta { display: none; }

/* Lien d'évitement (accessibilité) */
.skip-link {
  position: absolute; left: max(var(--gutter), env(safe-area-inset-left, 0px)); top: .6rem; z-index: calc(var(--z-header) + 1);
  padding: .55em 1em; border-radius: var(--r-sm);
  background: var(--brand); color: var(--on-brand); font-weight: 600; font-size: .9rem;
  transform: translateY(-140%); transition: transform .25s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: clip; padding-top: clamp(48px, 8vw, 96px); padding-bottom: clamp(64px, 9vw, 128px); }
.hero__bg { position: absolute; inset: 0; z-index: var(--z-bg); pointer-events: none; }
.hero__glow {
  position: absolute; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  left: 50%; top: -12%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(31,224,106,.16), rgba(31,224,106,0) 62%);
  filter: blur(10px);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero__inner { position: relative; z-index: var(--z-base); text-align: center; max-width: 980px; margin-inline: auto; }
.hero h1 { margin-top: .5rem; }
.hero h1 .pop { color: var(--brand); position: relative; }
.hero .lead { margin-inline: auto; margin-top: 1.6rem; text-align: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2.4rem; }
.hero__support { display: flex; justify-content: center; margin-top: 2rem; }
.hero__note { margin-top: 1.4rem; color: var(--faint); font-size: .9rem; display: inline-flex; align-items: center; gap: .5em; }

/* Widget « J'encourage » (style type J'aime) */
.support-widget {
  display: inline-flex; align-items: center; gap: 0;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.04);
  box-shadow: 0 8px 32px -12px rgba(0,0,0,.45);
  overflow: hidden;
}
.support-widget__btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .72em 1.15em .72em 1em;
  border: none; border-right: 1px solid var(--line);
  background: transparent; color: var(--ink-dim);
  font-weight: 600; font-size: .95rem;
  cursor: pointer; transition: background .25s var(--ease), color .25s var(--ease), transform .2s var(--ease);
}
.support-widget__btn:hover:not(:disabled) { background: rgba(31,224,106,.12); color: var(--brand-bright); }
.support-widget__btn:active:not(:disabled) { transform: scale(.97); }
.support-widget__btn:disabled { cursor: default; }
.support-widget__icon { display: inline-flex; width: 1.35em; height: 1.35em; color: var(--brand); transition: transform .35s var(--ease-soft), color .25s var(--ease); }
.support-widget__icon svg { width: 100%; height: 100%; }
.support-widget.is-liked .support-widget__btn { color: var(--brand-bright); background: rgba(31,224,106,.1); }
.support-widget.is-liked .support-widget__icon { color: var(--brand-bright); transform: scale(1.08); }
.support-widget.is-liked .support-widget__icon svg { fill: rgba(31,224,106,.25); }
.support-widget__count {
  display: inline-flex; align-items: baseline; gap: .35em;
  padding: .72em 1.15em .72em 1em;
  font-size: .95rem; color: var(--ink-dim); white-space: nowrap;
}
.support-widget__count strong {
  font-family: "Clash Display", sans-serif; font-weight: 600;
  font-size: 1.15rem; color: var(--ink);
  transition: transform .35s var(--ease-soft), color .25s var(--ease);
}
.support-widget.is-bump .support-widget__count strong { transform: scale(1.12); color: var(--brand-bright); }
.support-widget__suffix { font-size: .82rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) {
  .support-widget__count strong, .support-widget__icon { transition: none; }
}

/* badge "tarif libre" */
.pill {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .5em .95em; border-radius: 999px;
  background: rgba(31,224,106,.1); border: 1px solid rgba(31,224,106,.28);
  color: var(--brand-bright); font-weight: 600; font-size: .85rem;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(31,224,106,.6); }
@media (prefers-reduced-motion: no-preference) {
  .pill .dot { animation: ping-pulse 2.4s var(--ease) infinite; }
}
@keyframes ping-pulse {
  0% { box-shadow: 0 0 0 0 rgba(31,224,106,.55); }
  70% { box-shadow: 0 0 0 9px rgba(31,224,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,224,106,0); }
}

/* trajectoire de balle (motif signature) */
.trajectory { position: relative; margin: clamp(2rem, 5vw, 3.4rem) auto 0; max-width: 760px; aspect-ratio: 760 / 124; height: auto; }
.trajectory svg { width: 100%; height: 100%; overflow: visible; }
.trajectory .table-line { stroke: var(--line); stroke-width: 2; stroke-linecap: round; }
.trajectory .path { fill: none; stroke: url(#tg-grad); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 4 8; opacity: .7; }
.trajectory .ball {
  fill: var(--brand);
  offset-path: path("M8 96 C 60 20, 200 20, 250 96 C 300 40, 450 40, 500 96 C 560 30, 700 30, 752 30");
  offset-rotate: 0deg;
  offset-distance: 0%;
  filter: drop-shadow(0 0 9px rgba(31,224,106,.85));
}
.trajectory .ball-glow { fill: var(--brand); opacity: .9; }
@media (prefers-reduced-motion: no-preference) {
  .trajectory .ball { animation: ball-run 5.5s var(--ease) infinite alternate; }
}
@media (prefers-reduced-motion: reduce) {
  .trajectory .ball { offset-distance: 100%; }
}
@keyframes ball-run { from { offset-distance: 0%; } to { offset-distance: 100%; } }

/* ---------- Bandeau confiance ---------- */
.trust { border-block: 1px solid var(--line-soft); }
.trust__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); padding-block: 1.4rem; }
.trust__item { display: inline-flex; align-items: center; gap: .6em; color: var(--muted); font-size: .94rem; }
.trust__item svg { width: 1.2em; height: 1.2em; color: var(--brand); flex: none; }

/* ---------- Titres de section ---------- */
.section-head { max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 { margin-top: .9rem; }
.section-head p { margin-top: 1rem; color: var(--ink-dim); }

/* ---------- Outils ---------- */
.tools { margin-top: clamp(2.4rem, 5vw, 3.6rem); }
.tools--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.2vw, 1.8rem);
  align-items: stretch;
}
@media (max-width: 820px) {
  .tools--grid { grid-template-columns: 1fr; }
}

.tool {
  --acc: var(--brand);
  position: relative; overflow: hidden;
  background: linear-gradient(165deg, color-mix(in oklab, var(--surface) 92%, var(--acc) 8%), var(--bg-deep));
  border: 1px solid color-mix(in oklab, var(--acc) 22%, var(--line));
  border-radius: var(--r-lg);
  box-shadow: var(--shadow), inset 0 1px 0 color-mix(in oklab, var(--ink) 7%, transparent);
  display: flex; flex-direction: column;
  height: 100%;
  transition: border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tool::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: radial-gradient(120% 100% at 100% 0%, color-mix(in oklab, var(--acc) 22%, transparent), transparent 55%);
  transition: opacity .5s var(--ease);
}
.tool:hover {
  transform: translateY(-4px);
  border-color: color-mix(in oklab, var(--acc) 55%, var(--line));
  box-shadow: var(--shadow), 0 0 0 1px color-mix(in oklab, var(--acc) 18%, transparent), inset 0 1px 0 color-mix(in oklab, var(--ink) 10%, transparent);
}
.tool:hover::before { opacity: 1; }

.tool__body {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 2.6vw, 2.2rem);
  display: flex; flex-direction: column;
  flex: 1;
  min-height: clamp(340px, 34vw, 400px);
}
.tool__desc,
.tool__feats {
  max-width: min(100%, 42rem);
}
@media (min-width: 821px) {
  .tool__desc { padding-right: clamp(5rem, 18%, 9rem); }
  .tool__feats { max-width: calc(100% - 11rem); }
  .tool__cta { max-width: calc(100% - 12rem); }
}

/* Photo hero de l’app (filigrane bas / droite) : sujet lisible, hors texte */
.tool__deco {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(150px, 36%, 230px);
  height: clamp(120px, 34%, 170px);
  opacity: .58;
  pointer-events: none;
  z-index: 0;
  transition: opacity .45s var(--ease);
  -webkit-mask-image: radial-gradient(ellipse 95% 95% at 78% 78%, #000 52%, transparent 88%);
  mask-image: radial-gradient(ellipse 95% 95% at 78% 78%, #000 52%, transparent 88%);
}
.tool:hover .tool__deco { opacity: .72; }
.tool__deco-pic,
.tool__deco-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: brightness(1.12) contrast(1.06) saturate(0.95);
}
/* Affiner le cadrage selon le sujet de chaque hero */
.tool[data-slug="livecast"] .tool__deco-img { object-position: 28% 35%; }
.tool[data-slug="convocations"] .tool__deco-img { object-position: 70% 40%; }
.tool[data-slug="tournois"] .tool__deco-img { object-position: 50% 45%; }
.tool[data-slug="forum"] .tool__deco-img { object-position: 50% 40%; }
/* Stages : têtes en bas à droite, hors liste de features */
.tool[data-slug="stages"] .tool__deco {
  width: clamp(170px, 40%, 250px);
  height: clamp(130px, 32%, 165px);
  bottom: 0.35rem;
  right: 0.15rem;
  opacity: .7;
  filter: none;
  -webkit-mask-image: radial-gradient(ellipse 98% 98% at 70% 55%, #000 58%, transparent 90%);
  mask-image: radial-gradient(ellipse 98% 98% at 70% 55%, #000 58%, transparent 90%);
}
.tool[data-slug="stages"] .tool__deco-img {
  object-position: 50% 18%; /* têtes visibles en haut du cadre bas */
  filter: brightness(1.05) contrast(1.04) saturate(0.82);
}
.tool[data-slug="stages"]:hover .tool__deco { opacity: .82; }
.tool[data-slug="jefinancemonclub"] .tool__deco-img { object-position: 45% 35%; }
.tool[data-slug="ncauh"] .tool__deco-img { object-position: 50% 42%; }
@media (max-width: 820px) {
  .tool__deco {
    width: min(48%, 190px);
    height: 130px;
    opacity: .48;
  }
  .tool:hover .tool__deco { opacity: .62; }
  .tool[data-slug="stages"] .tool__deco {
    width: min(52%, 200px);
    height: 120px;
    opacity: .62;
  }
  .tool__feats { max-width: calc(100% - 7.5rem); }
  .tool__cta { max-width: calc(100% - 8rem); }
}
@media (prefers-reduced-motion: reduce) {
  .tool__deco,
  .tool:hover .tool__deco { transition: none; }
}

.tool[data-accent="orange"] { --acc: var(--orange); }
.tool[data-accent="green"] { --acc: var(--brand); }
.tool[data-accent="cyan"] { --acc: var(--cyan); }
.tool[data-accent="gold"] { --acc: var(--gold); }
.tool[data-accent="purple"] { --acc: var(--purple); }
.tool[data-accent="rose"] { --acc: var(--rose); }
.tool[data-accent="teal"] { --acc: var(--teal); }

.tool__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; }
.tool__logo {
  display: block;
  height: clamp(34px, 4vw, 42px);
  width: auto;
  max-width: min(220px, 70%);
  object-fit: contain;
  object-position: left center;
  flex: none;
}
.tool__status { font-size: .78rem; font-weight: 600; color: var(--acc); display: inline-flex; align-items: center; gap: .45em; flex: none; }
.tool__status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px color-mix(in oklab, var(--acc) 55%, transparent); }
.tool__status--soon { color: #f0b429; }
.tool__status--soon .dot { background: #f0b429; box-shadow: 0 0 8px color-mix(in oklab, #f0b429 55%, transparent); animation: tool-soon-pulse 2.4s ease-in-out infinite; }
@keyframes tool-soon-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
.tool--launching .tool__body { border-color: color-mix(in oklab, #f0b429 28%, var(--line-soft)); }
.tool__launch-note { margin-top: .75rem; padding: .65rem .85rem; border-radius: var(--r-md); background: color-mix(in oklab, #f0b429 10%, transparent); border: 1px solid color-mix(in oklab, #f0b429 24%, transparent); color: var(--ink-dim); font-size: .88rem; line-height: 1.5; }
.footer-tool-status { display: block; margin-top: .15rem; font-size: .72rem; font-weight: 600; letter-spacing: .02em; color: #f0b429; }
.tool__tag { color: var(--acc); font-weight: 600; font-size: .95rem; margin-top: 1rem; min-height: 2.6em; }
.tool__desc { color: var(--ink-dim); margin-top: .9rem; flex: 1; }
.tool__feats { list-style: none; padding: 0; margin-top: 1.2rem; display: grid; gap: .55rem; }
.tool__feats li { display: flex; align-items: center; gap: .6em; color: var(--muted); font-size: .94rem; }
.tool__feats svg { width: 1.05em; height: 1.05em; color: var(--acc); flex: none; }
.tool__cta { margin-top: auto; padding-top: 1.6rem; }
.tool__cta .link-arrow { color: var(--acc); }

/* ---------- Communauté (bande humaine en fond photo) ---------- */
.community {
  position: relative; isolation: isolate; overflow: clip;
  display: grid; align-items: center;
  min-height: clamp(420px, 62vw, 620px);
  padding-block: clamp(64px, 9vw, 130px);
}
.community__bg {
  position: absolute; inset: 0; z-index: -2;
  background: url("/assets/img/community.jpg") center right / cover no-repeat;
  background-image: -webkit-image-set(url("/assets/img/community.webp") type("image/webp"), url("/assets/img/community.jpg") type("image/jpeg"));
  background-image: image-set(url("/assets/img/community.webp") type("image/webp"), url("/assets/img/community.jpg") type("image/jpeg"));
  transform: scale(1.02);
}
.community__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, var(--bg) 4%, rgba(10,12,36,.86) 32%, rgba(10,12,36,.30) 66%, rgba(10,12,36,.55) 100%),
    linear-gradient(180deg, var(--bg), transparent 16%, transparent 80%, var(--bg));
}
.community__inner { position: relative; }
.community__text { max-width: 560px; }
.community__text h2 { margin-top: .9rem; }
.community__text .lead { margin-top: 1.1rem; color: var(--ink); }
.community__tags { list-style: none; padding: 0; margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.community__tags li {
  padding: .5em 1em; border-radius: 999px; font-size: .88rem; font-weight: 500;
  color: var(--ink-dim);
  background: rgba(10,12,36,.55); border: 1px solid var(--line);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
@media (max-width: 720px) {
  .community { min-height: 0; }
  .community__bg { background-position: 70% center; }
  .community__veil {
    background:
      linear-gradient(180deg, var(--bg) 2%, rgba(10,12,36,.55) 30%, rgba(10,12,36,.80) 70%, var(--bg) 98%);
  }
  .community__text .lead { color: var(--ink-dim); }
}

/* ---------- Tarif libre ---------- */
.tarif { position: relative; overflow: hidden; }
.tarif__panel {
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(31,224,106,.12), transparent 50%),
    linear-gradient(180deg, var(--surface), var(--bg-deep));
  padding: clamp(2rem, 5vw, 4.5rem);
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.tarif__steps { display: grid; gap: 1rem; }
.tarif__step { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--r-md); background: rgba(255,255,255,.02); }
.tarif__num { font-family: "Clash Display", sans-serif; font-weight: 600; font-size: 1.3rem; color: var(--brand); flex: none; width: 1.6em; }
.tarif__step h4 { font-size: 1.05rem; }
.tarif__step p { color: var(--muted); font-size: .94rem; margin-top: .25rem; }

/* ---------- À propos / initiateur du projet ---------- */
.creator { display: grid; grid-template-columns: 320px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.creator__card {
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  background: linear-gradient(180deg, var(--surface), var(--bg-deep));
}
.creator__avatar {
  aspect-ratio: 4 / 5; display: grid; place-items: center; position: relative; overflow: hidden;
  background:
    radial-gradient(100% 100% at 30% 20%, rgba(31,224,106,.22), transparent 60%),
    var(--bg-deep);
}
.creator__avatar::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(7,8,26,.55) 100%);
}
.creator__photo {
  width: 100%; height: 100%; object-fit: cover; object-position: center 22%;
  display: block;
}
.creator__monogram { font-family: "Clash Display", sans-serif; font-weight: 600; font-size: 5rem; color: var(--ink); letter-spacing: -.04em; }
.creator__meta { padding: 1.3rem 1.4rem; border-top: 1px solid var(--line); }
.creator__meta .name { font-family: "Clash Display", sans-serif; font-weight: 600; font-size: 1.25rem; }
.creator__meta .role { color: var(--brand-bright); font-size: .9rem; margin-top: .15rem; }
.creator__body p + p { margin-top: 1rem; color: var(--ink-dim); }
.creator__soon { margin-top: 1.4rem; font-size: .88rem; color: var(--faint); font-style: italic; }
.creator__cta { margin-top: 1.6rem; }

/* ---------- Interview initiateur ---------- */
.page-interview {
  --interview-read: clamp(1.02rem, .98rem + .22vw, 1.12rem);
}
.interview-page {
  position: relative;
  isolation: isolate;
  overflow: clip;
}
.interview-atmosphere {
  position: absolute;
  inset: 0;
  z-index: var(--z-bg);
  pointer-events: none;
  overflow: hidden;
}
.interview-atmosphere__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
}
.interview-atmosphere__glow--brand {
  width: min(72vw, 820px);
  height: min(72vw, 820px);
  left: -12%;
  top: -8%;
  background: radial-gradient(circle, rgba(31,224,106,.2), rgba(31,224,106,0) 68%);
}
.interview-atmosphere__glow--cyan {
  width: min(58vw, 640px);
  height: min(58vw, 640px);
  right: -18%;
  top: 8%;
  background: radial-gradient(circle, rgba(33,158,188,.14), rgba(33,158,188,0) 70%);
}
.interview-atmosphere__glow--deep {
  width: min(90vw, 980px);
  height: min(70vw, 720px);
  left: 20%;
  top: 42%;
  background: radial-gradient(circle, rgba(31,224,106,.07), transparent 72%);
  opacity: .85;
}
.interview-atmosphere__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 85% 55% at 50% 18%, #000 20%, transparent 78%);
          mask-image: radial-gradient(ellipse 85% 55% at 50% 18%, #000 20%, transparent 78%);
}
.interview-atmosphere__orb {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  right: 18%;
  top: 22%;
  background: var(--brand);
  box-shadow:
    0 0 0 6px rgba(31,224,106,.12),
    0 0 28px rgba(31,224,106,.55);
  opacity: .85;
}
@media (prefers-reduced-motion: no-preference) {
  .interview-atmosphere__orb {
    animation: interview-orb 7s var(--ease-soft) infinite alternate;
  }
  .interview-atmosphere__glow--brand {
    animation: interview-glow 10s var(--ease-soft) infinite alternate;
  }
}
@keyframes interview-orb {
  from { transform: translate(0, 0) scale(1); opacity: .7; }
  to { transform: translate(-28px, 42px) scale(1.15); opacity: 1; }
}
@keyframes interview-glow {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(4%, 3%) scale(1.06); }
}

.interview-hero {
  position: relative;
  z-index: var(--z-base);
  padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px);
}
.interview-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 360px);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}
.interview-hero__kicker {
  margin-top: 1.1rem;
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, .95rem + .4vw, 1.25rem);
  color: var(--ink);
  letter-spacing: -.01em;
}
.interview-hero__headline {
  margin-top: .55rem;
  position: relative;
  font-size: clamp(1.85rem, 1.25rem + 2.4vw, 3.15rem);
  line-height: 1.2;
  letter-spacing: 0.01em;
  word-spacing: 0.1em;
  max-width: 24ch;
  padding-left: .15em;
}
.interview-hero__mark {
  position: absolute;
  left: -.42em;
  top: -.18em;
  font-size: 1.35em;
  line-height: 1;
  color: var(--brand);
  opacity: .9;
  pointer-events: none;
}
.interview-hero__quote { display: inline; }
.interview-hero__intro {
  margin-top: 1.25rem;
  max-width: 58ch;
  color: var(--muted);
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
  -webkit-hyphens: auto;
  font-size: var(--interview-read);
  line-height: 1.7;
}
.interview-hero__meta {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.2rem;
  align-items: center;
}
.interview-hero__role {
  color: var(--brand-bright);
  font-weight: 600;
  font-size: .95rem;
}

.interview-portrait {
  position: relative;
  max-width: 360px;
  margin-inline: auto 0;
}
.interview-portrait__ring {
  position: absolute;
  inset: -10% -12% -6% -8%;
  border-radius: 42% 58% 48% 52% / 44% 42% 58% 56%;
  background:
    radial-gradient(circle at 30% 25%, rgba(31,224,106,.35), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(33,158,188,.22), transparent 50%);
  filter: blur(18px);
  opacity: .95;
  z-index: 0;
}
.interview-portrait__frame {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    0 30px 80px -28px rgba(0,0,0,.75),
    0 0 0 1px rgba(31,224,106,.12);
  background:
    radial-gradient(100% 100% at 30% 20%, rgba(31,224,106,.22), transparent 60%),
    var(--bg-deep);
  display: grid;
  place-items: center;
  transform: rotate(1.25deg);
}
.interview-portrait__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 48%, rgba(7,8,26,.55) 100%),
    linear-gradient(135deg, rgba(255,255,255,.08), transparent 42%);
}
.interview-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  display: block;
}
.interview-portrait__monogram {
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  font-size: 4.5rem;
  letter-spacing: -.04em;
}

.interview-body {
  position: relative;
  z-index: var(--z-base);
  padding-block: clamp(28px, 4vw, 48px) clamp(72px, 9vw, 130px);
}
.interview-body__inner {
  max-width: 52rem;
}
.interview-list {
  display: grid;
  gap: clamp(1.6rem, 3vw, 2.2rem);
  counter-reset: none;
}
.interview-qa {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 2.5vw, 1.6rem);
  padding: clamp(1.35rem, 2.4vw, 1.9rem) clamp(1.2rem, 2.2vw, 1.75rem);
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  background:
    linear-gradient(165deg, rgba(18,21,58,.55), rgba(7,8,26,.28));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
  transition: border-color .35s var(--ease), background-color .35s var(--ease), transform .35s var(--ease);
}
.interview-qa:hover {
  border-color: rgba(31,224,106,.18);
  background:
    linear-gradient(165deg, rgba(18,21,58,.72), rgba(7,8,26,.4));
}
.interview-qa__index {
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  font-size: clamp(1.35rem, 1.1rem + .7vw, 1.75rem);
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--brand);
  padding-top: .15rem;
  text-shadow: 0 0 24px rgba(31,224,106,.35);
  min-width: 1.7em;
}
.interview-qa__q {
  font-family: "Clash Display", sans-serif;
  font-weight: 600;
  font-size: clamp(1.18rem, 1.05rem + .55vw, 1.5rem);
  letter-spacing: 0.01em;
  word-spacing: 0.08em;
  text-wrap: balance;
  line-height: 1.35;
}
.interview-qa__a {
  margin-top: 1rem;
}
.interview-qa__a p {
  color: var(--ink-dim);
  max-width: 65ch;
  text-align: justify;
  text-wrap: pretty;
  hyphens: auto;
  -webkit-hyphens: auto;
  font-size: var(--interview-read);
  line-height: 1.72;
}
.interview-qa__a p + p { margin-top: .95rem; }

.interview-cta {
  margin-top: clamp(2.8rem, 6vw, 4.2rem);
  padding: clamp(1.8rem, 4vw, 2.8rem);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: clamp(1.4rem, 3vw, 2.4rem);
  align-items: center;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(31,224,106,.14), transparent 52%),
    radial-gradient(90% 80% at 100% 100%, rgba(33,158,188,.1), transparent 48%),
    linear-gradient(180deg, var(--surface), var(--bg-deep));
  box-shadow: var(--shadow);
}
.interview-cta__copy h2 {
  margin-top: .7rem;
  font-size: clamp(1.55rem, 1.25rem + 1.1vw, 2.15rem);
  max-width: 18ch;
}
.interview-cta__copy p {
  margin-top: .9rem;
  color: var(--ink-dim);
  max-width: 42ch;
  line-height: 1.65;
}
.interview-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  justify-content: flex-end;
}

@media (max-width: 860px) {
  .interview-cta {
    grid-template-columns: 1fr;
  }
  .interview-cta__actions {
    justify-content: flex-start;
  }
}
@media (max-width: 720px) {
  .interview-hero__grid { grid-template-columns: 1fr; }
  .interview-hero__headline { max-width: none; }
  .interview-hero__portrait { max-width: 280px; order: -1; }
  .interview-portrait { margin-inline: 0; }
  .interview-portrait__frame { transform: none; }
  .interview-qa {
    grid-template-columns: 1fr;
    gap: .7rem;
  }
  .interview-atmosphere__orb { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .interview-atmosphere__orb,
  .interview-atmosphere__glow--brand { animation: none; }
  .interview-qa { transition: none; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.contact__aside .lead { margin-top: 1rem; }
.contact__direct { margin-top: 1.8rem; display: grid; gap: .9rem; }
.contact__direct a { display: inline-flex; align-items: center; gap: .6em; color: var(--ink); font-weight: 500; }
.contact__direct svg { width: 1.2em; height: 1.2em; color: var(--brand); }

.form {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--surface), var(--bg-deep));
  padding: clamp(1.4rem, 3vw, 2.2rem);
  display: grid; gap: 1.1rem;
}
.field { display: grid; gap: .45rem; }
.field--row { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px) { .field--row { grid-template-columns: 1fr; } }
.field label { font-size: .88rem; font-weight: 600; color: var(--ink-dim); }
.field .req { color: var(--brand); }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: .8em .95em;
  background: var(--bg-deep); border: 1px solid var(--line); border-radius: var(--r-sm);
  color: var(--ink); transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: #5a5f93; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31,224,106,.18);
}
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field--turnstile { margin: 0; min-height: 0; }
.field--turnstile-discrete { opacity: .92; }
.field--turnstile-discrete .cf-turnstile:empty { display: none; }
.form__turnstile-hint,
.form__turnstile-wait {
  margin: 0 0 .35rem;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.4;
}
.form__turnstile-wait { color: var(--ink-dim); }
.form__consent-wait {
  margin: -.25rem 0 .5rem;
  font-size: .88rem;
  color: #e25c5c;
  line-height: 1.45;
}
.form__submit:disabled {
  opacity: .55;
  cursor: not-allowed;
  pointer-events: none;
}
.form__consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--muted); line-height: 1.5; }
.form__consent input { margin-top: .25rem; accent-color: var(--brand); width: 18px; height: 18px; flex: none; }
.form__consent a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.form__consent a:hover { color: var(--brand-bright); }
.form__submit { margin-top: .3rem; }

.alert { padding: .9rem 1.1rem; border-radius: var(--r-sm); font-size: .94rem; border: 1px solid; }
.alert--ok { background: rgba(31,224,106,.1); border-color: rgba(31,224,106,.35); color: var(--brand-bright); }
.alert--err { background: rgba(255,106,26,.1); border-color: rgba(255,106,26,.4); color: var(--orange-soft); }

/* ---------- Beta testeurs ---------- */
.beta-section { background: linear-gradient(180deg, transparent, rgba(18,21,58,.45) 40%, transparent); }
.beta-perks { list-style: none; padding: 0; margin-top: 1.4rem; display: grid; gap: .75rem; }
.beta-perks li {
  display: flex; align-items: center; gap: .65em;
  color: var(--ink-dim); font-size: .98rem;
}
.beta-perks svg { width: 1.1em; height: 1.1em; flex: none; color: var(--brand); }

.choice-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: .2rem; }
.choice {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .65em 1em; border: 1px solid var(--line); border-radius: 999px;
  background: var(--bg-deep); cursor: pointer;
  font-size: .92rem; font-weight: 500; color: var(--ink-dim);
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.choice:has(input:checked) { border-color: var(--brand); background: rgba(31,224,106,.1); color: var(--brand-bright); }
.choice input { accent-color: var(--brand); width: 16px; height: 16px; }

fieldset.field { border: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
fieldset.field legend { font-size: .88rem; font-weight: 600; color: var(--ink-dim); padding: 0; }

.form--beta textarea { min-height: 110px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); background: var(--bg-deep); padding-block: clamp(3rem, 6vw, 5rem) 0; --apps-carousel-line: var(--line-soft); --apps-carousel-muted: var(--faint); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.footer__brand .lead { font-size: 1rem; margin-top: 1rem; max-width: 38ch; color: var(--muted); }
.footer__col h5 { font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); font-family: "Switzer", sans-serif; font-weight: 600; }
.footer__col ul { list-style: none; padding: 0; margin-top: 1rem; display: grid; gap: .65rem; }
.footer__col a { color: var(--ink-dim); font-size: .96rem; }
.footer__col a:hover { color: var(--brand); }
.footer__bottom { margin-top: clamp(2.4rem, 5vw, 3.5rem); padding-top: 1.6rem; padding-bottom: clamp(1.6rem, 3vw, 2.2rem); border-top: 1px solid var(--line-soft); display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; color: var(--faint); font-size: .88rem; }
.footer__bottom a:hover { color: var(--ink); }

/* Volet partage viral (aligné écosystème MyPing) */
.footer__share {
  margin-top: clamp(2rem, 4vw, 2.8rem);
  display: flex;
  justify-content: center;
}
.footer-support {
  margin: 0;
  max-width: 420px;
  width: 100%;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
  padding: 0 14px;
}
.footer-support-toggle {
  cursor: pointer;
  list-style: none;
  padding: 12px 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--brand-bright);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.footer-support-ic { margin-right: 6px; font-size: 15px; line-height: 1; flex-shrink: 0; }
.footer-support-label { display: flex; align-items: center; min-width: 0; flex: 1; text-align: left; }
.footer-support-toggle::-webkit-details-marker { display: none; }
.footer-support-toggle::after { content: "▾"; color: var(--muted); font-size: 12px; flex-shrink: 0; }
.footer-support[open] .footer-support-toggle::after { content: "▴"; }
.footer-support-body { padding: 0 0 14px; }
.footer-support-desc {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--muted);
}
.footer-share-actions { margin-top: 0; }
.share-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.share-act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: border-color .15s var(--ease), transform .08s var(--ease);
}
.share-act:hover { border-color: var(--brand); }
.share-act:active { transform: scale(.97); }
.share-act .share-ic { font-size: 16px; }
.share-wa:hover { border-color: #25d366; }
.app-share-toast {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-toast);
  padding: .65rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s var(--ease);
}
.app-share-toast.is-visible { opacity: 1; }


/* ---------- Prose (pages légales) ---------- */
.page-hero { padding-block: clamp(56px, 8vw, 96px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem); }
.page-hero p { color: var(--muted); margin-top: 1rem; }
.prose { max-width: 75ch; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 2.6rem; }
.prose h3 { margin-top: 1.8rem; }
.prose p, .prose li { color: var(--ink-dim); }
.prose p { margin-top: 1rem; }
.prose ul, .prose ol { margin-top: 1rem; padding-left: 1.3rem; display: grid; gap: .5rem; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(31,224,106,.4); }
.prose a:hover { text-decoration-color: var(--brand); }
.prose strong { color: var(--ink); }
.prose .updated { color: var(--faint); font-size: .9rem; }

/* ---------- FAQ ---------- */
.faq-list { display: grid; gap: .75rem; }
.faq-item {
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  background: color-mix(in oklab, var(--surface) 88%, transparent);
  overflow: hidden;
}
.faq-item[open] { border-color: color-mix(in oklab, var(--brand) 28%, var(--line)); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--ink);
  min-height: 3.25rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex: none;
  width: .55rem;
  height: .55rem;
  border-right: 2px solid var(--brand);
  border-bottom: 2px solid var(--brand);
  transform: rotate(45deg);
  transition: transform .25s var(--ease);
  margin-top: -.2rem;
}
.faq-item[open] summary::after { transform: rotate(225deg); margin-top: .15rem; }
.faq-item__body {
  padding: 0 1.15rem 1.15rem;
  border-top: 1px solid var(--line-soft);
}
.faq-item__body p {
  margin-top: .9rem;
  color: var(--ink-dim);
  text-wrap: pretty;
  max-width: 65ch;
}
.faq-cta {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 1.35rem 1.4rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-soft);
  background: linear-gradient(160deg, color-mix(in oklab, var(--brand) 10%, var(--surface)), var(--surface));
  text-align: center;
}
.faq-cta p { color: var(--ink-dim); }
.faq-cta__actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .75rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after { transition: none; }
}

/* Tableau cookies (page confidentialité) */
.cookie-table { width: 100%; margin-top: 1rem; border-collapse: collapse; font-size: .9rem; }
.cookie-table th, .cookie-table td { padding: .65rem .75rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.cookie-table th { background: var(--surface); color: var(--ink); font-weight: 600; }
.cookie-table td { color: var(--ink-dim); }
.cookie-table code { font-size: .85em; color: var(--brand-bright); }

/* Bannière cookies (informationnelle - cookies strictement nécessaires) */
.cookie-banner {
  position: fixed; inset-inline: 0; bottom: 0; z-index: var(--z-toast);
  padding: max(.75rem, env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) max(1rem, env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  background: rgba(7, 8, 26, .94); border-top: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transform: translateY(100%); transition: transform .45s var(--ease);
}
.cookie-banner.is-visible { transform: translateY(0); }
.cookie-banner[hidden] { display: block; visibility: hidden; }
.cookie-banner.is-visible[hidden] { visibility: visible; }
.cookie-banner__inner { max-width: var(--maxw); margin-inline: auto; display: grid; gap: .75rem; }
.cookie-banner__title { font-weight: 600; color: var(--ink); font-size: .95rem; }
.cookie-banner__text { color: var(--muted); font-size: .88rem; line-height: 1.5; max-width: 72ch; }
.cookie-banner__text strong { color: var(--ink-dim); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; }
.cookie-banner__link {
  display: inline-flex; align-items: center;
  min-height: 44px; padding-block: .5em;
  color: var(--brand); font-size: .88rem; font-weight: 500;
  text-decoration: underline; text-underline-offset: 3px;
}
.cookie-banner__ok { font-size: .9rem; padding: .65em 1.2em; }

body.nav-locked { overflow: hidden; }

/* ---------- Reveal au scroll ---------- */
[data-reveal] { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-soft), transform .7s var(--ease-soft); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js [data-reveal][data-reveal="2"] { transition-delay: .08s; }
  .js [data-reveal][data-reveal="3"] { transition-delay: .16s; }
  .js [data-reveal][data-reveal="4"] { transition-delay: .24s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .tarif__panel { grid-template-columns: 1fr; }
  .creator { grid-template-columns: 1fr; }
  .creator__card { max-width: 360px; margin-inline: auto; }
  .contact { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .site-header__end { gap: 0; }
  .site-nav, .header-actions .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions { gap: 0; }
  /* voile derrière le menu mobile */
  body.nav-locked::before {
    content: "";
    position: fixed; inset: 0; top: 76px;
    background: rgba(7, 8, 26, .78);
    z-index: calc(var(--z-header) - 1);
  }
  /* menu mobile ouvert */
  .site-header.nav-open .site-header__end { display: contents; }
  .site-header.nav-open .site-nav {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 0; right: 0; top: 76px; z-index: var(--z-header);
    background: var(--bg);
    padding: 1rem var(--gutter) 1.6rem; gap: .4rem;
    border-bottom: 1px solid var(--line);
    min-height: calc(100dvh - 76px);
    max-height: calc(100dvh - 76px); overflow-y: auto;
  }
  .site-header.nav-open .site-nav a:not(.site-nav__cta) {
    min-height: auto;
    display: flex;
    align-items: center;
    padding-block: .8em;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line-soft);
  }
  .site-header.nav-open .site-nav a::after { display: none; }
  .site-header.nav-open .site-nav__cta { display: inline-flex; margin-top: .8rem; justify-content: center; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .trust__row { gap: 1rem 1.5rem; }
  .trust__item { font-size: .88rem; }
  .contact__direct a { word-break: break-all; }
  .cookie-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 480px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
  .tarif__step { flex-direction: column; gap: .5rem; }
}
