/* =========================================================
   Noxa — estilos (mobile first)
   Base = celular. Telas maiores via @media (min-width: ...)
   ========================================================= */

:root {
  --bg: #050505;
  --bg-alt: #0d0d0e;
  --surface: #141416;
  --surface-2: #1b1b1e;
  --border: #26262a;
  --border-strong: #3a3a40;
  --text: #f4f4f5;
  --muted: #9a9aa3;
  --accent: #d4ff3f;
  --accent-hover: #e3ff7a;
  --accent-ink: #0a0a0a;
  --whatsapp: #25d366;
  --whatsapp-hover: #3ee07c;
  --whatsapp-ink: #04210f;

  --radius: 16px;
  --container: 1160px;
  --gutter: 16px;
  --header-h: 64px;
  --section-py: 3.5rem;

  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2.1rem, 9vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 6.5vw, 2.8rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: 780px; }

.accent { color: var(--accent); }

.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .9rem;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 1rem var(--font-body);
  text-align: center;
  cursor: pointer;
  transition: transform .2s, background .2s, border-color .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost { border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--sm { min-height: 40px; padding: .5rem 1.1rem; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; padding: 1rem 2rem; font-size: 1.05rem; }
.btn--whatsapp { background: var(--whatsapp); color: var(--whatsapp-ink); }
.btn--whatsapp:hover { background: var(--whatsapp-hover); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--lg svg { width: 24px; height: 24px; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(5, 5, 5, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.header.is-scrolled { border-bottom-color: var(--border); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }

.logo { display: flex; align-items: center; height: 100%; padding-right: 1rem; }
.logo svg { height: 22px; width: auto; color: var(--text); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 10px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Menu mobile: painel em tela cheia abaixo do header */
.nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
  padding: 1rem var(--gutter) 2rem;
  background: var(--bg);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  transition: opacity .25s, transform .25s, visibility .25s;
}
.nav.is-open { opacity: 1; transform: none; visibility: visible; }
.nav a:not(.btn) {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  font: 600 1.25rem var(--font-head);
  color: var(--text);
}
.nav .btn { margin-top: 1.5rem; min-height: 52px; font-size: 1rem; }

body.menu-open { overflow: hidden; }

/* ---------- Seções: cada uma ocupa (no mínimo) uma tela ---------- */
.hero,
.section {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-py) 0;
}
.section { border-top: 1px solid var(--border); }
.section--alt { background: var(--bg-alt); }

.section__head { max-width: 680px; margin-bottom: 2rem; }
.section__head h2 { margin-bottom: .5em; }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 1rem; margin: 0; }
.container--narrow .section__head { margin-inline: auto; text-align: center; }

/* ---------- Hero ---------- */
.hero { overflow: hidden; text-align: center; }
.hero__inner { position: relative; z-index: 1; max-width: 900px; }
.hero__lead { font-size: 1.05rem; color: var(--muted); max-width: 640px; margin: 0 auto 2rem; }
.hero__actions { display: flex; flex-direction: column; gap: .75rem; }
.hero__pills {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
}
.hero__pills li {
  padding: .4rem .9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: .82rem;
  color: var(--muted);
}
.hero__glow {
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: 140vw;
  max-width: 1000px;
  aspect-ratio: 3 / 2;
  background: radial-gradient(closest-side, rgba(212, 255, 63, .14), transparent);
  pointer-events: none;
}

/* ---------- Cards de serviço ---------- */
.cards { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color .3s, transform .3s;
}
.card:hover { border-color: var(--border-strong); }
.card__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--surface-2);
  margin-bottom: 1.25rem;
}
.card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card > p { color: var(--muted); }
.card__cta { margin-top: auto; padding-inline: 1rem; white-space: nowrap; }
.card .checklist { margin-bottom: 1.5rem; }

/* Preço */
.price {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  padding: 1rem 0;
  margin-bottom: 1rem;
  border-block: 1px solid var(--border);
}
.price__from { font-size: .8rem; color: var(--muted); }
.price__from s { color: var(--muted); }
.price__value {
  font: 700 2rem/1.1 var(--font-head);
  letter-spacing: -0.02em;
  color: var(--text);
}
.price__value small { font-size: .95rem; font-weight: 500; color: var(--muted); margin-left: .15rem; }
.price__note { font-size: .82rem; color: var(--muted); }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .95rem; }
.checklist li { position: relative; padding-left: 1.6rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .5em;
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

/* Pacote completo */
.combo {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(212, 255, 63, .12), rgba(212, 255, 63, .02));
  border: 1px solid rgba(212, 255, 63, .3);
}
.combo h3 { margin-bottom: .4rem; }
.combo__text p { margin: 0; color: var(--muted); }
.combo .price { border-color: rgba(212, 255, 63, .2); }

