/* eazymode.co
   Conceito: marca dos anos 80, no gosto dos catálogos e manuais japoneses, com a tela de hoje.
   Página creme, tipo fino (Jost), muito espaço. O preto fica só no texto, nos contornos e no botão.
   Assinatura: o botão de liga e a luz laranja para vermelho que ele solta para baixo e para a esquerda.
   A cor só aparece onde algo está "ligado". */

@font-face {
  font-family: "Jost";
  src: url("/assets/fonts/jost-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f3ec;
  --surface: #fdf9f2;
  --ink: #141312;
  --ink-2: #57514a;
  --ink-3: #8f877a;
  --line: rgba(20, 19, 18, 0.13);
  --orange: #ff7a1a;
  --red: #e01e3c;

  /* A luz do botão em versão pequena, para o que está ligado */
  --glow: -8px 18px 38px -12px rgba(255, 112, 30, 0.42), -18px 36px 66px -26px rgba(224, 30, 60, 0.24);
  --glow-strong: -10px 30px 58px -22px rgba(255, 112, 30, 0.42), -26px 62px 110px -40px rgba(224, 30, 60, 0.26);

  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --header-h: 88px;
  --size-display: clamp(2.7rem, 5.4vw, 4.75rem);
  --size-h2: clamp(2rem, 3.6vw, 3.1rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p, h1, h2, h3, h4, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
button { font: inherit; color: inherit; }
strong { font-weight: 500; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow > * { max-width: 800px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 999px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

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

.label {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.14em;
  color: var(--ink-2);
}

.display, .h2, .h3 { text-wrap: balance; }
.display { font-size: var(--size-display); font-weight: 300; line-height: 1.08; letter-spacing: -0.01em; }
.h2 { font-size: var(--size-h2); font-weight: 300; line-height: 1.14; letter-spacing: -0.005em; }
.h3 { font-size: clamp(1.3rem, 1.8vw, 1.5rem); font-weight: 400; line-height: 1.3; }

.lead { font-size: clamp(1.2rem, 1.5vw, 1.3rem); line-height: 1.6; color: var(--ink-2); max-width: 54ch; }
.muted { color: var(--ink-2); }

.sec-head { display: grid; gap: 20px; margin-bottom: clamp(48px, 6vw, 88px); max-width: 780px; }

/* ---------- Seções: só espaço entre elas ---------- */

.sec { padding-block: clamp(64px, 8.5vw, 124px); }
.sec--tight { padding-block: clamp(48px, 6vw, 88px); }

/* ---------- Botões: um botão de liga com o texto dentro ---------- */

.btn {
  display: inline-flex; flex-direction: row-reverse; align-items: center; justify-content: center; gap: 14px;
  min-height: 56px; padding: 10px 28px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  background: var(--surface); color: var(--ink);
  font-size: 1.0625rem; font-weight: 400; line-height: 1.15; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: box-shadow 0.35s ease;
}
.btn:has(svg) { justify-content: space-between; padding: 6px 7px 6px 26px; }
.btn svg {
  flex: none; width: 42px; height: 42px; padding: 11px;
  border-radius: 50%; background: var(--ink); color: var(--surface);
}
.btn:hover { box-shadow: var(--glow); }
.btn--sm { min-height: 44px; font-size: 1rem; }
.btn--sm:has(svg) { padding: 4px 5px 4px 20px; gap: 12px; }
.btn--sm svg { width: 34px; height: 34px; padding: 9px; }
.btn--block { width: 100%; }
/* secundário: sem peso */
.btn--dark, .btn--ghost { background: transparent; border-color: var(--line); }
.btn--dark:hover, .btn--ghost:hover { border-color: var(--ink); box-shadow: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--line); padding-bottom: 3px;
  transition: border-color 0.2s ease;
}
.link-arrow:hover { border-color: var(--ink); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }

/* ---------- Cabeçalho ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: 108px; height: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { text-decoration: none; font-size: 1.0625rem; color: var(--ink-2); transition: color 0.2s ease; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .brand img { width: 92px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    background: none; border: 1px solid var(--line); border-radius: 999px;
    padding: 8px 16px; cursor: pointer; font-size: 1rem;
  }
  .nav-toggle-bars { width: 18px; height: 9px; position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after {
    content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px;
  }
  .nav-toggle-bars::before { top: 0; }
  .nav-toggle-bars::after { bottom: 0; }
  .nav-toggle-bars span { display: none; }
  .nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper);
    padding: 8px var(--gutter) 32px;
    box-shadow: 0 28px 40px -28px rgba(70, 50, 30, 0.22);
    display: none;
  }
  .site-header.is-open { background: var(--paper); }
  .site-header.is-open .nav { display: flex; }
  .nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.2rem; }
  .nav .btn { margin-top: 24px; }
  .btn--sm { min-height: 56px; font-size: 1.0625rem; }
  .btn--sm:has(svg) { padding: 6px 7px 6px 26px; }
  .btn--sm svg { width: 42px; height: 42px; padding: 11px; }
}

/* ---------- O botão de liga ---------- */

.switch {
  --H: 0.82em;
  --W: calc(var(--H) * 2.34);
  --edge: max(1.5px, calc(var(--H) * 0.024));
  --knob: calc(var(--H) * 0.72);
  --gap: calc((var(--H) - 2 * var(--edge) - var(--knob)) / 2);
  position: relative; display: inline-block; flex: none;
  width: var(--W); height: var(--H);
  padding: 0; border: var(--edge) solid var(--ink); border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.4s ease, background-color 0.4s ease;
}
.switch-knob {
  position: absolute; top: var(--gap); left: var(--gap);
  width: var(--knob); height: var(--knob);
  border-radius: 50%; background: var(--ink);
  transform: translateX(calc(var(--W) - var(--H)));
  transition: transform 0.45s cubic-bezier(0.5, 0, 0.2, 1.15), background-color 0.4s ease;
}
.switch--sm { --H: 30px; --edge: 1.5px; }
[data-mode="off"] .switch { border-color: var(--ink-3); background: transparent; }
[data-mode="off"] .switch-knob { transform: translateX(0); background: var(--ink-3); }

/* ---------- Topo da página inicial: a peça conceito ---------- */

.hero-stage {
  display: grid;
  grid-template-rows: minmax(clamp(300px, 42vh, 560px), 1fr) auto;
  min-height: max(620px, calc(100vh - var(--header-h)));
  min-height: max(620px, calc(100svh - var(--header-h)));
  padding-bottom: clamp(36px, 6.6vw, 96px);
  position: relative;
}
.hero { overflow: hidden; overflow: clip; }

.hero-lamp {
  --H: clamp(94px, 10.5vw, 160px);
  position: relative; justify-self: center; align-self: center;
  width: calc(var(--H) * 2.34); height: var(--H);
  margin-left: 14%;
}
.hero-lamp .switch { --H: inherit; position: absolute; inset: 0; z-index: 1; }

/* A luz: a forma do botão arrastada na diagonal, que some no papel */
.hero-light {
  position: absolute; left: 50%; top: 50%; z-index: 0;
  width: calc(var(--H) * 1.8); height: calc(var(--H) * 4.9);
  transform-origin: calc(var(--H) * 0.9) calc(var(--H) * 0.4375);
  transform: translate(calc(var(--H) * -0.9), calc(var(--H) * -0.4375)) rotate(45deg);
  filter: blur(calc(var(--H) * 0.13));
  pointer-events: none;
  transition: opacity 0.7s ease;
}
.hero-light::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #e8284a 0%, #f4512b 46%, #ff7f1f 100%);
  clip-path: polygon(0 calc(var(--H) * 0.875), 100% 0, 100% 100%, 0 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.92) 16%, rgba(0, 0, 0, 0.55) 36%, rgba(0, 0, 0, 0.24) 58%, rgba(0, 0, 0, 0.07) 80%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.92) 16%, rgba(0, 0, 0, 0.55) 36%, rgba(0, 0, 0, 0.24) 58%, rgba(0, 0, 0, 0.07) 80%, transparent 100%);
}
[data-mode="off"] .hero-light { opacity: 0; }

/* Ao abrir: o botão liga e a luz se espalha */
@keyframes knob-on { from { transform: translateX(0); background-color: var(--ink-3); } }
@keyframes switch-on { from { border-color: var(--ink-3); background-color: transparent; } }
@keyframes light-on {
  from {
    opacity: 0;
    transform: translate(calc(var(--H) * -0.9), calc(var(--H) * -0.4375)) rotate(45deg) scaleY(0.45);
  }
}
[data-mode]:not(.is-touched) .switch--hero { animation: switch-on 0.5s 0.35s both ease-out; }
[data-mode]:not(.is-touched) .switch--hero .switch-knob { animation: knob-on 0.55s 0.3s both cubic-bezier(0.5, 0, 0.2, 1.15); }
[data-mode]:not(.is-touched) .hero-light { animation: light-on 1.3s 0.55s both cubic-bezier(0.2, 0.7, 0.2, 1); }

.hero-copy {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px); align-items: end;
}
.hero-copy h1 { display: flex; flex-direction: column-reverse; gap: 22px; max-width: 13.5em; }
.hero-side { display: grid; gap: 28px; }

