/* Carisma Santo André — site institucional
   Identidade: vermelho Carisma #B20000, vinho #571316 / #720E0E, grafite #242323.
   Tipografia: Poppins (texto e títulos) + Anton (display). */

:root {
  --red: #b20000;
  --red-hover: #8f0000;
  --wine: #571316;
  --wine-2: #720e0e;
  --ink: #141212;
  --ink-2: #242323;
  --bone: #faf8f6;
  --bone-2: #f1ece8;
  --white: #ffffff;
  --stone: #5f5856;
  --line: rgba(20, 18, 18, 0.12);
  --line-light: rgba(255, 255, 255, 0.16);

  --f-sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-display: "Anton", "Impact", "Arial Narrow Bold", sans-serif;

  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --fs-hero: clamp(2.9rem, 10vw, 8.2rem);
  --fs-h2: clamp(2.1rem, 5vw, 4.2rem);
  --fs-h3: clamp(1.25rem, 1.8vw, 1.6rem);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --sec: clamp(64px, 8vw, 120px);
  --r: 16px;
  --r-lg: clamp(20px, 2.4vw, 32px);
  --hdr: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

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

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

body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}
.dark :focus-visible,
.hero :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible { outline-color: #fff; }

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 100;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--f-sans);
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hover); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--bone-2); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-2); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.75); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: 0.9rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.45em;
  font-weight: 600; text-decoration: none;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow:hover { color: var(--red); }
.dark .link-arrow:hover { color: #fff; opacity: 0.8; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  transition: box-shadow 0.25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18); }
.hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--hdr);
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 118px; height: auto; }

.nav { display: none; }
.nav a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav a:hover { color: #fff; border-bottom-color: var(--red); }

.hdr-actions { display: flex; align-items: center; gap: 10px; }
.hdr-actions .btn--inscricao { display: none; }
@media (max-width: 400px) {
  .hdr { gap: 8px; }
  .brand img { width: 100px; }
  .hdr-actions { gap: 4px; }
  .hdr-actions .btn--sm { padding: 8px 12px; font-size: 0.84rem; gap: 0.4em; }
}

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border: 0; border-radius: 999px;
  background: transparent; color: #fff;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block; position: relative;
  width: 22px; height: 2px; background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s var(--ease), background-color 0.2s;
}
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--hdr) 0 0 0;
  z-index: 49;
  background: var(--ink);
  color: #fff;
  padding: 24px var(--gutter) 40px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu ul { display: grid; gap: 2px; }
.mobile-menu ul a {
  display: block;
  padding: 10px 0;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
  border-bottom: 1px solid var(--line-light);
}
.mobile-menu .menu-ctas { display: grid; gap: 10px; }
body.menu-open { overflow: hidden; }

@media (min-width: 1080px) {
  .nav { display: flex; gap: clamp(14px, 1.8vw, 28px); }
  .menu-toggle, .mobile-menu { display: none !important; }
  .hdr-actions .btn--inscricao { display: inline-flex; }
  .brand img { width: 132px; }
}

