/* Los 7 Amenes de la Madrugada · páginas da Digistore24
   Design system "The Sacred Prayer" do app (Geist Serif, preto/branco, faixas noturnas, cores de categoria).
   Responsivo: celular primeiro, desktop a partir de 900px. */

@font-face {
  font-family: 'Geist Serif';
  src: url('./GeistSerif-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #FFFFFF;
  --surface: #F6F6F6;
  --surface-2: #ECEAE6;
  --ink: #0B0B0C;
  --ink-muted: #5E5E62;
  --ink-faint: #9A979C;
  --line: #E4E2DE;
  --night: #0F0F10;
  --night-2: #1C1C1E;
  --night-ink: #FFFFFF;
  --night-muted: #B4B4BA;
  --purple: #6D0EC1;
  --purple-soft: #F2E7F8;
  --purple-deep: #3F0374;
  --sleep: #0C2170;
  --sleep-deep: #03002F;
  --green: #00876F;
  --coral: #F2745F;
  --gold: #E8A825;
  --gold-hi: #F7CB63;
  --hl-lavender: #D6C2F5;
  --hl-amber: #F7CC7A;
  --hl-coral: #FAB6AA;
  --hl-slate: #C9D3EA;
  --hl-lime: #C9EE73;
  --hl-cyan: #7FE7E3;
  --hl-pink: #F7B3E4;
  --font: 'Geist Serif', 'Iowan Old Style', Georgia, serif;
  --wrap: 1160px;
  --gutter: 20px;
  --radius: 22px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 10px; }
.night :focus-visible { outline-color: var(--gold-hi); }
h1, h2, h3 { font-weight: 400; margin: 0; text-wrap: balance; letter-spacing: -0.015em; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.center { text-align: center; }

/* ---------- Cabeçalho ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 18px; color: var(--ink); white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.head-nav { display: none; gap: 28px; font-size: 15.5px; }
.head-nav a { text-decoration: none; color: var(--ink-muted); }
.head-nav a:hover { color: var(--ink); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 58px; padding: 14px 30px; border: 0; border-radius: 999px;
  background: var(--ink); color: #FFFFFF;
  font-family: var(--font); font-size: 19px; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; transition: transform 0.15s var(--ease), box-shadow 0.15s var(--ease), background 0.15s;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 15.5px; box-shadow: none; }
.btn-light { background: #FFFFFF; color: var(--ink); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); }
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: #0F0F10; box-shadow: 0 10px 28px rgba(232, 168, 37, 0.35); }
.btn-block { display: flex; width: 100%; }
.btn-no { display: inline-block; margin-top: 14px; padding: 8px 12px; font-size: 16px; color: var(--ink-muted); text-decoration: underline; }
.night .btn-no { color: var(--night-muted); }
.note { margin-top: 14px; font-size: 14px; line-height: 1.5; color: var(--ink-muted); }
.night .note { color: var(--night-muted); }

/* ---------- Seções ---------- */
.section { padding: 72px 0; }
.section-tight { padding: 56px 0; }
.night { background: var(--night); color: var(--night-ink); }
.soft { background: var(--surface); }
.kicker { display: block; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--purple); margin-bottom: 12px; }
.night .kicker { color: var(--gold-hi); }
.h-xl { font-size: clamp(40px, 7.2vw, 76px); line-height: 1.04; }
.h-lg { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.1; }
.h-md { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; }
.lead { margin-top: 16px; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.5; color: var(--ink-muted); }
.night .lead { color: var(--night-muted); }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0 0; text-align: center; overflow: hidden; }
.hero .lead { max-width: 620px; margin-left: auto; margin-right: auto; }
.hero-cta { margin-top: 30px; }
.hero .note { max-width: 520px; margin-left: auto; margin-right: auto; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.chip { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; color: var(--ink-muted); }
.night .chip { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); color: var(--night-muted); }

.stage { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 16px; margin-top: 48px; }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-self: center; }
.tile { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--surface-2); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tiles-left .tile:nth-child(odd), .tiles-right .tile:nth-child(even) { transform: translateY(28px); }
.stage .tiles { display: none; }

/* Moldura de celular */
.phone {
  position: relative; width: min(300px, 78vw); margin: 0 auto;
  padding: 10px; border-radius: 46px; background: #0B0B0C;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28), inset 0 0 0 2px #2A2A2D;
}
.phone img { width: 100%; border-radius: 36px; }
.hero { padding-bottom: 72px; }

