/* =========================================================
   +SAÚDE TRAINING CLUB — Design System
   Fonte: Public Sans (OFL) | Paleta: brandbook oficial
   Hierarquia cromática: 80% preto · 15% verde · 5% branco
   ========================================================= */

/* ---------- 1. FONTES ----------
   Public Sans variável, hospedada no próprio domínio.
   Licença SIL Open Font License em assets/fonts/LICENCA-OFL.txt. */
@font-face {
  font-family: 'Public Sans VF';
  src: url('../fonts/PublicSans-VariableFont_wght.woff2') format('woff2-variations'),
       url('../fonts/PublicSans-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- 2. TOKENS ---------- */
:root {
  /* Cor */
  --preto:        #000000;
  --branco:       #FFFFFF;
  --verde:        #00FF4E;
  --verde-escuro: #00992F;
  --cinza-med:    #333333;
  --cinza-claro:  #F4F4F4;

  --bg:        var(--preto);
  --fg:        var(--branco);
  --fg-muted:  rgba(255, 255, 255, .52);
  --linha:     rgba(255, 255, 255, .14);
  --superficie: #0A0A0A;

  /* Tipografia */
  --font: 'Public Sans VF', 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --fs-display: clamp(2.9rem, 8.6vw, 7.5rem);
  --fs-h1:      clamp(2.6rem, 7.2vw, 6.5rem);
  --fs-h2:      clamp(1.9rem, 4.2vw, 3.6rem);
  --fs-h3:      clamp(1.25rem, 2vw, 1.75rem);
  --fs-body:    clamp(1rem, 1.05vw, 1.125rem);
  --fs-small:   .875rem;
  --fs-label:   .6875rem;

  /* Espaço */
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
  --sec-y:  clamp(5rem, 11vw, 11rem);
  --maxw:   1560px;

  /* Forma */
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;
  --r-pill: 999px;

  /* Movimento */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --dur: .7s;

  --nav-h: 76px;
}

/* ---------- 3. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

::selection { background: var(--verde); color: var(--preto); }

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

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--preto); }
::-webkit-scrollbar-thumb { background: var(--cinza-med); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--verde-escuro); }

/* ---------- 4. TIPOGRAFIA ---------- */
.display, .h1, .h2, .h3 {
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
  text-wrap: balance;
}

.display { font-size: var(--fs-display); letter-spacing: -.045em; }
.h1      { font-size: var(--fs-h1);      letter-spacing: -.035em; }
.h2      { font-size: var(--fs-h2);      letter-spacing: -.028em; font-weight: 800; line-height: .95; }
.h3      { font-size: var(--fs-h3);      letter-spacing: -.018em; font-weight: 700; line-height: 1.1; }

.label {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.lead {
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, .78);
  max-width: 58ch;
}

.muted { color: var(--fg-muted); }
.verde { color: var(--verde); }

/* O "+" da marca sempre verde, nunca muda de cor */
.plus {
  color: var(--verde);
  font-weight: 900;
  display: inline-block;
}

/* ---------- 5. LAYOUT ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--sec-y); position: relative; }

.section--light {
  background: var(--cinza-claro);
  color: var(--preto);
}
.section--light .label { color: rgba(0, 0, 0, .5); }
.section--light .lead  { color: rgba(0, 0, 0, .72); }
.section--light .muted { color: rgba(0, 0, 0, .5); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.rule {
  height: 1px;
  background: var(--linha);
  border: 0;
  margin-block: 0;
}
.section--light .rule { background: rgba(0, 0, 0, .12); }

/* ---------- 6. BOTÕES ---------- */
.btn {
  --btn-bg: var(--verde);
  --btn-fg: var(--preto);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  padding: .95rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border-radius: var(--r-pill);
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--branco);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
  z-index: -1;
}
.btn:hover { box-shadow: 0 12px 40px -12px rgba(0, 255, 78, .55); }
.btn:hover::after { transform: translateY(0); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--branco);
  border: 1px solid var(--linha);
}
.btn--ghost::after { background: var(--verde); }
.btn--ghost:hover { --btn-fg: var(--preto); box-shadow: none; }

.btn--lg { padding: 1.25rem 2.5rem; font-size: 1rem; }

.btn .arrow { transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Link com sublinhado que cresce */
.link-u {
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}
.link-u::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease);
}
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- 7. NAV ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background .45s var(--ease), backdrop-filter .45s var(--ease), border-color .45s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--linha);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav { transition: transform .5s var(--ease), background .45s var(--ease), border-color .45s var(--ease); }

