/* Premira — landing page. Tokens do design system v0.3 (turquesa + ouro). */
@font-face { font-family: "Google Sans Flex"; src: url("/fonts/google-sans-flex-400-700.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/fonts/lato-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/fonts/lato-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Lato"; src: url("/fonts/lato-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }

:root {
  --brand-50: #e9fbf9; --brand-100: #c8f3ee; --brand-300: #5cd3c9; --brand-400: #2dbcb2; --brand-500: #13a49b;
  --brand-700: #0a6d67; --brand-800: #085a55; --brand-900: #08403d;
  --gold-100: #fff4d2; --gold-500: #e2ac2f; --gold-700: #8a5d0a; --gold-ink: #3a2704;
  --gold-metal: linear-gradient(180deg, #fff6d0 0%, #f8dc84 16%, #e8b53a 46%, #c98a12 54%, #e4b13c 78%, #fbe49c 100%);
  --gold-metal-hover: linear-gradient(180deg, #fff9e0 0%, #fbe39a 16%, #efc04a 46%, #d4971c 54%, #ecbd4c 78%, #fdeab0 100%);

  --bg: #f3f8f8; --surface: #ffffff; --surface-2: #e6f0ef; --line: #d3e3e1;
  --fg: #0f2524; --fg-muted: #4a6664; --primary: #0a6d67; --on-primary: #ffffff;
  --pending: #5b41c9; --pending-bg: #ece7fd; --reserved: #33689f; --reserved-bg: #e2ecf7; --available: #0a6d67; --available-bg: #c8f3ee;
  --danger: #b3261e;
  --hero-bg: radial-gradient(60% 80% at 92% 0%, rgb(66 224 212 / .40), transparent 60%), linear-gradient(140deg, #0a6d67, #085a55 55%, #08403d);
  --on-hero: #ffffff; --on-hero-muted: #c8f3ee;
  --device: #0f2524;

  --font-title: "Google Sans Flex", "Segoe UI", system-ui, sans-serif;
  --font-text: "Lato", "Segoe UI", system-ui, sans-serif;
  --r-sm: 8px; --r-md: 12px; --r-lg: 16px; --r-xl: 24px; --pill: 999px;
  --e-1: 0 1px 2px rgb(15 37 36 / .08), 0 1px 3px rgb(15 37 36 / .06);
  --e-2: 0 2px 6px rgb(15 37 36 / .10), 0 12px 32px rgb(15 37 36 / .10);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --max: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071819; --surface: #0d2224; --surface-2: #142e2f; --line: #21403f;
    --fg: #e4f4f2; --fg-muted: #93b5b1; --primary: #5cd3c9; --on-primary: #03302c;
    --pending: #b3a2ff; --pending-bg: #25204a; --reserved: #8db6e8; --reserved-bg: #162a42; --available: #5cd3c9; --available-bg: #0b3a37;
    --danger: #f2958e; --device: #000;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--font-text); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--font-title); margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--primary); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--brand-400); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter) max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; border-radius: var(--r-sm); }

/* Botões: ouro metálico (variante A aprovada) e contorno */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 28px; border-radius: var(--pill);
  font-family: var(--font-text); font-weight: 900; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 100ms cubic-bezier(.2,0,0,1), box-shadow 200ms, background 200ms; }
.btn-gold { position: relative; overflow: hidden; isolation: isolate; background: var(--gold-metal); color: var(--gold-ink); border-color: #b07b12;
  text-shadow: 0 1px 0 rgb(255 245 210 / .7);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .85), inset 0 -3px 0 rgb(140 90 0 / .28), 0 2px 0 #8a5d0a, 0 8px 18px rgb(160 110 10 / .35), 0 2px 4px rgb(0 0 0 / .12); }
.btn-gold:hover { background: var(--gold-metal-hover); }
.btn-gold:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), 0 0 0 #8a5d0a, 0 3px 8px rgb(160 110 10 / .3); }
.btn-gold[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-ghost { color: var(--on-hero); border: 1.5px solid rgb(255 255 255 / .55); background: rgb(255 255 255 / .08); font-weight: 700; }
.btn-ghost:hover { background: rgb(255 255 255 / .16); }

/* Cabeçalho */
.site-header { position: absolute; inset: 0 0 auto; z-index: 5; padding-top: env(safe-area-inset-top, 0px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.wordmark { font-family: var(--font-title); font-weight: 700; font-size: 26px; color: var(--on-hero); text-decoration: none; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 10px; }
.wordmark img { height: 32px; width: auto; }
.nav { display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--on-hero); text-decoration: none; font-weight: 700; font-size: 15px; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; }
.nav .btn { min-height: 42px; padding: 8px 20px; font-size: 15px; }

/* Hero */
.hero { background: var(--hero-bg); color: var(--on-hero); padding: 128px 0 72px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.badge { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; font-size: 13px; letter-spacing: .04em; padding: 6px 14px; border-radius: var(--pill);
  background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .3); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); line-height: 1.05; font-weight: 700; margin: 20px 0 18px; }
.hero h1 em { font-style: normal; background: var(--gold-metal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 19px; color: var(--on-hero-muted); max-width: 54ch; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero .fineprint { margin-top: 18px; font-size: 14px; color: var(--on-hero-muted); max-width: 52ch; }
.hero-visual { display: flex; justify-content: center; }

/* Telefone (telas ilustrativas) */
.phone { width: 300px; max-width: 100%; border-radius: 40px; border: 10px solid var(--device); background: #f3f8f8; color: #0f2524; box-shadow: 0 30px 60px rgb(0 0 0 / .35); overflow: hidden; font-size: 13px; }
.phone .status { display: flex; justify-content: space-between; padding: 10px 18px 4px; font-weight: 700; font-size: 11px; }
.phone .screen { padding: 8px 14px 14px; display: grid; gap: 12px; }
.phone .title { font-family: var(--font-title); font-weight: 650; font-size: 19px; }
.p-hero { border-radius: 18px; padding: 14px; color: #fff; background: radial-gradient(70% 90% at 100% 0%, rgb(66 224 212 / .45), transparent 60%), linear-gradient(140deg, #0a6d67, #085a55 55%, #08403d); display: grid; gap: 6px; }
.p-hero small { font-size: 11px; font-weight: 700; opacity: .92; }
.p-money { font-family: var(--font-title); font-weight: 700; font-size: 30px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.p-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.p-tile { border-radius: 10px; padding: 7px 9px; background: linear-gradient(180deg, rgb(255 255 255 / .14), rgb(255 255 255 / .06)); border: 1px solid rgb(255 255 255 / .35); }
.p-tile span { display: block; font-size: 10px; opacity: .92; } .p-tile b { font-family: var(--font-title); font-size: 14px; }
.p-track { height: 8px; border-radius: var(--pill); background: #e6f0ef; overflow: hidden; } .p-track i { display: block; height: 100%; width: 75%; background: linear-gradient(90deg, #2dbcb2, #e2ac2f); border-radius: var(--pill); }
.p-row { display: flex; justify-content: space-between; font-size: 11px; color: #4a6664; }
.p-cta { text-align: center; padding: 11px; border-radius: var(--pill); background: var(--gold-metal); color: var(--gold-ink); font-weight: 900; font-size: 13px; border: 1px solid #b07b12; box-shadow: inset 0 1px 0 rgb(255 255 255 / .85), 0 4px 10px rgb(160 110 10 / .3); }
.p-nav { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid #d3e3e1; padding: 8px 4px 10px; text-align: center; font-size: 10px; font-weight: 700; color: #4a6664; }
.p-nav span.on { color: #0f2524; } .p-nav span.on::before { background: #c8f3ee; }
.p-nav span::before { content: ""; display: block; width: 40px; height: 22px; margin: 0 auto 3px; border-radius: var(--pill); background: transparent; }
.p-card { background: #fff; border: 1px solid #d3e3e1; border-radius: 14px; padding: 10px 12px; display: grid; gap: 4px; }
.p-card b { font-family: var(--font-title); font-size: 13px; } .p-card span { font-size: 11px; color: #4a6664; }
.p-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: var(--pill); width: max-content; }
.p-chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.c-pending { color: #5b41c9; background: #ece7fd; } .c-available { color: #0a6d67; background: #c8f3ee; } .c-reserved { color: #33689f; background: #e2ecf7; } .c-paid { color: #23692f; background: #dff1e2; }
.p-line { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0; border-bottom: 1px solid #e6f0ef; }
.p-line:last-child { border-bottom: 0; } .p-line b { font-variant-numeric: tabular-nums; font-family: var(--font-title); }

/* Seções */
section.block { padding: 88px 0; }
.eyebrow { font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); }
.section-head { display: grid; gap: 12px; max-width: 64ch; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.1; font-weight: 700; }
.section-head p { color: var(--fg-muted); font-size: 18px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 28px; display: grid; gap: 10px; align-content: start; }
.step::before { counter-increment: step; content: counter(step); font-family: var(--font-title); font-weight: 700; font-size: 15px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--primary); }
.step h3 { font-size: 21px; } .step p { color: var(--fg-muted); }
.note { margin-top: 24px; font-size: 15px; color: var(--fg-muted); }

.trust { background: var(--surface); border-block: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.trust-item { display: grid; gap: 10px; align-content: start; }
.trust-item h3 { font-size: 20px; } .trust-item p { color: var(--fg-muted); }

.screens { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; justify-items: center; }
.screens figure { margin: 0; display: grid; gap: 14px; justify-items: center; }
.screens figcaption { font-weight: 700; font-size: 15px; }
.screens .phone { box-shadow: var(--e-2); }
.disclaimer { margin-top: 28px; text-align: center; font-size: 14px; color: var(--fg-muted); }

.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px 22px; }
.faq summary { cursor: pointer; font-family: var(--font-title); font-weight: 650; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 10px; color: var(--fg-muted); }

/* Lista de espera */
.waitlist { background: var(--hero-bg); color: var(--on-hero); border-radius: 32px; padding: 56px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.waitlist h2 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.1; }
.waitlist p.lead { color: var(--on-hero-muted); margin-top: 12px; }
.form { display: grid; gap: 14px; background: linear-gradient(180deg, rgb(255 255 255 / .14), rgb(255 255 255 / .06)); border: 1px solid rgb(255 255 255 / .35); border-radius: var(--r-xl); padding: 24px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.form label.field { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.form input[type="email"] { min-height: 52px; border-radius: var(--pill); border: 1px solid rgb(255 255 255 / .5); background: #fff; color: #0f2524; padding: 0 20px; font: inherit; font-size: 16px; }
.form .consent { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; color: var(--on-hero-muted); }
.form .consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold-500); }
.form .consent a { color: #fff; }
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .status { min-height: 1.4em; font-weight: 700; font-size: 15px; }
.form .status[data-tone="ok"] { color: #fff4d2; } .form .status[data-tone="error"] { color: #ffd2cc; }

/* Rodapé */
.site-footer { padding: 48px 0 calc(48px + env(safe-area-inset-bottom, 0px)); color: var(--fg-muted); font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* Páginas de texto (termos, privacidade) */
.doc-header { background: var(--hero-bg); color: var(--on-hero); padding: 120px 0 48px; }
.doc-header h1 { font-size: clamp(32px, 4vw, 46px); }
.doc { max-width: 760px; padding: 48px 0 24px; }
.doc h2 { font-size: 24px; margin: 36px 0 12px; } .doc p, .doc li { color: var(--fg); } .doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; } .doc li + li { margin-top: 6px; }
.draft { background: var(--gold-100); color: var(--gold-ink); border: 1px solid var(--gold-500); border-radius: var(--r-lg); padding: 16px 20px; font-weight: 700; }
.todo { background: var(--pending-bg); color: var(--pending); padding: 0 6px; border-radius: 4px; font-weight: 700; }

/* Responsivo */
@media (max-width: 900px) {
  .hero .wrap, .waitlist { grid-template-columns: 1fr; }
  .steps, .trust-grid, .screens { grid-template-columns: 1fr; }
  .nav a:not(.btn) { display: none; }
  .waitlist { padding: 32px 20px; border-radius: 24px; }
  section.block { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.waitlist h2 { margin-top: 16px; }