/* ---------- 3 pilares (faixa escura com arcos) ---------- */
.pillars { display: grid; gap: 44px; }
.pillar { text-align: center; max-width: 340px; margin: 0 auto; }
.arch { width: 150px; height: 190px; margin: 0 auto 22px; border-radius: 999px 999px 18px 18px; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.45); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.pillar h3 { font-size: 27px; line-height: 1.2; }
.pillar p { margin-top: 10px; color: var(--night-muted); font-size: 17px; }
.night-glow { position: relative; isolation: isolate; overflow: hidden; }
.night-glow::before {
  content: ''; position: absolute; inset: -20% -10% auto; height: 120%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(closest-side at 20% 30%, rgba(109, 14, 193, 0.35), transparent 70%),
    radial-gradient(closest-side at 80% 60%, rgba(12, 33, 112, 0.55), transparent 70%),
    radial-gradient(closest-side at 50% 0%, rgba(247, 203, 99, 0.16), transparent 70%);
}

/* ---------- Carrossel de cartões ---------- */
.rail-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.rail-head .section-head { margin: 0; text-align: left; }
.rail-btns { display: none; gap: 10px; }
.rail-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #FFF; color: var(--ink); font-size: 20px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.rail-btn:hover { background: var(--surface); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 300px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 18px; margin: 0 calc(var(--gutter) * -1);
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.card {
  scroll-snap-align: start; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--c, var(--purple)); color: var(--cink, #FFFFFF); min-height: 100%;
}
.card-art { aspect-ratio: 4 / 3; overflow: hidden; }
.card-art img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px 20px 24px; }
.card-num { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.8; }
.card h3 { margin-top: 6px; font-size: 24px; line-height: 1.2; }
.card p { margin-top: 8px; font-size: 16px; line-height: 1.5; opacity: 0.88; }
.fine { margin-top: 18px; font-size: 14.5px; color: var(--ink-muted); text-align: center; }