.nav__inner {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .1em;
  font-weight: 900;
  font-size: 1.375rem;
  letter-spacing: -.045em;
  text-transform: uppercase;
  line-height: 1;
}
.brand img { height: 34px; width: auto; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.5rem);
}
.nav__menu a {
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: .02em;
}

.nav__right { display: flex; align-items: center; gap: 1rem; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--linha);
}
.nav__toggle span {
  display: block;
  width: 18px; height: 1.5px;
  background: currentColor;
  position: relative;
  transition: background .3s;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px; height: 1.5px;
  background: currentColor;
  transition: transform .4s var(--ease);
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
body.menu-open .nav__toggle span { background: transparent; }
body.menu-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Menu mobile */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--preto);
  padding: calc(var(--nav-h) + 3rem) var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .7s var(--ease);
  pointer-events: none;
}
body.menu-open .drawer { clip-path: inset(0 0 0 0); pointer-events: auto; }

.drawer__nav { display: flex; flex-direction: column; gap: .25rem; }
.drawer__nav a {
  font-size: clamp(2rem, 9vw, 3.25rem);
  font-weight: 900;
  letter-spacing: -.04em;
  text-transform: uppercase;
  line-height: 1.05;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
body.menu-open .drawer__nav a { opacity: 1; transform: none; }
.drawer__nav a:hover { color: var(--verde); }
.drawer__foot { display: flex; flex-wrap: wrap; gap: 1.5rem; font-size: var(--fs-small); }

/* ---------- 8. HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: calc(var(--nav-h) + 3rem) clamp(2.5rem, 6vw, 5rem);
  overflow: clip;
}

.hero__bg {
  position: absolute;
  inset: -8% 0 -8% 0;
  z-index: 0;
  will-change: transform;
}
.hero__bg img, .hero__bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.25) 32%, rgba(0,0,0,.55) 68%, rgba(0,0,0,.94) 100%);
}

.hero__inner { position: relative; z-index: 2; width: 100%; }

.hero__title {
  max-width: 18ch;
  margin-bottom: 1.75rem;
}

.hero__meta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--linha);
}


/* ---------- 9. MARQUEE ---------- */
.marquee {
  --speed: 38s;
  overflow: hidden;
  border-block: 1px solid var(--linha);
  background: var(--preto);
  padding-block: 1.15rem;
  display: flex;
  user-select: none;
}
.marquee--verde { background: var(--verde); border-color: var(--verde); }
.marquee--verde .marquee__track { color: var(--preto); }

.marquee__track {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
  animation: slide var(--speed) linear infinite;
  white-space: nowrap;
  font-weight: 800;
  font-size: clamp(1.1rem, 2.4vw, 2rem);
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-100%); } }

.marquee__track .dot { display: inline-flex; align-items: center; }
.marquee__track .dot img { height: .58em; width: auto; }

/* ---------- 10. MANIFESTO (destaque por scroll) ---------- */
.manifesto p {
  font-size: clamp(1.6rem, 4.6vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.032em;
  max-width: 20ch;
}
.manifesto { padding-bottom: clamp(3rem, 7vw, 7rem); }
.manifesto .w {
  color: rgba(255, 255, 255, .2);
  transition: color .35s linear;
}
.manifesto .w.on { color: var(--branco); }
.manifesto .w.accent.on { color: var(--verde); }

/* ---------- 11. MODALIDADES ---------- */
.mods { display: grid; gap: 1rem; }

.mod {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--r-lg);
  background: var(--superficie);
  border: 1px solid var(--linha);
  overflow: hidden;
  transition: border-color .5s var(--ease), background .5s var(--ease);
}
.mod:hover { border-color: rgba(0, 255, 78, .45); background: #0D0D0D; }
.mod:nth-child(even) { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); }
.mod:nth-child(even) .mod__media { order: -1; }

.mod__body { padding: clamp(.5rem, 2vw, 1.5rem); }
.mod__idx {
  font-size: var(--fs-label);
  letter-spacing: .2em;
  color: var(--verde);
  font-weight: 700;
  display: block;
  margin-bottom: 1rem;
}
.mod__name {
  font-size: clamp(2rem, 5.2vw, 4.25rem);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: .9;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.mod__desc { color: var(--fg-muted); max-width: 40ch; margin-bottom: 1.75rem; }

.mod__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--cinza-med);
}
.mod__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease), filter .6s var(--ease);
  filter: grayscale(.35) contrast(1.05);
}
.mod:hover .mod__media img { transform: scale(1.06); filter: grayscale(0) contrast(1.05); }

