/* ==========================================================================
   Go Clean Brasil — Stylesheet
   fonts → tokens → reset → layout → nav → hero → sections → components → footer → media
   ========================================================================== */

/* --- FONTS (self-hosted, latin subset, woff2) --- */
@font-face {
  font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/barlow-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../assets/fonts/barlow-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../assets/fonts/barlow-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/barlow-condensed-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../assets/fonts/barlow-condensed-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../assets/fonts/barlow-condensed-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Barlow Condensed'; font-style: normal; font-weight: 800; font-display: swap;
  src: url('../assets/fonts/barlow-condensed-800.woff2') format('woff2');
}

/* --- TOKENS --- */
:root {
  --bg:       #0A0A0A;
  --surface:  #141414;
  --card:     #1A1A1A;
  --accent:   #C8F400;
  --cyan:     #00D4FF;
  --white:    #FFFFFF;
  --grey:     #666666;
  --muted:    #AAAAAA;
  --border:   rgba(200,244,0,0.12);

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;

  --text-sm:   0.85rem;
  --text-base: 1rem;
  --text-lg:   1.25rem;
  --text-xl:   1.5rem;
  --text-2xl:  2rem;
  --text-3xl:  2.75rem;
  --text-4xl:  3.5rem;

  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  --content-max: 1200px;
  --radius: 4px;
  --ease: cubic-bezier(.2,0,0,1);
  --dur: 200ms;
  --nav-h: 72px;
}

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea { font: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.container-narrow { max-width: 600px; }
.section-pad { padding-block: var(--space-24); }
.section-surface { background: var(--surface); }

/* --- TYPOGRAPHY UTILITIES --- */
.section-tag {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-3);
}
h2 {
  font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl));
  margin-bottom: var(--space-4);
}
.section-body {
  color: var(--muted);
  max-width: 56ch;
  margin-bottom: var(--space-10, 2.5rem);
}
.section-body.center { margin-inline: auto; text-align: center; }
.t-accent { color: var(--accent); }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.7rem var(--space-6);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:hover { opacity: 0.88; transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-accent { background: var(--accent); color: #0A0A0A; }
.btn-ghost {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); opacity: 1; }
.btn-full { width: 100%; }

/* --- NAV --- */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  height: var(--nav-h);
  gap: var(--space-6);
}
.nav-logo img { height: 40px; width: auto; }
.nav-logo:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }

.nav-links {
  display: none;
  flex: 1;
  align-items: center;
  gap: var(--space-8);
}
.nav-links a {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.nav-partner-link { color: var(--accent) !important; }
.nav-partner-link:hover { color: var(--white) !important; }

.nav-cta { margin-left: auto; display: none; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
  padding: var(--space-2);
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Mobile nav open state */
.nav-links.is-open {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--surface);
  padding: var(--space-6);
  border-bottom: 1px solid var(--border);
  gap: var(--space-5, 1.25rem);
}
.nav-links.is-open a { font-size: var(--text-base); }

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--bg);
}

/* Left gradient overlay: sits above machine, below text */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Mobile: vertical — darken for text readability */
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.82) 0%,
    rgba(10,10,10,0.72) 45%,
    rgba(10,10,10,0.88) 74%,
    var(--bg) 96%
  );
}
/* Right gradient crop: removed for now — iterating on the machine placement first. */

/* Helmet: full-bleed background on mobile, natural-size on desktop */
.hero-helmet {
  display: block;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 80% center;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: var(--space-16);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.hero-text { max-width: 100%; }
.hero-text h1 {
  font-size: clamp(var(--text-3xl), 7vw, 5.5rem);
  margin-bottom: var(--space-6);
}
.hero-body {
  font-size: var(--text-lg);
  color: var(--muted);
  max-width: 48ch;
  margin-bottom: var(--space-8);
  line-height: 1.5;
}
.hero-ctas { display: flex; gap: var(--space-4); flex-wrap: wrap; }

.hero-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.hero-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
}
.hero-feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(200, 244, 0, 0.07);
  border: 1px solid rgba(200, 244, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.hero-feature-text { padding-top: 6px; }
.hero-feature-text strong {
  display: block;
  font-size: var(--text-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--space-1);
}
.hero-feature-text p {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
}

/* --- PARA QUEM (#para-quem) --- */
#para-quem h2 { margin-bottom: var(--space-12); }
.problem-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.problem-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: border-color var(--dur) var(--ease);
}
.problem-card:hover { border-color: rgba(200,244,0,0.3); }
.problem-card p {
  font-size: var(--text-base);
  color: var(--muted);
  font-style: italic;
  line-height: 1.55;
}
.problem-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(200,244,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

/* --- COMO FUNCIONA (section 2) --- */
.cf-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}
.cf-lead, .steps-list { min-width: 0; width: 100%; }
.cf-note {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.steps-list { list-style: none; counter-reset: step; }
.step-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 0 var(--space-4);
}
.step-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.step-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.step-circle svg { width: 26px; height: 26px; }
.step-connector {
  width: 1.5px;
  flex: 1;
  min-height: var(--space-8);
  background: rgba(200, 244, 0, 0.25);
}
.step-item:last-child .step-connector { display: none; }
.step-body {
  padding-top: var(--space-1);
  padding-bottom: var(--space-8);
}
.step-item:last-child .step-body { padding-bottom: 0; }
.step-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-1);
  line-height: 1.1;
  overflow-wrap: break-word;
}
/* lime auto-number shown beside the step heading */
.step-body strong::before {
  content: counter(step);
  counter-increment: step;
  margin-right: var(--space-2);
  color: var(--accent);
}
.step-body p { color: var(--muted); overflow-wrap: break-word; }