/* ---------- Linhas com celular (zigue-zague) ---------- */
.feature { display: grid; gap: 36px; align-items: center; }
.feature + .feature { margin-top: 84px; }
.feature-text h3 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; }
.feature-text p { margin-top: 14px; font-size: 18px; color: var(--ink-muted); }
.feature-text ul { margin: 18px 0 0; padding: 0; list-style: none; }
.feature-text li { position: relative; padding: 6px 0 6px 30px; font-size: 17px; }
.feature-text li::before { content: ''; position: absolute; left: 0; top: 12px; width: 18px; height: 18px; border-radius: 50%; background: var(--purple-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D0EC1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/12px no-repeat; }
.feature-media { position: relative; padding: 30px 0; }
.feature-media::before { content: ''; position: absolute; inset: 0 8%; border-radius: 40px; background: var(--fbg, var(--hl-lavender)); z-index: 0; }
.feature-media .phone { z-index: 1; width: min(270px, 70vw); }

/* ---------- O que recebes (3 colunas) ---------- */
.groups { display: grid; gap: 18px; }
.group { padding: 26px 22px; border-radius: var(--radius); background: var(--night-2); border: 1px solid rgba(255,255,255,0.08); }
.group h3 { font-size: 24px; }
.group > p { margin-top: 6px; color: var(--night-muted); font-size: 15.5px; }
.items { margin: 18px 0 0; padding: 0; list-style: none; }
.items li { display: flex; gap: 14px; padding: 13px 0; border-top: 1px solid rgba(255,255,255,0.08); }
.items img { flex: none; width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.items b { display: block; font-weight: 400; font-size: 17px; line-height: 1.3; color: #FFF; }
.items span { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.45; color: var(--night-muted); }

/* ---------- Para quem é ---------- */
.fit { display: grid; gap: 18px; }
.fit-card { padding: 28px 24px; border-radius: var(--radius); background: #FFF; border: 1px solid var(--line); }
.fit-card.yes { background: var(--purple-soft); border-color: transparent; }
.fit-card h3 { font-size: 26px; }
.fit-card ul { margin: 16px 0 0; padding: 0; list-style: none; }
.fit-card li { padding: 9px 0 9px 30px; position: relative; font-size: 17px; border-top: 1px solid rgba(0,0,0,0.07); }
.fit-card li::before { position: absolute; left: 2px; top: 9px; font-size: 17px; }
.fit-card.yes li::before { content: '✓'; color: var(--purple); }
.fit-card.no li::before { content: '–'; color: var(--ink-faint); }

/* ---------- Guia ---------- */
.guide { display: grid; gap: 26px; align-items: center; padding: 30px 24px; border-radius: 28px; background: var(--surface); }
.guide img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto; }
.guide p { color: var(--ink-muted); }
.guide p + p { margin-top: 10px; font-size: 15.5px; }
.guide h3 { font-size: 28px; margin-bottom: 10px; }

/* ---------- Passos ---------- */
.steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; padding: 24px 22px; border-radius: var(--radius); background: #FFF; border: 1px solid var(--line); font-size: 17px; color: var(--ink-muted); }
.steps li::before { content: counter(s); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--ink); color: #FFF; font-size: 18px; }
.steps b { display: block; font-weight: 400; color: var(--ink); font-size: 20px; margin-bottom: 4px; }
.night .steps li { background: var(--night-2); border-color: rgba(255,255,255,0.08); color: var(--night-muted); }
.night .steps li::before { background: var(--gold-hi); color: #0F0F10; }
.night .steps b { color: #FFF; }

/* ---------- Preço ---------- */
.pricing { position: relative; isolation: isolate; overflow: hidden; padding: 84px 0; background: linear-gradient(180deg, #2A1150 0%, #6D0EC1 55%, #C49EE7 100%); }
.pricing::before { content: ''; position: absolute; inset: 0; z-index: -1; background: url('./art/night.webp') center/cover; opacity: 0.28; mix-blend-mode: screen; }
.price-card { max-width: 520px; margin: 0 auto; padding: 34px 26px 28px; border-radius: 30px; background: #FFF; text-align: center; box-shadow: 0 40px 90px rgba(20, 0, 50, 0.45); }
.price-card .h-md { margin-top: 2px; }
.price { margin-top: 18px; font-size: clamp(56px, 9vw, 72px); line-height: 1; letter-spacing: -0.03em; }
.price-meta { margin-top: 8px; font-size: 16px; color: var(--ink-muted); }
.price-list { margin: 24px 0 26px; padding: 0; list-style: none; text-align: left; }
.price-list li { position: relative; padding: 10px 0 10px 32px; border-top: 1px solid var(--line); font-size: 16.5px; }
.price-list li::before { content: ''; position: absolute; left: 0; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--purple-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D0EC1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/13px no-repeat; }
.mini-g { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); text-align: left; font-size: 14.5px; color: var(--ink-muted); }
.mini-g .seal { width: 56px; height: 56px; flex: none; }
.mini-g b { font-weight: 400; color: var(--ink); }

/* ---------- Garantia ---------- */
.guarantee { display: grid; gap: 26px; align-items: center; text-align: center; }
.guarantee .seal { width: 170px; height: 170px; margin: 0 auto; }
.guarantee p { margin-top: 12px; color: var(--ink-muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0 40px; }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 19px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--ink-muted); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 20px; color: var(--ink-muted); font-size: 16.5px; }
.faq a { color: var(--purple); }

/* ---------- Rodapé ---------- */
.site-foot { background: var(--night); color: var(--night-muted); padding: 56px 0 44px; font-size: 14.5px; }
.foot-top { display: grid; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.foot-top .brand { color: #FFF; }
.foot-top h4 { margin: 0 0 10px; font-weight: 400; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #FFF; }
.foot-top nav { display: flex; flex-direction: column; gap: 6px; }
.foot-top a { color: var(--night-muted); text-decoration: none; }
.foot-top a:hover { color: #FFF; text-decoration: underline; }
.foot-legal { padding-top: 24px; }
.foot-legal p + p { margin-top: 10px; }
.foot-links { display: none; }

/* ---------- Páginas legais ---------- */
.legal { padding: 48px 0 72px; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; }
.legal .updated { margin-top: 10px; color: var(--ink-muted); font-size: 15px; }
.legal h2 { margin-top: 40px; font-size: 25px; line-height: 1.25; }
.legal p, .legal li { font-size: 17.5px; line-height: 1.7; color: #2B2B2E; }
.legal p { margin-top: 12px; }
.legal ul, .legal ol { margin: 12px 0 0; padding-left: 24px; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--purple); }
.callout { margin-top: 18px; padding: 18px 20px; border-radius: 16px; background: var(--purple-soft); }
.callout p:first-child { margin-top: 0; }

/* ---------- Funil (upsell, downsell, obrigado) ---------- */
.notice { background: var(--ink); color: #FFF; text-align: center; padding: 11px 16px; font-size: 15.5px; }
.notice b { font-weight: 400; color: var(--gold-hi); }
.offer-card { max-width: 560px; margin: 0 auto; padding: 32px 24px 28px; border-radius: 30px; background: #FFF; border: 1px solid var(--line); text-align: center; box-shadow: 0 30px 70px rgba(0,0,0,0.10); }
.night .offer-card { background: var(--night-2); border-color: rgba(255,255,255,0.1); color: #FFF; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.night .offer-card .price-meta, .night .offer-card .mini-g { color: var(--night-muted); }
.night .offer-card .mini-g { border-color: rgba(255,255,255,0.1); }
.night .offer-card .mini-g b { color: #FFF; }
.price-old { font-size: 16px; color: var(--ink-muted); }
.letter { max-width: 680px; margin: 0 auto; font-size: 19px; line-height: 1.7; }
.letter p + p { margin-top: 16px; }
.letter .sign { color: var(--purple); }


/* ---------- Funil: hero dividido, cartões do Círculo, citação ---------- */
.hero-split { padding: 48px 0 56px; }
.split { display: grid; gap: 36px; align-items: center; }
.arch-xl { width: min(320px, 78vw); height: auto; aspect-ratio: 3 / 4; margin: 0 auto; }
.chips-left { justify-content: flex-start; }
.avatar { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 18px; box-shadow: 0 14px 32px rgba(0,0,0,0.18); }
.groups[style*="--g:2"] { display: grid; gap: 16px; grid-template-columns: 1fr; }
.group-card { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--surface); }
.group-card img { flex: none; width: 76px; height: 76px; border-radius: 16px; object-fit: cover; }
.group-card h3 { font-size: 21px; line-height: 1.25; }
.group-card p { margin-top: 6px; font-size: 16px; color: var(--ink-muted); }
.night .letter { color: var(--night-muted); }
.letter strong { font-weight: 400; color: var(--ink); background: linear-gradient(transparent 62%, var(--hl-amber) 62%); }
.quote { font-size: 24px; line-height: 1.35; color: #FFF !important; }
.quote span { display: block; margin-top: 6px; font-size: 15px; color: var(--gold-hi); }
.debit { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 17px; }
.debit span { font-size: 14px; color: var(--ink-muted); }
.pricing .offer-card { box-shadow: 0 40px 90px rgba(20, 0, 50, 0.45); border: 0; }
@media (max-width: 480px) { .price-card .btn, .offer-card .btn { font-size: 17px; padding: 14px 18px; } }
@media (min-width: 900px) {
  .hero-split { padding: 80px 0 88px; }
  .split { grid-template-columns: 1.15fr 0.85fr; gap: 72px; }
  .hero-split .split .phone { justify-self: center; }
  .groups[style*="--g:2"] { grid-template-columns: 1fr 1fr; }
}

/* ======================= Desktop ======================= */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .groups, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fit { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr 1fr; }
  .faq details:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .faq details:last-child { border-bottom: 1px solid var(--line); }
  .guide { grid-template-columns: 140px 1fr; padding: 36px 40px; }
  .guide img { margin: 0; width: 140px; height: 140px; }
  .foot-top { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 900px) {
  body { font-size: 19px; }
  .section { padding: 112px 0; }
  .section-tight { padding: 80px 0; }
  .head-nav { display: flex; }
  .stage .tiles { display: grid; }
  .phone { width: 300px; }
  .hero { padding-top: 84px; }
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .rail-btns { display: flex; }
  .rail { grid-auto-columns: 340px; margin: 0; padding: 4px 0 18px; }
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; }
  .feature.flip .feature-media { order: 2; }
  .groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .guarantee { grid-template-columns: 220px 1fr; text-align: left; gap: 48px; }
  .guarantee .seal { width: 210px; height: 210px; }
  .offer-card { padding: 40px 40px 32px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Botão claro dentro de cartão escuro */
.night .offer-card .btn { background: #FFFFFF; color: #0B0B0C; box-shadow: 0 10px 26px rgba(0,0,0,0.4); }
.night .offer-card .price-list li { border-color: rgba(255,255,255,0.1); }
