/* ============================================================
   LP 02 — Ludopatia · Clínica Axia (Saúde Digital)
   Paleta: coral / laranja sobre fundo escuro quente
   Display: Bricolage Grotesque · Texto: Archivo
   Assinatura: dossiê jurídico — numeração 01–05 + selos
   ============================================================ */

:root {
  --bg: #1a0f0a;
  --bg-2: #241209;
  --bg-card: #2b160c;
  --ink: #fff4ec;
  --ink-soft: #e8c9b8;
  --ink-faint: #b08a78;
  --line: rgba(255, 170, 120, 0.16);
  --line-strong: rgba(255, 170, 120, 0.3);
  --accent: #f04000;
  --accent-2: #ff6a2b;
  --accent-soft: rgba(240, 64, 0, 0.14);
  --accent-ink: #ffffff;

  --font-display: "Bricolage Grotesque", "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, sans-serif;

  --container: 1160px;
  --gutter: 24px;
  --radius: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Tipografia ---------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  max-width: 22ch;
}

/* ---------- Numeração de dossiê ---------- */

.section-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-strong);
  flex: none;
  user-select: none;
}

.section-num-lg {
  display: block;
  margin-bottom: 26px;
}

.section-head {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  margin-bottom: 30px;
}

.section-head .eyebrow { margin-bottom: 10px; }

/* ---------- Botões ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 14px 34px -12px rgba(240, 64, 0, 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -12px rgba(240, 64, 0, 0.7);
}

.btn-primary:active { transform: translateY(0); }

.btn-lg { font-size: 18px; padding: 18px 34px; }
.btn-sm { font-size: 14px; padding: 10px 20px; }

.btn:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent-2);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 15, 10, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark { width: 44px; height: 44px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.15; }

.brand-text strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-text small {
  font-size: 11.5px;
  color: var(--ink-faint);
  letter-spacing: 0;
}

/* ---------- Hero ---------- */

.hero {
  padding: 84px 0 76px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.case-label {
  display: inline-block;
  background: var(--accent-soft);
  border: 1px solid var(--line-strong);
  color: var(--accent-2);
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0;
}

.case-ref {
  color: var(--ink-faint);
  letter-spacing: 0;
  font-weight: 500;
}

.hero-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 4px;
}

.hero-head .section-num { font-size: clamp(34px, 4.5vw, 54px); }

.hero-head .eyebrow { margin-bottom: 0; padding-top: 8px; }

.hero-title {
  font-size: clamp(36px, 5.2vw, 58px);
  margin-bottom: 22px;
}

.hero-lead {
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 44ch;
  margin-bottom: 14px;
}

.hero-support {
  font-size: 16.5px;
  color: var(--ink-faint);
  max-width: 52ch;
  margin-bottom: 28px;
  line-height: 1.65;
}

.hero-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 20px;
  background: rgba(20, 10, 6, 0.88);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

/* ---------- Prova social ---------- */

.social-proof {
  padding: 76px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.social-proof .section-title { margin-bottom: 0; }

.check-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0 28px;
}

.proof-text {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 68ch;
  margin-bottom: 32px;
  line-height: 1.65;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-weight: 500;
  font-size: 15.5px;
  text-align: left;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.check-item:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.check-mark {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
}

.section-cta { display: flex; justify-content: flex-start; }

/* ---------- Problema ---------- */

.problem {
  padding: 88px 0;
}

.problem-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.problem .section-title { margin-bottom: 20px; }

.problem-lead {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--ink);
}

.cross-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.cross-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 17px;
  color: var(--ink-soft);
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
}

.cross-mark { flex: none; font-size: 16px; line-height: 1.5; }

.problem-extra {
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 18px;
  line-height: 1.65;
}

.problem-close {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  font-style: italic;
  color: var(--accent-2);
}

.problem-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}

.problem-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Solução ---------- */

.solution {
  padding: 88px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.solution-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.solution-media {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8);
}

.solution-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.solution .section-title { margin-bottom: 18px; }

.solution-lead {
  font-size: 18px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.solution-program {
  font-size: 16.5px;
  color: var(--ink-soft);
  max-width: 58ch;
  margin-bottom: 22px;
  line-height: 1.65;
  padding: 16px 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
}

.solution-program strong { color: var(--ink); }

.solution-sub {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  color: var(--accent-2);
  margin-bottom: 16px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 17px;
  color: var(--ink);
}

.check-list .check-mark {
  border-radius: 50%;
}

/* ---------- Como funciona (etapas + avaliação) ---------- */

.process {
  padding: 88px 0;
}

.process-head {
  margin-bottom: 44px;
}

.process-head .section-title { margin-top: 10px; }

.steps-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
  margin-bottom: 56px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  position: relative;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
  color: var(--accent-2);
}

