:root {
  --ink: #0b1220;
  --ink-2: #111a2e;
  --ink-3: #1a2540;
  --line-dark: rgba(255, 255, 255, .09);
  --yellow: #fdc201;
  --yellow-2: #e6ae00;
  --whatsapp: #25d366;
  --whatsapp-2: #1ebe5b;
  --green: #22c55e;
  --red: #ef4444;
  --text: #0f172a;
  --muted: #5b6577;
  --soft: #cbd5e1;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --line: #e5e9f2;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 24px 60px rgba(2, 6, 23, .35);
  --font-display: "Plus Jakarta Sans", Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }
.muted { color: var(--muted); }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border: 2px solid transparent;
  transition: transform .15s ease, background-color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.btn--sm { padding: 9px 16px; font-size: .92rem; }
.btn--lg { padding: 16px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }

.btn--primary { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 24px rgba(253, 194, 1, .25); }
.btn--primary:hover { background: #ffd23f; }
.btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .04); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .08); }
.btn--whatsapp { background: var(--whatsapp); color: #062b16; }
.btn--whatsapp:hover { background: var(--whatsapp-2); }
.btn--outline { color: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--dark-ghost { color: var(--ink); border-color: rgba(11, 18, 32, .35); }
.btn--dark-ghost:hover { border-color: var(--ink); }

/* ---------- Topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(11, 18, 32, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .2s;
}
.topbar.is-scrolled { background: rgba(11, 18, 32, .94); border-bottom-color: var(--line-dark); }
.topbar__inner { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { display: flex; flex: none; }
.brand img { display: block; height: 44px; width: auto; }

.nav { display: none; gap: 28px; margin-inline: auto; }
.nav a { color: var(--soft); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav a:hover { color: #fff; }

.topbar__actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.topbar__cta { display: none; }

/* Selo de status (topo e painel do hero) */
.status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid var(--line-dark);
  color: #fff; font-size: .85rem; font-weight: 600; white-space: nowrap;
}
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: #94a3b8; flex: none; }
.status[data-status="available"] { background: rgba(34, 197, 94, .12); border-color: rgba(34, 197, 94, .3); }
.status[data-status="available"] .status__dot { background: var(--green); animation: pulse 1.8s infinite; }
.status[data-status="unavailable"] .status__dot { background: var(--red); }
.status--lg { padding: 9px 16px; font-size: .95rem; }
.status--lg .status__dot { width: 11px; height: 11px; }
@media (max-width: 420px) { .status__suffix { display: none; } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); }
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: #fff;
  padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 9vw, 112px);
  margin-top: -73px; padding-top: calc(73px + clamp(48px, 8vw, 104px));
}
.hero__bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(600px 380px at 85% 10%, rgba(253, 194, 1, .16), transparent 70%),
    radial-gradient(700px 500px at 0% 100%, rgba(59, 104, 196, .22), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent);
  mask-image: linear-gradient(to bottom, #000 60%, transparent);
}
.hero__inner { position: relative; display: grid; gap: 40px; align-items: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: rgba(253, 194, 1, .1); border: 1px solid rgba(253, 194, 1, .25);
  color: var(--yellow); font-weight: 600; font-size: .85rem; margin-bottom: 22px;
}
.eyebrow .icon { width: 1.05em; height: 1.05em; }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 4rem); font-weight: 800; max-width: 15ch; letter-spacing: -.03em; }
.hl { color: var(--yellow); }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--soft); max-width: 54ch; }

.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 26px; }

.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--soft); font-size: .93rem; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .icon { color: var(--yellow); width: 1.1em; height: 1.1em; stroke-width: 3; }

/* Painel de status no hero */
.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .03));
  border: 1px solid var(--line-dark);
  border-radius: 24px; padding: 24px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(6px);
}
.panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.panel__label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #94a3b8; font-weight: 600; }
.hero__message {
  background: rgba(253, 194, 1, .1); border: 1px solid rgba(253, 194, 1, .25);
  color: #fde68a; padding: 12px 14px; border-radius: var(--radius-sm); font-size: .95rem; margin: 0 0 18px;
}
.panel__list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 14px; }
.panel__list li { display: flex; gap: 14px; align-items: flex-start; }
.panel__list strong { display: block; font-size: .98rem; }
.panel__list span { color: #94a3b8; font-size: .9rem; }
.chip {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: rgba(253, 194, 1, .12); color: var(--yellow);
}

/* ---------- Seções ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: #fff; }

.section__head { text-align: center; max-width: 680px; margin: 0 auto clamp(36px, 5vw, 56px); }
.section__head--left { text-align: left; margin-inline: 0; }
.kicker {
  display: inline-block; color: var(--yellow-2); font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: .14em; margin-bottom: 12px;
}
.section--dark .kicker { color: var(--yellow); }
.section__lead { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* Serviços */
.grid { display: grid; gap: 18px; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15, 23, 42, .1); border-color: rgba(253, 194, 1, .6); }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--ink); color: var(--yellow); margin-bottom: 18px;
}
.card__icon .icon { width: 26px; height: 26px; }
.card p { margin: 0; color: var(--muted); }