@media (max-width: 960px) {
  .hero-stage { grid-template-rows: minmax(clamp(210px, 29vh, 420px), 1fr) auto; min-height: 0; }
  .hero-copy { grid-template-columns: 1fr; gap: 22px; }
  .hero-side { gap: 22px; }
  .hero-lamp { margin-left: 6%; }
}

/* Erro 404: o botão desligado ao lado do título */
.hero--erro { padding-block: clamp(72px, 12vw, 160px); }
.hero--erro .hero-title { margin-bottom: 28px; }
.hero--erro .hero-title h1 { display: inline; font: inherit; }
.hero--erro .hero-title .label { margin-bottom: 22px; }
.hero--erro .switch { display: block; margin-top: 0.4em; cursor: default; }
.hero--erro .lead { margin-bottom: 36px; }

/* ---------- Modo fácil, modo difícil ---------- */

.mode-card-head {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.mode-name { font-size: var(--size-h2); font-weight: 300; line-height: 1.14; }
.mode-hint { font-size: 1rem; color: var(--ink-2); flex-basis: 100%; }
.mode-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 4.5vw, 64px) clamp(36px, 7vw, 112px); }
.mode-list li { display: grid; grid-template-columns: 30px 1fr; gap: 18px; align-items: start; }
.mode-list strong { display: block; font-size: 1.25rem; font-weight: 400; line-height: 1.35; margin-bottom: 6px; }
.mode-list span { color: var(--ink-2); }
.mode-hard { display: none; }
[data-mode="off"] .mode-hard { display: grid; }
[data-mode="off"] .mode-easy { display: none; }
[data-mode="off"] .when-on, [data-mode="on"] .when-off { display: none; }
@media (max-width: 760px) { .mode-list { grid-template-columns: 1fr; } }

