/* ==========================================================================
   REVS WATCHES — Landing page
   Colors & typography come from revs-tokens.css (imported before this file
   in index.html) — do not redeclare font-family/color values here, use the
   .text-* / .c-* utility classes in markup. This file only owns layout,
   spacing, borders and component structure.

   Signature motif = "resting needle": a thin tick that rotates into place
   on hover / scroll-reveal, echoing a gauge needle settling — used across
   nav, eyebrows and CTAs instead of generic scroll-parallax effects.
   ========================================================================== */

:root {
  --hairline: var(--grey-mid);
  --wrap: min(1280px, 100% - 48px);
  --section-pad: clamp(64px, 7vw, 104px);
}

@media (min-width: 700px) {
  :root { --wrap: min(1280px, 100% - 96px); }
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, ul, fieldset { margin: 0; padding: 0; }
ul { list-style: none; }
fieldset { border: none; }
img { max-width: 100%; display: block; }
button { font: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: var(--wrap); margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* Honeypot anti-spam field — off-screen rather than display:none, since
   some bots skip fields hidden that obviously. Real visitors never see or
   reach it (aria-hidden + tabindex="-1" in the markup). */
.hp-field {
  position: absolute; left: -9999px; top: -9999px;
}

a { color: inherit; }

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

/* ---- Utility (not part of the official token file — page-local helpers) ---- */
.u-italic { font-style: italic; }
.u-strong { font-weight: 600; }

/* ---- Signature motif: the needle ---- */
.needle {
  display: inline-block;
  width: 14px;
  height: 2px;
  background: var(--yellow);
  transform-origin: left center;
  transform: rotate(-18deg);
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.needle--vertical {
  width: 2px;
  height: 20px;
  transform-origin: center top;
  transform: rotate(0deg);
}

a:hover > .needle,
.btn:hover .needle {
  transform: rotate(0deg);
}

/* ---- Eyebrow (layout only — apply .text-label-lg/sm + .c-yellow/.c-red in markup) ---- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}

/* ---- Fragment placeholders (un-shot photography stand-ins) ---- */
.fragment-placeholder {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(245, 196, 0, 0.08), transparent 55%),
    repeating-linear-gradient(90deg, rgba(244,241,236,0.035) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(244,241,236,0.035) 0 1px, transparent 1px 64px),
    linear-gradient(160deg, #1c1a17 0%, #080808 65%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.fragment-placeholder__label {
  border: 1px solid var(--hairline);
  padding: 6px 10px;
  text-transform: none;
}

.fragment-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-block: 18px;
  transition: background-color 0.4s ease, border-color 0.4s ease, padding 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-solid {
  background: rgba(8, 8, 8, 0.9);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--hairline);
  padding-block: 14px;
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.mark__logo {
  height: 68px;
  width: auto;
  display: block;
}

.site-header__right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.primary-nav {
  display: none;
  align-items: center;
  gap: 32px;
}

.primary-nav a { text-decoration: none; color: var(--grey-light); transition: color 0.3s ease; }
.primary-nav a:hover { color: var(--white); }

.primary-nav__cta {
  color: var(--white) !important;
  border: 1px solid var(--hairline);
  padding: 10px 16px;
}
.primary-nav__cta:hover { border-color: var(--yellow); }

@media (min-width: 860px) {
  .primary-nav { display: flex; }
}

/* Toujours visible (desktop + mobile), contrairement au reste de la nav. */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lang-switch__link {
  text-decoration: none;
  color: var(--grey-light);
  transition: color 0.3s ease;
}

.lang-switch__link:hover { color: var(--white); }
.lang-switch__link.is-current { color: var(--yellow); pointer-events: none; }
.lang-switch__sep { color: var(--hairline); }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__frame {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,0.35) 0%, rgba(8,8,8,0.55) 55%, var(--black) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(48px, 8vw, 96px);
  padding-top: 140px;
}

.hero__title { max-width: 15ch; margin-bottom: 20px; }

.hero__subtitle {
  max-width: 46ch;
  margin-bottom: 14px;
}

.hero__claim {
  margin-bottom: 36px;
}

/* ---- Waitlist form ---- */
.waitlist-form { max-width: 560px; }

.waitlist-form__intro { margin-bottom: 16px; }

.waitlist-form__row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

@media (min-width: 560px) {
  .waitlist-form__row { flex-direction: row; }
}

.waitlist-form input[type="email"] {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  padding: 15px 18px;
  min-height: 48px;
  transition: border-color 0.3s ease;
}

.waitlist-form input[type="email"]::placeholder { color: var(--grey-light); }
.waitlist-form input[type="email"]:focus { border-color: var(--yellow); outline: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 15px 24px;
  border: 1px solid var(--yellow);
  background: var(--yellow);
  color: var(--black);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover { background: transparent; color: var(--white); }
.btn .needle { background: currentColor; }

.vote__legend { margin-bottom: 14px; font-weight: 700; }

.vote__options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 480px) {
  .vote__options { grid-template-columns: repeat(3, 1fr); }
}

.vote__option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--hairline);
  padding: 12px 14px;
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.vote__option:has(input:checked) {
  border-color: var(--yellow);
  background: rgba(245, 196, 0, 0.07);
}

/* Badge drapeau rond — exception assumée au palette figé : repère
   fonctionnel (culture votée), pas une couleur de marque. */
.vote__flag-badge {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(244, 241, 236, 0.25);
}

.vote__flag-badge svg { display: block; width: 100%; height: 100%; }

.vote__option input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  margin: 0;
  cursor: pointer;
}

