/* Think Her Way — landing. Tokens issus du design system Think Her Way (thème sombre). */

@font-face {
  font-family: "Work Sans";
  src: url("/fonts/WorkSans-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --surface: #000000;
  --surface-raised: #141214;
  --surface-magenta-soft: #3d0f28;
  --ink: #ffffff;
  --ink-muted: #b3adb0;
  --magenta: #d10184;
  --magenta-text: #ff5cb4;
  --on-magenta: #ffffff;
  --border: #3a3437;
  --border-strong: #6e666a;
  --focus-ring: var(--magenta-text);
  --danger: #ff6b6b;
  --success: #47b6e0;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  --radius-sm: 4px; --radius-md: 12px; --radius-pill: 9999px;

  --font-sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body {
  margin: 0; background: var(--surface); color: var(--ink);
  font-family: var(--font-sans); font-size: 17px; line-height: 28px; font-weight: 400;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
a { color: var(--magenta-text); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: var(--radius-sm); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--space-6); }
@media (max-width: 640px) { .wrap { padding: 0 var(--space-4); } }

.skip { position: absolute; left: var(--space-4); top: -100px; z-index: 10; background: var(--magenta); color: var(--on-magenta); padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); }
.skip:focus { top: var(--space-4); }

/* Type styles (design system) */
.display { font-size: clamp(44px, 7vw, 76px); line-height: 1; font-weight: 800; letter-spacing: -0.02em; }
.h1 { font-size: clamp(30px, 4vw, 40px); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.h2 { font-size: clamp(24px, 3vw, 28px); line-height: 34px; font-weight: 700; }
.lead { font-size: 20px; line-height: 32px; color: var(--ink-muted); }
.body-lg { font-size: 20px; line-height: 32px; }
.label { font-size: 13px; line-height: 16px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--magenta-text); margin-bottom: var(--space-4); }
.caption { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.muted { color: var(--ink-muted); }

/* Brush underline: magenta pill under a phrase, as in the logo */
.underline { position: relative; display: inline-block; padding-bottom: 0.12em; }
.underline::after {
  content: ""; position: absolute; left: -0.08em; right: 0.04em; bottom: -0.06em; height: 0.11em;
  background: var(--magenta); border-radius: var(--radius-pill); transform: rotate(-1.2deg); transform-origin: left;
}

mark { background: none; color: var(--ink); font-weight: 600; box-shadow: inset 0 -0.35em 0 var(--surface-magenta-soft); }
.accent { color: var(--magenta-text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  min-height: 48px; padding: var(--space-3) var(--space-6);
  font: 600 16px/1 var(--font-sans); text-decoration: none; cursor: pointer;
  border-radius: var(--radius-pill); border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--magenta); color: var(--on-magenta); }
.btn--primary:hover { background: #b0006e; color: var(--on-magenta); }
.btn--ghost { color: var(--ink); border-color: var(--border-strong); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--sm { min-height: 40px; padding: var(--space-2) var(--space-4); font-size: 15px; }
.icon { width: 18px; height: 18px; fill: currentColor; flex: none; }

.link { font-weight: 600; text-decoration: none; }
.link:hover { text-decoration: underline; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(0, 0, 0, .88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: var(--space-3); color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 56px; height: 56px; }
@media (max-width: 480px) { .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* Hero */
.hero { padding: var(--space-16) 0 var(--space-12); }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: var(--space-12); }
.hero__text .lead { margin-top: var(--space-8); max-width: 34ch; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.hero__logo img { width: 100%; max-width: 460px; margin-left: auto; }
@media (max-width: 860px) {
  .hero { padding-top: var(--space-8); }
  .hero__grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .hero__logo { order: -1; }
  .hero__logo img { max-width: 280px; margin: 0 auto; }
}

/* Sections */
.section { padding: var(--space-16) 0; }
.section--raised { background: var(--surface-raised); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; margin-bottom: var(--space-8); }
.section__head .label { margin-bottom: var(--space-2); }

.intro { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--space-16); }
.intro .label { grid-column: 1 / -1; }
.intro__body { display: grid; gap: var(--space-6); align-content: start; }
.intro__body p:not(.body-lg) { color: var(--ink-muted); }
.intro__body strong { color: var(--ink); }
@media (max-width: 860px) { .intro { grid-template-columns: 1fr; row-gap: var(--space-8); } }

/* Video facade */
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-md); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { all: unset; position: absolute; inset: 0; cursor: pointer; display: grid; place-items: center; }
.video__play:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -4px; }
.video__poster { position: absolute; inset: 0; background: var(--surface); }
.video__crown { position: absolute; right: 8%; top: 12%; display: flex; gap: 6%; width: 22%; align-items: flex-start; }
.video__crown i { display: block; flex: 1; aspect-ratio: 1; max-width: 28px; border-radius: 50%; background: var(--magenta); }
.video__crown i:nth-child(2) { margin-top: -10%; }
.video__poster::after { content: ""; position: absolute; left: 8%; right: 40%; bottom: 16%; height: 10px; border-radius: var(--radius-pill); background: var(--magenta); transform: rotate(-1.2deg); }
.video__btn { position: relative; width: 88px; height: 88px; border-radius: 50%; background: var(--magenta); display: grid; place-items: center; transition: transform .15s ease; }
.video__btn svg { width: 36px; height: 36px; fill: var(--on-magenta); margin-left: 4px; }
.video__play:hover .video__btn { transform: scale(1.06); }
.video__note { position: absolute; left: var(--space-6); right: var(--space-6); bottom: var(--space-4); text-align: center; font-size: 13px; line-height: 18px; color: var(--ink-muted); }
@media (max-width: 640px) { .video__btn { width: 64px; height: 64px; } .video__btn svg { width: 28px; height: 28px; } .video__note { display: none; } }

/* Programme */
.programme { list-style: none; margin: var(--space-8) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--space-4); }
.programme li { background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-6); display: grid; gap: var(--space-4); align-content: start; }
.programme__num { font-size: 28px; line-height: 1; font-weight: 800; color: var(--magenta); }
.programme p { font-size: 17px; line-height: 26px; }

/* Statement */
.statement { background: var(--surface-magenta-soft); padding: var(--space-16) 0; }
.statement blockquote { margin: 0; max-width: 900px; }
.statement p { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.25; font-weight: 700; letter-spacing: -0.01em; }

/* Newsletter */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-12); align-items: start; }
.newsletter .h2 { margin-bottom: var(--space-4); }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; gap: var(--space-6); } }
.form { display: grid; gap: var(--space-3); }
.form__label { font-weight: 600; font-size: 15px; }
.form__row { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.form__input {
  flex: 1 1 240px; min-height: 48px; padding: 0 var(--space-4);
  font: 400 16px/1 var(--font-sans); color: var(--ink);
  background: var(--surface-raised); border: 1px solid var(--border-strong); border-radius: var(--radius-pill);
}
.form__input::placeholder { color: var(--ink-muted); opacity: 1; }
.form__input[aria-invalid="true"] { border-color: var(--danger); }
.form__legal { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.form__status { min-height: 24px; font-weight: 600; font-size: 15px; }
.form__status[data-state="ok"] { color: var(--success); }
.form__status[data-state="error"] { color: var(--danger); }
.form button[disabled] { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: var(--space-12) 0; }
.site-footer__inner { display: flex; justify-content: space-between; gap: var(--space-8); flex-wrap: wrap; align-items: end; }
.site-footer__sign { font-size: 28px; line-height: 34px; font-weight: 800; }
.site-footer__sign span { color: var(--ink-muted); font-weight: 500; font-size: 17px; }
.site-footer__meta { display: grid; gap: var(--space-3); justify-items: end; }
.site-footer__meta .label { margin: 0; color: var(--ink-muted); }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-6); }
@media (max-width: 640px) { .site-footer__meta { justify-items: start; } }

/* Legal page */
.legal { padding: var(--space-12) 0 var(--space-16); max-width: 760px; }
.legal h1 { margin-bottom: var(--space-8); }
.legal h2 { font-size: 22px; line-height: 30px; margin: var(--space-8) 0 var(--space-3); }
.legal p, .legal li { color: var(--ink-muted); }
.legal p + p { margin-top: var(--space-3); }
.todo { color: var(--danger); font-weight: 600; }
.legal .lead { margin-top: var(--space-6); }