/* ---------- 12. NÚMEROS ---------- */
.nums {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--linha);
  border-block: 1px solid var(--linha);
}
.num {
  background: var(--preto);
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 2.4vw, 2.5rem);
  min-width: 0;
  overflow: hidden;
}
.num__v {
  font-size: clamp(2.75rem, 5.6vw, 5.25rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .9;
  color: var(--branco);
  display: flex;
  align-items: baseline;
  gap: .04em;
  min-width: 0;
  white-space: nowrap;
}
.num__v .sfx { color: var(--verde); letter-spacing: 0; }
.num__k {
  margin-top: 1rem;
  font-size: var(--fs-small);
  color: var(--fg-muted);
  max-width: 22ch;
}

/* ---------- 13. PARALLAX BREAK ---------- */
.break {
  position: relative;
  min-height: clamp(420px, 78svh, 780px);
  display: grid;
  place-items: center;
  overflow: clip;
  text-align: center;
}
.break__bg {
  position: absolute;
  inset: -12% 0;
  z-index: 0;
  will-change: transform;
}
.break__bg img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.5); }
.break__bg::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, .58);
}
.break__inner { position: relative; z-index: 2; padding-inline: var(--gutter); }
.break__q {
  font-size: clamp(2.2rem, 7vw, 6rem);
  font-weight: 900;
  letter-spacing: -.045em;
  line-height: .92;
  text-transform: uppercase;
  text-wrap: balance;
}

/* ---------- 14. SOBRE / PILARES ---------- */
.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.pilares { display: grid; gap: 0; margin-top: 2rem; }
.pilar {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, .12);
}
.pilar:last-child { border-bottom: 1px solid rgba(0, 0, 0, .12); }
.pilar__n {
  font-size: var(--fs-label);
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--verde-escuro);
  padding-top: .35em;
  min-width: 2.5em;
}
.pilar__t { font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 800; letter-spacing: -.02em; }

.about__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--cinza-med);
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 15. COMUNIDADE ---------- */
.grid-com {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(.75rem, 1.5vw, 1.25rem);
}
.tile {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--superficie);
  border: 1px solid var(--linha);
}
.tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); transition: transform 1s var(--ease), filter .6s; }
.tile:hover img { transform: scale(1.05); filter: grayscale(0); }

.tile--a { grid-column: span 7; aspect-ratio: 4/3; }
.tile--b { grid-column: span 5; aspect-ratio: 1/1; }
.tile--c { grid-column: span 5; aspect-ratio: 3/4; }
.tile--d { grid-column: span 7; }
.tile--d img { height: 100%; min-height: 240px; }

.tile--quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.5rem, 2.6vw, 2.5rem);
  background: var(--verde);
  border-color: var(--verde);
  color: var(--preto);
}
.tile--quote p {
  font-size: clamp(2.4rem, 6.2vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .86;
  text-transform: uppercase;
}
.tile .tile__mark {
  width: clamp(34px, 3.4vw, 52px);
  height: auto;
  object-fit: contain;
  filter: none;
  align-self: flex-start;
}
.tile:hover .tile__mark { transform: none; }

/* ---------- 16. UNIDADES ---------- */
.units { border-top: 1px solid var(--linha); }

.unit {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1.1fr) minmax(0, 1.6fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--linha);
  position: relative;
  transition: padding-inline .5s var(--ease);
}
.unit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,255,78,.08), transparent 65%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  pointer-events: none;
}
.unit:hover::before { opacity: 1; }
.unit:hover { padding-inline: clamp(0rem, 1.2vw, 1.25rem); }