/* ---------- Mini botão de liga: incluso / não incluso ---------- */

.tick {
  position: relative; display: inline-block; flex: none;
  width: 30px; height: 16px; margin-top: 0.42em; border-radius: 999px;
  border: 1px solid var(--ink);
}
.tick::after {
  content: ""; position: absolute; top: 3px; right: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink);
}
.tick--off { border-color: var(--ink-3); }
.tick--off::after { right: auto; left: 3px; background: var(--ink-3); }

.ticks { display: grid; gap: 14px; }
.ticks li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: start; }

/* ---------- Por que a eazymode ---------- */

.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 5vw, 80px); }
.pillar { display: grid; gap: 14px; align-content: start; }
.pillar p { color: var(--ink-2); }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Como funciona ---------- */

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.step { display: grid; gap: 12px; align-content: start; }
.step-num { font-size: clamp(2.6rem, 3.6vw, 3.25rem); font-weight: 200; line-height: 1; margin-bottom: 10px; }
.step h3 { font-size: 1.25rem; font-weight: 400; line-height: 1.3; }
.step p { color: var(--ink-2); font-size: 1.0625rem; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .step { grid-template-columns: 64px 1fr; column-gap: 12px; row-gap: 6px; }
  .step-num { grid-row: span 2; margin: 0; }
}

/* ---------- Planos ---------- */

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); align-items: stretch; }
.plan {
  display: flex; flex-direction: column; gap: 28px;
  padding: clamp(52px, 5vw, 68px) clamp(28px, 3vw, 40px) clamp(28px, 3vw, 40px);
  border-radius: 28px;
}
.plan--featured {
  background: var(--surface);
  border: 1.5px solid var(--ink);
  box-shadow: var(--glow-strong);
}
.plan-top { display: grid; gap: 10px; }
/* o selo sobe para os nomes e preços dos três planos ficarem na mesma linha */
.plan--featured .plan-top { margin-top: -33px; }
.plan-name { font-size: 1.25rem; font-weight: 400; line-height: 1.3; }
.plan-badge { font-size: 0.875rem; letter-spacing: 0.14em; color: var(--ink-2); }
.plan-price { display: flex; align-items: baseline; gap: 8px; }
.plan-price strong { font-size: clamp(2.9rem, 4.2vw, 3.6rem); font-weight: 200; line-height: 1.1; letter-spacing: -0.01em; }
.plan-price span { color: var(--ink-2); }
.plan-price--text strong { font-size: clamp(2.1rem, 3vw, 2.5rem); line-height: 1.54; }
.plan-desc { color: var(--ink-2); }
.plan .ticks { font-size: 1.0625rem; line-height: 1.5; }
.plan .btn { margin-top: auto; }
.plan--featured .btn--dark { background: var(--surface); border-color: var(--ink); }
.plan--featured .btn--dark:hover { box-shadow: var(--glow); }
.plans-note { margin-top: 36px; font-size: 1.0625rem; color: var(--ink-2); padding-inline: clamp(28px, 3vw, 40px); }
.plans-note a { text-underline-offset: 4px; text-decoration-thickness: 1px; }
@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; gap: 24px; }
  .plan--featured { order: -1; }
}