.vote__flag { font-size: 1.1rem; line-height: 1; }
.vote__name { color: var(--grey-light); }
.vote__option:has(input:checked) .vote__name { color: var(--white); }

.waitlist-form__status {
  margin-top: 16px;
  min-height: 1.2em;
}

.hero__scroll-cue {
  position: absolute;
  bottom: 28px;
  right: 24px;
  z-index: 1;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--grey-light);
}

@media (min-width: 700px) {
  .hero__scroll-cue { display: flex; }
}

/* ==========================================================================
   IDENTITY / "WE DON'T INTRODUCE OURSELVES"
   ========================================================================== */

.identity {
  position: relative;
  background: var(--grey);
  padding-block: var(--section-pad);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  overflow: hidden;
}

.identity__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.identity__bg-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.26;
  filter: grayscale(1) contrast(1.1) brightness(0.9) blur(2px);
}

.identity__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--grey) 0%, rgba(20,20,20,0.65) 18%, rgba(20,20,20,0.65) 82%, var(--grey) 100%);
}

.identity .wrap {
  position: relative;
  z-index: 1;
}

.identity__title { margin-bottom: clamp(40px, 7vw, 72px); max-width: 16ch; }

.identity__lines {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 4vw, 36px);
  max-width: 34ch;
}

.identity__lines li {
  font-family: var(--font-body);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  line-height: 1.4;
  color: var(--white);
  max-width: 28ch;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.identity.is-visible .identity__lines li { opacity: 1; transform: translateY(0); }

.identity__lines li:nth-child(1) { transition-delay: 0.05s; }
.identity__lines li:nth-child(2) { transition-delay: 0.15s; }
.identity__lines li:nth-child(3) { transition-delay: 0.25s; }
.identity__lines li:nth-child(4) { transition-delay: 0.35s; }

@media (min-width: 720px) {
  .identity__lines { max-width: none; }
  .identity__lines li:nth-child(2) { margin-left: 8%; }
  .identity__lines li:nth-child(3) { margin-left: 16%; }
  .identity__lines li:nth-child(4) { margin-left: 24%; }
}

/* ==========================================================================
   THE VOID / LE VIDE (positioning)
   ========================================================================== */

.void-section {
  background: var(--black);
  padding-block: var(--section-pad);
  border-bottom: 1px solid var(--hairline);
}

.void-section__title {
  max-width: 17ch;
  margin-bottom: clamp(40px, 7vw, 72px);
}

.void-blocks {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 56ch;
  margin-bottom: clamp(48px, 8vw, 88px);
}

.void-block {
  border-left: 1px solid var(--hairline);
  padding-left: 22px;
}

.void-block--unreachable { margin-left: clamp(0px, 8vw, 64px); }

@media (min-width: 760px) {
  .void-blocks { max-width: none; }
  .void-block--unreachable { margin-left: 0; align-self: flex-end; }
}

.void-block--homage { border-left-color: var(--red); }
.void-block--unreachable { border-left-color: var(--red); }

.void-block__label { margin-bottom: 12px; }
.void-block__text { max-width: 40ch; }

.void-section__payoff {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  padding-top: clamp(36px, 6vw, 56px);
  border-top: 1px solid var(--hairline);
}

/* ==========================================================================
   THE SIGNATURE
   ========================================================================== */

.signature-section {
  background: var(--grey);
  padding-block: var(--section-pad);
  border-bottom: 1px solid var(--hairline);
}

.signature__grid {
  display: grid;
  gap: clamp(32px, 6vw, 64px);
  margin-bottom: clamp(56px, 9vw, 96px);
}

@media (min-width: 860px) {
  .signature__grid {
    grid-template-columns: 1.1fr 1fr;
    align-items: center;
  }
}

.signature__visual { position: relative; }

.signature__visual-caption { margin-top: 16px; }

.signature__visual .fragment-placeholder {
  position: static;
  aspect-ratio: 1 / 1;
  filter: grayscale(1) contrast(1.05);
}

.retro-dial {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #141312;
}

.retro-dial__svg,
.retro-dial > img {
  display: block;
  width: 100%;
  height: 100%;
}

.retro-dial > img { object-fit: cover; }

.signature__title { margin-bottom: 28px; }

.signature__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 42ch;
}