.step-body strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.step-body p {
  font-size: 15px;
  color: var(--ink-faint);
  line-height: 1.6;
}

.eval-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.eval-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  background: rgba(255, 255, 255, 0.02);
}

.eval-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-2);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
}

.eval-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

/* ---------- Causas ganhas ---------- */

.causes {
  padding: 88px 0;
}

.causes-lead {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 64ch;
  margin: 4px 0 40px;
  line-height: 1.65;
}

.causes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cause-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 10px 22px;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.cause-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.cause-media {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.cause-media img {
  width: 100%;
  height: auto;
}

.cause-body {
  padding: 18px 10px 0;
}

.cause-tag {
  display: inline-block;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  color: var(--accent-2);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.cause-value {
  display: block;
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 8px;
}

.cause-text {
  font-size: 14.5px;
  color: var(--ink-faint);
  line-height: 1.6;
}

.causes-note {
  margin-top: 36px;
  font-size: 13.5px;
  color: var(--ink-faint);
  max-width: 76ch;
  line-height: 1.6;
}

/* ---------- Autoridade ---------- */

.authority {
  padding: 96px 0;
  text-align: center;
}

.authority-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.authority-logo {
  width: 180px;
  margin-bottom: 30px;
}

.authority .section-title {
  max-width: 24ch;
  margin: 0 auto 22px;
}

.authority-lead {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 12px;
}

.authority-extra {
  font-size: 16.5px;
  color: var(--ink-faint);
  max-width: 56ch;
  margin-bottom: 8px;
  line-height: 1.65;
}

.authority .btn { margin-top: 26px; }

/* ---------- Rodapé ---------- */

.site-footer {
  background: #120905;
  border-top: 1px solid var(--line);
  padding: 44px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.footer-mark { width: 40px; height: 40px; margin-bottom: 6px; }

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.footer-name span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 13px;
  color: var(--ink-faint);
}

.footer-contact a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.footer-legal {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 6px;
}

/* ---------- Reveal on scroll ---------- */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsivo ---------- */

@media (max-width: 960px) {
  .hero { padding: 56px 0 48px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; max-width: 480px; }
  .hero-media img { aspect-ratio: 4 / 3; }

  .check-grid { grid-template-columns: repeat(2, 1fr); }
  .causes-grid { grid-template-columns: repeat(2, 1fr); }

  .steps-list { grid-template-columns: repeat(2, 1fr); }
  .eval-grid { grid-template-columns: repeat(2, 1fr); }

  .problem-inner,
  .solution-inner { grid-template-columns: 1fr; gap: 40px; }

  .problem-media { order: -1; }
  .solution-media { order: -1; }
}

@media (max-width: 560px) {
  :root { --gutter: 18px; }

  body { font-size: 16px; }

  .header-inner { height: auto; padding: 12px 0; flex-direction: column; gap: 12px; }
  .site-header { position: static; }
  .site-header .btn { display: none; }

  .brand-text small { display: none; }

  .hero { padding: 40px 0 36px; }
  .hero-title { font-size: clamp(28px, 8.5vw, 36px); }
  .hero-lead { font-size: 17px; }

  .section-head { flex-direction: column; gap: 8px; }
  .section-num { font-size: 44px; }

  .hero-head { flex-direction: column; align-items: flex-start; gap: 6px; margin-bottom: 6px; }
  .hero-head .section-num { font-size: 30px; }
  .hero-head .eyebrow { padding-top: 0; gap: 8px; flex-wrap: wrap; font-size: 10.5px; letter-spacing: 0; }
  .hero-head .case-label { padding: 3px 10px; letter-spacing: 0; }
  .hero-head .case-ref { letter-spacing: 0; }

  .btn-lg { width: 100%; }
  .section-cta .btn { width: 100%; }
  .authority .btn { width: 100%; white-space: normal; }

  .check-grid { grid-template-columns: 1fr; }
  .causes-grid { grid-template-columns: 1fr; }
  .steps-list { grid-template-columns: 1fr; }
  .eval-grid { grid-template-columns: 1fr; }

  .problem, .solution, .social-proof, .process, .causes { padding: 56px 0; }
  .authority { padding: 64px 0; }

  .cross-list li { font-size: 16px; }
}

/* ---------- Movimento reduzido ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .check-item { transition: none; }
}