/* ---------- Tabela de comparação ---------- */

.compare-wrap { overflow-x: auto; position: relative; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 1.0625rem; line-height: 1.5; }
.compare th, .compare td { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.compare thead th { font-size: 0.875rem; letter-spacing: 0.14em; color: var(--ink-2); }
.compare tbody th { color: var(--ink); }
.compare tbody td { color: var(--ink-2); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .col-featured { background: rgba(255, 122, 26, 0.06); color: var(--ink); }
.compare .tick { margin-right: 10px; vertical-align: -3px; margin-top: 0; }
.compare small { display: block; color: var(--ink-2); font-size: 0.9375rem; margin-top: 2px; }

/* ---------- Portfólio ---------- */

.cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(56px, 6vw, 88px) clamp(32px, 5vw, 72px); }
.case { display: grid; gap: 14px; align-content: start; }
.case-shot {
  display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
  aspect-ratio: 16 / 10; background: var(--surface); margin-bottom: 10px;
  transition: box-shadow 0.4s ease;
}
.case-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
a.case-shot:hover { box-shadow: var(--glow-strong); }
.case-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 0.875rem; letter-spacing: 0.14em; color: var(--ink-2); }
.case-meta span + span::before { content: "·"; margin-right: 12px; }
.case h3 { font-size: 1.5rem; font-weight: 400; line-height: 1.3; }
.case p { color: var(--ink-2); }
.case .link-arrow { justify-self: start; }
.case-status { font-size: 0.875rem; letter-spacing: 0.14em; }
@media (max-width: 760px) { .cases { grid-template-columns: 1fr; } }

/* ---------- Quem faz ---------- */

.who { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 112px); align-items: start; }
.who-body { display: grid; gap: 20px; }
.who-body p { color: var(--ink-2); }
.who-body p strong { color: var(--ink); }
@media (max-width: 860px) { .who { grid-template-columns: 1fr; } }

/* ---------- Perguntas frequentes ---------- */

.faq { display: grid; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr 30px; gap: 24px; align-items: center;
  padding: 26px 0; font-size: 1.25rem; line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; width: 30px; height: 16px; border-radius: 999px; justify-self: end;
  box-shadow: inset 0 0 0 1.25px var(--ink-3);
  background: radial-gradient(circle at 8px 50%, var(--ink-3) 0 4.5px, transparent 5px);
}
.faq details[open] summary::after {
  box-shadow: inset 0 0 0 1.25px var(--ink);
  background: radial-gradient(circle at 22px 50%, var(--ink) 0 4.5px, transparent 5px);
}
.faq .answer { padding: 0 54px 30px 0; color: var(--ink-2); display: grid; gap: 12px; }
.faq .answer a { text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* ---------- Chamada final ---------- */

.cta-block {
  display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 36px; align-items: end;
  padding-block: clamp(40px, 6vw, 96px);
}
.cta-block .h2 { font-size: var(--size-display); font-weight: 300; line-height: 1.08; letter-spacing: -0.01em; }
.cta-block .lead { margin-top: 20px; }
.cta-block .btn { box-shadow: var(--glow-strong); }
@media (max-width: 760px) { .cta-block { grid-template-columns: 1fr; justify-items: start; } }

/* ---------- Páginas internas ---------- */

.page-hero { padding-block: clamp(48px, 7vw, 104px) clamp(40px, 5vw, 72px); }
.page-hero h1 { margin: 16px 0 26px; }
.page-hero .lead { margin-bottom: 36px; }
.crumbs { font-size: 1rem; color: var(--ink-2); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: 0.55; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.card-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(32px, 4vw, 56px); }
.card { display: grid; gap: 10px; align-content: start; }
.card h3 { font-size: 1.25rem; font-weight: 400; line-height: 1.3; }
.card p { color: var(--ink-2); font-size: 1.0625rem; }

/* ---------- Texto longo (guias) ---------- */

.prose { line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 300; line-height: 1.18;
  margin-top: 2.2em; text-wrap: balance;
}
.prose h3 { font-size: 1.35rem; font-weight: 400; line-height: 1.3; margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.5em; }
.prose li::marker { color: var(--ink-3); }
.prose a { text-decoration-thickness: 1px; text-underline-offset: 4px; color: var(--ink); }
.prose table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; line-height: 1.5; }
.prose th, .prose td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.prose thead th { font-size: 0.875rem; letter-spacing: 0.14em; color: var(--ink-2); }
.table-scroll { overflow-x: auto; position: relative; }
.table-scroll table { min-width: 560px; }

