/* Refletir — site de divulgação. Identidade do app: dourado, laranja,
   Spectral (títulos e versículos) e Fira Sans (texto). Só texto: sem ícones
   nem símbolos religiosos. */

@font-face { font-family: "Spectral"; src: url("fonts/Spectral-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/Spectral-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Spectral"; src: url("fonts/Spectral-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("fonts/FiraSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("fonts/FiraSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --gold: #f2c230;
  --on-gold: #2a2116;
  --orange: #e07b28;
  --bg: #fbf6ee;
  --bg-alt: #fffdf9;
  --bg-warm: #f6ecdc;
  --text: #2a2116;
  --muted: #6e5f49;
  --line: #eadfcc;
  --card-accent: #f2c48d;
  --shadow: 0 30px 60px -20px rgba(74, 50, 18, .35), 0 12px 24px -12px rgba(74, 50, 18, .25);
  --radius: 22px;
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1140px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --orange: #f0913a;
    --bg: #16110b;
    --bg-alt: #231b12;
    --bg-warm: #1d160e;
    --text: #f6eedf;
    --muted: #bba88a;
    --line: #3a2f22;
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 12px 24px -12px rgba(0, 0, 0, .5);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.1rem); }
h1, h2, h3 { text-wrap: balance; }
h3 { font-size: 1.35rem; }
p { margin: 0; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.eyebrow {
  font: 500 .78rem/1.2 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
}
.lead { font-size: 1.18rem; color: var(--muted); max-width: 38rem; }
.rule { width: 48px; height: 3px; border-radius: 2px; background: var(--orange); border: 0; margin: 1.25rem 0; }
.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 99; background: var(--gold); color: var(--on-gold); padding: .6rem 1rem; border-radius: 10px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 52px; padding: .8rem 1.5rem; border-radius: 999px;
  font: 500 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--on-gold); box-shadow: 0 10px 24px -10px rgba(224, 123, 40, .7); }
.btn-gold:hover { box-shadow: 0 14px 30px -10px rgba(224, 123, 40, .8); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-height: 52px; padding: .45rem 1.2rem; border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, .45); color: #fff; text-decoration: none;
  background: rgba(20, 14, 8, .28); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.store small { font-size: .72rem; letter-spacing: .06em; opacity: .85; }
.store strong { font: 500 1.05rem/1.2 var(--sans); }
.store[aria-disabled="true"] { cursor: default; }
.store:not([aria-disabled="true"]):hover { background: rgba(20, 14, 8, .45); }

/* Cabeçalho */
.top {
  position: fixed; inset: 0 0 auto; z-index: 20;
  transition: background .25s ease, box-shadow .25s ease, color .25s ease;
  color: #fff;
}
.top.solid { background: color-mix(in srgb, var(--bg) 88%, transparent); color: var(--text); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.top .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font: 500 1.5rem/1 var(--serif); }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.top .btn { min-height: 42px; padding: .55rem 1.1rem; font-size: .92rem; }
@media (max-width: 860px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* Topo */
.hero {
  position: relative; overflow: hidden; color: #fff;
  min-height: min(100svh, 980px);
  display: flex; align-items: center;
  padding: 120px 0 80px;
  background: #2b1c0e url("img/fundo-topo.webp") center 40% / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 75% 30%, rgba(242, 194, 48, .18), transparent 60%),
    linear-gradient(180deg, rgba(22, 14, 6, .55) 0%, rgba(22, 14, 6, .35) 40%, rgba(22, 14, 6, .75) 100%);
}
@media (max-width: 860px) { .hero { background-image: url("img/fundo-topo-retrato.webp"); background-position: center 35%; } }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero h1 em { font-style: italic; color: var(--card-accent); }
.hero .lead { color: rgba(255, 255, 255, .88); margin-top: 1.4rem; }
.hero .eyebrow { color: var(--card-accent); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-stores { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1rem; }
.hero-note { margin-top: 1.4rem; font-size: .92rem; color: rgba(255, 255, 255, .78); }
.hero-art { position: relative; height: 640px; }
.hero-art .phone { position: absolute; right: 18%; top: 0; width: 290px; }
.hero-art .float-card {
  position: absolute; right: 0; bottom: 10px; width: 210px; border-radius: 16px;
  box-shadow: var(--shadow); transform: rotate(5deg); border: 4px solid rgba(255, 255, 255, .9);
}
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { height: 560px; max-width: 460px; width: 100%; margin-inline: auto; }
  .hero-art .phone { left: 0; right: auto; width: 250px; }
  .hero-art .float-card { width: 180px; }
}
@media (max-width: 420px) {
  .hero-art { height: 480px; }
  .hero-art .phone { width: 215px; }
  .hero-art .float-card { width: 150px; bottom: 0; }
}

/* Moldura de celular (só CSS) */
.phone {
  border-radius: 15% / 7%; padding: 3.4%; background: #15100a;
  box-shadow: var(--shadow), inset 0 0 0 1.5px rgba(255, 255, 255, .12);
}
.phone img { border-radius: 12% / 5.6%; width: 100%; aspect-ratio: 1206 / 2622; object-fit: cover; }

/* Faixa de garantias */
.strip { border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.strip ul { list-style: none; margin: 0 auto; padding: 1.4rem 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.4rem; }
.strip li { font-weight: 500; color: var(--muted); font-size: .98rem; }
.strip li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); margin-right: .7rem; vertical-align: middle; }

section { padding: clamp(4.5rem, 3rem + 6vw, 8rem) 0; }
.section-head { max-width: 46rem; margin-bottom: 3.2rem; }
.section-head h2 { margin-top: .8rem; }
.section-head .lead { margin-top: 1.1rem; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

/* Como funciona */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.step { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem; }
.step-num { font: 400 3.4rem/1 var(--serif); color: var(--gold); display: block; margin-bottom: 1rem; }
.step h3 { margin-bottom: .6rem; }
.step p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Imagens para compartilhar */
.share { background: var(--bg-warm); overflow: hidden; }
.share-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.checks { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .9rem; }
.checks li { padding-left: 1.6rem; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 3px; border-radius: 2px; background: var(--orange); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: end; }
.cards img { border-radius: 16px; box-shadow: var(--shadow); width: 100%; }
.cards figure { margin: 0; }
.cards figcaption { font-size: .82rem; color: var(--muted); margin-top: .7rem; text-align: center; }
.cards figure:nth-child(2) { transform: translateY(-28px); }
.share-more { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 4rem; align-items: center; }
.share-more .phone { width: min(100%, 300px); margin-inline: auto; }
.share-more figcaption { text-align: center; margin-top: 1.1rem; color: var(--muted); font-size: .92rem; }
.feed-card { border-radius: 16px; box-shadow: var(--shadow); width: min(100%, 360px); margin-inline: auto; }
@media (max-width: 960px) {
  .share-grid { grid-template-columns: 1fr; gap: 3rem; }
  .share-more { grid-template-columns: 1fr; gap: 3rem; }
}

/* Diário */
.journal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.journal-grid .phone { width: min(100%, 320px); margin-inline: auto; }
.pills { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0; }
.pill { padding: .45rem 1rem; border-radius: 999px; font-size: .95rem; }
.callout { border-left: 3px solid var(--gold); padding: .4rem 0 .4rem 1.2rem; font: italic 400 1.2rem/1.5 var(--serif); }
@media (max-width: 860px) { .journal-grid { grid-template-columns: 1fr; } .journal-grid .phone { order: 2; } }

/* Recursos */
.features { background: var(--bg-alt); border-block: 1px solid var(--line); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.6rem 2.4rem; }
.feature h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.feature p { color: var(--muted); }
.feature::before { content: ""; display: block; width: 32px; height: 3px; border-radius: 2px; background: var(--gold); margin-bottom: 1.1rem; }
.duo { display: flex; justify-content: center; gap: 2rem; margin-top: 4.5rem; }
.duo figure { margin: 0; width: min(44%, 280px); text-align: center; }
.duo figcaption { margin-top: .9rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } .duo { gap: 1rem; } }

/* Verso em destaque */
.verse { text-align: center; }
.verse blockquote { margin: 0 auto; max-width: 48rem; font: italic 400 clamp(1.6rem, 1.1rem + 2vw, 2.5rem)/1.4 var(--serif); }
.verse cite { display: block; margin-top: 1.4rem; font: 500 .85rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--orange); font-style: normal; }