/* --- PARTNER BAND (touchpoint 2) --- */
.partner-band {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  text-align: center;
}
.partner-band p {
  font-family: var(--font-display);
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-2xl));
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--white);
}
.btn-band-cta {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-6);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn-band-cta:hover { background: rgba(200,244,0,0.06); border-color: var(--accent); }
.btn-band-cta:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* --- O QUE VOCÊ SENTE (section 3) --- */
#o-que-voce-sente h2 { margin-bottom: var(--space-12); }
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.benefit-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(200,244,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.benefit-card h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.benefit-card p { color: var(--muted); font-size: var(--text-sm); }

/* --- COMUNIDADE / CTA (#onde-encontrar) --- */
#onde-encontrar h2 { margin-bottom: var(--space-4); }

/* visually-hidden label — present for screen readers + autofill, not shown */
.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;
}

/* top area: photo+text | perks (side-by-side on desktop) */
.cta-top {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}
.cta-intro { display: flex; flex-direction: column; }
.gclub-photo {
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-bottom: var(--space-8);
  /* vignette mask — dissolve all four edges into the black section bg */
  -webkit-mask-image: radial-gradient(ellipse 78% 80% at 50% 44%, black 38%, transparent 88%);
  mask-image: radial-gradient(ellipse 78% 80% at 50% 44%, black 38%, transparent 88%);
}
.cta-intro .section-body { margin-bottom: 0; }

/* perks — icon on top, label below */
.gclub-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8) var(--space-4);
}
@media (min-width: 480px) {
  .gclub-perks { grid-template-columns: repeat(3, 1fr); }
}
.perk {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
}
.perk-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(200, 244, 0, 0.07);
  border: 1px solid rgba(200, 244, 0, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.perk-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--white);
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* form — single horizontal row of fields on desktop */
.cta-form-wrap { margin-top: var(--space-16); }
.club-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.club-form .field { flex: 1; }
.club-form input[type="text"],
.club-form input[type="email"] {
  width: 100%;
  padding: 0.85rem var(--space-4);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-size: var(--text-base);
  transition: border-color var(--dur) var(--ease);
}
.club-form input:focus { outline: none; border-color: var(--accent); }
.club-form input::placeholder { color: var(--grey); }
.club-submit { white-space: nowrap; }
.club-consent {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}
.club-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--accent);
  cursor: pointer;
  transform-origin: center;
}
/* two quick zoom pulses to draw the eye to the pre-checked consent (triggered on scroll-into-view) */
.club-consent input[type="checkbox"].is-pulsing {
  animation: consent-pulse 0.3s var(--ease) 2 both;
}
@keyframes consent-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.2); }
}
.club-consent label {
  font-size: var(--text-sm);
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}
.form-success {
  padding: var(--space-8);
  background: rgba(200,244,0,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--accent);
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   PARTNER PAGE (partner.html)
   ========================================================================== */

/* Partner hero reuses the shared .hero treatment (see index hero). */

/* --- STATS BAR --- */
.stats-bar {
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  padding-block: var(--space-8);
  text-align: center;
}
.stat { display: flex; flex-direction: column; gap: var(--space-1); }
.stat-value {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  color: var(--accent);
}
.stat-label { font-size: var(--text-sm); color: var(--muted); }

/* --- COMO FUNCIONA photo --- */
.cf-photo {
  margin-top: var(--space-8);
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius);
}

/* --- SEGMENTOS --- */
#segmentos h2 { margin-bottom: var(--space-8); }