.answer-box { border-radius: 22px; background: var(--surface); padding: 28px 32px; }
.answer-box .label { margin-bottom: 10px; }
.answer-box p { color: var(--ink); }

.toc { padding-block: 8px; }
.toc .label { margin-bottom: 12px; }
.toc ol { padding-left: 1.2em; display: grid; gap: 8px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.byline { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 1rem; color: var(--ink-2); }

.inline-cta {
  margin-top: 2.4em; padding: clamp(28px, 4vw, 40px); border-radius: 28px;
  background: var(--surface); border: 1.5px solid var(--ink); box-shadow: var(--glow-strong);
  display: grid; gap: 16px;
}
.inline-cta p { color: var(--ink-2); }
.inline-cta .btn { justify-self: start; }

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

.site-footer { padding-block: clamp(64px, 8vw, 120px) 36px; font-size: 1.0625rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer-brand img { width: 108px; margin-bottom: 22px; }
.footer-brand p { color: var(--ink-2); max-width: 32ch; }
.footer-col h2 { font-size: 0.875rem; font-weight: 400; letter-spacing: 0.14em; color: var(--ink-2); margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; list-style: none; padding: 0; color: var(--ink-2); }
.footer-col a { text-decoration: none; color: var(--ink); }
.footer-col a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.footer-bottom {
  margin-top: clamp(56px, 7vw, 96px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  color: var(--ink-2); font-size: 1rem;
}
.footer-bottom a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.footer-bottom a.footer-credit { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.footer-credit img { width: 44px; height: 44px; }
.footer-credit { color: var(--ink-2); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-size: 1rem; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Banner de cookies ---------- */

.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 60;
  max-width: 1112px; margin-inline: auto;
  background: var(--surface); border-radius: 999px;
  padding: 9px 10px 9px 30px; box-shadow: 0 10px 36px rgba(70, 50, 30, 0.15);
  display: none;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.cookie-banner p { font-size: 1rem; line-height: 1.4; color: var(--ink-2); }
.cookie-banner a { color: var(--ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cookie-banner-actions { display: flex; gap: 8px; flex: none; }
.cookie-banner .btn { min-height: 42px; padding: 6px 20px; font-size: 1rem; }
@media (max-width: 860px) {
  .cookie-banner { border-radius: 22px; padding: 16px 18px; }
  .cookie-banner-inner { display: grid; gap: 12px; }
  .cookie-banner-actions { justify-content: flex-end; }
}

/* ---------- Página de links (/bio) ---------- */

.bio { min-height: 100vh; display: grid; place-items: center; padding: 56px var(--gutter); }
.bio-inner { width: 100%; max-width: 420px; display: grid; gap: 28px; justify-items: center; text-align: center; }
.bio-inner > img { width: 150px; }
.bio-links { width: 100%; display: grid; gap: 14px; margin-top: 8px; }
.bio-links .btn { width: 100%; }
.bio-links .btn:has(svg) { box-shadow: var(--glow); }

@media (max-width: 600px) { body { font-size: 1.125rem; } }

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

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

@media (max-width: 600px) {
  .table-scroll table { min-width: 0; }
  .prose table, .prose tbody, .prose tr, .prose td { display: block; }
  .prose thead { display: none; }
  .prose tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .prose td { border: 0; padding: 2px 0; }
  .prose td:first-child { font-size: 1.1875rem; color: var(--ink); }
  .prose td:last-child { color: var(--ink-2); margin-top: 4px; }
}