/* Como funciona */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: s; }
.steps li {
  counter-increment: s; position: relative;
  background: var(--ink-2); border: 1px solid var(--line-dark); border-radius: var(--radius);
  padding: 28px; display: grid; gap: 6px;
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1;
  color: var(--yellow); margin-bottom: 12px;
}
.steps strong { font-family: var(--font-display); font-size: 1.15rem; }
.steps span { color: #94a3b8; }

/* Área */
.area {
  display: grid; gap: 24px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.area__pin {
  width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center;
  background: var(--yellow); color: var(--ink);
}
.area__pin .icon { width: 34px; height: 34px; }
.area h2 { margin-bottom: 4px; }
.area__region { font-size: 1.08rem; margin-bottom: 4px; }
.area .muted { margin: 0; }
.area .btn { justify-self: start; }

/* FAQ */
.faq { display: grid; gap: 32px; }
.faq__list { display: grid; gap: 12px; }
details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 22px; transition: border-color .2s, box-shadow .2s;
}
details[open] { border-color: rgba(253, 194, 1, .7); box-shadow: var(--shadow); }
summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 0; font-weight: 600; cursor: pointer; list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary .icon { color: var(--yellow-2); transition: transform .2s; }
details[open] summary .icon { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--muted); }

/* Faixa final de CTA */
.cta-band { background: var(--yellow); color: var(--ink); padding: clamp(48px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, .18); pointer-events: none;
}
.cta-band__inner { position: relative; z-index: 1; display: grid; gap: 8px; align-items: center; }
.cta-band h2 { margin-bottom: 6px; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band .cta { margin: 16px 0 0; }

/* Rodapé */
.footer { background: var(--ink); color: var(--soft); padding: 64px 0 0; font-size: .95rem; }
.footer__grid { display: grid; gap: 36px; padding-bottom: 40px; }
.footer__logo { display: block; height: 56px; width: auto; margin-bottom: 16px; }
.footer__brand p { max-width: 38ch; margin: 0; color: #94a3b8; }
.footer h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: #94a3b8; }
.footer ul a { text-decoration: none; transition: color .2s; }
.footer ul a:hover { color: var(--yellow); }
.footer__bottom { border-top: 1px solid var(--line-dark); padding: 22px 0 96px; }
.footer__bottom p { margin: 0; font-size: .85rem; color: #64748b; }

/* Barra fixa de contato (celular) */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(11, 18, 32, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line-dark);
}
.actionbar .btn { padding: 13px 12px; }

/* Aviso de cookies (só aparece quando há tag do Google configurada) */
.consent {
  position: fixed; z-index: 50; left: 16px; right: 16px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  display: grid; gap: 12px; padding: 16px 18px; border-radius: 16px;
  background: var(--ink); color: var(--soft); border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-lg); font-size: .92rem;
}
.consent p { margin: 0; }
.consent__actions { display: flex; gap: 8px; justify-content: flex-end; }
button.btn { font-family: inherit; cursor: pointer; }
.btn--ghost-dark { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .25); }
.btn--ghost-dark:hover { border-color: rgba(255, 255, 255, .55); }

/* Animação de entrada ao rolar. Só esconde quando o JS liga .has-reveal no <html>,
   assim a página continua visível se o script não carregar. */
.has-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.has-reveal .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .has-reveal .reveal { opacity: 1; transform: none; transition: none; }
  .status[data-status="available"] .status__dot { animation: none; }
}

/* ---------- Telas maiores ---------- */
/* Botões do hero ocupam a largura toda em telas bem estreitas */
@media (max-width: 520px) {
  .hero .cta .btn { flex: 1 1 100%; }
}

@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .area { grid-template-columns: auto 1fr auto; }
  .area .btn { justify-self: end; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; }
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .topbar__cta { display: inline-flex; }
  .topbar__actions { margin-left: 0; }
  .hero__inner { grid-template-columns: 1.25fr 1fr; gap: 56px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .panel { padding: 30px; }
  .faq { grid-template-columns: .9fr 1.4fr; gap: 56px; align-items: start; }
  .faq .section__head { position: sticky; top: 110px; }
  .cta-band__inner { grid-template-columns: 1fr auto; }
  .cta-band .cta { margin: 0; }
  .actionbar { display: none; }
  .consent { left: auto; right: 24px; bottom: 24px; max-width: 420px; }
  .footer__bottom { padding-bottom: 28px; }
}
