@font-face { font-family: "Bricolage"; src: url("/static/fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/static/fonts/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --ink: #1F1640;      /* deep violet: headings, dark bands */
  --paper: #F3F1FA;    /* cool lilac-white page */
  --live: #F2384F;     /* the AO VIVO red */
  --tag: #FFD23F;      /* price-tag yellow, used for codes */
  --paid: #1E8A5F;     /* confirmed / paid */
  --muted: #625B7E;
  --line: #DCD7EC;
  --card: #FFFFFF;
  --display: "Bricolage", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--live); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; margin-bottom: 28px; max-width: 22ch; }
h3 { font-size: 21px; font-weight: 650; }
p { margin: 0; }
.code { font-family: var(--body); font-weight: 800; background: var(--tag); color: var(--ink); padding: 1px 7px 2px; border-radius: 6px; white-space: nowrap; letter-spacing: .02em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; transition: transform .15s ease, background-color .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-main { background: var(--live); color: #fff; }
.btn-main:hover { background: #D92640; }
.btn-ghost { border: 2px solid var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--tag); }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(243, 241, 250, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; }
.brand img { display: block; height: 40px; width: auto; }
.top-nav { display: flex; gap: 22px; margin-right: auto; }
.top-nav a, .top-act .link { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--muted); }
.top-nav a:hover, .top-act .link:hover { color: var(--ink); }
.top-act { display: flex; align-items: center; gap: 18px; }
.top-act .link:last-child { color: var(--ink); border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 14px; }

/* hero */
.hero { padding: 64px 0 80px; }
.hero-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.live-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--live); margin-bottom: 18px; }
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--live); animation: rec 1.4s ease-in-out infinite; }
@keyframes rec { 50% { opacity: .25; } }
h1 { font-size: clamp(48px, 7.2vw, 92px); font-weight: 800; letter-spacing: -0.035em; line-height: .95; margin-bottom: 24px; font-variation-settings: "wdth" 85; }
.lead { font-size: 19px; max-width: 34em; color: #3A3258; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 16px; }
.hero-note { color: var(--muted); font-size: 15px; }

.demo { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: end; }
.phone { background: #2A2147; border-radius: 30px; padding: 12px; height: 420px; display: flex; flex-direction: column; color: #fff; box-shadow: 0 24px 50px -24px rgba(31, 22, 64, .55); position: relative; overflow: hidden; }
.phone-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; position: relative; z-index: 1; }
.badge-live { background: var(--live); font-weight: 800; padding: 2px 7px; border-radius: 4px; letter-spacing: .04em; }
.viewers::before { content: "👁 "; }
.phone-cam { position: absolute; inset: 0; background: linear-gradient(170deg, #5B4A8C 0%, #2A2147 70%); }
.hanger { position: absolute; left: 50%; top: 70px; width: 86px; height: 110px; transform: translateX(-50%); border-radius: 40px 40px 14px 14px; background: #F7C6A3; opacity: .85; }
.hanger::after { content: ""; position: absolute; left: 50%; top: -22px; width: 26px; height: 26px; border: 3px solid #F7C6A3; border-bottom: 0; border-radius: 26px 26px 0 0; transform: translateX(-50%); }
.comments { list-style: none; margin: auto 0 8px; padding: 0; display: flex; flex-direction: column; gap: 6px; position: relative; z-index: 1; font-size: 13px; line-height: 1.3; }
.comments li { animation: rise .35s ease-out both; text-shadow: 0 1px 2px rgba(0,0,0,.5); }
.comments li b { font-weight: 700; margin-right: 4px; }
.comments li.has-code { color: var(--tag); font-weight: 700; }
.phone-input { position: relative; z-index: 1; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 7px 12px; font-size: 12px; color: rgba(255,255,255,.7); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

.sheet { background: var(--card); border: 1px solid var(--line); border-radius: 16px; min-height: 340px; overflow: hidden; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 15px; flex-wrap: wrap; }
.stock { font-size: 13px; font-weight: 600; color: var(--muted); }
.stock b { color: var(--ink); font-size: 15px; }
.stock b.out { color: var(--live); }
.rows { list-style: none; margin: 0; padding: 6px 0; font-size: 14px; }
.rows li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "who val" "item st"; column-gap: 10px; padding: 9px 16px; border-bottom: 1px dashed var(--line); animation: stamp .45s cubic-bezier(.2, .9, .3, 1.3) both; }
.rows li:last-child { border-bottom: 0; }
.r-who { grid-area: who; font-weight: 700; }
.r-item { grid-area: item; color: var(--muted); }
.r-val { grid-area: val; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.st { grid-area: st; text-align: right; font-size: 12px; font-weight: 700; }
.st.ok { color: var(--paid); }
.st.wait { color: #A15C00; }
.rows li.is-wait .r-val { text-decoration: line-through; color: var(--muted); font-weight: 500; }
@keyframes stamp { from { opacity: 0; transform: translateX(-14px); background: #FFF6CC; } 60% { background: #FFF6CC; } }

/* steps */
.steps { background: var(--ink); color: #fff; padding: 84px 0; }
.steps h2 { color: #fff; }
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: step; }
.step-list li { counter-increment: step; border-top: 2px solid rgba(255,255,255,.25); padding-top: 22px; }
.step-list li::before { content: counter(step); display: block; font-family: var(--display); font-size: 56px; font-weight: 800; line-height: 1; color: var(--tag); margin-bottom: 14px; }
.step-list h3 { margin-bottom: 10px; }
.step-list p { color: #D7D1EC; }
.steps .code { background: var(--tag); }

/* features */
.features { padding: 92px 0 72px; }
.feat-big { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding: 40px; background: var(--card); border-radius: 24px; border: 1px solid var(--line); margin-bottom: 56px; }
.feat-big h3 { font-size: clamp(26px, 3vw, 34px); margin-bottom: 14px; }
.feat-text p { color: #3A3258; max-width: 36em; }
.presenter { background: #17102F; color: #fff; border-radius: 18px; padding: 26px 26px 24px; border: 3px solid var(--live); }
.p-tag { display: inline-block; background: var(--live); font-weight: 800; font-size: 14px; letter-spacing: .06em; padding: 4px 10px; border-radius: 6px; margin-bottom: 14px; }
.p-item { font-family: var(--display); font-size: 34px; font-weight: 800; line-height: 1.05; }
.p-item small { display: block; font-family: var(--body); font-size: 15px; font-weight: 500; color: #BDB4DB; margin-top: 4px; }
.p-who { font-size: 20px; margin-top: 16px; }
.p-who b { color: var(--tag); }
.p-queue { margin-top: 8px; font-size: 14px; color: #BDB4DB; }

.feat-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 48px; }
.feat-list h3 { margin-bottom: 8px; font-size: 20px; }
.feat-list p { color: #463E66; font-size: 16px; }
.sizes { display: flex; gap: 6px; margin-top: 14px; }
.sizes span { border: 1.5px solid var(--ink); border-radius: 8px; padding: 3px 8px; font-size: 13px; font-weight: 600; }
.sizes b { font-weight: 800; }
.sizes span:first-child { opacity: .4; text-decoration: line-through; }

/* audience */
.audience { padding: 72px 0; border-top: 1px solid var(--line); }
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.aud { padding: 26px 24px; background: var(--card); border-radius: 14px; border-left: 6px solid var(--tag); }
.aud:nth-child(2) { border-left-color: var(--live); }
.aud:nth-child(3) { border-left-color: var(--paid); }
.aud h3 { margin-bottom: 8px; }
.aud p { color: #463E66; font-size: 16px; }
.aud-ex { margin-top: 14px !important; color: var(--muted) !important; font-size: 15px !important; }

/* pricing */
.pricing { padding: 88px 0; background: #E9E5F6; }
.plans { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; align-items: stretch; max-width: 900px; }
.plan { background: var(--card); border-radius: 22px; padding: 34px 32px; display: flex; flex-direction: column; border: 1px solid var(--line); }
.plan-main { border: 3px solid var(--ink); position: relative; }
.plan-main::after { content: "Mais vantajoso"; position: absolute; top: -15px; left: 28px; background: var(--tag); color: var(--ink); font-weight: 800; font-size: 13px; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; color: var(--muted); font-weight: 700; }
.price { font-family: var(--display); font-size: 64px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 12px 0 6px; }
.price .cur { font-size: 24px; vertical-align: top; margin-right: 4px; position: relative; top: 8px; }
.price .per { font-size: 22px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-sub { color: var(--muted); margin-bottom: 20px; }
.plan ul { margin: 0 0 28px; padding: 0; list-style: none; display: grid; gap: 10px; flex: 1; }
.plan li { padding-left: 26px; position: relative; font-size: 16px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 12px; height: 7px; border-left: 2.5px solid var(--paid); border-bottom: 2.5px solid var(--paid); transform: rotate(-45deg); }
.fine { margin-top: 18px; color: var(--muted); font-size: 14px; }

/* faq */
.faq { padding: 88px 0; }
.faq-in { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 700; font-size: 18px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 26px; font-weight: 400; transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 22px; color: #463E66; max-width: 60ch; }

/* closing */
.closing { background: var(--live); color: #fff; padding: 76px 0; }
.closing-in { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.closing h2 { color: #fff; margin: 0 auto; max-width: 20ch; }
.closing p { font-size: 18px; margin-bottom: 12px; }

/* footer */
.foot { padding: 36px 0 44px; font-size: 14px; }
.foot-in { display: grid; gap: 10px; }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); }
.muted { color: var(--muted); max-width: 70ch; }

/* responsive */
@media (max-width: 960px) {
  .top-nav { display: none; }
  .top-act { margin-left: auto; }
  .hero-in, .feat-big, .faq-in { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .feat-list, .aud-grid, .step-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .top-act .link:first-child { display: none; }
  .demo { grid-template-columns: 1fr; }
  .phone { height: 300px; }
  .hanger { top: 46px; width: 60px; height: 74px; }
  .sheet { min-height: 0; }
  .feat-list, .aud-grid, .step-list, .plans { grid-template-columns: 1fr; }
  .feat-big { padding: 24px; }
  .plan { padding: 30px 24px; }
  .price { font-size: 54px; }
  .btn { width: 100%; }
  .hero-cta { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