/* ---------- Estrutura de seções ---------- */
.sec { padding-block: var(--sec); }
.card-sec {
  margin-inline: clamp(8px, 1vw, 16px);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.dark { background: var(--ink); color: #fff; }
.dark p { color: rgba(255, 255, 255, 0.82); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.dark .eyebrow,
.hero .eyebrow { color: #fff; }
.dark .eyebrow::before,
.hero .eyebrow::before { background: var(--red); box-shadow: 0 0 0 3px rgba(178, 0, 0, 0.35); }

.h2 { font-size: var(--fs-h2); }
.h2 em,
.hero h1 em,
.cta-final em {
  font-style: italic;
  font-weight: 500;
  color: var(--red);
  letter-spacing: -0.04em;
}
.dark .h2 em,
.hero h1 em { color: #fff; font-weight: 300; }

.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.55; }
.muted { color: var(--stone); }

.sec-head {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(36px, 5vw, 64px);
}
@media (min-width: 900px) {
  .sec-head { grid-template-columns: 1.3fr 1fr; align-items: end; gap: 48px; }
  .sec-head > p { max-width: 46ch; justify-self: end; }
}

.rounded-img {
  border-radius: var(--r);
  overflow: hidden;
  background: var(--ink-2);
}
.rounded-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero ---------- */
.hero-wrap { padding-top: clamp(8px, 1vw, 16px); }
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: min(calc(100vh - var(--hdr) - 16px), 880px);
  min-height: min(calc(100svh - var(--hdr) - 16px), 880px);
  background: var(--ink);
  color: #fff;
}
.hero-media,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 18, 18, 0.15) 0%, rgba(20, 18, 18, 0.35) 40%, rgba(20, 18, 18, 0.92) 100%);
}
.hero-content {
  width: 100%;
  padding: clamp(96px, 20vh, 200px) clamp(20px, 4vw, 56px) clamp(28px, 4vw, 56px);
}
.hero h1 {
  font-size: var(--fs-hero);
  line-height: 0.92;
  letter-spacing: -0.055em;
  max-width: 11ch;
  margin-bottom: clamp(18px, 2.4vw, 28px);
}
.hero .lead {
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 18px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 26px;
}
.hero-meta strong { color: #fff; font-weight: 600; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-ctas .btn { flex: 1 1 220px; }

@media (min-width: 900px) {
  .hero::after {
    background:
      linear-gradient(90deg, rgba(20, 18, 18, 0.9) 0%, rgba(20, 18, 18, 0.55) 45%, rgba(20, 18, 18, 0.05) 75%),
      linear-gradient(180deg, rgba(20, 18, 18, 0) 55%, rgba(20, 18, 18, 0.6) 100%);
  }
  .hero-media img { object-position: 50% 30%; }
  .hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }
  .hero-ctas { justify-content: flex-end; }
  .hero-ctas .btn { flex: 0 0 auto; }
}

