/* Layout: balcão de loja. Texto à esquerda, celular com a conversa real à direita; seções em faixas largas, planos em três colunas. */
:root {
  --ink: #16233F;        /* marinho da marca */
  --ink-soft: #46536E;
  --amber: #FFB020;      /* âmbar da marca */
  --amber-deep: #B87400;
  --bg: #F6F7FA;
  --surface: #FFFFFF;
  --line: #DDE1EA;
  --band: #16233F;
  --band-fg: #F6F7FA;
  --chat-bg: #EFE9E1;
  --bubble-in: #FFFFFF;
  --bubble-out: #D9FDD3;
  --bubble-fg: #111B21;
  --bubble-meta: #667781;
  --wa: #1FA855;
  --wa-fg: #FFFFFF;
  --f-display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "Cascadia Mono", monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #EEF1F7; --ink-soft: #A9B3C7; --amber: #FFB938; --amber-deep: #FFC85E;
    --bg: #0F1729; --surface: #17213A; --line: #2A3653; --band: #1B2744; --band-fg: #EEF1F7;
    --chat-bg: #0B141A; --bubble-in: #202C33; --bubble-out: #005C4B; --bubble-fg: #E9EDEF; --bubble-meta: #8696A0;
    --wa: #25C266; --wa-fg: #08130C; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ink: #EEF1F7; --ink-soft: #A9B3C7; --amber: #FFB938; --amber-deep: #FFC85E;
  --bg: #0F1729; --surface: #17213A; --line: #2A3653; --band: #1B2744; --band-fg: #EEF1F7;
  --chat-bg: #0B141A; --bubble-in: #202C33; --bubble-out: #005C4B; --bubble-fg: #E9EDEF; --bubble-meta: #8696A0;
  --wa: #25C266; --wa-fg: #08130C; color-scheme: dark;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--f-display); line-height: 1.08; text-wrap: balance; margin: 0; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.eyebrow { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-deep); }

/* topo */
header.top { padding-block: 20px; }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; }
.brand svg { width: 38px; height: 38px; border-radius: 10px; flex: none; box-shadow: 0 0 0 1px var(--line); }
nav.links { display: flex; gap: 24px; font-weight: 500; margin-left: auto; }
nav.links a { text-decoration: none; color: var(--ink-soft); }
nav.links a:hover { color: var(--ink); }

