/* Juventude Radicalize · site público
   Identidade: vermelho #E91D24, preto #191819, cinza #F1F1F1, branco. Tipografia de apoio: Sora. */

:root {
  --red: #e91d24;
  --red-dark: #c3141a;
  --ink: #191819;
  --ink-2: #232223;
  --ink-3: #2e2d2e;
  --light: #f1f1f1;
  --white: #ffffff;
  --muted: #6b696b;
  --muted-dark: #a3a1a3;
  --line: rgba(25, 24, 25, 0.12);
  --line-dark: rgba(255, 255, 255, 0.14);
  --accent: var(--red);
  --on-accent: #ffffff;
  --error: #c3141a;
  --radius: 18px;
  --maxw: 1180px;
  --font: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--light);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, blockquote, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* Títulos: Sora ExtraBold em caixa alta (hierarquia "subtítulo/destaque" do manual) */
.display {
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.03em;
}
/* Rótulos finos e espaçados, como "PALETA DE CORES" no manual */
.kicker, .eyebrow {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.section-title { font-size: clamp(2.4rem, 6.5vw, 4.5rem); }

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.5em;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform 0.15s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn-accent { background: var(--red); color: var(--white); }
.btn-accent:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; border-color: currentColor; }
.btn-lg { padding: 1.1em 1.75em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

/* Topo */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: block; }
.brand img { height: 30px; width: auto; }
.topnav { display: flex; align-items: center; gap: 4px; }
.topnav a { padding: 8px 14px; border-radius: 999px; font-size: 0.88rem; text-decoration: none; color: var(--muted-dark); transition: color 0.15s, background-color 0.15s; }
.topnav a:hover { color: var(--white); }
.topnav .topnav-cta { margin-left: 6px; background: var(--red); color: var(--white); font-weight: 600; }
.topnav .topnav-cta:hover { background: var(--red-dark); }