/* Scroll-snap peek row — big overlay cards, swipeable, no JS */
.segment-cards {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-top: var(--space-8);
  padding-bottom: var(--space-4);
  /* let cards peek past the container edge without clipping the scrollbar */
  scrollbar-color: var(--accent) transparent;
}
.segment-cards::-webkit-scrollbar { height: 6px; }
.segment-cards::-webkit-scrollbar-thumb { background: rgba(200,244,0,0.4); border-radius: 999px; }
.segment-card {
  scroll-snap-align: start;
  flex: 0 0 86%;                 /* mobile: ~1 card + peek */
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.segment-photo { position: absolute; inset: 0; }
.segment-photo img { width: 100%; height: 100%; object-fit: cover; }
/* placeholder slot — pending photo */
.segment-photo.ph-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(200, 244, 0, 0.45);
  background:
    radial-gradient(ellipse at 50% 40%, rgba(200,244,0,0.10), transparent 64%),
    linear-gradient(160deg, #171717, #0c0c0c);
}
.segment-photo.ph-slot svg { width: 56px; height: 56px; }
.segment-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-6);
  background: linear-gradient(to top,
    rgba(10,10,10,0.95) 8%, rgba(10,10,10,0.45) 40%, transparent 68%);
}
.segment-card h3 {
  font-size: var(--text-2xl);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.segment-card .seg-hl { color: var(--muted); margin-top: var(--space-2); }
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.pill {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200,244,0,0.07);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: var(--space-1) var(--space-3);
}

/* --- BRAND MOMENT --- */
.brand-moment {
  padding-block: var(--space-24);
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.brand-moment .section-tag { margin-inline: auto; }
.brand-moment h2 { font-size: clamp(var(--text-3xl), 6vw, var(--text-4xl)); }
.brand-moment-body {
  color: var(--muted);
  font-size: var(--text-lg);
  max-width: 46ch;
  margin: var(--space-4) auto 0;
}
/* experience value items — hero-style icon circles */
.exp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  margin-top: var(--space-16);
}
.exp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.exp-item strong {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--white);
}
.exp-item p { color: var(--muted); font-size: var(--text-sm); max-width: 26ch; }
@media (min-width: 680px) {
  .exp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .exp-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- CONTATO --- */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}
.urgency-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-top: var(--space-8);
}
.urgency-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: var(--space-6);
}
.urgency-card h3 {
  font-size: var(--text-lg);
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.urgency-card p { color: var(--muted); font-size: var(--text-sm); }
.contact-form-wrap { width: 100%; }
.partner-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.form-row { display: flex; flex-direction: column; gap: var(--space-2); }
.form-row label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.form-row input {
  width: 100%;
  padding: 0.75rem var(--space-4);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-size: var(--text-base);
  transition: border-color var(--dur) var(--ease);
}
.form-row input:focus { outline: none; border-color: var(--accent); }
.form-row input::placeholder { color: var(--grey); }
.partner-form textarea {
  width: 100%;
  padding: 0.75rem var(--space-4);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font-size: var(--text-base);
  resize: vertical;
  transition: border-color var(--dur) var(--ease);
}
.partner-form textarea:focus { outline: none; border-color: var(--accent); }
.partner-form textarea::placeholder { color: var(--grey); }
.optional { color: var(--grey); font-weight: 400; text-transform: none; letter-spacing: 0; }

/* --- PARTNER responsive --- */
@media (min-width: 580px) {
  .stats-inner { flex-direction: row; justify-content: space-around; }
  .stat { flex: 1; }
  .stat + .stat { border-left: 1px solid var(--border); }
}
@media (min-width: 680px) {
  .segment-card { flex-basis: 58%; }   /* tablet: ~1.5 + peek */
}
@media (min-width: 1000px) {
  .segment-card { flex-basis: 42%; }   /* desktop: ~2 + peek */
}
@media (min-width: 900px) {
  .contact-grid { flex-direction: row; align-items: flex-start; gap: var(--space-16); }
  .contact-intro { flex: 1; }
  .contact-form-wrap { flex: 1; }
}

/* ==========================================================================
   UTILITY PAGES (privacy.html, 404.html)
   ========================================================================== */
.nav-back {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--dur) var(--ease);
}
.nav-back:hover { color: var(--accent); }
.nav-back:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* legal / prose */
.legal { padding-top: calc(var(--nav-h) + var(--space-16)); padding-bottom: var(--space-24); }
.legal h1 { font-size: clamp(var(--text-3xl), 6vw, var(--text-4xl)); margin-bottom: var(--space-2); }
.legal .updated { color: var(--grey); font-size: var(--text-sm); margin-bottom: var(--space-12); }
.legal h2 { font-size: var(--text-xl); margin: var(--space-12) 0 var(--space-4); }
.legal p, .legal li { color: var(--muted); line-height: 1.7; }
.legal p { margin-bottom: var(--space-4); }
.legal ul { padding-left: var(--space-6); margin-bottom: var(--space-4); list-style: disc; }
.legal li { margin-bottom: var(--space-2); }
.legal a { color: var(--accent); text-decoration: underline; }
.legal strong { color: var(--white); }

