/* ==========================================================================
   Inovergo — Curso de Empilhadores (campanha de verão 2026)
   Marketing register. Lane: industrial trade-school signage.
   Committed terracotta; WhatsApp green reserved for WhatsApp CTAs only.
   ========================================================================== */

/* ---------- Fonts (self-hosted — no Google Fonts CDN, GDPR) ---------- */
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-v13-latin_latin-ext-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-v13-latin_latin-ext-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow";
  src: url("../fonts/barlow-v13-latin_latin-ext-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-v13-latin_latin-ext-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-v13-latin_latin-ext-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* Color — Inovergo terracotta, committed */
  --brand: #da541b;        /* brand accent on light ground (large text / graphics) */
  --brand-deep: #a83c0c;   /* drench surface — white text clears 6.3:1 */
  --brand-press: #8f3309;
  --ink: #211d1a;          /* warm near-black */
  --ink-2: #554d46;        /* secondary text — 7.4:1 on --bg */
  --bg: #fbfaf9;           /* true neutral off-white (chroma ≈ 0) */
  --surface: #ffffff;
  --line: #e6e2de;
  --line-strong: #cfc9c4;
  --wa: #0e7a40;           /* WhatsApp CTA green — white text 5.4:1 */
  --wa-press: #0b6334;
  --ok: #0e7a40;
  --warn: #92400e;         /* amber-ink for "últimas vagas" on light */
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, 0.82);

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --text-display: clamp(2.5rem, 3.8vw + 1rem, 3.5rem);
  --text-h2: clamp(1.875rem, 2.6vw + 1rem, 2.75rem);
  --text-h3: clamp(1.375rem, 0.5vw + 1.125rem, 1.625rem);
  --text-lead: 1.1875rem;
  --text-body: 1.0625rem;
  --text-small: 0.9375rem;
  --text-tiny: 0.8125rem;

  /* Space — 4pt scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --section: clamp(4rem, 9vw, 7.5rem);

  --radius: 8px;
  --radius-lg: 14px;
  --measure: 62ch;

  /* Z scale */
  --z-header: 10;
  --z-sticky: 20;
  --z-toast: 30;

  --ease-out: cubic-bezier(0.19, 1, 0.22, 1); /* expo-out */
}

/* ---------- Reset / base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

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

.hero :focus-visible,
.band-cta :focus-visible {
  outline-color: #ffffff;
}

::selection {
  background: var(--brand);
  color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: var(--s-3) var(--s-4);
  z-index: var(--z-toast);
}

.skip-link:focus {
  left: var(--s-4);
}

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

/* ---------- Type roles ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-display);
  line-height: 1.02;
  letter-spacing: 0.002em;
  text-transform: none;
}

.h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-h2);
  line-height: 1.08;
}

.h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-h3);
  line-height: 1.25;
}

.lead {
  font-size: var(--text-lead);
  line-height: 1.55;
  max-width: var(--measure);
}

.muted {
  color: var(--ink-2);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-body);
  line-height: 1.2;
  padding: 0.9375rem 1.625rem;
  border-radius: var(--radius);
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out),
    box-shadow 180ms var(--ease-out);
  min-height: 52px;
}

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

.btn svg {
  flex: none;
}

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

.btn-wa:hover {
  background: var(--wa-press);
}

/* WhatsApp CTA sitting on the terracotta drench: white pill, green mark */
.btn-wa-onbrand {
  background: #fff;
  color: var(--ink);
}

.btn-wa-onbrand svg {
  color: var(--wa);
}

.btn-wa-onbrand:hover {
  background: #f3ede9;
}

.btn-outline-light {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.7);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-brand {
  background: var(--brand-deep);
  color: #fff;
}

.btn-brand:hover {
  background: var(--brand-press);
}

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

.btn-ink:hover {
  background: #3a342f;
}

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: var(--z-header);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding-block: var(--s-4);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.625rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1;
}

.wordmark small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  margin-top: 2px;
  opacity: 0.85;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: var(--s-6);
}

.lang-switch {
  display: flex;
  gap: 2px;
  font-size: var(--text-small);
  font-weight: 600;
}

.lang-switch a {
  text-decoration: none;
  padding: 0.375rem 0.5625rem;
  border-radius: 6px;
  opacity: 0.75;
}

.lang-switch a:hover {
  opacity: 1;
}

