/* ==========================================================================
   Namoro Santo — sistema de design do site público
   Paleta e tipografia espelham o app (core/theme/app_theme.dart):
   rosa #C1344D / dourado litúrgico #D4AF37 / Playfair Display + Inter.
   ========================================================================== */

:root {
  --rosa: #c1344d;
  --rosa-clara: #e35d6a;
  --rosa-funda: #9e2440;
  --rosa-noite: #3b0d18;
  --dourado: #d4af37;
  --dourado-2: #b8902a;
  --bg: #fdf4f6;
  --bg-alt: #ffffff;
  --ink: #3b0d18;
  --ink-soft: #6b4550;
  --ink-faint: #9b7883;
  --line: #f4dde1;
  --like: #22c55e;
  --pass: #ef4444;
  --super: #3b82f6;

  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(59, 13, 24, 0.06);
  --shadow-md: 0 10px 30px rgba(59, 13, 24, 0.1);
  --shadow-lg: 0 24px 60px rgba(59, 13, 24, 0.2);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1120px;
}

/* ---------- reset básico ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; font-weight: 800; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
button { font-family: inherit; }

:focus-visible {
  outline: 2.5px solid var(--rosa);
  outline-offset: 3px;
  border-radius: 4px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.only-mobile { display: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 244, 246, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.brand span {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.22rem;
  color: var(--rosa-funda);
  letter-spacing: -0.01em;
}
.nav-main { display: flex; align-items: center; gap: 28px; }
.nav-main a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.15s;
  white-space: nowrap;
}
.nav-main a:hover, .nav-main a[aria-current="page"] { color: var(--rosa); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle {
  display: none;
  border: none;
  background: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle:hover { background: var(--line); }
.nav-toggle svg { width: 22px; height: 22px; color: var(--rosa-funda); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, opacity 0.15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--dourado), var(--dourado-2));
  color: #3b2a05;
  box-shadow: 0 10px 24px rgba(212, 175, 55, 0.4);
}
.btn-rosa {
  background: linear-gradient(135deg, var(--rosa-clara), var(--rosa));
  color: #fff;
  box-shadow: 0 10px 24px rgba(193, 52, 77, 0.32);
}
.btn-secondary {
  background: #fff;
  color: var(--rosa);
  border: 1.5px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--rosa); }
.btn-ghost-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.22); }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; border-radius: 11px; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: 0.55; cursor: default; pointer-events: none; }

/* ---------- vitral / hero ---------- */
.vitral-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(130% 150% at 18% 0%, #d9576e 0%, var(--rosa) 42%, var(--rosa-funda) 78%, var(--rosa-noite) 100%);
  color: #fff;
}
.vitral-hero::before {
  content: "";
  position: absolute;
  inset: -20% -20% -60% -20%;
  background-image: repeating-conic-gradient(from 0deg at 50% 8%, rgba(255, 255, 255, 0.07) 0deg 2.2deg, transparent 2.2deg 7deg);
  opacity: 0.55;
  pointer-events: none;
}
.vitral-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 45% at 50% 0%, rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;
}
.vitral-hero > * { position: relative; z-index: 1; }

.page-hero {
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero .eyebrow { color: #f6d9c9; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3rem); margin-bottom: 14px; }
.page-hero .lead { max-width: 620px; margin: 0 auto; color: #f4dde2; font-size: 1.08rem; line-height: 1.6; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}
.eyebrow.on-light {
  background: rgba(193, 52, 77, 0.08);
  border-color: rgba(193, 52, 77, 0.18);
  color: var(--rosa);
}

/* ---------- seções ---------- */
.section { padding: 76px 0; }
.section-tight { padding: 48px 0; }
.section-title { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-title h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: var(--rosa-funda); margin-bottom: 12px; }
.section-title p { color: var(--ink-soft); font-size: 1.03rem; line-height: 1.6; }
.section-title.align-left { margin-left: 0; text-align: left; }
.bg-alt { background: var(--bg-alt); }
.bg-line-top { border-top: 1px solid var(--line); }

/* ---------- cards / grids ---------- */
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.feature-card .icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(193, 52, 77, 0.1), rgba(212, 175, 55, 0.16));
  color: var(--rosa);
  margin-bottom: 16px;
}
.feature-card .icon-tile svg { width: 24px; height: 24px; }
.feature-card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; color: var(--ink); margin-bottom: 8px; }
.feature-card p { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.6; }