/* Transparência */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.trust { border-top: 1px solid var(--line); padding-top: 1.6rem; }
.trust h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.trust p { color: var(--muted); }
@media (max-width: 860px) { .trust-grid { grid-template-columns: 1fr; } }

/* Grátis e Pro */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 900px; margin-inline: auto; }
.plan { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; }
.plan.pro { background: linear-gradient(160deg, #f6d365 0%, #f0a04b 100%); color: var(--on-gold); border-color: transparent; }
.plan .price { font: 500 2.2rem/1 var(--serif); margin: .8rem 0 .3rem; }
.plan .price-note { font-size: .92rem; opacity: .8; }
.plan ul { margin: 1.5rem 0 0; padding: 0; list-style: none; display: grid; gap: .7rem; }
.plan li { padding-left: 1.4rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .65em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.plan.pro li::before { background: var(--on-gold); }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }

/* Aviso de lançamento */
.notify {
  position: relative; color: #fff; overflow: hidden;
  background: #3a2410 url("img/fundo-aviso.webp") center / cover no-repeat;
}
.notify::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(25, 15, 6, .72), rgba(25, 15, 6, .82)); }
.notify .wrap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.notify .eyebrow { color: var(--card-accent); }
.notify .lead { color: rgba(255, 255, 255, .86); }
.form { background: var(--bg-alt); color: var(--text); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label, .field legend { font-weight: 500; font-size: .95rem; }
.field input[type="text"], .field input[type="email"] {
  font: inherit; color: inherit; background: var(--bg); border: 1.5px solid var(--line); border-radius: 12px;
  min-height: 50px; padding: .7rem 1rem; width: 100%;
}
.field input:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 25%, transparent); }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; gap: .6rem; flex-wrap: wrap; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span { display: inline-flex; min-height: 44px; align-items: center; padding: .5rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--line); }
.choice input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 500; }
.choice input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.check { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--orange); flex: none; }
.fine { font-size: .82rem; color: var(--muted); }
.hidden { display: none; }
@media (max-width: 860px) { .notify .wrap { grid-template-columns: 1fr; } }