.lang-switch a[aria-current="page"] {
  opacity: 1;
  box-shadow: inset 0 0 0 1.5px currentColor;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--text-small);
  text-decoration: none;
  opacity: 0.92;
}

.header-phone:hover {
  opacity: 1;
}

@media (max-width: 720px) {
  .header-phone span {
    display: none; /* icon keeps accessible name via aria-label */
  }
}

/* Header on terracotta */
.on-brand .site-header {
  color: #fff;
}

/* Header on light (privacy pages) */
.on-light .site-header {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

/* ---------- Hero (terracotta drench) ---------- */
.hero {
  background: var(--brand-deep);
  color: var(--on-dark);
  overflow: clip;
}

.hero-grid {
  display: grid;
  gap: var(--s-8);
  padding-block: var(--s-8) var(--s-16);
  align-items: end;
}

@media (min-width: 920px) {
  .hero-grid {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(var(--s-8), 5vw, 5rem);
    padding-block: var(--s-12) var(--s-16);
  }
}

.hero-kicker {
  display: inline-block;
  font-weight: 600;
  font-size: var(--text-small);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  padding: 0.4375rem 0.9375rem;
  margin-bottom: var(--s-6);
}

.hero h1 {
  color: #fff;
  max-width: 24ch;
}

.hero .lead {
  color: var(--on-dark-2);
  margin-top: var(--s-6);
  line-height: 1.62;
  letter-spacing: 0.012em;
}

.price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  margin-top: var(--s-8);
}

.price-now {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.25rem, 5vw + 1.5rem, 4.75rem);
  line-height: 1;
}

.price-was {
  font-size: 1.375rem;
  font-weight: 500;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  color: var(--on-dark-2);
}

.price-note {
  flex-basis: 100%;
  font-size: var(--text-small);
  color: var(--on-dark-2);
  letter-spacing: 0.015em;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-8);
}

.hero-trust {
  margin-top: var(--s-8);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: var(--text-small);
  color: var(--on-dark-2);
  letter-spacing: 0.015em;
  max-width: 56ch;
}

.hero-trust strong {
  color: #fff;
  font-weight: 600;
}

/* Photo with ink offset frame — signage plate look */
.hero-photo {
  position: relative;
  margin: 0;
  max-width: 26rem;
  justify-self: center;
}

@media (min-width: 920px) {
  .hero-photo {
    justify-self: end;
    margin-bottom: -1px;
  }
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: var(--s-4) calc(-1 * var(--s-4)) calc(-1 * var(--s-4)) var(--s-4);
  background: var(--ink);
  border-radius: var(--radius-lg);
}

.hero-photo img {
  position: relative;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  width: 100%;
}

.hero-photo figcaption {
  position: relative;
  margin-top: var(--s-6);
  font-size: var(--text-tiny);
  color: var(--on-dark-2);
}

/* ---------- Sections ---------- */
.section {
  padding-block: var(--section);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(var(--s-8), 5vw, var(--s-12));
}

.section-head p {
  margin-top: var(--s-4);
  color: var(--ink-2);
  font-size: var(--text-lead);
  line-height: 1.55;
}

/* Audience — two asymmetric panels + official notice */
.audience-grid {
  display: grid;
  gap: var(--s-8);
}

@media (min-width: 860px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(var(--s-8), 4vw, var(--s-16));
  }
}

.audience {
  border-top: 3px solid var(--ink);
  padding-top: var(--s-6);
}

.audience h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.75rem;
  line-height: 1.1;
}

.audience p {
  margin-top: var(--s-4);
  color: var(--ink-2);
  max-width: 52ch;
}

.audience .takeaway {
  margin-top: var(--s-4);
  font-weight: 600;
  color: var(--ink);
}

.legal-note {
  margin-top: clamp(var(--s-8), 5vw, var(--s-12));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: var(--s-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4) var(--s-6);
  align-items: center;
  background: var(--surface);
}

.legal-note svg {
  flex: none;
  color: var(--brand);
}

.legal-note p {
  flex: 1 1 30ch;
  font-size: var(--text-small);
  color: var(--ink-2);
}

.legal-note p strong {
  color: var(--ink);
}

.legal-note a {
  font-weight: 600;
  color: var(--brand-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  white-space: nowrap;
}

/* Pillars — signage plates, mixed with photo */
.pillars {
  display: grid;
  gap: var(--s-8) var(--s-8);
}

@media (min-width: 700px) {
  .pillars {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1020px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }

  .pillars .pillar-photo {
    grid-column: 3;
    grid-row: 1 / 3;
  }
}

.pillar {
  border-top: 3px solid var(--brand);
  padding-top: var(--s-6);
}

.pillar h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.625rem;
  line-height: 1.1;
}