.signature__body p { color: var(--grey-light); }

.signature__punch {
  color: var(--white) !important;
  padding-top: 4px;
}

.teaser-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 460px;
  margin-left: auto;
  opacity: 0.85;
}

.teaser-strip .fragment-placeholder {
  position: static;
  width: 92px;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
  filter: grayscale(1) blur(1.5px);
}

.teaser-strip .fragment-placeholder__label { display: none; }

/* ==========================================================================
   GT LINE. THREE CULTURES. ONE CHOICE.
   ========================================================================== */

.gtline-section {
  background: var(--black);
  padding-bottom: var(--section-pad);
  border-bottom: 1px solid var(--hairline);
}

.gtline-section > .wrap { padding-top: var(--section-pad); }

.gtline-section__title { margin-bottom: clamp(40px, 7vw, 64px); max-width: 16ch; }

.gtline-content { margin-bottom: clamp(56px, 9vw, 96px); }

.gtline-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 760px) {
  .gtline-grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
}

.gtline-visual {
  aspect-ratio: 1080 / 1350;
  position: relative;
  border: 1px solid var(--hairline);
  overflow: hidden;
}

.gtline-copy__code { margin-bottom: 12px; }
.gtline-copy__text { max-width: 42ch; }
.gtline-copy__text + .gtline-copy__text { margin-top: 10px; }

.cultures {
  margin-top: clamp(28px, 5vw, 40px);
  padding-top: clamp(20px, 4vw, 28px);
  border-top: 1px solid var(--hairline);
}

.cultures__intro { margin-bottom: 16px; max-width: 42ch; }

.cultures__tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 16px;
  max-width: 340px;
}

.cultures__tile {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--grey);
}

