/* burnout.app.br — estilo comum (home, guias, perguntas). Cores e fonte do app (prototipos/home.html). */
@font-face { font-family: Rubik; src: url(/fonts/rubik-regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Rubik; src: url(/fonts/rubik-bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: Rubik; src: url(/fonts/rubik-black.ttf) format("truetype"); font-weight: 900; font-display: swap; }

:root {
  --bg: #F7F1F0; --surface: #FFFFFF; --border: #E7DEDC; --text: #1F1F24; --muted: #6E6670;
  --accent: #FF6A2B; --accent-text: #B8430F; --on-accent: #1A0E08; --option-on: #FFE6DA; --chip: #ECE5E3;
  --ok: #2E9E5B; --ok-text: #23794A; --warn: #F2A43A; --danger: #E0413F;
  --sun-1: #FFD2A8; --sun-2: #FF9A5C; --sun-3: #FF6A2B; --night: #2A1D33; --night-2: #3D2A4A;
  --radius: 22px; --shadow: 0 18px 40px -18px rgba(70, 30, 10, .35);
  --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #18141A; --surface: #231E26; --border: #3A333E; --text: #F3EEF0; --muted: #A79DA8;
    --accent: #FF7A3D; --accent-text: #FF9A66; --option-on: #3D2A22; --chip: #2E2832; --ok-text: #6FD49A;
    --shadow: 0 18px 40px -18px rgba(0, 0, 0, .6); }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Rubik, system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 18px; line-height: 1.55; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--max), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }

/* topo */
.top { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.top .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
/* no topo de uma página com céu, o cabeçalho fica transparente (a página liga e desliga a classe) */
.top.clear { --text: #1F1F24; background: transparent; border-color: transparent; backdrop-filter: none; }
@media (min-width: 860px) { .top .wrap { min-height: 88px; } .logo img { width: 60px; height: 60px; } .logo { font-size: 38px; } }
.logo { font-weight: 900; font-size: 28px; letter-spacing: -0.03em; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.logo span { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--option-on); }
/* o ícone do app (img/icone.webp) num círculo com borda branca, como o usuário pediu (1º/dez) */
.logo img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 6px 14px -6px rgba(70, 30, 10, .45); }
.nav { display: none; gap: 40px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font-weight: 400; font-size: 18px; opacity: .8; }
.nav a:hover { opacity: 1; color: var(--accent-text); }
.top .btn { margin-left: auto; }
@media (min-width: 860px) { .nav { display: flex; } .top .btn { margin-left: 8px; } }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; font-weight: 700; text-decoration: none; cursor: pointer; border: 0; font-family: inherit; }
.btn-main { background: var(--accent); color: var(--on-accent); padding: 16px 26px; font-size: 19px; box-shadow: 0 16px 30px -14px color-mix(in srgb, var(--accent) 80%, #000); transition: transform .15s ease, box-shadow .15s ease; }
.btn-main:hover { transform: translateY(-2px); }
.btn-main:active { transform: translateY(2px); }
.btn-small { background: var(--accent); color: var(--on-accent); padding: 10px 18px; font-size: 16px; }
@media (min-width: 860px) { .btn-small { padding: 14px 30px; font-size: 20px; } }
.btn svg { width: 22px; height: 22px; flex: none; }
/* selo oficial da Google Play (img/google-play.png, baixado do site do Google em 1º/dez), usado como veio */
.play-badge { display: inline-block; line-height: 0; border-radius: 12px; transition: transform .15s ease; }
.play-badge:hover { transform: translateY(-2px); }
.play-badge img { height: 60px; width: auto; }
@media (min-width: 860px) { .play-badge img { height: 72px; } }
/* selo com o rabisco "baixe grátis!" à direita, flecha pra esquerda (img/rabisco-esquerda.webp, site/gerar-rabisco.py).
   A ponta da flecha fica a 1% da largura e 86,2% da altura da imagem, e encosta no meio da beirada do selo */
/* fit-content: dentro de um grid (cartão da calculadora) a caixa esticava e o rabisco ia parar fora do cartão */
.cta-final { position: relative; display: inline-block; width: fit-content; margin-top: 22px; }
.rabisco-esq { position: absolute; pointer-events: none; width: 120px; height: auto; left: calc(100% + 6px); bottom: 21px; }
@media (min-width: 860px) { .cta-final { margin-top: 50px; } .rabisco-esq { width: 170px; bottom: 23px; } }
.btn-ghost { color: var(--text); font-weight: 700; text-decoration: none; padding: 10px 6px; }

/* ANTES DO LANÇAMENTO: o link da Play dá erro e o selo oficial só pode ser usado com o app na loja. Cada página traz
   as duas versões; esta linha esconde a de baixar. No dia do lançamento, troque .so-lancado por .so-em-breve
   (site/LEIAME.md, "Ao lançar"). */
.so-lancado { display: none !important; }
/* "em breve na Google Play", do tamanho do selo (646×250), pra os rabiscos caírem no mesmo lugar. Sem o logo do Google. */
.em-breve { display: inline-flex; flex-direction: column; justify-content: center; align-items: flex-start; height: 60px; aspect-ratio: 646 / 250; padding: 0 16px; border-radius: 10px; background: #1F1F24; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); line-height: 1.05; white-space: nowrap; }
.em-breve small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.em-breve b { font-size: 22px; font-weight: 700; }
@media (min-width: 860px) { .em-breve { height: 72px; padding: 0 20px; } .em-breve small { font-size: 13px; } .em-breve b { font-size: 26px; } }

/* blocos comuns */
.section { padding: 72px 0; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); background: var(--option-on); padding: 6px 12px; border-radius: 999px; }
@media (min-width: 860px) { .eyebrow { font-size: 18px; padding: 8px 22px; } }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(32px, 5.5vw, 52px); font-weight: 900; }
h3 { font-size: 22px; font-weight: 700; }
.lead { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); max-width: 46ch; }
.pro { display: inline-block; font-size: 12px; font-weight: 900; letter-spacing: .06em; color: #fff; background: var(--text); border-radius: 6px; padding: 2px 7px; vertical-align: middle; margin-left: 6px; }
@media (prefers-color-scheme: dark) { .pro { color: var(--bg); } }

/* páginas internas (calculadora, comparações, guias): faixa de céu, cartões e perguntas, como na home */
.sky { position: relative; isolation: isolate; margin-top: -64px; padding: 96px 0 0; text-align: center; }
.sky::before { content: ""; position: absolute; inset: 0 0 auto; height: 620px; z-index: -1;
  background: url(/img/ceu.webp) center top / cover no-repeat, linear-gradient(180deg, #D79AB9 0%, #F2A88D 45%, #F7F1F0 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
.sky-copy { --text: #1F1F24; --muted: #4F4651; --accent-text: #A33A0A; color: var(--text); max-width: 780px; margin: 0 auto; }
.sky h1 { font-size: clamp(30px, 8.4vw, 68px); font-weight: 900; letter-spacing: -0.04em; line-height: 1; text-wrap: balance; }
.sky h1 em { font-style: normal; color: var(--accent-text); }
.sky .lead { color: var(--muted); margin: 16px auto 0; text-wrap: balance; }
.crumbs { font-size: 15px; color: var(--muted); margin: 0 0 14px; }
.crumbs a { color: inherit; }
.card-base { background: var(--surface); border: 1px solid color-mix(in srgb, var(--border) 70%, transparent); border-radius: 26px; box-shadow: 0 18px 40px -26px rgba(70, 30, 10, .35); }
.faq { margin: 26px auto 0; max-width: 820px; padding: 6px 0; }
.faq details { border-top: 1px solid var(--border); padding: 0 22px; }
.faq details:first-child { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--option-on); color: var(--accent); font-weight: 900; font-size: 24px; line-height: 38px; text-align: center; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 18px; color: var(--muted); }
@media (min-width: 860px) { .sky { margin-top: -88px; padding-top: 118px; } }

/* rodapé */
.foot { background: var(--night); color: #F3EEF0; padding: 48px 0 32px; margin-top: 40px; }
.foot a { color: #E8DCE6; text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.foot .cols { display: grid; gap: 28px; grid-template-columns: 1fr; }
.foot .logo { color: #fff; font-size: 44px; gap: 16px; }
.foot .logo img { width: 76px; height: 76px; box-shadow: 0 0 0 4px #fff; }
.foot p { color: #D9CCD7; margin: 12px 0 0; font-size: 17px; max-width: 46ch; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 17px; }
.foot h4 { margin: 0 0 10px; font-size: 21px; font-weight: 700; color: #fff; }
.foot .fine { margin-top: 30px; font-size: 14px; color: #CDB9C9; }
/* "Leia também" dos guias e comparações: cada link com 44 px de altura no mínimo, pra tocar com o dedo */
.leia { max-width: 820px; margin: 0 auto; padding: 18px 24px; }
.leia h2 { margin: 0 0 6px; font-size: 22px; }
.leia ul { list-style: none; margin: 0; padding: 0; }
.leia li + li { border-top: 1px solid var(--border); }
.leia a { display: flex; align-items: center; min-height: 48px; font-weight: 600; }
@media (min-width: 760px) { .foot .cols { grid-template-columns: 2fr 1fr 1fr; } }