.pillar p {
  margin-top: var(--s-3);
  color: var(--ink-2);
  font-size: var(--text-body);
  max-width: 38ch;
}

.pillar-photo {
  margin: 0;
  position: relative;
}

.pillar-photo img {
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
  aspect-ratio: 4 / 3;
}

@media (min-width: 700px) and (max-width: 1019.98px) {
  .pillars .pillar-photo {
    grid-column: 1 / -1;
  }

  .pillars .pillar-photo img {
    aspect-ratio: 21 / 9;
  }
}

@media (min-width: 1020px) {
  .pillar-photo img {
    aspect-ratio: auto;
    height: 100%;
    min-height: 16rem;
  }
}

.pillar-photo figcaption {
  margin-top: var(--s-3);
  font-size: var(--text-tiny);
  color: var(--ink-2);
}

/* Dates & seats */
.sessions {
  border-top: 1px solid var(--line-strong);
}

.session {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-2) var(--s-6);
  align-items: center;
  padding-block: var(--s-6);
  border-bottom: 1px solid var(--line-strong);
}

@media (min-width: 860px) {
  .session {
    grid-template-columns: minmax(14rem, 1.2fr) 1fr auto auto;
  }
}

.session-date {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.1;
}

.session-format {
  color: var(--ink-2);
  font-size: var(--text-small);
}

.seat-state {
  font-weight: 600;
  font-size: var(--text-small);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.seat-state::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.seat-open {
  color: var(--ok);
}

.seat-low {
  color: var(--warn);
}

.seat-full {
  color: var(--ink-2);
}

.session-cta {
  font-weight: 600;
  font-size: var(--text-small);
  color: var(--brand-deep);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.sessions-note {
  margin-top: var(--s-4);
  font-size: var(--text-small);
  color: var(--ink-2);
}

/* Mid-page WhatsApp band */
.band-cta {
  background: var(--brand-deep);
  color: #fff;
  padding-block: clamp(var(--s-12), 7vw, 5.5rem);
}

.band-cta .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-6);
}

.band-cta h2 {
  max-width: 22ch;
}

.band-cta p {
  margin-top: var(--s-3);
  color: var(--on-dark-2);
  max-width: 44ch;
}

/* Social proof */
.proof-grid {
  display: grid;
  gap: clamp(var(--s-8), 4vw, var(--s-16));
  align-items: center;
}

@media (min-width: 920px) {
  .proof-grid {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  }
}

.stat-list {
  display: grid;
  gap: var(--s-6);
  margin: 0;
}

.stat-list div {
  border-top: 3px solid var(--ink);
  padding-top: var(--s-4);
}

.stat-list dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 3vw + 1rem, 3.25rem);
  line-height: 1;
}

.stat-list dd {
  margin: var(--s-2) 0 0;
  color: var(--ink-2);
}

.proof-photo {
  margin: 0;
}

.proof-photo img {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.proof-photo figcaption {
  margin-top: var(--s-3);
  font-size: var(--text-tiny);
  color: var(--ink-2);
}

.reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--s-6);
  font-weight: 600;
  color: var(--brand-deep);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

/* FAQ */
.faq-list {
  max-width: 50rem;
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line-strong);
}

.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  padding-block: var(--s-6);
  font-weight: 600;
  font-size: 1.125rem;
}

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

.faq-list summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 0.8;
  color: var(--brand);
  transition: rotate 200ms var(--ease-out);
  flex: none;
  translate: 0 4px;
}

.faq-list details[open] summary::after {
  rotate: 45deg;
}

.faq-list details > div {
  padding-bottom: var(--s-6);
  color: var(--ink-2);
  max-width: var(--measure);
}

.faq-list details > div p + p {
  margin-top: var(--s-3);
}

/* Form */
.form-wrap {
  display: grid;
  gap: clamp(var(--s-8), 4vw, var(--s-16));
}

@media (min-width: 920px) {
  .form-wrap {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    align-items: start;
  }
}

.form-aside p {
  margin-top: var(--s-4);
  color: var(--ink-2);
  max-width: 44ch;
}

.form-aside .btn {
  margin-top: var(--s-6);
}

