:root {
  color-scheme: dark;
  --bg: #061929;
  --panel: #0d2740;
  --panel-2: #12324f;
  --line: #1f4262;
  --text: #eaf1f7;
  --muted: #93aabd;
  --amber: #f2b544;
  --wa: #1fb85a;
  --wa-dark: #17964a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.015em;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

.wrap { width: min(1080px, 100% - 2rem); margin-inline: auto; }

/* Topo */
.top { border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: 'Bricolage Grotesque', sans-serif; font-weight: 800; font-size: 1.2rem; }
.brand svg { width: 30px; height: 30px; flex: none; }
.top nav { display: flex; align-items: center; gap: 1.2rem; font-weight: 500; }
.top nav a { text-decoration: none; color: var(--muted); }
.top nav a:hover { color: var(--text); }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--wa); color: #04210f; font-weight: 700; text-decoration: none;
  padding: .85rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  font-size: 1.05rem; transition: background .15s, transform .15s;
}
.btn:hover { background: #2bd06c; }
.btn:active { transform: translateY(1px); }
.btn-sm { padding: .55rem 1.1rem; font-size: .95rem; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--panel); }
.btn svg { width: 20px; height: 20px; }

/* Hero */
.hero { padding: 2.2rem 0 1.4rem; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
.hero p.sub { color: var(--muted); font-size: 1.15rem; margin: .9rem 0 1.4rem; max-width: 34em; }
.hero .cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.2rem; }
.price { color: var(--amber); font-weight: 600; }

.wave { width: 100%; height: 120px; }
.wave rect { fill: var(--amber); transform-origin: center; transform-box: fill-box; animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes rise { from { transform: scaleY(.04); opacity: .2; } to { transform: scaleY(1); opacity: 1; } }

/* Seções */
section { padding: 2rem 0; }
.sec-head { margin-bottom: 1.2rem; }
.sec-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 700; }
.sec-head p { color: var(--muted); margin: .4rem 0 0; }

/* Players de áudio */
.audio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 1rem; }
.a-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .7rem;
}
.a-card h3 { font-size: 1.1rem; font-weight: 700; }
.a-card audio { width: 100%; height: 44px; }
.a-card .more { align-self: flex-start; color: var(--wa); font-weight: 600; text-decoration: none; font-size: .95rem; }
.a-card .more:hover { text-decoration: underline; }

/* Vídeos */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 1.1rem; }
.v-card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.v-card video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; object-fit: contain; }
.v-card .v-info { padding: .8rem 1rem 1rem; display: flex; justify-content: space-between; align-items: center; gap: .8rem; }
.v-card h3 { font-size: 1.05rem; font-weight: 700; }
.v-card a { color: var(--wa); font-weight: 600; text-decoration: none; white-space: nowrap; font-size: .95rem; }
.empty { color: var(--muted); border: 1px dashed var(--line); border-radius: 14px; padding: 1.4rem; }

/* Como funciona */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: s; }
.steps li { background: var(--panel-2); border-radius: 12px; padding: 1.1rem 1.2rem; counter-increment: s; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--amber); color: #2a1c00; font-weight: 800; margin-bottom: .6rem; }
.steps h3 { font-size: 1.1rem; }
.steps p { margin: .3rem 0 0; color: var(--muted); }

/* Chamada final */
.final { text-align: center; padding: 2.6rem 0 3rem; }
.final h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
.final p { color: var(--muted); margin: .6rem 0 1.4rem; }

footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; padding: 1.2rem 0 5rem; }

/* WhatsApp flutuante */
.fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 20;
  background: var(--wa); color: #04210f; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .4);
}
.fab svg { width: 30px; height: 30px; }

@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .wave { display: none; }
  .hero { padding-top: 1.4rem; }
  .steps { grid-template-columns: 1fr; }
  .top nav a:not(.btn) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wave rect { animation: none; }
  html { scroll-behavior: auto; }
}
