/* ============================================================
   NovaFit — Homepage v4 (fusion of v2 + v3)
   Light editorial base (v2) + loud red + mono data (v3).
   Display: Anton (poster) · Body: Space Grotesk · Data: Space Mono.
   Signature: red highlight boxes on headline keywords.
   One theme (light) + one dark color-block (Cold Clinic).
   ============================================================ */

:root {
  --paper: #F1F1EF;
  --panel: #FFFFFF;
  --panel-2: #E7E7E3;
  --ink: #121316;
  --ink-soft: #585A61;
  --ink-dim: #8A8C92;
  --hair: rgba(0, 0, 0, 0.12);
  --hair-2: rgba(0, 0, 0, 0.24);

  --red: #E10E1E;
  --red-deep: #B00A16;
  --red-soft: rgba(225, 14, 30, 0.08);
  --red-line: rgba(225, 14, 30, 0.4);

  --dark: #0C0C0E;
  --dark-soft: #16161B;
  --on-dark: #F2F2F4;
  --on-dark-soft: #9A9AA2;

  --display: "Anton", system-ui, sans-serif;
  --body: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --mono: "Space Mono", ui-monospace, monospace;

  --pad: clamp(1.25rem, 5vw, 4rem);
  --maxw: 1320px;
  --section-y: clamp(4.5rem, 8.5vw, 8rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --r: 4px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
html:focus-within { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
.hero-photo picture, .plate-img picture, .coach-media picture, .cold-photo picture { display: block; width: 100%; height: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 200; background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: var(--r); font-weight: 700; transition: top 0.2s var(--ease); }
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: var(--section-y); }

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.28;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.display em {
  font-style: normal;
  color: #fff;
  background: var(--red);
  padding: 0 0.14em;
  margin: 0 0.02em;
  white-space: nowrap;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
h1.display { font-size: clamp(2.7rem, 7vw, 6rem); }
h2.display { font-size: clamp(2.1rem, 5vw, 4.2rem); }

.label {
  font-family: var(--mono); font-weight: 700; font-size: 0.74rem;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--red);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.label::before { content: ""; width: 9px; height: 9px; background: var(--red); }
.lede { font-family: var(--body); font-size: clamp(1rem, 1.3vw, 1.18rem); color: var(--ink-soft); line-height: 1.6; max-width: 56ch; }
.tnum { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  --y: 0; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.95rem 1.8rem; font-family: var(--body); font-weight: 700; font-size: 0.95rem;
  border-radius: var(--r); white-space: nowrap;
  transition: transform 0.22s var(--ease), background 0.22s var(--ease), color 0.22s var(--ease), border-color 0.22s var(--ease);
  transform: translateY(var(--y));
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { --y: -2px; background: var(--red-deep); }
.btn-primary:active { --y: 1px; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { --y: -2px; background: #000; }
.btn-dark:active { --y: 1px; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--hair-2); }
.btn-outline:hover { --y: -2px; border-color: var(--ink); }
.btn-outline:active { --y: 1px; }
.btn-link { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--mono); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 2px solid var(--red); padding-bottom: 3px; transition: gap 0.2s var(--ease); }
.btn-link:hover { gap: 0.85rem; }
.btn-link svg { width: 0.9em; color: var(--red); }

/* ============================================================ NAV ============================================================ */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: 76px; display: flex; align-items: center; border-bottom: 1px solid transparent; transition: background 0.35s var(--ease), border-color 0.35s var(--ease); }
.nav.is-scrolled { background: rgba(241,241,239,0.82); backdrop-filter: blur(14px) saturate(130%); border-bottom-color: var(--hair); }
.nav-inner { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
/* Logo adapts to background. On the homepage the nav starts over the dark
   hero -> keep it full-color; once scrolled the nav turns light -> ink.
   The footer is light on every page -> ink. */
.nav-logo img { height: 24px; width: auto; transition: filter 0.35s var(--ease); }
.nav.is-scrolled .nav-logo img { filter: brightness(0); }
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); list-style: none; }
.nav-links a { font-family: var(--mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink-soft); transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.lang { display: inline-flex; gap: 2px; font-family: var(--mono); font-size: 0.74rem; border: 1px solid var(--hair-2); border-radius: var(--r); padding: 3px; }
.lang button { padding: 3px 8px; border-radius: 2px; color: var(--ink-dim); transition: color 0.2s, background 0.2s; }
.lang button.active { color: #fff; background: var(--red); }
.lang button:hover:not(.active) { color: var(--ink); }
.nav-cta { padding: 0.6rem 1.2rem; font-size: 0.86rem; }
.nav-burger { display: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--hair-2); border-radius: var(--r); }
.nav-burger span { width: 18px; height: 2px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-drawer { position: fixed; inset: 76px 0 0 0; z-index: 99; background: var(--paper); display: flex; flex-direction: column; padding: 2rem var(--pad) 3rem; gap: 0.2rem; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s; }
.nav-drawer.open { opacity: 1; transform: none; visibility: visible; }
.nav-drawer a { font-family: var(--display); text-transform: uppercase; font-size: 2rem; line-height: 1.2; padding: 0.6rem 0; border-bottom: 1px solid var(--hair); }
.nav-drawer .btn { margin-top: 1.6rem; }
.drawer-lang { display: none; align-self: flex-start; margin-top: 1.6rem; }
.drawer-lang button { padding: 6px 14px; }

/* ============================================================ HERO — light poster + framed photo ============================================================ */
.hero { padding-top: 76px; }
.hero-grid { display: grid; grid-template-columns: 1.32fr 0.68fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: end; padding-top: clamp(2rem, 6vw, 4.5rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.hero-head .label { margin-bottom: 1.5rem; }
.hero-head h1 { margin-bottom: 1.8rem; }
.hero-head .lede { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--ink); max-width: 46ch; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero-photo { position: relative; border: 1px solid var(--hair-2); border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .tag { position: absolute; left: 0; bottom: 1rem; font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; background: var(--red); padding: 0.4rem 0.9rem; }
.hero-anim { opacity: 0; transform: translateY(26px); animation: v4up 0.9s var(--ease) forwards; }
.hero-anim.d1 { animation-delay: 0.12s; } .hero-anim.d2 { animation-delay: 0.26s; } .hero-anim.d3 { animation-delay: 0.4s; } .hero-anim.d4 { animation-delay: 0.54s; }
@keyframes v4up { to { opacity: 1; transform: none; } }

/* ============================================================ ESPACE — plates ============================================================ */
.space-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.space-head .lede { margin-top: 1.2rem; }
.plates { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(0.8rem, 1.6vw, 1.4rem); }
.plate { display: flex; flex-direction: column; gap: 0.7rem; }
.plate-img { position: relative; border: 1px solid var(--hair-2); border-radius: var(--r); overflow: hidden; background: var(--panel-2); }
.plate-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.plate:hover .plate-img img { transform: scale(1.04); }
.plate-foot { display: flex; align-items: baseline; gap: 0.7rem; font-family: var(--mono); }
.plate-foot .n { color: var(--red); font-weight: 700; font-size: 0.82rem; }
.plate-foot .c { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-dim); }
.plate-wide { grid-column: span 7; } .plate-wide .plate-img { aspect-ratio: 16 / 11; }
.plate-tall { grid-column: span 5; } .plate-tall .plate-img { aspect-ratio: 4 / 5; }
.plate-half { grid-column: span 6; } .plate-half .plate-img { aspect-ratio: 16 / 10; }

/* ============================================================ NUMBERS — editorial list ============================================================ */
.numbers { background: var(--panel); border-block: 1px solid var(--hair); }
.numbers-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.num-row { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(1rem, 3vw, 3rem); align-items: baseline; padding: clamp(1.4rem, 3vw, 2.4rem) 0; border-top: 1px solid var(--hair); }
.num-row:last-child { border-bottom: 1px solid var(--hair); }
.num-n { font-family: var(--mono); font-weight: 700; font-size: clamp(1rem, 1.6vw, 1.3rem); color: var(--red); }
.num-big { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.6rem, 3.2vw, 2.6rem); line-height: 1; }
.num-text { font-family: var(--mono); font-size: 0.86rem; color: var(--ink-soft); max-width: 40ch; justify-self: end; text-align: right; text-transform: uppercase; letter-spacing: 0.02em; }

/* ============================================================ COACHING — split ============================================================ */
.coach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.coach-media { position: relative; border: 1px solid var(--hair-2); border-radius: var(--r); overflow: hidden; aspect-ratio: 5 / 6; }
.coach-media img { width: 100%; height: 100%; object-fit: cover; }
.coach-badge { position: absolute; left: 0; bottom: 1rem; font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; color: #fff; background: var(--red); padding: 0.4rem 0.9rem; }
.steps { margin-top: 1.8rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; padding: 1.4rem 0; border-top: 1px solid var(--hair); }
.step:last-child { border-bottom: 1px solid var(--hair); }
.step-n { font-family: var(--mono); font-weight: 700; color: var(--red); font-size: 0.85rem; padding-top: 0.2rem; }
.step-t { font-family: var(--display); text-transform: uppercase; font-size: 1.4rem; line-height: 1; margin-bottom: 0.4rem; }
.step-x { color: var(--ink-soft); max-width: 44ch; }
.coach-body > .btn-link { margin-top: 2rem; }

/* ============================================================ COLD — dark block ============================================================ */
.cold { background: var(--dark); color: var(--on-dark); }
.cold .label { color: #6fa8ff; } .cold .label::before { background: #6fa8ff; }
.cold .display { color: #fff; }
.cold .display em { background: #2a6df0; color: #fff; }
.cold .lede { color: var(--on-dark-soft); }
.cold-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.cold-photo { position: relative; border: 1px solid rgba(120,160,255,0.25); border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 40px 100px -40px rgba(60,110,255,0.5); }
.cold-photo img { width: 100%; height: 100%; object-fit: cover; }
.cold-photo picture { display: block; width: 100%; height: 100%; }
.cold-temp { position: absolute; right: 1rem; top: 1rem; font-family: var(--mono); font-size: 0.76rem; color: #cfe0ff; background: rgba(10,14,28,0.6); border: 1px solid rgba(120,160,255,0.3); border-radius: var(--r); padding: 0.4rem 0.85rem; backdrop-filter: blur(8px); }
.cold-stats { display: flex; gap: clamp(1.5rem, 4vw, 3.5rem); margin-top: 2.2rem; flex-wrap: wrap; }
.cold-stat .n { font-family: var(--display); font-size: clamp(1.9rem, 4vw, 3rem); color: #fff; line-height: 1; }
.cold-stat .l { font-family: var(--mono); color: var(--on-dark-soft); font-size: 0.74rem; margin-top: 0.5rem; text-transform: uppercase; }
.mods { display: grid; grid-template-columns: repeat(4, 1fr); }
.mod { padding: 1.8rem clamp(1rem, 2vw, 1.8rem); border-left: 1px solid rgba(255,255,255,0.12); }
.mod:first-child { border-left: none; padding-left: 0; }
.mod-n { font-family: var(--mono); color: #6fa8ff; font-weight: 700; font-size: 0.78rem; }
.mod-t { font-family: var(--display); text-transform: uppercase; font-size: 1.25rem; margin: 0.7rem 0 0.5rem; color: #fff; }
.mod-x { color: var(--on-dark-soft); font-size: 0.9rem; line-height: 1.5; }

/* ============================================================ COURS — group classes ============================================================ */
.cours-head { max-width: 60ch; margin-bottom: clamp(2.2rem, 4.5vw, 3.2rem); }
.cours-head .label { margin-bottom: 1rem; }
.cours-head .lede { margin-top: 1.2rem; }
.cours-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--hair-2); border: 1px solid var(--hair-2); border-radius: var(--r); overflow: hidden; }
.cours-cell { background: var(--paper); padding: clamp(1.4rem, 2.5vw, 2rem) clamp(1rem, 2vw, 1.6rem); transition: background 0.25s var(--ease); }
.cours-cell:hover { background: var(--red); }
.cc-n { display: block; font-family: var(--display); text-transform: uppercase; font-size: clamp(1.2rem, 2vw, 1.7rem); line-height: 1; letter-spacing: -0.01em; color: var(--ink); transition: color 0.25s var(--ease); }
.cc-x { display: block; margin-top: 0.55rem; font-family: var(--mono); font-size: 0.74rem; line-height: 1.4; color: var(--ink-soft); transition: color 0.25s var(--ease); }
.cours-cell:hover .cc-n { color: #fff; }
.cours-cell:hover .cc-x { color: rgba(255, 255, 255, 0.85); }
.cours-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: clamp(1.6rem, 3vw, 2.2rem); }
.cours-meta { font-family: var(--mono); font-size: 0.8rem; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.04em; }

/* ============================================================ CONFORT — club comfort ============================================================ */
.confort-head { max-width: 60ch; margin-bottom: clamp(2.2rem, 4.5vw, 3.2rem); }
.confort-head .label { margin-bottom: 1rem; }
.confort-title { font-size: clamp(1.9rem, 4vw, 3.2rem); }
.confort-body { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.confort-photo { position: relative; border: 1px solid var(--hair-2); border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--panel-2); }
.confort-photo img { width: 100%; height: 100%; object-fit: cover; }
.confort-photo picture { display: block; width: 100%; height: 100%; }
.confort-ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.4rem; text-align: center; padding: 1rem; background-image: repeating-linear-gradient(45deg, transparent, transparent 14px, rgba(0,0,0,0.035) 14px, rgba(0,0,0,0.035) 28px); }
.confort-ph svg { width: 30px; height: 30px; color: var(--ink-dim); margin-bottom: 0.3rem; }
.confort-ph span { font-family: var(--mono); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.confort-ph small { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-dim); }
.confort-items { display: grid; gap: 0; }
.confort-items .ci { padding: 1.4rem 0; border-top: 1px solid var(--hair); }
.confort-items .ci:first-child { padding-top: 0; border-top: none; }
.ci-tag { display: inline-block; font-family: var(--mono); font-weight: 700; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; background: var(--red); padding: 0.25rem 0.6rem; margin-bottom: 0.9rem; }
.ci-t { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.2rem, 1.8vw, 1.5rem); line-height: 1.05; letter-spacing: -0.01em; }
.ci-x { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.5; margin-top: 0.6rem; max-width: 34ch; }

/* ============================================================ PRICING — recommended-first ============================================================ */
.pricing-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.pricing-head .lede { margin-top: 1.2rem; }
.pricing-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(1rem, 2vw, 1.6rem); align-items: start; }
.tier-hero { padding: clamp(1.8rem, 3vw, 2.6rem); border: 1.5px solid var(--red-line); border-radius: var(--r); background: linear-gradient(180deg, var(--red-soft), var(--panel) 40%); }
.tier-hero .tag { font-family: var(--mono); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--red); padding: 0.3rem 0.7rem; }
.tier-hero .name { font-family: var(--display); text-transform: uppercase; font-size: 2.4rem; line-height: 1; margin-top: 1rem; }
.tier-hero .from { font-family: var(--mono); font-size: 0.72rem; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 0.5rem; }
.tier-hero .price { display: flex; align-items: baseline; gap: 0.3rem; margin-top: 0.3rem; }
.tier-hero .amt { font-family: var(--display); font-size: clamp(3.4rem, 6vw, 4.6rem); line-height: 1; }
.tier-hero .per { font-family: var(--mono); color: var(--ink-soft); font-size: 0.9rem; }
.tier-hero ul { list-style: none; margin: 1.5rem 0; display: grid; gap: 0.8rem; }
.tier-hero li { display: flex; gap: 0.6rem; color: var(--ink); font-size: 0.96rem; }
.tier-hero li svg { width: 1.05rem; height: 1.05rem; color: var(--red); flex-shrink: 0; margin-top: 0.15rem; }
.tier-hero .btn { width: 100%; }
.tier-list { display: grid; }
.tier-row { display: grid; grid-template-columns: 1fr auto auto; gap: 1.2rem; align-items: center; padding: clamp(1.1rem, 2vw, 1.6rem) 0; border-bottom: 1px solid var(--hair); }
.tier-row:first-child { border-top: 1px solid var(--hair); }
.tier-row .rn { font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.tier-row .rsub { font-family: var(--mono); font-size: 0.7rem; color: var(--ink-soft); margin-top: 0.4rem; text-transform: uppercase; letter-spacing: 0.03em; }
.tier-row .rp { font-family: var(--display); font-size: 1.9rem; line-height: 1; white-space: nowrap; }
.tier-row .rp .u { font-family: var(--mono); font-size: 0.68rem; color: var(--ink-dim); margin-left: 0.2rem; }
.tier-row .btn { padding: 0.55rem 1.1rem; font-size: 0.84rem; }
.pricing-discover { margin-top: 1.8rem; font-family: var(--body); font-weight: 700; font-size: 1rem; color: var(--ink); display: inline-flex; align-items: center; gap: 0.6rem; }
.pricing-discover::before { content: ""; width: 9px; height: 9px; background: var(--red); flex-shrink: 0; }
.pricing-discover + .pricing-note { margin-top: 0.6rem; }
.pricing-note { font-family: var(--mono); margin-top: 1.6rem; color: var(--ink-dim); font-size: 0.78rem; }

/* ============================================================ COMMENCER + form ============================================================ */
.start-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.start-head .lede { margin-top: 1.2rem; }
.starts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); margin-bottom: clamp(3rem, 6vw, 5rem); }
.start { display: flex; flex-direction: column; padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1.2rem, 2vw, 2rem); border-bottom: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.start:first-child { border-left: none; }
.start-n { font-family: var(--mono); font-weight: 700; color: var(--red); font-size: 0.82rem; }
.start-t { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; margin: 0.8rem 0 0.6rem; }
.start-x { color: var(--ink-soft); font-size: 0.94rem; flex: 1; margin-bottom: 1.6rem; }

.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4.5rem); padding: clamp(2rem, 4vw, 3.5rem); background: var(--ink); color: var(--on-dark); border-radius: var(--r); }
.contact h3 { font-family: var(--display); text-transform: uppercase; font-size: clamp(1.9rem, 3.2vw, 2.8rem); line-height: 1; color: #fff; margin-bottom: 1.1rem; }
.contact h3 em { font-style: normal; color: #fff; background: var(--red); padding: 0.01em 0.16em 0.06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.contact .lede { color: var(--on-dark-soft); }
.contact-meta { margin-top: 1.8rem; display: grid; gap: 0.9rem; }
.contact-meta a, .contact-meta span { display: flex; align-items: center; gap: 0.8rem; color: var(--on-dark); font-size: 0.95rem; font-family: var(--mono); }
.contact-meta svg { width: 1.05rem; color: var(--red); flex-shrink: 0; }
.contact-meta a:hover { color: #fff; }
.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.45rem; }
.field-label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--on-dark-soft); }
.field input, .field textarea { font: inherit; font-family: var(--body); font-size: 0.96rem; color: #fff; background: var(--dark-soft); border: 1px solid rgba(255,255,255,0.18); border-radius: var(--r); padding: 0.85rem 1rem; width: 100%; transition: border-color 0.2s; }
.field input::placeholder, .field textarea::placeholder { color: #6c6e76; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); }
.field textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.84rem; color: var(--on-dark-soft); line-height: 1.5; }
.consent input { margin-top: 0.2rem; accent-color: var(--red); width: 1rem; height: 1rem; flex-shrink: 0; }
.botcheck { position: absolute; left: -9999px; }
.form-bottom { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.form-status { font-family: var(--mono); font-size: 0.84rem; }
.form-status.ok { color: #46d17a; } .form-status.err { color: #ff6470; }

/* ============================================================ FOOTER ============================================================ */
.footer { border-top: 1px solid var(--hair); background: var(--panel); padding-top: clamp(3.5rem, 6vw, 5rem); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); padding-bottom: clamp(3rem, 5vw, 4rem); }
.footer-brand picture { display: inline-block; }
.footer-brand img { height: 26px; width: auto; margin-bottom: 1.2rem; filter: brightness(0); } /* footer is light -> ink logo */
.footer-brand p { color: var(--ink-soft); max-width: 34ch; font-size: 0.94rem; }
.footer-col h4 { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: grid; gap: 0.65rem; }
.footer-col a, .footer-col span { color: var(--ink-soft); font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-block: 1.7rem; border-top: 1px solid var(--hair); color: var(--ink-dim); font-size: 0.8rem; font-family: var(--mono); }
.footer-bottom a { color: var(--ink-soft); } .footer-bottom a:hover { color: var(--ink); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================ RESPONSIVE ============================================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-inner > .nav-right > .lang { display: none; }
  .nav-burger { display: flex; }
  .drawer-lang { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; align-items: start; }
  .hero-photo { aspect-ratio: 16 / 11; }
  .plate-wide, .plate-tall, .plate-half { grid-column: span 6; }
  .num-row { grid-template-columns: auto 1fr; }
  .num-text { grid-column: 1 / -1; justify-self: start; text-align: left; max-width: none; }
  .coach-grid { grid-template-columns: 1fr; }
  .coach-media { order: -1; aspect-ratio: 16 / 11; }
  .cold-grid { grid-template-columns: 1fr; }
  .cold-photo { aspect-ratio: 16 / 12; max-height: 58vh; }
  .mods { grid-template-columns: 1fr 1fr; }
  .mod { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.4rem; }
  .pricing-layout { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .confort-body { grid-template-columns: 1fr; }
  .confort-photo { aspect-ratio: 16 / 11; order: -1; }
  .cours-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .plates { grid-template-columns: repeat(2, 1fr); }
  .plate-wide, .plate-tall, .plate-half { grid-column: span 2; }
  .plate-wide .plate-img { aspect-ratio: 16 / 10; }
  .mods { grid-template-columns: 1fr; }
  .starts { grid-template-columns: 1fr; }
  .start { border-left: none; }
  .tier-row { grid-template-columns: 1fr auto; }
  .tier-row .btn { grid-column: 1 / -1; width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal, .hero-anim { opacity: 1; transform: none; }
}