.lead-form {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: clamp(var(--s-6), 3vw, var(--s-8));
  display: grid;
  gap: var(--s-6);
}

.field {
  display: grid;
  gap: var(--s-2);
}

.field label {
  font-weight: 600;
  font-size: var(--text-small);
}

.field input,
.field select {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 0.8125rem 0.9375rem;
  width: 100%;
  min-height: 50px;
}

.field input::placeholder {
  color: var(--ink-2);
}

.field input:focus-visible,
.field select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}

.field-row {
  display: grid;
  gap: var(--s-6);
}

@media (min-width: 640px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.consent {
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
  font-size: var(--text-small);
  color: var(--ink-2);
}

.consent input {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 2px;
  accent-color: var(--brand-deep);
  flex: none;
}

.consent a {
  color: var(--brand-deep);
  font-weight: 600;
}

.form-status {
  border-radius: var(--radius);
  padding: var(--s-4);
  font-weight: 500;
  font-size: var(--text-small);
  display: none;
}

.form-status.is-ok {
  display: block;
  background: #eaf4ee;
  color: #14532d;
  border: 1px solid #bcdcc8;
}

.form-status.is-error {
  display: block;
  background: #fdf0ea;
  color: #7c2d12;
  border: 1px solid #f0cdbb;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Legal / prose pages (privacy) */
.prose {
  max-width: var(--measure);
  padding-block: var(--s-12) var(--section);
}

.prose h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-h2);
  line-height: 1.08;
}

.prose h2 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.25rem;
  margin-top: var(--s-8);
}

.prose p,
.prose ul {
  margin-top: var(--s-4);
  color: var(--ink-2);
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: var(--s-2);
}

.prose a {
  color: var(--brand-deep);
  font-weight: 600;
  text-underline-offset: 3px;
}

.prose .updated {
  margin-top: var(--s-2);
  font-size: var(--text-small);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.85);
  padding-block: var(--s-16) var(--s-12);
  font-size: var(--text-small);
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  gap: var(--s-8);
}

@media (min-width: 860px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--s-16);
  }
}

.site-footer .wordmark {
  color: #fff;
}

.site-footer h3 {
  font-size: var(--text-small);
  font-weight: 600;
  color: #fff;
  margin-bottom: var(--s-3);
}

.site-footer address {
  font-style: normal;
  margin-top: var(--s-4);
}

.site-footer a {
  color: #fff;
  text-underline-offset: 3px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-2);
}

.footer-legal {
  margin-top: var(--s-12);
  padding-top: var(--s-6);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-6);
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.66);
  font-size: var(--text-tiny);
}

/* Sticky mobile CTA bar */
.sticky-cta {
  position: fixed;
  inset: auto 0 0 0;
  z-index: var(--z-sticky);
  background: var(--surface);
  border-top: 1px solid var(--line-strong);
  padding: var(--s-3) var(--s-4);
  padding-bottom: calc(var(--s-3) + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--s-3);
}

.sticky-cta .btn {
  min-height: 50px;
  padding-inline: var(--s-4);
}

@media (min-width: 920px) {
  .sticky-cta {
    display: none;
  }
}

/* Room for the sticky bar on mobile */
@media (max-width: 919.98px) {
  body {
    padding-bottom: 92px;
  }
}

/* ---------- Motion ---------- */
/* Hero entrance — enhances an already-visible default; pure CSS, runs on load */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    animation: rise 700ms var(--ease-out) both;
  }

  .hero-copy > *:nth-child(2) {
    animation-delay: 70ms;
  }

  .hero-copy > *:nth-child(3) {
    animation-delay: 140ms;
  }

  .hero-copy > *:nth-child(4) {
    animation-delay: 210ms;
  }

  .hero-copy > *:nth-child(5) {
    animation-delay: 280ms;
  }

  .hero-copy > *:nth-child(6) {
    animation-delay: 350ms;
  }

  .hero-photo {
    animation: rise 800ms 200ms var(--ease-out) both;
  }

  /* Scroll reveals — hidden only when JS is present (html.js) */
  html.js .reveal {
    opacity: 0;
    translate: 0 16px;
    transition: opacity 600ms var(--ease-out), translate 600ms var(--ease-out);
  }

  html.js .reveal.in-view {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 18px;
  }

  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* ---------- Print: don't waste toner on the drench ---------- */
@media print {
  .hero,
  .band-cta {
    background: #fff;
    color: #000;
  }

  .sticky-cta {
    display: none;
  }
}