/* 404 */
.notfound {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--nav-h) var(--space-6) var(--space-16);
}
.notfound .code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(5rem, 22vw, 11rem);
  line-height: 1;
  color: var(--accent);
}
.notfound h1 { font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl)); margin: var(--space-4) 0 var(--space-3); }
.notfound p { color: var(--muted); max-width: 42ch; margin: 0 auto var(--space-8); }

/* --- FOOTER --- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: var(--space-16);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
}
.footer-brand img { height: 112px; width: auto; }
.footer-tagline {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-3);
}
.footer-col-heading {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-4);
}
.footer-nav ul,
.footer-partner ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer-nav a { font-size: var(--text-sm); color: var(--muted); transition: color var(--dur) var(--ease); }
.footer-nav a:hover { color: var(--white); }
.footer-partner a { font-size: var(--text-sm); color: var(--accent); transition: color var(--dur) var(--ease); }
.footer-partner a:hover { color: var(--white); }
.footer-nav a:focus-visible,
.footer-partner a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: var(--space-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: var(--muted);
}
.footer-bottom a { color: var(--muted); transition: color var(--dur) var(--ease); }
.footer-bottom a:hover { color: var(--accent); }

/* --- MEDIA QUERIES --- */

/* 580px — 2-col problem cards */
@media (min-width: 580px) {
  .problem-cards { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .partner-band { flex-direction: row; text-align: left; justify-content: center; }
}

/* 768px — 3-col problem cards, footer grid */
@media (min-width: 768px) {
  .problem-cards { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}

/* 900px — desktop nav, horizontal hero gradient, 2-col splits */
@media (min-width: 900px) {
  .cta-top {
    flex-direction: row;
    align-items: center;
    gap: var(--space-16);
  }
  .cta-intro { flex: 1; }
  .gclub-perks { flex: 1; }
  /* form: all fields + button on one line */
  .club-form {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-4);
  }
  .club-form .field { flex: 1 1 0; min-width: 160px; }
  .club-submit { flex: 0 0 auto; }
  .club-consent { flex-basis: 100%; }
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .nav-cta { display: inline-flex; }

  /* Hero: left text-protection gradient removed for now — iterating on machine placement. */
  .hero::before { background: none; }
  .hero-helmet {
    top: 50svh;
    bottom: auto;
    left: auto;
    right: 0;
    width: 62%;
    height: auto;
    object-fit: initial;
    object-position: initial;
    /* chamber is ≈65% down the machine — shift up past center to land on it.
       moved further left to halve the gap between the text and the machine's front edge */
    transform: translate(-14%, calc(-50% - 15%));
    filter: brightness(2);
    /* fade top/bottom + sharp right-edge crop.
       right transition is intentionally short and centred at 50% — tune thickness, then slide position */
    -webkit-mask-image:
      linear-gradient(to bottom, transparent 0%, black 14%, black 95%, transparent 100%),
      linear-gradient(to right, black 62%, transparent 66%);
    mask-image:
      linear-gradient(to bottom, transparent 0%, black 14%, black 95%, transparent 100%),
      linear-gradient(to right, black 62%, transparent 66%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }
  .hero-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    transform: translateY(-20%);
  }
  /* partner headline is taller (4 lines) — shift up less so it clears the nav */
  .hero-partner .hero-content { transform: translateY(-6%); }
  .hero-text { max-width: 42%; }
  .hero-features { flex-direction: column; gap: var(--space-6); max-width: 220px; }
  .hero-feature { flex-direction: column; align-items: flex-start; gap: var(--space-2); }
  .hero-feature-text { padding-top: 0; }

  /* O que você sente — 4-col on desktop */
  .benefits-grid { grid-template-columns: repeat(4, 1fr); }

  /* Como Funciona — 2-column on desktop */
  .cf-inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-24);
  }
  .cf-lead { flex: 0 0 36%; }
  .steps-list { flex: 1; }
  .step-body strong { font-size: var(--text-lg); }
}


/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0ms !important; animation-duration: 0ms !important; }
}