.cultures__tile::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.cultures__tile--it::before { background: linear-gradient(135deg, #009246, #CE2B37); }
.cultures__tile--de::before { background: linear-gradient(135deg, #DD0000, #FFCE00); }
.cultures__tile--gb::before { background: linear-gradient(135deg, #012169, #C8102E); }

.cultures__tile:hover::before { opacity: 0.5; }

.cultures__tile-code {
  position: absolute;
  left: 10px;
  bottom: 8px;
  z-index: 1;
  color: var(--white);
}

.cultures__note { max-width: 46ch; }
.cultures__roadmap { opacity: 0.7; }

.gtline-section__payoff {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  text-decoration: none;
  padding-top: clamp(36px, 6vw, 56px);
  border-top: 1px solid var(--hairline);
  transition: color 0.3s ease;
}

.gtline-section__payoff:hover { color: var(--yellow); }

/* ==========================================================================
   THE ROOTS
   ========================================================================== */

.roots-section {
  background: var(--grey);
  padding-block: var(--section-pad);
  border-bottom: 1px solid var(--hairline);
}

.roots__grid {
  display: grid;
  gap: clamp(40px, 7vw, 72px);
  align-items: center;
}

@media (min-width: 860px) {
  .roots__grid { grid-template-columns: 1.2fr 1fr; }
  .roots__visual { order: 2; }
  .roots__text { order: 1; }
}

.roots__title { margin-bottom: 24px; max-width: 14ch; }

.roots__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 46ch;
}

.roots__body-divider {
  padding-top: 8px;
  border-top: 1px solid var(--hairline);
}

.roots__payoff { padding-top: 6px; }

.roots__visual {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--hairline);
  box-shadow: 0 0 0 10px var(--black), 0 0 0 11px var(--hairline);
}

.roots__visual .fragment-placeholder { position: absolute; }
.roots__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */

.how-section {
  background: var(--black);
  padding-block: var(--section-pad);
  border-bottom: 1px solid var(--hairline);
}

.how-section__title { margin-bottom: clamp(48px, 8vw, 80px); max-width: 12ch; }

.how-blocks {
  display: grid;
  gap: 40px;
  margin-bottom: clamp(56px, 9vw, 96px);
}

@media (min-width: 760px) {
  .how-blocks { grid-template-columns: 1fr 1fr; gap: 64px; }
}

.how-block {
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.how-block__title { max-width: 16ch; }
.how-block p.text-body-lg { max-width: 40ch; }

.how-section__payoff {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
  max-width: 56ch;
  margin-inline: auto;
  padding-top: clamp(36px, 6vw, 56px);
  border-top: 1px solid var(--hairline);
}

/* ==========================================================================
   CTA FINAL
   ========================================================================== */

.cta-section {
  background: var(--grey);
  padding-block: var(--section-pad);
  border-bottom: 1px solid var(--hairline);
  text-align: center;
}

.cta-section__inner {
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-section__title { margin-bottom: 20px; max-width: 16ch; }
.cta-section__body { margin-bottom: clamp(36px, 6vw, 56px); max-width: 52ch; }

.cta-section__form { text-align: left; }

.cta-section__signature {
  margin-top: clamp(40px, 7vw, 64px);
}

/* ==========================================================================
   STUB SECTIONS (09–10) — placeholder until copy/AD is calibrated
   ========================================================================== */

.stub {
  padding-block: 64px;
  border-bottom: 1px solid var(--hairline);
}

.stub__tag { color: var(--grey-light); }

.site-footer {
  padding-block: clamp(48px, 8vw, 72px);
  background: var(--black);
}

.footer__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: clamp(40px, 7vw, 64px);
  border-bottom: 1px solid var(--hairline);
}

.footer__identity p { line-height: 1.5; }

.footer__links {
  display: flex;
  gap: 10px;
}

.footer__links a { text-decoration: none; color: var(--grey-light); transition: color 0.3s ease; }
.footer__links a:hover { color: var(--yellow); }
.footer__links a:not(:last-child)::after { content: "·"; margin-left: 10px; color: var(--hairline); }

@media (min-width: 640px) {
  .footer__top { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: clamp(40px, 7vw, 64px);
  text-align: center;
}

.footer__mark { height: 96px; width: auto; }
.footer__bottom p { margin: 0; }

/* ==========================================================================
   LEGAL PAGE (privacy.html) — simple prose layout, reuses site tokens
   ========================================================================== */

.legal-page {
  background: var(--black);
  padding-block: clamp(140px, 18vw, 180px) var(--section-pad);
  min-height: 60vh;
}

.legal-page__inner { max-width: 760px; }

.legal-page__updated { margin-bottom: clamp(40px, 7vw, 64px); }

.legal-page__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-page__body h2 {
  margin-top: 24px;
  margin-bottom: 4px;
}

.legal-page__body p { max-width: 68ch; }

.legal-page__back {
  display: inline-block;
  margin-top: clamp(48px, 8vw, 72px);
  text-decoration: none;
  transition: color 0.3s ease;
}

.legal-page__back:hover { color: var(--white); }