/* Perguntas */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.4rem 2.5rem 1.4rem 0; position: relative;
  font: 500 1.2rem/1.35 var(--serif);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .3rem; top: 1.15rem; font: 400 1.6rem/1 var(--sans); color: var(--orange); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.4rem; color: var(--muted); max-width: 44rem; }

/* Rodapé */
footer { border-top: 1px solid var(--line); padding: 3.5rem 0 3rem; font-size: .92rem; color: var(--muted); }
footer .wrap { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
footer .brand { color: var(--text); }
footer h4 { margin: 0 0 .8rem; font: 500 .78rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }
.legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.6rem; font-size: .82rem; }
@media (max-width: 760px) { footer .wrap { grid-template-columns: 1fr; } }

/* Páginas de texto (privacidade, obrigado, 404) */
.page { padding: 130px 0 5rem; }
.page .wrap { max-width: 760px; }
.page h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem); margin: .8rem 0 1rem; }
.page h2 { font-size: 1.6rem; margin: 2.6rem 0 .8rem; }
.page p, .page li { color: var(--muted); }
.page p + p { margin-top: .9rem; }
.page ul { padding-left: 1.2rem; display: grid; gap: .5rem; }
.page a { color: var(--orange); }
.top.static { position: sticky; background: var(--bg); color: var(--text); box-shadow: 0 1px 0 var(--line); }

/* Entrada suave */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .faq summary::after { transition: none; }
}