.tag {
  display: inline-block;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: .78rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.tag--accent { background: var(--accent); color: var(--accent-ink); }

/* ---------- Como funciona ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 40px 1fr;
  column-gap: 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border);
}
.step:first-child { border-top: 0; padding-top: 0; }
.step__num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  font: 700 1rem var(--font-head);
}
.step h3 { margin: .45rem 0 .3rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Para quem ---------- */
.audience { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.audience__item { padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.audience__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem; }
.audience__head .card__icon { flex-shrink: 0; margin: 0; }
.audience__head h3 { margin: 0 0 .1rem; }
.audience__head p { color: var(--muted); margin: 0; font-size: .95rem; }

.pill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.pill-list li {
  padding: .4rem .85rem;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: .88rem;
}

/* Diferenciais: faixa única com ícone + texto curto */
.benefits {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.benefits li { display: flex; align-items: center; gap: .85rem; }
.benefits__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(212, 255, 63, .1);
}
.benefits__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.benefits strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: .98rem; }
.benefits span:not(.benefits__icon) { display: block; color: var(--muted); font-size: .88rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; transition: border-color .2s; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 3rem 1.1rem 1.1rem;
  font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 1.1rem 1.2rem; margin: 0; color: var(--muted); }

/* ---------- Contato ---------- */
/* Última seção: segue o conteúdo em vez de ocupar uma tela inteira */
.section.section--contact { min-height: 0; }
.contact {
  display: grid;
  gap: 1.75rem;
  padding: 1.75rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact__text h2 { margin-bottom: .4em; }
.contact__lead { color: var(--muted); font-size: 1rem; margin: 0; }
.contact__actions { display: flex; flex-direction: column; gap: 1rem; }
.contact__list {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
}
.contact__list li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .25rem 1rem;
  padding: .8rem 1rem;
}
.contact__list li + li { border-top: 1px solid var(--border); }
.contact__label { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.contact__list a { font-weight: 600; font-size: .95rem; word-break: break-word; }
.contact__list a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
/* padding-right reserva espaço para o botão flutuante no celular */
.footer { padding: 1.25rem 0; border-top: 1px solid var(--border); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem; padding-right: 88px; }
.footer__logo { height: 16px; width: auto; color: var(--muted); flex-shrink: 0; }
.footer p { color: var(--muted); margin: 0; font-size: .85rem; }

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 40;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
  transition: transform .2s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Animação ao rolar ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* =========================================================
   ≥ 600px — celulares grandes / tablets em pé
   ========================================================= */
@media (min-width: 600px) {
  :root { --gutter: 24px; --section-py: 4.5rem; }

  .hero__actions { flex-direction: row; justify-content: center; }
  .hero__lead { font-size: 1.15rem; }

  .section__head { margin-bottom: 2.5rem; }
  .section__head p:not(.eyebrow) { font-size: 1.1rem; }

  .card, .audience__item { padding: 2rem; }

  .benefits { grid-template-columns: 1fr 1fr; gap: 1.25rem 2rem; }
  .steps { grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; }
  .step { border-top: 0; padding: 0; }

}

/* =========================================================
   ≥ 900px — tablets deitados / notebooks
   ========================================================= */
@media (min-width: 900px) {
  :root { --header-h: 72px; --section-py: 5rem; --radius: 18px; }

  .logo svg { height: 26px; }

  /* Menu horizontal */
  .nav-toggle { display: none; }
  .nav {
    position: static;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
    background: none;
    overflow: visible;
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: none;
  }
  .nav a:not(.btn) {
    padding: 0;
    border: 0;
    font: 500 .95rem var(--font-body);
    color: var(--muted);
    transition: color .2s;
  }
  .nav a:not(.btn):hover { color: var(--text); }
  .nav .btn { margin: 0; min-height: 40px; font-size: .9rem; }

  .cards { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .card:hover { transform: translateY(-4px); }

  .combo {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 2rem 2.25rem;
  }
  .combo__text { max-width: 600px; }
  .combo__price { flex-shrink: 0; width: 300px; }

  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { display: block; padding-left: 1.5rem; border-left: 1px solid var(--border); }
  .step__num { margin-bottom: 1.25rem; }
  .step h3 { margin-top: 0; }

  .audience { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .benefits { grid-template-columns: repeat(4, 1fr); padding: 1.5rem 2rem; }

  .contact {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    gap: 3rem;
    padding: 2.75rem 3rem;
  }
  .contact__lead { max-width: 46ch; }

  .footer__inner { padding-right: 96px; justify-content: space-between; }
  .whatsapp-float { right: 24px; bottom: 24px; width: 60px; height: 60px; }
}

/* =========================================================
   ≥ 900px — layout compacto: cada seção cabe em uma tela
   ========================================================= */
@media (min-width: 900px) {
  :root { --section-py: clamp(1rem, 3.5vh, 3.5rem); }

  h2 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); }
  h3 { font-size: 1.1rem; }

  .section__head { max-width: 960px; margin-bottom: clamp(1.25rem, 3.5vh, 2.25rem); }
  .section__head h2 { margin-bottom: .35em; }
  .section__head p:not(.eyebrow) { font-size: 1rem; }
  .eyebrow { margin-bottom: .6rem; }

  /* Card: ícone ao lado do título, botão sempre no rodapé */
  .card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto 1fr auto;
    column-gap: .9rem;
    padding: clamp(1.25rem, 3vh, 2rem) 1.75rem;
  }
  .card > *:not(.card__icon):not(h3) { grid-column: 1 / -1; }
  .card__icon { width: 44px; height: 44px; margin: 0; border-radius: 12px; }
  .card__icon svg { width: 22px; height: 22px; }
  .card h3 { align-self: center; margin: 0; font-size: 1.2rem; }
  .card > p { font-size: .95rem; margin: 1rem 0 0; }
  .card .price { padding: 0; margin: clamp(1rem, 2.5vh, 1.5rem) 0; border: 0; }
  .card .checklist { align-content: start; font-size: .95rem; gap: .6rem; margin-bottom: 1.5rem; }
  .card__cta { align-self: end; }

  .price__value { font-size: 2rem; }

  /* Pacote completo como faixa horizontal */
  .combo { margin-top: 1.25rem; padding: 1.1rem 1.75rem; gap: 2rem; }
  .combo__text { max-width: none; flex: 1; }
  .combo .tag { margin: 0 .6rem 0 0; vertical-align: middle; }
  .combo h3 { display: inline; vertical-align: middle; margin: 0; font-size: 1.2rem; }
  .combo__text p { font-size: .95rem; margin-top: .3rem; }
  .combo__price { display: flex; align-items: center; gap: 1.75rem; width: auto; }
  .combo .price { padding: 0; margin: 0; border: 0; white-space: nowrap; text-align: right; }
  .combo .price__value { font-size: 1.75rem; }
  .combo .btn { width: auto; white-space: nowrap; }

  .audience__item { padding: 2.25rem; }
  .audience__head { margin-bottom: 1.5rem; }
  .audience__head h3 { font-size: 1.35rem; }
  .audience__head p { font-size: 1rem; }
  .pill-list li { font-size: .95rem; padding: .5rem 1rem; }
  .benefits { margin-top: 1.25rem; padding: 1.75rem 2.25rem; }
  .benefits__icon { width: 44px; height: 44px; }
  .benefits strong { font-size: 1.05rem; }
  .benefits span:not(.benefits__icon) { font-size: .92rem; }

  .faq summary { padding-block: .95rem; }
}

/* Telas largas: os quatro serviços lado a lado */
@media (min-width: 1200px) {
  .cards { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .card { padding-inline: 1.4rem; }
  .card h3 { font-size: 1.1rem; }
}

/* Notebooks com tela baixa (ex.: 1366×768): aperta um pouco mais */
@media (min-width: 900px) and (max-height: 760px) {
  html { font-size: 15px; }
  .card > p,
  #servicos .section__head p:not(.eyebrow) { display: none; }
  .card .price { margin: 1rem 0; }
  .card .checklist { gap: .35rem; margin-bottom: 1.1rem; }
  .price__value { font-size: 1.75rem; }
  .hero__pills { margin-top: 1.75rem; }
}

/* Telas baixas (notebook pequeno, celular deitado): seções seguem o
   conteúdo em vez de forçar altura de tela, evitando corte */
@media (max-height: 560px) {
  .hero, .section { min-height: 0; }
}
