/* Octavia site. Colours come from the app and the Play store art (--bg is the store background #11152a). */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #11152a;
  --bg-2: #161b35;
  --surface: #1c2242;
  --line: #2a3160;
  --text: #f3f5ff;
  --muted: #aab1d6;
  --accent: #8fdcff;
  --blue: #1ea0e7;
  --blue-2: #1565c0;
  --radius: 20px;
  --wrap: 1120px;
  --shadow: 0 30px 60px -20px rgb(0 0 0 / .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; justify-content: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: #fff; color: var(--bg); padding: .6rem 1rem; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 1rem; }

.eyebrow { color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem; }
.accent { background: linear-gradient(90deg, #8fdcff, #4fb6f5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 36ch; }
.fine { font-size: .9rem; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  min-height: 52px; padding: .8rem 1.4rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-primary, .btn-play { color: #fff; background: linear-gradient(135deg, #2bb3f5, var(--blue-2)); box-shadow: 0 10px 30px -10px rgb(30 160 231 / .7); }
.btn-primary:hover, .btn-play:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgb(30 160 231 / .8); }
.btn-ghost { color: var(--text); border: 1px solid var(--line); background: rgb(255 255 255 / .03); }
.btn-ghost:hover { background: rgb(255 255 255 / .08); color: #fff; }
.btn-play .btn-text { display: grid; line-height: 1.1; text-align: left; }
.btn-play small { font-weight: 500; font-size: .72rem; opacity: .85; letter-spacing: .04em; text-transform: uppercase; }
.btn-play.is-soon { background: var(--surface); box-shadow: none; border: 1px dashed var(--line); cursor: default; }
.btn-play.is-soon:hover { transform: none; }
.btn-sm { min-height: 42px; padding: .5rem 1rem; font-size: .9rem; }
.btn-sm small { display: none; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(17 21 42 / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgb(255 255 255 / .06); }
.header-inner { display: flex; align-items: center; gap: 2rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); text-decoration: none; font-weight: 800; font-size: 1.25rem; letter-spacing: -.01em; }
.brand:hover { color: #fff; }
.brand img { border-radius: 11px; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: #fff; }
@media (max-width: 860px) {
  .nav { display: none; }
  .header-inner > .btn { margin-left: auto; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; z-index: -1;
  background: radial-gradient(closest-side, rgb(30 160 231 / .28), transparent 70%), radial-gradient(closest-side at 30% 70%, rgb(143 120 255 / .18), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 3rem; }
.hero-art { position: relative; height: clamp(480px, 52vw, 640px); }
.phone { border-radius: 34px; overflow: hidden; box-shadow: var(--shadow), 0 0 0 1px rgb(255 255 255 / .06); background: var(--bg-2); }
.hero-art .phone { position: absolute; }
.phone-front { width: min(300px, 62%); left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; }
.phone-back { width: min(230px, 46%); top: 50%; opacity: .55; filter: saturate(.8); }
.phone-left { left: 0; transform: translateY(-46%) rotate(-7deg); }
.phone-right { right: 0; transform: translateY(-54%) rotate(7deg); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-copy .cta-row { justify-content: center; }
  .hero-art { height: 520px; max-width: 520px; width: 100%; margin-inline: auto; }
}

/* Benefits */
.benefits { border-block: 1px solid rgb(255 255 255 / .06); background: var(--bg-2); padding: 2rem 0; }
.benefit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.benefit-list li { display: flex; gap: .8rem; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.benefit-list svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-top: .1rem; }
@media (max-width: 1000px) { .benefit-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefit-list { grid-template-columns: 1fr; } }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7rem) 0; }
.section-alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.section > .wrap > h2 { max-width: 22ch; }

.steps { list-style: none; padding: 0; margin: 2.5rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.steps p { color: var(--muted); margin: 0; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 1.2rem; font-weight: 800; color: var(--bg); background: linear-gradient(135deg, #8fdcff, #2bb3f5); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.feature { display: grid; grid-template-columns: 1fr 270px; gap: clamp(2rem, 6vw, 6rem); align-items: center; margin-top: clamp(3rem, 7vw, 5.5rem); }
.feature-rev { grid-template-columns: 270px 1fr; }
.feature-rev .feature-copy { order: 2; }
.feature-copy h3 { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; }
.feature-copy p { color: var(--muted); font-size: 1.1rem; max-width: 46ch; }
.feature-phone { width: 100%; max-width: 270px; }
@media (max-width: 860px) {
  .feature, .feature-rev { grid-template-columns: 1fr; }
  .feature-rev .feature-copy { order: 0; }
  .feature-phone { margin-inline: auto; max-width: 280px; }
}

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 1.1rem; height: .6rem; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg) translateY(-25%); }

.cards { list-style: none; padding: 0; margin: clamp(3rem, 7vw, 5rem) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.cards li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.cards p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; gap: 1.5rem; margin: 2.5rem 0 1.5rem; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.plan-premium { border-color: rgb(30 160 231 / .6); background: linear-gradient(160deg, rgb(30 160 231 / .16), var(--surface) 60%); }
.tag { display: inline-block; vertical-align: middle; margin-left: .4rem; padding: .15rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; color: var(--bg); background: var(--accent); letter-spacing: .02em; }
.fine.center { max-width: 62ch; margin-inline: auto; }
#planos h2, #planos .eyebrow { text-align: center; margin-inline: auto; }
@media (max-width: 700px) { .plans { grid-template-columns: 1fr; } }

/* Privacy */
.privacy { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1rem 4rem; align-items: start; }
.privacy .links { grid-column: 2; display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: .5rem; font-weight: 600; }
@media (max-width: 860px) { .privacy { grid-template-columns: 1fr; } .privacy .links { grid-column: 1; } }

/* FAQ */
#perguntas .narrow { margin-inline: auto; }
.faq { margin-top: 2rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.3rem 0; font-weight: 700; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--accent); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 0 0 1.3rem; max-width: 62ch; }
.faq.legal ul { color: var(--muted); margin: 0 0 1.3rem; padding-left: 1.2rem; }
.faq.legal li { margin-bottom: .6rem; }
.faq.legal li strong { color: var(--text); }
.lead-sm { color: var(--muted); max-width: 62ch; }
.faq-more { margin-top: 2rem; }

/* FAQ page (/faq/): topic chips, one accordion per topic. */
.faq-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0 .5rem; }
.faq-nav a { padding: .45rem .95rem; border: 1px solid var(--line); border-radius: 999px; background: rgb(255 255 255 / .03); color: var(--text); font-size: .92rem; font-weight: 600; text-decoration: none; }
.faq-nav a:hover { background: rgb(255 255 255 / .08); border-color: var(--accent); }
.faq-group { scroll-margin-top: 6rem; }
.faq-group h2 { scroll-margin-top: 6rem; }
.faq-page .faq { margin-top: 1rem; }
.faq-page .faq summary { color: var(--text); }
.faq details { scroll-margin-top: 6rem; }
.faq-cta { margin-top: 4rem; padding: 2.5rem 1.5rem; text-align: center; background: radial-gradient(closest-side, rgb(30 160 231 / .22), transparent) center / 100% 100% no-repeat, var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.faq-cta h2 { margin: 0 auto 1.5rem; max-width: 22ch; }
.legal + .fine { margin-top: 1.5rem; }

/* Final CTA */
.final-cta { padding: clamp(4rem, 9vw, 6.5rem) 0; text-align: center; background: radial-gradient(closest-side, rgb(30 160 231 / .22), transparent) center / 100% 100% no-repeat; }
.final-cta img { margin: 0 auto 1.5rem; border-radius: 20px; }
.final-cta h2 { max-width: 20ch; margin-inline: auto; margin-bottom: 1.5rem; }

/* 404 */
/* Text pages (account deletion and the other legal pages). */
.doc { padding: clamp(3rem, 8vw, 5rem) 0; }
.doc h1 { font-size: clamp(2rem, 5vw, 3rem); }
.doc h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); margin-top: 2.5rem; }
.doc p, .doc li { color: var(--muted); }
.doc li { margin-bottom: .5rem; }
.doc strong { color: var(--text); }
.doc code { font-size: .92em; overflow-wrap: anywhere; }
.doc-lead { font-size: 1.15rem; }
.doc-facts { list-style: none; padding: 1.2rem 1.4rem; margin: 1.5rem 0 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.doc-facts li:last-child { margin-bottom: 0; }
.doc-table { overflow-x: auto; margin: 1rem 0; }
.doc-table table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .95rem; }
.doc-table th, .doc-table td { border: 1px solid var(--line); padding: .6rem .7rem; text-align: left; vertical-align: top; }
.doc-table th { background: var(--surface); color: var(--text); }
.doc-table td { color: var(--muted); }
.notfound { padding: clamp(4rem, 12vw, 8rem) 0; }
.notfound img { margin: 0 auto 1.5rem; border-radius: 24px; }
.notfound .lead { margin-inline: auto; }

/* Footer */
.site-footer { border-top: 1px solid rgb(255 255 255 / .06); background: #0d1022; padding: 3.5rem 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand p { color: var(--muted); max-width: 34ch; margin-top: 1rem; }
.site-footer h2 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer ul a { color: var(--text); text-decoration: none; }
.site-footer ul a:hover { color: var(--accent); text-decoration: underline; }
.footer-base { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .06); color: var(--muted); font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.footer-base p { margin: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
