/* Resenha Clube landing page. Colors, type and radii from docs/resenha-clube-manual-de-marca.md
   (packages/tokens); Kalam only in brand moments (manual 4.1). */
:root {
  --brand: #1f4fd8;
  --ink: #0b2d6b;
  --accent: #ffc93c;
  --canvas: #f2f4f1;
  --tint: #d6e3ff;
  --surface: #ffffff;
  --muted: #4a5570;
  --mist: #c9d3ea;
  --line: #dce2ec;
  --stripe: #1a3f8c;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Figtree", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 17px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

/* Buttons (manual 7): 50 tall, radius 14, 700 labels, 44 touch area minimum. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border-radius: 14px; font: 700 17px/1 var(--body); text-decoration: none; background: var(--brand); color: #fff; transition: transform .15s, filter .15s; }
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid var(--mist); }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 10; background: rgba(242, 244, 241, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 22px/1 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.logo b { color: var(--brand); }
/* Energy traces after "Clube", as in the app header (manual 2.2). */
.traces { width: 12px; height: 26px; margin-left: -4px; }
.traces line { stroke: var(--accent); stroke-width: 14; stroke-linecap: round; }
.logo-light, .logo-light b { color: #fff; }
.topnav { display: flex; gap: 24px; margin-left: auto; }
.topnav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); padding: 12px 0; }
.topnav a:hover { color: var(--ink); }

/* Diagonal strokes (manual 6): wide Azul Clube, thin Flâmula, medium #1A3F8C, top right of navy cards. */
.stripes { position: absolute; top: 0; right: 0; width: 46%; height: 100%; overflow: hidden; pointer-events: none; }
.stripes i { position: absolute; top: -20%; height: 140%; transform: skewX(-32deg); border-radius: 8px; }
.stripes i:nth-child(1) { right: 12%; width: 18%; background: var(--brand); }
.stripes i:nth-child(2) { right: 0; width: 3.5%; background: var(--accent); }
.stripes i:nth-child(3) { right: 38%; width: 2.5%; background: var(--stripe); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.hand { font: 700 24px/1.2 "Kalam", cursive; color: var(--accent); margin-bottom: 12px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 64px); line-height: 1.02; }
.lead { margin-top: 20px; font-size: 19px; color: var(--mist); max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.note { margin-top: 16px; font-size: 14px; color: var(--mist); }

/* Phone: the hero video (apps/video, HeroLoop) inside an HTML frame; fictitious data (manual 9.8). */
.phone-video { display: block; width: 100%; aspect-ratio: 600 / 860; border-radius: 34px; background: var(--canvas); object-fit: cover; }
.how-player { position: relative; margin-top: 32px; }
.how-video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; background: var(--ink); box-shadow: 0 24px 60px rgba(11, 45, 107, .18); }
.how-player.tall .how-video { aspect-ratio: 9 / 16; max-height: 82vh; width: auto; max-width: 100%; margin: 0 auto; }
.play { position: absolute; inset: 0; margin: auto; width: 128px; height: 128px; display: grid; place-items: center; align-content: center; gap: 2px; border: 0; border-radius: 999px; background: var(--accent); color: var(--ink); font: 800 15px/1 var(--body); cursor: pointer; box-shadow: 0 12px 40px rgba(11, 45, 107, .35); transition: transform .15s; }
.play:hover { transform: scale(1.05); }
.play svg { width: 44px; height: 44px; fill: var(--ink); margin-left: 6px; }
.play[hidden] { display: none; }
.section-video { padding-top: 24px; }
.phone { justify-self: center; width: 320px; padding: 12px; border-radius: 44px; background: #061a42; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }

/* Sections */
.section { padding: 88px 0; }
.section-tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; }
.section-lead { margin-top: 12px; color: var(--muted); font-size: 18px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.card h3 { font-size: 20px; }
.card p { color: var(--muted); font-size: 16px; }
.icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--tint); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.facts li { background: var(--canvas); border-radius: 16px; padding: 18px 20px; color: var(--muted); }
.facts b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }

.beta { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--ink); color: #fff; border-radius: 22px; padding: 44px; }
.beta .stripes { width: 30%; }
.beta-copy { position: relative; max-width: 620px; }
.beta-copy p { margin-top: 12px; color: var(--mist); }
.beta .btn { position: relative; flex-shrink: 0; }

details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-top: 12px; }
details:first-of-type { margin-top: 32px; }
summary { cursor: pointer; list-style: none; padding: 18px 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--brand); font-weight: 800; }
details[open] summary::after { content: "–"; }
details p { padding: 0 20px 18px; color: var(--muted); }

.footer { background: var(--ink); color: var(--mist); padding: 40px 0; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 32px; }
.footer-inner p:last-child { margin-left: auto; }

/* Phones and small tablets: one column, phone illustration below the text. */
@media (max-width: 900px) {
  .topnav { display: none; }
  .topbar-inner .btn { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 56px; }
  .stripes { width: 70%; opacity: .5; }
  .steps { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .beta { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
  .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .phone { width: 100%; max-width: 320px; }
  .footer-inner p:last-child { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