.unit__n { font-size: var(--fs-label); color: var(--verde); font-weight: 700; letter-spacing: .14em; }
.unit__name { font-size: clamp(1.2rem, 2.4vw, 2rem); font-weight: 900; letter-spacing: -.03em; text-transform: uppercase; line-height: 1; }
.unit__addr { color: rgba(255,255,255,.82); font-size: var(--fs-small); line-height: 1.45; }
.unit__acts { display: flex; gap: .5rem; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.unit__cta { padding: .8rem 1.35rem; font-size: .8125rem; white-space: nowrap; }

.icon-btn {
  width: 42px; height: 42px;
  border: 1px solid var(--linha);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.icon-btn:hover { background: var(--verde); color: var(--preto); border-color: var(--verde); transform: translateY(-2px); }
.icon-btn svg { width: 17px; height: 17px; }

/* ---------- 17. EVENTOS ---------- */
.evs { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1rem; }
.ev {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--linha);
  border-radius: var(--r-md);
  background: var(--superficie);
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-height: 260px;
  transition: transform .5s var(--ease), border-color .5s var(--ease);
}
.ev:hover { transform: translateY(-6px); border-color: rgba(0,255,78,.4); }
.ev__k { font-size: var(--fs-label); letter-spacing: .18em; color: var(--verde); font-weight: 700; }
.ev__t { font-size: clamp(1.35rem, 2.2vw, 1.85rem); font-weight: 900; letter-spacing: -.03em; text-transform: uppercase; line-height: 1; margin-top: auto; }
.ev__d { color: var(--fg-muted); font-size: var(--fs-small); }

/* ---------- 18. CTA FINAL ---------- */
.cta { text-align: center; padding-block: clamp(6rem, 14vw, 13rem); }
.cta__t {
  font-size: clamp(2.6rem, 9.5vw, 9rem);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: .88;
  text-transform: uppercase;
  margin-bottom: 2.5rem;
  text-wrap: balance;
}

/* ---------- 19. FOOTER ---------- */
.foot { border-top: 1px solid var(--linha); padding-block: clamp(3rem, 6vw, 5rem) 2rem; }
.foot__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.foot__col h4 { font-size: var(--fs-label); letter-spacing: .18em; color: var(--fg-muted); font-weight: 600; text-transform: uppercase; margin-bottom: 1.1rem; }
.foot__col li + li { margin-top: .55rem; }
.foot__col a { font-size: var(--fs-small); color: rgba(255,255,255,.82); }
.foot__col a:hover { color: var(--verde); }

.foot__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--linha);
  font-size: var(--fs-small);
  color: var(--fg-muted);
}

.foot__mark {
  padding-block: clamp(1rem, 3vw, 2.5rem) 0;
  user-select: none;
  display: flex;
  justify-content: center;
}
.foot__mark img {
  width: min(100%, 1100px);
  height: auto;
  opacity: .07;
}

/* ---------- 20. PÁGINAS LEGAIS ---------- */
.doc { padding-block: calc(var(--nav-h) + clamp(3rem, 8vw, 6rem)) var(--sec-y); }
.doc__inner { max-width: 780px; }
.doc h1 { font-size: clamp(2.2rem, 6vw, 4.25rem); font-weight: 900; letter-spacing: -.04em; line-height: .92; text-transform: uppercase; margin-bottom: 1rem; }
.doc h2 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: -.02em; margin-top: 3rem; margin-bottom: .85rem; }
.doc h3 { font-size: 1.0625rem; font-weight: 700; margin-top: 1.75rem; margin-bottom: .5rem; }
.doc p, .doc li { color: rgba(255,255,255,.74); line-height: 1.75; }
.doc p + p { margin-top: 1rem; }
.doc ul { margin: 1rem 0 0; padding-left: 1.1rem; list-style: none; }
.doc ul li { position: relative; padding-left: 1.1rem; margin-bottom: .6rem; }
.doc ul li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: .62em; height: .62em;
  background: var(--verde);
  -webkit-mask: url('../img/icone-verde.webp') no-repeat center / contain;
          mask: url('../img/icone-verde.webp') no-repeat center / contain;
}
.doc a { color: var(--verde); text-decoration: underline; text-underline-offset: 3px; }
.doc__meta { font-size: var(--fs-small); color: var(--fg-muted); padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--linha); }
.doc__toc { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 3rem; }
.doc__toc a { font-size: var(--fs-small); padding: .45rem 1rem; border: 1px solid var(--linha); border-radius: var(--r-pill); color: rgba(255,255,255,.8); text-decoration: none; }
.doc__toc a:hover { border-color: var(--verde); color: var(--verde); }

.callout {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid rgba(0,255,78,.32);
  border-radius: var(--r-md);
  background: rgba(0,255,78,.05);
}
.callout p { color: rgba(255,255,255,.86); }

/* ---------- 21. ANIMAÇÕES DE ENTRADA ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal].in { opacity: 1; transform: none; }

/* A cortina fica no filho: um elemento com clip-path zerado nunca
   dispara o IntersectionObserver e ficaria invisível para sempre. */
[data-reveal='clip'] { opacity: 1; transform: none; }
[data-reveal='clip'] > * {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease);
  transition-delay: var(--d, 0ms);
}
[data-reveal='clip'].in > * { clip-path: inset(0 0 0 0); }

[data-reveal='scale'] { opacity: 0; transform: scale(1.08); }
[data-reveal='scale'].in { opacity: 1; transform: scale(1); }

/* Revelação linha a linha do hero.
   O respiro no topo evita que a máscara corte til e acento agudo
   das maiúsculas (NÃO, SAÚDE) com entrelinha apertada. */
.line { display: block; overflow: hidden; padding-top: .18em; margin-top: -.18em; }
.line > span {
  display: block;
  transform: translateY(105%);
  transition: transform 1.1s var(--ease);
  transition-delay: var(--d, 0ms);
}
.hero.ready .line > span { transform: none; }