/* ---------- ícones inline (stroke) ---------- */
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- phone mockups ---------- */
.phone-frame {
  border-radius: 34px;
  overflow: hidden;
  border: 7px solid #fff;
  box-shadow: var(--shadow-lg);
  background: #fff;
  line-height: 0;
}
.phone-frame img { width: 100%; }

.hero-phone-wrap { display: flex; justify-content: center; }
.hero-phone-wrap .phone-frame { width: 260px; transform: rotate(1.5deg); }

.strip { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; padding-top: 8px; }
.strip .phone-frame { width: 172px; border-width: 5px; border-radius: 26px; opacity: 0.97; }
.strip .phone-frame:nth-child(1) { transform: rotate(-2deg); }
.strip .phone-frame:nth-child(2) { transform: rotate(2deg); }

/* ---------- passos numerados ---------- */
.steps { display: flex; flex-direction: column; gap: 0; max-width: 760px; margin: 0 auto; }
.step { display: flex; gap: 22px; padding: 28px 0; position: relative; }
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 62px;
  bottom: -6px;
  width: 2px;
  background: var(--line);
}
.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rosa-clara), var(--rosa));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  z-index: 1;
}
.step-body h3 { font-family: var(--font-body); font-size: 1.12rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.step-body p { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.65; }
.step-body .step-tags { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(193, 52, 77, 0.07);
  color: var(--rosa);
  border: 1px solid rgba(193, 52, 77, 0.16);
  padding: 4px 11px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ---------- badge dourado / selo ---------- */
.badge-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--dourado), var(--dourado-2));
  color: #3b2a05;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* ---------- pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }
.price-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  border: 1.5px solid var(--line);
  display: flex;
  flex-direction: column;
  position: relative;
}
.price-card--hl {
  border-color: var(--dourado);
  box-shadow: 0 20px 46px rgba(212, 175, 55, 0.22);
  transform: translateY(-8px);
}
@media (max-width: 900px) { .price-card--hl { transform: none; } }
.price-card .plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
}
.price-card h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; color: var(--ink); }
.price-card .price { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; color: var(--rosa-funda); margin: 10px 0 2px; }
.price-card .price small { font-family: var(--font-body); font-size: 0.85rem; font-weight: 600; color: var(--ink-faint); }
.price-card .price-note { color: var(--ink-faint); font-size: 0.82rem; margin-bottom: 20px; }
.price-feats { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-feats li { display: flex; gap: 9px; align-items: flex-start; font-size: 0.9rem; color: var(--ink-soft); line-height: 1.4; }
.price-feats li svg { width: 18px; height: 18px; color: var(--like); flex-shrink: 0; margin-top: 1px; }

/* ---------- FAQ (details/summary nativo) ---------- */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 20px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 0;
  font-weight: 700;
  font-size: 0.98rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { width: 18px; height: 18px; color: var(--rosa); transition: transform 0.2s; flex-shrink: 0; }
.faq-item[open] summary .chev { transform: rotate(180deg); }
.faq-item p { color: var(--ink-soft); font-size: 0.92rem; line-height: 1.65; padding: 0 0 18px; }

/* ---------- CTA final ---------- */
.cta-band {
  border-radius: 32px;
  padding: 56px 40px;
  text-align: center;
  background: radial-gradient(120% 160% at 50% 0%, var(--rosa-clara), var(--rosa) 55%, var(--rosa-funda) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: -10% -10% -60% -10%;
  background-image: repeating-conic-gradient(from 0deg at 50% 0%, rgba(255, 255, 255, 0.06) 0deg 2.2deg, transparent 2.2deg 7deg);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin-bottom: 12px; }
.cta-band p { color: #f4dde2; max-width: 480px; margin: 0 auto 26px; font-size: 1rem; }
.cta-band .cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; margin-bottom: 40px; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-brand .brand { margin-bottom: 12px; }
.footer-brand p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.6; max-width: 260px; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); margin-bottom: 14px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--ink-soft); font-size: 0.92rem; }
.footer-col a:hover { color: var(--rosa); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.credit { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 0.85rem; color: var(--ink-faint); }
.credit img { height: 17px; width: auto; }
.credit a { font-weight: 700; text-decoration: none; color: var(--ink-soft); }
.credit a:hover { color: var(--rosa); }
.footer-bottom .copyright { font-size: 0.82rem; color: var(--ink-faint); }

/* ---------- conteúdo legal (privacidade/termos) ---------- */
.legal-doc { max-width: 760px; margin: 0 auto; }
.legal-doc h2 { font-size: 1.28rem; color: var(--rosa-funda); margin: 40px 0 12px; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p, .legal-doc li { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.75; }
.legal-doc ul { padding-left: 22px; margin: 10px 0; display: flex; flex-direction: column; gap: 6px; }
.legal-doc strong { color: var(--ink); }
.legal-doc .updated { color: var(--ink-faint); font-size: 0.86rem; margin-bottom: 4px; }
.legal-toc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  margin: 28px 0 8px;
}
.legal-toc p { font-weight: 700; color: var(--ink); margin-bottom: 10px; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.04em; }
.legal-toc ol { padding-left: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.legal-toc li { font-size: 0.9rem; }
.legal-toc a { text-decoration: none; color: var(--ink-soft); }
.legal-toc a:hover { color: var(--rosa); }
@media (max-width: 600px) { .legal-toc ol { grid-template-columns: 1fr; } }

/* ---------- diretrizes / segurança (lista com ícone) ---------- */
.rule-list { display: flex; flex-direction: column; gap: 22px; max-width: 720px; margin: 0 auto; }
.rule-item { display: flex; gap: 18px; }
.rule-item .icon-tile {
  width: 42px; height: 42px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(193, 52, 77, 0.08); color: var(--rosa);
}
.rule-item .icon-tile svg { width: 22px; height: 22px; }
.rule-item h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 700; margin-bottom: 5px; }
.rule-item p { color: var(--ink-soft); font-size: 0.94rem; line-height: 1.65; }

/* ---------- utilitários ---------- */
.text-center { text-align: center; }
.stat-row { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; margin-top: 12px; }
.stat-row .stat b { display: block; font-family: var(--font-display); font-size: 1.7rem; color: var(--rosa-funda); }
.stat-row .stat span { font-size: 0.82rem; color: var(--ink-faint); }
.note-banner {
  background: #fff8ea;
  border: 1px solid #f1dfa8;
  color: #6b5416;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.88rem;
  line-height: 1.6;
  display: flex;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
}
.note-banner svg { width: 19px; height: 19px; flex-shrink: 0; margin-top: 1px; }

/* ---------- ".reveal" ----------
   Usado como marcador em várias seções para uma futura animação de entrada,
   mas deliberadamente SEM esconder conteúdo via opacidade: qualquer técnica de
   "esconde e revela ao rolar" cria uma janela real (não só no screenshot) em
   que a seção fica invisível até o JS/observer rodar — inaceitável numa página
   pública que também precisa ser lida por crawlers sem JS. Conteúdo sempre visível.

/* ---------- responsivo: nav mobile ---------- */
@media (max-width: 900px) {
  .nav-main { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .nav-main {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 26px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .only-mobile { display: inline-flex; }
  .nav-cta .btn-secondary { display: none; }
}
@media (max-width: 620px) {
  .page-hero { padding: 44px 0 40px; }
  .section { padding: 56px 0; }
  .footer-top { grid-template-columns: 1fr; }
}
