:root {
  --orange: #e8761a;
  --orange-d: #c85f0c;
  --gold: #d4b44c;
  --bg: #fbf8f4;
  --bg-alt: #f1ebe3;
  --card: #ffffff;
  --text: #1c1a18;
  --muted: #5e5851;
  --line: #e2d9ce;
  --hero-overlay: linear-gradient(180deg, rgba(251,248,244,.88), rgba(251,248,244,.97));
  --shadow: 0 10px 30px rgba(40, 25, 10, .12);
}
:root[data-theme="dark"] {
  --bg: #141311;
  --bg-alt: #1c1a17;
  --card: #24211d;
  --text: #f3ede6;
  --muted: #b3aa9f;
  --line: #342f29;
  --hero-overlay: linear-gradient(180deg, rgba(20,19,17,.72), rgba(20,19,17,.96));
  --shadow: 0 10px 30px rgba(0, 0, 0, .5);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  transition: background .25s, color .25s;
}
img { max-width: 100%; display: block; }
a { color: var(--orange); }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { font-family: 'Anton', 'Bebas Neue', Impact, sans-serif; font-weight: 400; letter-spacing: .02em; line-height: 1.1; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: .5rem; }
h2 span, h1 span { color: var(--orange); }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 640px; }
section { padding: 72px 0; position: relative; }
section.alt { background: var(--bg-alt); }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* barra */
header.nav {
  position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-family: 'Anton', Impact, sans-serif; text-transform: uppercase; letter-spacing: .03em; font-size: 1.15rem; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.nav nav { margin-left: auto; display: flex; gap: 22px; }
.nav nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav nav a:hover { color: var(--orange); }
.icon-btn { background: none; border: 1px solid var(--line); color: var(--text); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; display: grid; place-items: center; }
.icon-btn:hover { border-color: var(--orange); }
.nav .icon-btn.menu { display: none; }
.nav .icon-btn.theme { margin-left: 8px; }

/* hero */
.hero { padding: 56px 0 80px; background: var(--hero-overlay), url('../img/hero-bg.webp') 100% 100%/auto 320% no-repeat, var(--bg); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero .logo { width: min(240px, 55%); margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 16px; }
.hero p { font-size: 1.15rem; color: var(--muted); margin-bottom: 28px; max-width: 520px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 2px solid var(--orange); transition: transform .15s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--orange); color: #fff; }
.btn.primary:hover { background: var(--orange-d); }
.btn.ghost { color: var(--orange); }
.btn.disabled { opacity: .85; cursor: default; }
.btn.disabled:hover { transform: none; background: var(--orange); }
.badge { font-size: .72rem; background: #1c1a18; color: var(--gold); padding: 2px 8px; border-radius: 99px; letter-spacing: .06em; text-transform: uppercase; }

/* celular */
.phone { width: 250px; border: 9px solid #111; border-radius: 34px; background: #111; box-shadow: var(--shadow); overflow: hidden; margin-inline: auto; position: relative; }
.phone::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 70px; height: 14px; background: #111; border-radius: 0 0 12px 12px; z-index: 2; }
.phone img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.hero-phones { position: relative; height: 480px; }
.hero-phones .phone { position: absolute; width: 230px; }
.hero-phones .p1 { left: 4%; top: 30px; transform: rotate(-6deg); z-index: 1; }
.hero-phones .p2 { right: 4%; top: 0; transform: rotate(5deg); z-index: 2; }

/* sobre / recursos */
.grid { display: grid; gap: 20px; margin-top: 40px; }
.grid.f { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 26px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: var(--orange); }
.card .ic { font-size: 2rem; margin-bottom: 10px; }
.card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: .97rem; }

.grid.f3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .grid.f3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } }

/* como funciona */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 40px; counter-reset: s; }
.step { position: relative; padding: 24px 24px 24px 24px; border-left: 4px solid var(--orange); background: var(--card); border-radius: 0 16px 16px 0; box-shadow: var(--shadow); }
.step::before { counter-increment: s; content: counter(s); font-family: 'Anton', Impact, sans-serif; font-size: 2.6rem; color: var(--orange); opacity: .9; display: block; line-height: 1; margin-bottom: 8px; }
.step h3 { font-size: 1.3rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .97rem; }

/* telas */
.shots { display: flex; justify-content: center; flex-wrap: wrap; gap: 36px; margin-top: 44px; }
.shot { text-align: center; }
.shot figcaption { margin-top: 14px; color: var(--muted); font-size: .95rem; }

/* notificações exemplo */
.notes { max-width: 640px; margin: 40px auto 0; display: grid; gap: 12px; text-align: left; }
.note { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; border-left: 5px solid var(--gold); }
.note small { color: var(--muted); }
.note b { color: #a67c00; display: block; text-transform: uppercase; }
:root[data-theme="dark"] .note b { color: var(--gold); }
.note em { color: var(--orange); font-style: normal; font-weight: 600; }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-top: 12px; }
details[open] { border-color: var(--orange); }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::after { content: '+'; color: var(--orange); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { margin-top: 10px; color: var(--muted); }
.faq { max-width: 760px; margin: 36px auto 0; }

/* chamada final */
.cta { text-align: center; background: linear-gradient(135deg, #1c1a18, #2a2119); color: #f3ede6; }
.cta p { color: #cfc6bb; margin: 8px auto 24px; max-width: 560px; }
.cta img { width: 120px; margin: 0 auto 16px; }

footer { padding: 36px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
footer a { color: var(--muted); }
footer a:hover { color: var(--orange); }
footer .links { display: flex; flex-wrap: wrap; gap: 18px; }

/* separador de respingos */
.splat { height: 40px; background: var(--bg-alt); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22c40-14 70 6 110-4s60-16 100-6 70 12 110 0 80-18 120-6 60 14 100 4 80-14 120-2 70 10 110 0 80-14 120-4 60 14 100 6 90-12 130-2 70 8 110-2V40z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40V22c40-14 70 6 110-4s60-16 100-6 70 12 110 0 80-18 120-6 60 14 100 4 80-14 120-2 70 10 110 0 80-14 120-4 60 14 100 6 90-12 130-2 70 8 110-2V40z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat; margin-top: -1px; }
.splat.flip { transform: scaleY(-1); background: var(--bg); }

/* animação de entrada */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* páginas de texto */
.doc { max-width: 760px; padding: 48px 0 72px; }
.doc h1 { font-size: 2.6rem; margin-bottom: 8px; }
.doc h2 { font-size: 1.6rem; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--muted); margin-bottom: 10px; }
.doc ul { padding-left: 22px; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p, .hero .logo { margin-inline: auto; }
  .btns { justify-content: center; }
  .hero-phones { height: 440px; max-width: 420px; margin-inline: auto; width: 100%; }
  .nav .icon-btn.menu { display: grid; margin-left: auto; }
  .nav .icon-btn.theme { margin-left: 0; }
  .nav nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); margin: 0; }
  .nav nav.open { display: flex; }
  .nav nav a { padding: 14px 24px; border-top: 1px solid var(--line); }
  section { padding: 56px 0; }
}