/* Hero: painel vermelho com a frase + painel preto com o "!" (como o outdoor do manual) */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  min-height: clamp(560px, calc(100svh - 66px), 780px);
  background: var(--ink);
  color: var(--white);
}
.hero-main {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(56px, 8vw, 104px) clamp(32px, 5vw, 72px) clamp(48px, 6vw, 80px) max(24px, calc((100vw - var(--maxw)) / 2 + 24px));
  background: var(--red);
}
.hero-title {
  max-width: 13em;
  font-size: clamp(2.6rem, 4.6vw, 4.5rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.035em;
}
.hero-title strong { font-weight: 800; }
.hero-title .bang { color: var(--ink); font-weight: 800; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(32px, 4vw, 48px); }
.hero-side { position: relative; overflow: hidden; background: var(--ink); }
.hero-side img { position: absolute; top: 13%; left: 50%; height: 74%; width: auto; max-width: none; transform: translateX(-44%); animation: bang-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.hero-bang { display: none; }
@keyframes bang-in { from { opacity: 0; transform: translate(-44%, 12%) rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .hero-side img { animation: none; } }

/* Padronagem do manual */
.pattern-strip { height: 56px; background: var(--white) url("../img/brand/padrao.svg") 0 0 / 48px 60px repeat; }

/* Eventos */
.events { padding: clamp(64px, 9vw, 112px) 0 clamp(80px, 10vw, 128px); background: var(--light); }
.events .kicker { color: var(--muted); }
.events-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.events-head .section-title { margin-top: 14px; }
.events-sub { max-width: 22rem; color: var(--muted); font-weight: 300; }
.events-empty { padding: 40px; border-radius: var(--radius); background: var(--white); color: var(--muted); }
.event-list { display: grid; gap: 16px; }
.event-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px 24px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius);
  background: var(--white);
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(25, 24, 25, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.event-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -20px rgba(25, 24, 25, 0.35); }
.event-date {
  display: grid;
  place-content: center;
  justify-items: center;
  width: 108px;
  height: 108px;
  border-radius: 14px;
  background: var(--red);
  color: var(--white);
  text-align: center;
}
.event-day { font-weight: 800; font-size: 1.9rem; line-height: 1; letter-spacing: -0.03em; }
.event-month { margin-top: 6px; font-size: 0.7rem; font-weight: 300; letter-spacing: 0.24em; text-transform: uppercase; }
.event-kicker { font-size: 0.72rem; font-weight: 300; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.event-name { margin-top: 6px; font-size: clamp(1.7rem, 4vw, 2.6rem); }
.event-meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 0.88rem; color: var(--muted); }
.event-meta span { display: inline-flex; align-items: center; gap: 8px; }
.event-meta .icon { color: var(--red); }
.event-cta {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.95em 1.4em;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background-color 0.15s ease;
}
.event-card:hover .event-cta { background: var(--red); }
@media (min-width: 760px) {
  .event-card { grid-template-columns: auto 1fr auto; padding: 18px 28px 18px 18px; gap: 28px; }
  .event-date { width: 128px; height: 128px; }
  .event-day { font-size: 2.3rem; }
  .event-cta { grid-column: auto; }
}

/* Rodapé */
.footer { background: var(--ink); color: var(--white); padding: 64px 0 28px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.footer-logo { width: 200px; height: auto; }
.footer-church { margin-top: 16px; color: var(--muted-dark); font-size: 0.85rem; font-weight: 300; max-width: 24rem; }
.footer-links { display: grid; gap: 12px; align-content: start; font-size: 0.92rem; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #d6d4d6; }
.footer-links a:hover { color: var(--white); }
.footer-links .icon { color: var(--red); }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 0.8rem; font-weight: 300; color: var(--muted-dark); }
.footer-bottom strong { font-weight: 700; color: var(--white); }

/* "!" gigante decorativo nas páginas escuras */
.ev-hero, .notice { position: relative; overflow: hidden; }
.ev-hero::after, .notice::after {
  content: "";
  position: absolute;
  top: -8%;
  right: -3%;
  width: min(42vw, 420px);
  height: 116%;
  background: url("../img/brand/exclamacao-vermelha.svg") right center / contain no-repeat;
  pointer-events: none;
}

/* Página de evento */
.ev-hero { background: var(--ink); color: var(--white); }
.ev-hero-inner { position: relative; z-index: 1; padding-top: 32px; padding-bottom: clamp(48px, 7vw, 96px); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted-dark); text-decoration: none; margin-bottom: clamp(32px, 6vw, 64px); }
.back-link:hover { color: var(--white); }
.ev-hero .eyebrow { color: var(--muted-dark); }
.ev-title { margin-top: 14px; font-size: clamp(3rem, 11vw, 7.5rem); max-width: 14ch; }
.ev-sub { margin-top: 20px; max-width: 34rem; font-size: clamp(1.02rem, 1.6vw, 1.2rem); font-weight: 300; color: #d6d4d6; }
.chips { list-style: none; padding: 0; margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: var(--ink-3); font-size: 0.85rem; }
.chips .icon { color: var(--red); }

.ev-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 32px; padding-bottom: 96px; }
.ev-summary { order: -1; }
.summary-card { padding: 28px; border-radius: var(--radius); background: var(--white); box-shadow: 0 18px 40px -26px rgba(25, 24, 25, 0.35); }
.summary-label { font-size: 0.72rem; font-weight: 300; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); }
.summary-price { margin-top: 8px; font-weight: 800; font-size: 2.6rem; line-height: 1; letter-spacing: -0.03em; }
.summary-installments { margin-top: 8px; color: var(--muted); font-size: 0.9rem; font-weight: 300; }
.summary-pay { list-style: none; padding: 20px 0 0; margin: 20px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.summary-pay li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; }
.summary-pay .icon { color: var(--red); }
.summary-spots { margin-top: 16px; display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600; }
.summary-cta { margin-top: 24px; }

.ev-about { display: grid; gap: 16px; font-size: 1.05rem; font-weight: 300; line-height: 1.7; }

.signup { margin-top: 48px; padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--white); scroll-margin-top: 90px; }
.signup-head h2 { font-size: clamp(2rem, 5vw, 2.8rem); }
.signup-head p { margin-top: 8px; color: var(--muted); font-weight: 300; }
.form-section { margin: 36px 0 0; padding: 0; border: 0; min-width: 0; }
.form-section legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px; font-weight: 700; font-size: 1.05rem; }
.step { display: inline-grid; place-items: center; min-width: 34px; height: 26px; padding: 0 8px; border-radius: 999px; background: var(--red); color: var(--white); font-size: 0.72rem; font-weight: 700; }
.section-hint { margin: -8px 0 16px; color: var(--muted); font-size: 0.88rem; font-weight: 300; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .field-wide { grid-column: 1 / -1; }
}
.field label { display: block; margin-bottom: 6px; font-size: 0.85rem; font-weight: 600; }
.field label em, .check-label em { font-style: normal; font-weight: 300; color: var(--muted); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  background: var(--light);
  font-size: 0.98rem;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23191819' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field textarea { min-height: 84px; resize: vertical; }
/* Lista aberta desenhada nos navegadores que permitem (Chrome, Edge); nos outros fica a nativa */
@supports (appearance: base-select) {
  .field select, .field select::picker(select) { appearance: base-select; }
  .field select { display: flex; align-items: center; }
  .field select::picker-icon { display: none; } /* a seta continua sendo a imagem de fundo */
  .field select::picker(select) {
    margin-block: 6px; padding: 6px; min-width: anchor-size(width); max-height: min(360px, 55vh);
    border: 1px solid var(--line); border-radius: 14px; background: var(--white);
    box-shadow: 0 16px 40px rgba(25, 24, 25, 0.18), 0 2px 6px rgba(25, 24, 25, 0.06);
  }
  .field select option { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 10px; font-size: 0.98rem; cursor: pointer; }
  .field select option:hover, .field select option:focus-visible { background: var(--light); outline: none; }
  .field select option:checked { font-weight: 600; background: #fdecec; }
  .field select option::checkmark { order: 1; margin-inline-start: auto; content: "✓"; color: var(--accent); font-weight: 700; }
  .field select option[value=""] { display: none; }
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: var(--white); border-color: var(--ink); box-shadow: 0 0 0 4px rgba(233, 29, 36, 0.18); }
.field input::placeholder, .field textarea::placeholder { color: #9d9b9d; }
.has-error input:not([type="checkbox"]), .has-error select, .has-error textarea { border-color: var(--error); background-color: #fff5f5; }
.field-error { margin-top: 6px; font-size: 0.82rem; font-weight: 600; color: var(--error); }
.field[hidden] { display: none; }

.check, .field .check { display: flex; align-items: flex-start; gap: 12px; margin: 0; cursor: pointer; font-size: 0.9rem; font-weight: 400; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border: 1.5px solid #c9c7c9; border-radius: 7px; background: var(--white); color: transparent; transition: background-color 0.15s, border-color 0.15s; }
.check-box .icon { width: 16px; height: 16px; stroke-width: 3; }
.check input:checked + .check-box { background: var(--red); border-color: var(--red); color: var(--white); }
.check input:focus-visible + .check-box { outline: 3px solid var(--red); outline-offset: 2px; }
.has-error .check-box { border-color: var(--error); }
.group-label { margin: 0 0 10px; font-size: 0.85rem; font-weight: 600; }
.group-label em { font-style: normal; font-weight: 300; color: var(--muted); }
.choice-list { display: grid; gap: 10px; }
@media (min-width: 640px) { .choice-list { grid-template-columns: 1fr 1fr; } }
.check-radio .check-box { border-radius: 50%; }

.pay-options { display: grid; gap: 12px; }
@media (min-width: 640px) { .pay-options { grid-template-columns: 1fr 1fr; } }
.pay-option { position: relative; cursor: pointer; }
.pay-option input { position: absolute; opacity: 0; }
.pay-option-body { display: grid; gap: 6px; height: 100%; padding: 18px 20px; border: 2px solid transparent; border-radius: 14px; background: var(--light); transition: border-color 0.15s, background-color 0.15s; }
.pay-option-title { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.pay-option-title .icon { color: var(--red); }
.pay-option-text { font-size: 0.86rem; font-weight: 300; color: var(--muted); }
.pay-option input:checked + .pay-option-body { border-color: var(--red); background: #fff5f5; }
.pay-option input:focus-visible + .pay-option-body { outline: 3px solid var(--red); outline-offset: 2px; }
.pay-options.has-error .pay-option-body { border-color: var(--error); }
.pay-note { display: flex; align-items: flex-start; gap: 10px; padding: 16px 18px; border-radius: 14px; background: var(--light); font-size: 0.92rem; }
.pay-note .icon { margin-top: 3px; color: var(--red); }

.signup-submit { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.submit-total { color: var(--muted); font-weight: 300; }
.submit-total strong { color: var(--ink); font-weight: 700; }

.alert { margin-top: 24px; padding: 14px 18px; border-radius: 12px; font-weight: 600; font-size: 0.92rem; }
.alert-error { background: #fde8e8; color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.closed-box { margin-top: 48px; padding: 28px; border-radius: var(--radius); background: var(--white); display: grid; gap: 12px; justify-items: start; }
.closed-box h2 { font-size: 1.3rem; }

@media (min-width: 980px) {
  .ev-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; padding-top: 64px; }
  .ev-summary { order: 2; }
  .summary-card { position: sticky; top: 96px; }
  .ev-content { order: 1; }
}

/* Páginas de aviso (obrigado, 404, checkout de teste) */
.page-dark { background: var(--ink); color: var(--white); }
.notice { min-height: calc(100vh - 66px); background: var(--ink); }
.notice::after { opacity: 0.9; }
.notice-inner { position: relative; z-index: 1; max-width: 760px; padding-top: clamp(48px, 9vw, 112px); padding-bottom: 96px; }
.notice .eyebrow { color: var(--muted-dark); margin-top: 24px; }
.notice-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ink-3); color: var(--red); }
.notice-icon .icon { width: 28px; height: 28px; }
.notice-icon-ok { background: var(--red); color: var(--white); }
.notice-title { margin-top: 12px; font-size: clamp(2.6rem, 9vw, 5.5rem); }
.notice-text { margin-top: 20px; font-size: 1.08rem; font-weight: 300; color: #d6d4d6; max-width: 34rem; }
.notice-text strong { color: var(--white); font-weight: 700; }
.notice-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }
.balance-note { margin-top: 20px; padding: 16px 18px; max-width: 34rem; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.05); color: #d6d4d6; display: grid; gap: 12px; justify-items: start; }
.balance-note p { margin: 0; }
.balance-note strong { color: var(--white); }
.balance-note-hint { font-size: 0.9rem; }
.notice .alert { max-width: 34rem; }
.receipt { margin-top: 40px; padding: 4px 24px; border-radius: var(--radius); background: var(--ink-2); max-width: 34rem; }
.receipt div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); font-size: 0.92rem; }
.receipt div:last-child { border-bottom: 0; }
.receipt dt { color: var(--muted-dark); font-weight: 300; }
.receipt dd { text-align: right; font-weight: 600; }
.receipt-code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 1rem; letter-spacing: 0.06em; color: var(--red); }
.notice-links { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.9rem; font-weight: 300; }
.notice-links a { color: var(--muted-dark); text-underline-offset: 4px; }
.notice-links a:hover { color: var(--white); }
.test-checkout { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.test-checkout-card { display: inline-flex; gap: 8px; align-items: center; }
.test-checkout select { height: 50px; padding: 0 14px; border-radius: 999px; border: 2px solid var(--line-dark); background: var(--ink-2); }


/* Etapas da inscrição */
.steps { list-style: none; padding: 20px 0 0; margin: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 0.86rem; color: var(--muted); }
.steps li { display: flex; align-items: flex-start; gap: 10px; }
.steps span { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--white); font-size: 0.7rem; font-weight: 700; }
.progress { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.progress li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--ink-3); color: var(--muted-dark); font-size: 0.82rem; font-weight: 600; }
.progress li .icon { width: 14px; height: 14px; stroke-width: 3; }
.progress li.done { background: var(--red); color: var(--white); }
.progress li.current { background: var(--white); color: var(--ink); }
.mono-code { font-family: ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: 0.06em; color: var(--red); }
.ficha-wrap { max-width: 860px; padding-top: 32px; padding-bottom: 96px; }
.ficha-wrap .signup { margin-top: 0; }
.ficha-wrap .closed-box { margin-top: 0; }
.success-box { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; padding: 24px; border-radius: var(--radius); background: var(--ink); color: var(--white); }
.success-box .notice-icon { flex: none; width: 52px; height: 52px; }
.success-box h2 { font-size: 1.3rem; font-weight: 800; }
.success-box p { margin-top: 6px; color: #d6d4d6; font-weight: 300; }
.info-box { margin-bottom: 20px; padding: 14px 18px; border-radius: 12px; background: var(--white); font-size: 0.9rem; color: var(--muted); }

/* Termo de autorização */
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.termo-text { display: grid; gap: 14px; margin-bottom: 22px; padding: 22px 24px; border-radius: 14px; background: var(--light); font-size: 0.95rem; line-height: 1.65; }
.termo-campo { padding: 0 4px; border-radius: 4px; background: var(--white); font-weight: 600; }
.termo-doc { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--white); }
.termo-doc header { margin-bottom: 22px; }
.termo-doc h2 { margin-top: 6px; font-size: 1.3rem; font-weight: 800; }
.termo-answers { display: grid; gap: 12px; margin: 0 0 22px; }
.termo-answers dt { font-size: 0.86rem; font-weight: 600; }
.termo-answers dd { margin: 2px 0 0; color: var(--muted); }
.termo-sign { padding-top: 16px; border-top: 1px solid var(--line); }
.termo-sign-name { font-size: 1.1rem; font-weight: 700; }
.termo-sign-meta { margin-top: 4px; color: var(--muted); font-size: 0.82rem; }
.termo-print { margin-top: 16px; }

/* Assinatura: botão no formulário + janela em tela cheia (paisagem no celular) */
.signature-field { display: grid; gap: 10px; justify-items: start; margin-top: 8px; }
.page-termo .termo-signature-note { margin: 14px 0 18px; line-height: 1.55; }
.signature-preview { width: 100%; max-width: 420px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); }
.signature-preview svg { width: 100%; height: auto; }
.signature-open .icon { width: 18px; height: 18px; }
.signature-status { margin: 0; font-size: 0.86rem; color: var(--muted); }
.signature-status.is-error { color: var(--error); font-weight: 600; }
.signature-lock, .signature-lock body { overflow: hidden; overscroll-behavior: none; }
.signature-modal { position: fixed; inset: 0; z-index: 1000; background: var(--ink); }
.signature-modal[hidden] { display: none; }
.signature-stage { position: fixed; top: 0; left: 0; display: flex; flex-direction: column; gap: 10px; padding: max(12px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); background: var(--ink); color: var(--white); }
.signature-stage.is-rotated { transform-origin: top left; transform: rotate(90deg) translateY(-100%); }
.signature-bar { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.signature-bar p { margin: 0; font-size: 0.95rem; font-weight: 600; }
.signature-x { flex: none; width: 40px; height: 40px; border: 1px solid var(--line-dark); border-radius: 50%; background: transparent; color: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.signature-bar-actions { justify-content: flex-end; }
.signature-bar-actions .btn { padding: 0.75em 1.4em; }
.signature-bar-actions .btn-ghost { color: var(--white); }
.signature-area { position: relative; flex: 1; min-height: 0; display: grid; place-items: center; }
.signature-area canvas { display: block; background: var(--white); border-radius: 12px; touch-action: none; cursor: crosshair; }
@media print {
  .no-print, .topbar, .footer { display: none !important; }
  body.page-termo { background: #fff; }
  .page-termo .ficha-wrap { padding: 0; max-width: none; }
  .termo-doc { padding: 0; }
  .termo-text { padding: 0; background: none; }
}
.signup-head p strong { color: var(--ink); font-weight: 600; }

/* Tablet e celular: um painel só, com o "!" preto no canto de baixo */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-side { display: none; }
  .hero-main { padding: 48px 24px 56px; }
  .hero-bang { display: block; position: absolute; right: -10px; bottom: -30px; height: 190px; width: auto; transform: rotate(4deg); pointer-events: none; }
  .hero-title { position: relative; font-size: clamp(2.2rem, 7vw, 3.4rem); }
  .hero-actions { position: relative; }
}

/* Celular */
@media (max-width: 640px) {
  /* só as laterais: não pode zerar o padding vertical das seções */
  .wrap { padding-left: 16px; padding-right: 16px; }
  .topbar-inner { height: 58px; }
  .brand img { height: 24px; }
  .topnav a:not(.topnav-cta) { display: none; }
  .topnav .topnav-cta { padding: 8px 14px; font-size: 0.85rem; }
  .kicker, .eyebrow { font-size: 0.68rem; letter-spacing: 0.2em; }

  .hero-main { padding: 40px 16px 48px; }
  .hero-bang { height: 150px; right: -8px; bottom: -28px; }
  .hero-title { font-size: clamp(2rem, 9.6vw, 2.6rem); }
  .hero-actions .btn { padding: 1em 1.3em; font-size: 0.95rem; }
  .pattern-strip { height: 40px; background-size: 36px 45px; }

  .events { padding-top: 48px; padding-bottom: 64px; }
  .events-head { margin-bottom: 24px; }
  .event-card { grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; padding: 14px; }
  .event-date { width: 76px; height: 76px; border-radius: 12px; }
  .event-day { font-size: 1.3rem; }
  .event-month { font-size: 0.62rem; letter-spacing: 0.16em; }
  .event-kicker { font-size: 0.64rem; letter-spacing: 0.16em; }
  .event-name { font-size: clamp(1.3rem, 7vw, 1.6rem); }
  .event-meta { flex-direction: column; gap: 4px; font-size: 0.82rem; }

  /* páginas escuras: "!" menor, só como detalhe no canto */
  .ev-hero::after, .notice::after { top: 12px; right: -40px; width: 150px; height: 260px; opacity: 0.9; }
  .ev-hero-inner { padding-top: 20px; padding-bottom: 40px; }
  .back-link { margin-bottom: 28px; }
  .ev-title { font-size: clamp(2rem, 11.2vw, 3.2rem); max-width: 100%; }
  .ev-sub { font-size: 0.98rem; padding-right: 40px; }
  .chips { margin-top: 20px; gap: 8px; }
  .chips li { font-size: 0.8rem; padding: 8px 12px; }
  .progress li { font-size: 0.76rem; padding: 7px 12px; }

  .ev-layout { gap: 20px; padding-top: 20px; padding-bottom: 64px; }
  .summary-card { padding: 22px; }
  .summary-price { font-size: 2.2rem; }
  .ev-about { font-size: 1rem; }
  .signup { margin-top: 32px; padding: 22px 18px; }
  .signup-head h2 { font-size: 1.9rem; }
  .form-section legend { font-size: 1rem; }
  .signup-submit .btn { width: 100%; }
  .ficha-wrap { padding-top: 20px; padding-bottom: 64px; }
  .success-box { padding: 18px; gap: 14px; }

  .notice { min-height: calc(100vh - 58px); }
  .notice-inner { padding-top: 40px; padding-bottom: 64px; }
  .notice-title { font-size: clamp(1.9rem, 9.4vw, 2.8rem); }
  .notice-text { font-size: 1rem; }
  .notice-actions .btn { width: 100%; }
  .receipt { padding: 4px 18px; }
  .receipt div { flex-direction: column; gap: 2px; }
  .receipt dd { text-align: left; }
  .test-checkout, .test-checkout-card { width: 100%; }
  .test-checkout .btn { flex: 1; }

  .footer { padding-top: 48px; }
  .footer-logo { width: 170px; }
}

@media (max-width: 350px) {
  .hero-bang { height: 112px; right: -6px; bottom: -22px; }
}
@media (max-width: 339px) {
  .hero-bang { display: none; }
}

/* iPhone dá zoom em campos com fonte menor que 16px */
@media (max-width: 980px) {
  .field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea { font-size: 16px; }
}

/* Avisos extras do formulário */
.alert-warn { background: #fff4db; color: #6b4a00; font-weight: 500; display: grid; gap: 10px; justify-items: start; }
.alert-warn p { margin: 0; }
.alert-warn a, .alert-error a { color: inherit; font-weight: 700; }
.alert-warn .btn { margin-top: 2px; }
.signup-already { margin-top: 8px; font-size: 0.92rem; color: var(--muted); }
.signup-already a { color: var(--ink); font-weight: 600; }

/* Minha inscrição */
.page-area .ev-hero-inner { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(28px, 4vw, 44px); }
.page-area .ev-title { font-size: clamp(2.4rem, 7vw, 4.5rem); }
.area-wrap { padding-top: 32px; padding-bottom: 80px; display: grid; gap: 24px; }
.area-wrap > * { width: 100%; max-width: 860px; }
.area-login { max-width: 560px; }
.area-login .form-grid { margin-top: 24px; }
.area-wrap > .area-login-shell { max-width: none; }
.area-login-aside { display: none; }

/* Desktop: formulário + painel escuro lado a lado, num bloco só */
@media (min-width: 900px) {
  .area-login-shell { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: 0 24px 60px -36px rgba(25, 24, 25, 0.45); }
  .area-login-shell .area-login { max-width: none; margin: 0; border-radius: 0; padding: clamp(32px, 4vw, 56px); }
  .area-login-aside { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: clamp(32px, 4vw, 56px); background: var(--ink); color: var(--white); }
  .area-login-aside::after { content: ""; position: absolute; right: -36px; bottom: -40px; width: 150px; height: 260px; background: url("../img/brand/exclamacao-vermelha.svg") right bottom / contain no-repeat; opacity: 0.18; transform: rotate(8deg); pointer-events: none; }
  .area-login-aside > * { position: relative; z-index: 1; }
  .area-login-aside .eyebrow { color: var(--muted-dark); }
  .area-login-aside h2 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); max-width: 14ch; }
  .area-perks { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 20px; }
  .area-perks li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
  .area-perk-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ink-3); color: var(--red); }
  .area-perk-icon .icon { width: 20px; height: 20px; }
  .area-perks strong { display: block; font-weight: 700; line-height: 1.3; }
  .area-perks p { margin-top: 3px; font-size: 0.9rem; font-weight: 300; color: #d6d4d6; }
}
.area-help { margin: 18px 0 0; font-size: 0.9rem; color: var(--muted); }
.area-help a { color: var(--ink); font-weight: 600; }
.area-switch { margin: 14px 0 0; font-size: 0.9rem; color: var(--muted); }
.area-switch a { color: var(--ink); font-weight: 600; }
.area-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: 0.92rem; }
.area-top p, .area-top form { margin: 0; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.area-list { display: grid; gap: 16px; }
.area-card { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--accent); border-radius: var(--radius); padding: 24px; display: grid; gap: 18px; min-width: 0; }
.area-card.is-off { opacity: 0.6; }
.area-card-head { display: grid; gap: 6px; }
.area-card-head h2 { margin: 0 0 2px; font-size: 1.4rem; font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; text-transform: uppercase; overflow-wrap: anywhere; }
.area-meta, .area-person { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 0.92rem; color: var(--muted); }
.area-person { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.area-meta .icon, .area-person .icon { width: 16px; height: 16px; }
.area-note { margin: 0; font-size: 0.92rem; }
.area-progress { margin: 0; display: grid; gap: 8px; font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.area-progress-bar { display: block; height: 6px; border-radius: 999px; background: var(--light); overflow: hidden; }
.area-progress-bar span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }

/* Etapas: marcador + texto + botão para resolver a pendência */
.area-steps { list-style: none; margin: 0; padding: 0; display: grid; }
.area-step { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding-bottom: 20px; }
.area-step:last-child { padding-bottom: 0; }
.area-step:not(:last-child)::before { content: ""; position: absolute; left: 14px; top: 32px; bottom: 2px; width: 2px; background: var(--line); }
.area-step.is-done:not(:last-child)::before { background: #9fd3b1; }
.area-step-mark { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #d2d0d2; background: var(--white); color: var(--white); }
.area-step-mark .icon { width: 16px; height: 16px; stroke-width: 3; }
.area-step.is-done .area-step-mark { border-color: #1e8a4c; background: #1e8a4c; }
.area-step.is-todo .area-step-mark { border-color: var(--accent); box-shadow: inset 0 0 0 5px var(--white); background: var(--accent); }
.area-step.is-wait .area-step-mark { border-color: #d9a400; color: #8a6500; }
.area-step-body { min-width: 0; padding-top: 3px; }
.area-step-title { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 700; line-height: 1.35; }
.area-step-tag { padding: 2px 9px; border-radius: 999px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.02em; background: var(--light); color: var(--muted); }
.area-step.is-done .area-step-tag { background: #e3f3e8; color: #1e6b3c; }
.area-step.is-todo .area-step-tag { background: #fde8e8; color: var(--red-dark); }
.area-step.is-wait .area-step-tag { background: #fff4db; color: #6b4a00; }
.area-step-text { margin: 4px 0 0; font-size: 0.9rem; color: var(--muted); }
.area-step.is-locked .area-step-title { color: var(--muted); }
.area-step-action { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.area-step-action form { margin: 0; }
.area-step-action .btn { padding: 0.8em 1.3em; font-size: 0.92rem; }
.step-link { font-size: 0.9rem; font-weight: 600; color: var(--ink); text-underline-offset: 3px; }
.area-logistics { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.9rem; }
.area-logistics li { display: inline-flex; align-items: center; gap: 6px; }
.area-logistics .icon { width: 16px; height: 16px; }
.alert-ok { background: #e3f3e8; color: #1e6b3c; }
.area-wrap > .alert { margin-top: 0; }

/* Página de pagamento */
.pay-card { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--accent); border-radius: var(--radius); padding: 24px; display: grid; gap: 18px; max-width: 560px; }
.pay-card .alert { margin-top: 0; }
.pay-summary { margin: 0; display: grid; gap: 10px; }
.pay-summary div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.pay-summary dt { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.pay-summary dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.pay-summary-total { padding-top: 12px; border-top: 1px solid var(--line); }
.pay-summary-total dd { font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pay-state { margin: 0; display: flex; align-items: flex-start; gap: 8px; font-size: 0.95rem; }
.pay-state .icon { margin-top: 4px; }
.pay-state-ok { color: #1e6b3c; font-weight: 600; }
.pay-methods { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.9rem; color: var(--muted); }
.pay-methods li { display: inline-flex; align-items: center; gap: 6px; }
.pay-hint { margin: 0; font-size: 0.85rem; color: var(--muted); }
.pay-card form { margin: 0; }
.summary-pay-btn { margin-top: 10px; }
.summary-pay-hint { margin: 8px 0 0; font-size: 0.8rem; color: var(--muted); text-align: center; }

@media (max-width: 560px) {
  .area-wrap { padding-top: 20px; gap: 16px; }
  .area-card, .pay-card { padding: 18px; }
  .area-card-head h2 { font-size: 1.2rem; }
  .area-step { grid-template-columns: 26px minmax(0, 1fr); gap: 12px; }
  .area-step-mark { width: 26px; height: 26px; }
  .area-step:not(:last-child)::before { left: 12px; top: 28px; }
  .area-step-action .btn, .area-step-action form { width: 100%; }
  .area-step-action .btn { justify-content: center; }
  .pay-summary-total dd { font-size: 1.5rem; }
}