.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: 1rem; border: 0; cursor: pointer; }
.btn-wa { background: var(--wa); color: var(--wa-fg); }
.btn-wa:hover { filter: brightness(1.06); }
.btn-ghost { color: var(--ink); border: 1.5px solid var(--line); background: transparent; }
.btn-sm { padding: 8px 18px; font-size: .95rem; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* hero */
.hero { padding-block: 32px 72px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero-copy h1 em { font-style: normal; background: linear-gradient(transparent 62%, var(--amber) 62%, var(--amber) 92%, transparent 92%); padding-inline: 2px; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 34em; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; gap: 8px 20px; flex-wrap: wrap; font-size: .92rem; color: var(--ink-soft); padding: 0; margin: 0; list-style: none; }
.trust li::before { content: "✓"; color: var(--wa); font-weight: 700; margin-right: 6px; }

/* celular */
.phone { justify-self: center; width: min(360px, 100%); border-radius: 36px; padding: 10px; background: #0B0F17; box-shadow: 0 30px 60px -24px rgba(22,35,63,.45); }
.screen { border-radius: 28px; overflow: hidden; background: var(--chat-bg); display: flex; flex-direction: column; }
.chat-head { background: #0F5C4C; color: #fff; display: flex; align-items: center; gap: 10px; padding: 14px 16px; }
.chat-head .av { width: 36px; height: 36px; border-radius: 50%; background: #F7C6D9; display: grid; place-items: center; font-size: 1.1rem; flex: none; }
.chat-head b { display: block; font-size: .98rem; }
.chat-head small { font-size: .78rem; opacity: .85; }
.msgs { display: flex; flex-direction: column; gap: 6px; padding: 14px 12px 18px; font-size: .9rem; line-height: 1.4; color: var(--bubble-fg); }
.day { align-self: center; font-family: var(--f-mono); font-size: .7rem; background: var(--bubble-in); color: var(--bubble-meta); padding: 3px 10px; border-radius: 8px; margin-bottom: 4px; }
.m { max-width: 84%; padding: 7px 10px 5px; border-radius: 10px; position: relative; }
.m.in { align-self: flex-start; background: var(--bubble-in); border-top-left-radius: 2px; }
.m.out { align-self: flex-end; background: var(--bubble-out); border-top-right-radius: 2px; }
.m .t { display: block; text-align: right; font-family: var(--f-mono); font-size: .66rem; color: var(--bubble-meta); margin-top: 2px; }
.m.handoff { border: 1.5px dashed var(--amber); }
@media (prefers-reduced-motion: no-preference) {
  .msgs .m { animation: pop .45s ease-out both; }
  .msgs .m:nth-child(3) { animation-delay: .25s } .msgs .m:nth-child(4) { animation-delay: .5s }
  .msgs .m:nth-child(5) { animation-delay: .75s } .msgs .m:nth-child(6) { animation-delay: 1s }
  .msgs .m:nth-child(7) { animation-delay: 1.25s } .msgs .m:nth-child(8) { animation-delay: 1.5s }
  .msgs .m:nth-child(9) { animation-delay: 1.75s }
  @keyframes pop { from { transform: translateY(6px); opacity: .35 } to { transform: none; opacity: 1 } }
}
.phone-note { font-size: .85rem; color: var(--ink-soft); text-align: center; margin-top: 14px; max-width: 360px; justify-self: center; }
.phone-col { display: grid; justify-items: center; min-width: 0; }

section.block { padding-block: 72px; }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 40em; margin-bottom: 40px; }
.head p { color: var(--ink-soft); font-size: 1.1rem; }

/* o que faz */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.feat { background: var(--surface); padding: 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.feat p { color: var(--ink-soft); }
.feat .ic { width: 42px; height: 42px; border-radius: 12px; background: color-mix(in srgb, var(--amber) 22%, transparent); display: grid; place-items: center; color: var(--ink); }
.feat .ic svg { width: 22px; height: 22px; }

/* como funciona */
.band { background: var(--band); color: var(--band-fg); }
.band .eyebrow { color: var(--amber); }
.band .head p { color: color-mix(in srgb, var(--band-fg) 72%, transparent); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; list-style: none; padding: 0; margin: 0; counter-reset: s; }
.steps li { display: flex; flex-direction: column; gap: 10px; counter-increment: s; border-top: 2px solid color-mix(in srgb, var(--band-fg) 22%, transparent); padding-top: 20px; min-width: 0; }
.steps li::before { content: counter(s); font-family: var(--f-display); font-weight: 800; font-size: 2.6rem; line-height: 1; color: var(--amber); }
.steps p { color: color-mix(in srgb, var(--band-fg) 75%, transparent); }

/* regra de ouro */
.rule { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.rule-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.rule-list div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.rule-list dt { font-family: var(--f-mono); font-size: .85rem; color: var(--ink-soft); padding-top: 3px; }
.rule-list dd { margin: 0; }

/* planos */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.plan.featured { border: 2px solid var(--amber); }
.plan .tag { align-self: flex-start; font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; background: var(--amber); color: #16233F; padding: 3px 10px; border-radius: 999px; }
.price { font-family: var(--f-display); font-weight: 800; font-size: 2.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.price small { font-family: var(--f-body); font-weight: 500; font-size: .95rem; color: var(--ink-soft); }
.plan ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.plan li { padding-left: 26px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px; border-left: 2.5px solid var(--wa); border-bottom: 2.5px solid var(--wa); transform: rotate(-45deg); }
.plan .btn { justify-content: center; }
.soon { font-size: .95rem; color: var(--ink-soft); border-left: 3px solid var(--amber); padding-left: 14px; max-width: 34em; }
.pending { margin-top: 20px; font-size: .9rem; color: var(--ink-soft); }

/* perguntas */
.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-display); font-size: 1.4rem; line-height: 1; color: var(--amber-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-soft); margin-top: 10px; max-width: 40em; }

/* final */
.final { text-align: left; }
.final .box { background: var(--band); color: var(--band-fg); border-radius: 28px; padding: clamp(28px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.final .box p { color: color-mix(in srgb, var(--band-fg) 75%, transparent); margin-top: 10px; }
footer { padding-block: 40px 96px; color: var(--ink-soft); font-size: .92rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 28px; flex-wrap: wrap; }

.float-wa { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: var(--wa-fg); display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); z-index: 5; }
.float-wa svg { width: 30px; height: 30px; }

@media (max-width: 880px) {
  .hero .wrap, .rule { grid-template-columns: 1fr; }
  .feats, .steps, .plans { grid-template-columns: 1fr; }
  nav.links { display: none; }
  section.block { padding-block: 56px; }
}
@media (max-width: 480px) {
  .rule-list div { grid-template-columns: 1fr; gap: 4px; }
  body { font-size: 16px; }
}