/* ---------- 22. CURSOR ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 34px; height: 34px;
  margin: -17px 0 0 -17px;
  border-radius: 50%;
  border: 1.5px solid var(--verde);
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity .3s, width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s var(--ease);
  mix-blend-mode: difference;
}
.cursor.on { opacity: 1; }
.cursor.grow { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(0,255,102,.14); }

/* ---------- 23. PROGRESSO ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 100%;
  transform-origin: 0 50%;
  transform: scaleX(0);
  background: var(--verde);
  z-index: 101;
}

/* ---------- 24. FALLBACK DE MÍDIA ---------- */
.media-fb {
  background-color: #0C0C0C;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,255,78,.16), transparent 45%),
    radial-gradient(circle at 78% 70%, rgba(0,153,47,.18), transparent 50%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%2300FF4E' stroke-opacity='.16' stroke-width='2'%3E%3Cpath d='M60 44v32M44 60h32'/%3E%3C/g%3E%3C/svg%3E");
  background-size: cover, cover, 120px 120px;
}
.media-fb img { opacity: 0; }

/* ---------- 24b. SKIP LINK ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--verde);
  color: var(--preto);
  padding: .85rem 1.4rem;
  font-weight: 800;
  font-size: var(--fs-small);
  border-radius: 0 0 var(--r-sm) 0;
}
.skip:focus { left: 0; }

/* ---------- 24c. HERO ACTS ---------- */
.hero__acts { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---------- 24d. MODAL DO FILME ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(0, 0, 0, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.modal.open { opacity: 1; }
.modal[hidden] { display: none; }

.modal__box {
  width: min(1200px, 100%);
  border-radius: var(--r-md);
  overflow: hidden;
  background: #000;
  transform: scale(.97);
  transition: transform .45s var(--ease);
}
.modal.open .modal__box { transform: none; }
.modal__box video { width: 100%; height: auto; display: block; }

.modal__close {
  position: absolute;
  top: clamp(.75rem, 2.5vw, 1.75rem);
  right: clamp(.75rem, 2.5vw, 1.75rem);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--linha);
  font-size: 1.75rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .3s, color .3s, border-color .3s;
}
.modal__close:hover { background: var(--verde); color: var(--preto); border-color: var(--verde); }

/* ---------- 25. RESPONSIVO ---------- */
@media (max-width: 1080px) {
  .unit { grid-template-columns: 2.5rem minmax(0, 1fr) auto; }
  .unit__addr { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .nav__menu { display: none; }
  .nav__toggle { display: flex; }
  .nav__right .btn { display: none; }
  .mod, .mod:nth-child(even) { grid-template-columns: 1fr; }
  .mod:nth-child(even) .mod__media { order: 0; }
  .mod__media { aspect-ratio: 16 / 10; }
  .tile--a, .tile--b, .tile--c, .tile--d { grid-column: span 12; }
  .tile--b { aspect-ratio: 4/3; }
  .tile--c { aspect-ratio: 4/3; }
  .cursor { display: none; }
}

@media (max-width: 720px) {
  .unit { grid-template-columns: 1fr; row-gap: .75rem; }
  .unit__n { display: none; }
  .unit__addr { grid-column: auto; }
  .unit__acts { justify-content: flex-start; }
  .unit__cta { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 560px) {
  .hero { align-items: flex-end; }
}

/* ---------- 26. MOVIMENTO REDUZIDO ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .line > span { transform: none !important; }
  .manifesto .w { color: var(--branco); }
  .manifesto .w.accent { color: var(--verde); }
  .cursor { display: none; }
  .hero__bg, .break__bg { transform: none !important; }
}

/* ---------- 27. IMPRESSÃO ---------- */
@media print {
  .nav, .drawer, .cursor, .progress, .marquee, .hero__bg { display: none !important; }
  body { background: #fff; color: #000; }
  .doc p, .doc li { color: #000; }
}

/* ---------- 28. MARCA APLICADA ----------
   Onde o logo aparece, entra o arquivo oficial. O desenho do "+"
   tem cantos cortados que a fonte não reproduz. */

.mod__name { line-height: 1; margin-bottom: 1.25rem; }
.mod__name img {
  height: clamp(34px, 4.6vw, 62px);
  width: auto;
}

/* O "+" da marca dentro de um título, alinhado à altura das maiúsculas */
.plus-mark {
  display: inline-block;
  height: .72em;
  width: auto;
  vertical-align: baseline;
  transform: translateY(.02em);
  margin-inline: .06em;
}