/* ---------- Faixa (marquee) ---------- */
.ticker {
  overflow: hidden;
  padding-block: clamp(22px, 3vw, 36px);
  border-bottom: 1px solid var(--line);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker-group {
  display: flex;
  align-items: center;
  flex: none;
}
.ticker-group span {
  font-family: var(--f-display);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  white-space: nowrap;
  padding-inline: clamp(14px, 2vw, 28px);
}
.ticker-group .star { color: var(--red); padding-inline: 0; font-family: var(--f-sans); font-size: clamp(1.4rem, 3vw, 2.4rem); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track { animation: none; }
  .ticker { overflow-x: auto; }
  .btn, .btn:hover { transition: none; transform: none; }
}

/* ---------- Sobre ---------- */
.sobre-grid { display: grid; gap: clamp(32px, 5vw, 72px); }
.sobre-text .h2 { margin-bottom: 28px; max-width: 13ch; }
.sobre-text p { max-width: 62ch; }
.sobre-media { aspect-ratio: 4 / 5; max-height: 640px; }
.missao {
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r);
  background: var(--red);
}
.missao h3 {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: 1.7rem;
  margin-bottom: 10px;
}
.missao p { color: #fff; font-size: 1.05rem; }
.since {
  display: inline-flex; gap: 10px; align-items: baseline;
  margin-top: 28px;
  font-size: 0.9rem; color: rgba(255,255,255,.75);
}
.since strong { font-family: var(--f-display); font-weight: 400; font-size: 2.2rem; color: #fff; line-height: 1; }
@media (min-width: 900px) {
  .sobre-grid { grid-template-columns: 1.25fr 1fr; align-items: start; }
  .sobre-media { position: sticky; top: calc(var(--hdr) + 24px); }
}

/* ---------- Por que Carisma ---------- */
.stats {
  display: grid;
  border-top: 1px solid var(--line);
}
.stat {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.stat-num {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(3.4rem, 7vw, 6rem);
  line-height: 0.95;
  color: var(--red);
  margin-bottom: 12px;
}
.stat h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.stat p { color: var(--stone); max-width: 34ch; }
@media (min-width: 800px) {
  .stats { grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
  .stat { padding: 36px 28px 36px 0; border-bottom: 0; }
  .stat + .stat { padding-left: 28px; border-left: 1px solid var(--line); }
}
.figure-wide { margin: clamp(40px, 5vw, 64px) 0 0; }
.figure-wide .rounded-img { aspect-ratio: 16 / 9; }
.figure-wide img { object-position: 50% 62%; }
.figure-wide figcaption { margin-top: 12px; font-size: var(--fs-small); color: var(--stone); }
@media (min-width: 900px) { .figure-wide .rounded-img { aspect-ratio: 21 / 9; } }

/* ---------- Para quem ---------- */
.paraquem {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 70vh, 760px);
  display: flex;
  align-items: flex-end;
  padding: clamp(16px, 3vw, 40px);
  background: var(--ink);
}
.paraquem > picture img { object-position: 60% 70%; }
.paraquem > picture img,
.paraquem > picture {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -1;
}
.paraquem-box {
  width: 100%;
  max-width: 560px;
  background: var(--red);
  color: #fff;
  border-radius: var(--r);
  padding: clamp(24px, 4vw, 44px);
}
.paraquem-box .h2 { margin-bottom: 18px; font-size: clamp(2rem, 4vw, 3.4rem); }
.paraquem-box p { color: #fff; font-size: 1.08rem; }
.paraquem-box .big {
  display: block;
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 0.005em;
}

/* ---------- Metodologia ---------- */
.metodo-grid { display: grid; gap: clamp(24px, 4vw, 64px); }
.metodo-grid .h2 { max-width: 12ch; }
.metodo-grid p { max-width: 62ch; }
.metodo-tag {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bone-2);
  font-weight: 600;
  font-size: 0.9rem;
}
.metodo-img { margin-top: clamp(36px, 5vw, 64px); aspect-ratio: 16 / 7; }
@media (min-width: 900px) {
  .metodo-grid { grid-template-columns: 1fr 1.2fr; align-items: start; }
  .metodo-img { aspect-ratio: 4 / 1; }
}

/* ---------- Cursos ---------- */
.cursos-img { aspect-ratio: 16 / 7; margin-bottom: clamp(32px, 4vw, 48px); }
@media (min-width: 900px) { .cursos-img { aspect-ratio: 4 / 1; } }
.cursos-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .cursos-grid { grid-template-columns: 1.15fr 1fr; } }
.curso {
  display: flex;
  flex-direction: column;
  border-radius: var(--r);
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--red);
}
.curso--master { background: var(--wine); }
.curso-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.curso-num {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #fff; color: var(--ink);
  font-weight: 700; font-size: 0.95rem;
}
.curso h3 {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1;
}
.curso-list {
  display: grid;
  gap: 0 24px;
  margin-bottom: 24px;
  counter-reset: disc;
}
.curso-list li {
  counter-increment: disc;
  display: flex; gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.98rem;
  line-height: 1.35;
}
.curso-list li::before {
  content: counter(disc, decimal-leading-zero);
  flex: none;
  min-width: 1.6em;
  font-size: 0.78rem;
  font-weight: 600;
  padding-top: 0.2em;
  color: rgba(255, 255, 255, 0.65);
}
@media (min-width: 560px) { .curso-list { grid-template-columns: 1fr 1fr; } }
.curso-meta {
  margin-top: auto;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.chip {
  display: inline-flex; align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.86rem;
  font-weight: 500;
}

/* ---------- Investimento ---------- */
.planos { display: grid; gap: 16px; }
@media (min-width: 900px) { .planos { grid-template-columns: 1fr 1fr; } }
.plano {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 3.4vw, 40px);
}
.plano-tag {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.plano--master .plano-tag { background: var(--wine); }
.plano h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: 6px; }
.plano .modalidade { color: var(--stone); margin-bottom: 22px; }
.preco {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px;
  padding-block: 18px;
  border-block: 1px solid var(--line);
  margin-bottom: 20px;
}
.preco strong {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0.005em;
}
.preco span { color: var(--stone); font-size: 0.95rem; }
.plano-list { display: grid; gap: 10px; margin-bottom: 26px; }
.plano-list li { display: flex; gap: 12px; line-height: 1.45; }
.plano-list li::before {
  content: "";
  flex: none;
  width: 8px; height: 8px;
  margin-top: 0.5em;
  border-radius: 50%;
  background: var(--red);
}
.plano--master .plano-list li::before { background: var(--wine); }
.plano .btn { margin-top: auto; }
.plano .nota { margin-top: 12px; font-size: var(--fs-small); color: var(--stone); }

.extras { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 900px) { .extras { grid-template-columns: 1fr 1fr; } }
.extra {
  border-radius: var(--r);
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--bone-2);
}
.extra h3 { font-size: var(--fs-h3); margin-bottom: 14px; }
.extra.dark { background: var(--ink); }
.extra.dark h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.extra small { display: block; margin-top: 10px; color: rgba(255,255,255,.7); font-size: var(--fs-small); }

/* ---------- Unidade / contato ---------- */
.unidade-grid { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 900px) { .unidade-grid { grid-template-columns: 1fr 1fr; align-items: center; } }
.unidade-img { aspect-ratio: 3 / 2; }
.unidade-title {
  font-family: var(--f-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin-bottom: 28px;
}
.info-list { display: grid; margin-bottom: 28px; border-top: 1px solid var(--line-light); }
.info-list > div {
  display: grid;
  gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-light);
}
.info-list dt {
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.info-list dd { margin: 0; color: #fff; overflow-wrap: anywhere; }
.info-list dd a { text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
@media (min-width: 560px) {
  .info-list > div { grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; }
}
.contact-ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- CTA final ---------- */
.cta-final { text-align: center; }
.cta-final .h2 { font-size: clamp(2.4rem, 7vw, 6rem); max-width: 14ch; margin: 0 auto 20px; }
.cta-final p { max-width: 52ch; margin: 0 auto 32px; color: var(--stone); }
.cta-final .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Rodapé ---------- */
.site-footer {
  background: var(--ink);
  color: #fff;
  margin-top: clamp(8px, 1vw, 16px);
  padding-top: clamp(56px, 7vw, 96px);
}
.ft-top {
  display: grid;
  gap: 28px;
  align-items: center;
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line-light);
}
.ft-top img { width: 112px; }
.ft-claim {
  font-family: var(--f-display);
  text-transform: uppercase;
  font-size: clamp(2.2rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: 0.005em;
  margin: 0;
}
.ft-claim span { color: #ff5c5c; }
@media (min-width: 900px) { .ft-top { grid-template-columns: auto 1fr; gap: 48px; } }
.ft-cols {
  display: grid;
  gap: 32px;
  padding-block: clamp(36px, 5vw, 56px);
}
@media (min-width: 640px) { .ft-cols { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .ft-cols { grid-template-columns: repeat(4, 1fr); } }
.ft-cols h2 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
}
.ft-cols p,
.ft-cols li { color: rgba(255, 255, 255, 0.86); font-size: 0.95rem; overflow-wrap: anywhere; }
.ft-cols ul { display: grid; gap: 8px; }
.ft-cols a { text-decoration: none; }
.ft-cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ft-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-block: 24px;
  border-top: 1px solid var(--line-light);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);
}

/* ---------- Página 404 ---------- */
.notfound {
  min-height: calc(100svh - var(--hdr) - 32px);
  display: grid; place-items: center;
  text-align: center;
  padding: 64px var(--gutter);
}
.notfound .code {
  font-family: var(--f-display);
  font-size: clamp(6rem, 22vw, 14rem);
  line-height: 0.9;
  color: var(--red);
}
.notfound h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin: 12px 0 16px; }
.notfound p { color: var(--stone); max-width: 44ch; margin: 0 auto 28px; }
.notfound .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* ---------- Link secundário de WhatsApp ---------- */
.link-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45em;
  margin-top: 12px;
  font-size: 0.92rem; font-weight: 600;
  color: var(--ink);
  text-underline-offset: 3px;
}
.link-wa svg { width: 1.1em; height: 1.1em; }
.link-wa:hover { color: var(--red); }
.ft-bottom a { color: inherit; text-underline-offset: 3px; }
.ft-bottom a:hover { color: #fff; }

/* ---------- Páginas internas ---------- */
.page-head {
  padding: clamp(48px, 7vw, 96px) clamp(20px, 4vw, 56px);
}
.page-head h1 {
  font-size: clamp(2.4rem, 7vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  max-width: 14ch;
  margin-bottom: 18px;
}
.page-head h1 em { font-style: italic; font-weight: 300; }
.page-head .lead { max-width: 56ch; color: rgba(255, 255, 255, 0.86); }

/* ---------- Política de privacidade ---------- */
.prose { max-width: 76ch; }
.prose h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin: clamp(40px, 5vw, 56px) 0 14px;
  scroll-margin-top: calc(var(--hdr) + 16px);
}
.prose h3 { font-size: 1.15rem; letter-spacing: -0.02em; margin: 26px 0 8px; }
.prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: var(--red); text-underline-offset: 3px; }
.prose strong { font-weight: 600; }
.resumo {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: var(--r);
  padding: clamp(22px, 3vw, 32px);
}
.resumo h2 { margin-top: 0; }
.toc { margin-top: 28px; }
.toc ol { padding-left: 1.3em; margin: 0; columns: 2 220px; column-gap: 32px; }
.toc li { margin-bottom: 6px; break-inside: avoid; }
.table-wrap { overflow-x: auto; margin: 0 0 1.2em; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.table-wrap th, .table-wrap td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.table-wrap tr:last-child th, .table-wrap tr:last-child td { border-bottom: 0; }
.table-wrap th { width: 28%; font-weight: 600; background: var(--bone-2); }
.placeholder {
  background: #fff3b0;
  color: #5a4500;
  border: 1px dashed #b38f00;
  border-radius: 4px;
  padding: 0 6px;
  font-weight: 700;
}
.updated { margin-top: 40px; color: var(--stone); font-size: var(--fs-small); }

/* ---------- Formulário de inscrição ---------- */
.insc-grid { display: grid; gap: clamp(28px, 4vw, 56px); }
@media (min-width: 960px) { .insc-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }
.insc-aside .h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.insc-aside .plano-list { margin-top: 18px; }
@media (min-width: 960px) { .insc-aside { position: sticky; top: calc(var(--hdr) + 24px); } }
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(20px, 3.4vw, 40px);
}
.alert {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 24px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fdecec;
  border: 1px solid #f1b5b5;
  color: #6e0000;
}
.alert[hidden] { display: none; }
.alert strong { display: block; margin-bottom: 2px; }
.alert a { color: inherit; font-weight: 600; }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
.field { display: grid; gap: 6px; min-width: 0; }
.field label,
.field legend { font-weight: 600; font-size: 0.95rem; }
.req { color: var(--red); }
.hint { font-size: 0.82rem; color: var(--stone); }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid #cfc8c4;
  border-radius: 12px;
  background: var(--bone);
  color: var(--ink);
  font: 400 1rem/1.4 var(--f-sans);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(178, 0, 0, 0.18);
}
.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid { border-color: var(--red); background: #fff6f6; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.radios { display: grid; gap: 10px; margin-top: 4px; }
@media (min-width: 480px) { .radios { grid-template-columns: 1fr 1fr; } }
.radio {
  position: relative;
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  border: 1.5px solid #cfc8c4;
  border-radius: 12px;
  background: var(--bone);
  cursor: pointer;
  font-weight: 400;
}
.radio input { margin: 4px 0 0; accent-color: var(--red); width: 18px; height: 18px; flex: none; }
.radio span strong { display: block; font-weight: 600; }
.radio span small { color: var(--stone); font-size: 0.85rem; }
.radio:has(input:checked) { border-color: var(--red); background: #fff; box-shadow: 0 0 0 3px rgba(178, 0, 0, 0.12); }
.radio:has(input:focus-visible) { outline: 3px solid var(--red); outline-offset: 2px; }
.check {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 0.95rem;
  cursor: pointer;
}
.check input { margin: 3px 0 0; width: 20px; height: 20px; accent-color: var(--red); flex: none; }
.check a { color: var(--red); font-weight: 600; text-underline-offset: 3px; }
.hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-actions { display: grid; gap: 12px; margin-top: 8px; }
.form-actions .btn { width: 100%; }
.form-actions .btn[disabled] { opacity: 0.65; cursor: progress; transform: none; }
.form-actions p { font-size: var(--fs-small); color: var(--stone); text-align: center; margin: 0; }

/* ---------- Inscrição recebida ---------- */
.done-icon {
  display: inline-grid; place-items: center;
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--red); color: #fff;
  margin-bottom: 20px;
}
.done-icon svg { width: 36px; height: 36px; }
.field label.radio,
.field label.check { font-weight: 400; font-size: 0.95rem; }
.prose { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .table-wrap table { min-width: 0; }
  .table-wrap tr, .table-wrap th, .table-wrap td { display: block; width: auto; }
  .table-wrap th { border-bottom: 0; padding-bottom: 6px; }
  .table-wrap td { padding-top: 8px; }
  .table-wrap tr:not(:last-child) td { border-bottom: 1px solid var(--line); }
}
.form-grid { align-items: start; }
.field { align-content: start; }
