/* =============================================================================
   B1 Beer Chopp 24h — site institucional
   -----------------------------------------------------------------------------
   Os tokens de cor, raio e tipografia sao os MESMOS do portal de administracao
   (chopp-web/frontend/src/index.css). Manter em sincronia: se o portal mudar o
   ambar, este arquivo muda junto, senao a marca racha entre os dois produtos.
   ========================================================================== */

/* ---------- Fontes (auto-hospedadas, subset latin) ------------------------ */

/* Anton so tem um peso. Usada apenas em titulo — ecoa o lettering condensado
   impresso na lateral da maquina. */
@font-face {
  font-family: 'Anton';
  src: url('../fonts/anton-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Inter e variavel: um arquivo cobre 400..800. */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-latin.woff2') format('woff2-variations');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens -------------------------------------------------------- */

:root {
  /* Cores — herdadas do portal */
  --bg: hsl(0 0% 6%);
  --bg-elev: hsl(0 0% 9%);
  --bg-elev-2: hsl(0 0% 12%);
  --fg: hsl(0 0% 96%);
  --fg-muted: hsl(0 0% 60%);
  --fg-subtle: hsl(0 0% 45%);

  --amber: hsl(38 89% 53%); /* #F2A41C — o "ambar B1 Beer" do portal */
  --amber-hi: hsl(38 95% 64%);
  --amber-lo: hsl(32 85% 44%);
  --amber-ink: hsl(30 40% 8%); /* texto sobre ambar: 8,7:1 */

  --border: hsl(0 0% 18%);
  --border-strong: hsl(0 0% 28%);

  /* Verde do WhatsApp com texto ESCURO. Branco sobre #25D366 da 1,98:1 e
     reprovaria em qualquer auditoria; tinta escura da 9,1:1. */
  --whats: hsl(142 70% 49%);
  --whats-hi: hsl(142 70% 56%);

  --radius: 0.65rem;
  --radius-lg: 1.1rem;

  /* Escala de espacamento — nao inventar valores fora dela */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  --shadow-1: 0 1px 2px hsl(0 0% 0% / 0.4);
  --shadow-2: 0 6px 20px hsl(0 0% 0% / 0.45);
  --shadow-3: 0 18px 48px hsl(0 0% 0% / 0.55);

  --header-h: 68px;
  --wrap: 1200px;

  --font-sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-display: 'Anton', 'Arial Narrow', 'Inter', sans-serif;
}

/* ---------- Reset e base -------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  /* Impede que a ancora pare atras do cabecalho fixo. */
  scroll-padding-top: calc(var(--header-h) + var(--sp-4));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Mesma textura ambar de topo que o portal usa. */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(ellipse at 50% -10%, hsl(38 60% 16% / 0.5), transparent 62%);
}

img,
picture,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--amber);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.1;
  font-weight: 700;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100px;
  z-index: 200;
  padding: var(--sp-3) var(--sp-5);
  background: var(--amber);
  color: var(--amber-ink);
  font-weight: 700;
  border-radius: var(--radius);
  transition: top 0.18s ease;
}

.skip-link:focus {
  top: var(--sp-4);
}

/* ---------- Layout -------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--sp-5);
  position: relative;
  z-index: 1;
}

.wrap-narrow {
  max-width: 780px;
}

.section {
  padding-block: clamp(56px, 9vw, 104px);
  position: relative;
  z-index: 1;
}

.section-alt {
  background: linear-gradient(180deg, hsl(0 0% 8%), hsl(0 0% 7%));
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin-bottom: var(--sp-7);
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--sp-3);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 5vw, 46px);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1.05;
}

.section-lead {
  margin-top: var(--sp-4);
  color: var(--fg-muted);
  font-size: clamp(16px, 2vw, 18px);
  max-width: 62ch;
}

.tx-amber {
  color: var(--amber);
}

/* Area de atendimento. Aparece cedo de proposito: qualifica o visitante antes
   de ele gastar tempo — e antes de gastar o nosso no WhatsApp. */
.selo-regiao {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  padding: var(--sp-2) var(--sp-4);
  background: hsl(38 89% 53% / 0.1);
  border: 1px solid hsl(38 89% 53% / 0.35);
  border-radius: 999px;
  font-size: 15px;
  color: var(--fg);
}

.selo-regiao strong {
  color: var(--amber);
}

.footer-regiao {
  margin-top: var(--sp-2);
  font-size: 15px;
  color: var(--fg-subtle);
}

.grid {
  display: grid;
  gap: var(--sp-5);
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* ---------- Botoes -------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--amber);
  color: var(--amber-ink);
  box-shadow: var(--shadow-1);
}

.btn-primary:hover {
  background: var(--amber-hi);
}

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn-sm {
  padding: var(--sp-2) var(--sp-4);
  font-size: 15px;
}

.btn-lg {
  padding: var(--sp-4) var(--sp-6);
  font-size: 17px;
}

/* ---------- Cabecalho ----------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: hsl(0 0% 6% / 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.28s ease;
}

/* Estilo de navegacao pedido: some ao descer, reaparece ao subir. */
.site-header.is-hidden {
  transform: translateY(-100%);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--fg);
}

.brand-mark {
  width: 38px;
  height: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-text em {
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.nav-list a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding-block: var(--sp-2);
  transition: color 0.15s ease;
}

.nav-list a:hover,
.nav-list a.is-active {
  color: var(--fg);
}

.nav-list a.is-active {
  box-shadow: inset 0 -2px 0 var(--amber);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-bars {
  display: grid;
  gap: 5px;
  width: 20px;
}

.menu-bars i {
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

[aria-expanded='true'] .menu-bars i:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

[aria-expanded='true'] .menu-bars i:nth-child(2) {
  opacity: 0;
}

[aria-expanded='true'] .menu-bars i:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Heroi --------------------------------------------------------- */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(32px, 7vw, 72px));
  padding-bottom: clamp(48px, 8vw, 96px);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -10%;
  right: -5%;
  width: min(760px, 90vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, hsl(38 89% 53% / 0.19), transparent 62%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(36px, 6.2vw, 66px);
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin-bottom: var(--sp-5);
}

/* "24 horas" e o gancho da marca: quebrar entre o numero e a palavra enfraquece
   a leitura. Sao 8 caracteres, nao ha risco de estouro nem no celular. */
.hero-title .tx-amber {
  white-space: nowrap;
}

.hero-sub {
  color: var(--fg-muted);
  font-size: clamp(16px, 2.1vw, 19px);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-6);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--fg-subtle);
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.hero-trust li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex: none;
}

.hero-media {
  justify-self: center;
}

.hero-media img {
  width: auto;
  max-height: min(66vh, 580px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-3);
}

/* ---------- Cartoes ------------------------------------------------------- */

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  transition:
    border-color 0.18s ease,
    transform 0.18s ease;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.card h3 {
  font-size: 19px;
  margin-bottom: var(--sp-3);
}

.card p {
  color: var(--fg-muted);
  font-size: 15.5px;
}

/* Filete ambar que cresce no hover. Da vida aos cartoes sem depender de icone,
   que aqui seria emoji e denuncia texto gerado. */
.card {
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--amber-lo));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.card:hover::before {
  transform: scaleX(1);
}

/* ---------- Passos -------------------------------------------------------- */

.passos-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.passos {
  counter-reset: passo;
  display: grid;
  gap: var(--sp-2);
}

.passos li {
  counter-increment: passo;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: var(--sp-4);
  align-items: baseline;
  padding: var(--sp-4) 0;
  border-bottom: 1px solid var(--border);
}

.passos li:last-child {
  border-bottom: 0;
}

/* O <li> tem tres itens de grid: o ::before, o h3 e o p. Sem fixar as posicoes,
   o <p> caia na coluna 1 da segunda linha — 56px de largura — e o texto saia
   uma palavra por linha. O numero ocupa a coluna 1 nas duas linhas. */
.passos li::before {
  content: counter(passo);
  grid-column: 1;
  grid-row: 1 / span 2;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1;
  color: var(--amber);
  text-align: right;
}

.passos h3,
.passos p {
  grid-column: 2;
}

.passos h3 {
  font-size: 18px;
  margin-bottom: var(--sp-1);
}

.passos p {
  color: var(--fg-muted);
  font-size: 15.5px;
}

.passos-media {
  justify-self: center;
  text-align: center;
}

.passos-media img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-2);
  max-height: 520px;
  width: auto;
}

.media-caption {
  margin-top: var(--sp-4);
  font-size: 13.5px;
  color: var(--fg-subtle);
  max-width: 34ch;
  margin-inline: auto;
}

/* ---------- Galeria ------------------------------------------------------- */

/* Duas fotos reais. O maximo de 400px impede que virem posteres gigantes numa
   tela larga — sao fotos de celular, ampliar demais so mostra o ruido. */
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 400px));
  justify-content: center;
  gap: var(--sp-5);
}

.galeria-item {
  margin: 0;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.galeria-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}

.galeria-item figcaption {
  padding: var(--sp-4) var(--sp-5);
  font-size: 14px;
  color: var(--fg-muted);
  border-top: 1px solid var(--border);
}

/* ---------- Duvidas ------------------------------------------------------- */

.faq {
  display: grid;
  gap: var(--sp-3);
}

/* <details>/<summary> nativo: funciona com teclado e leitor de tela sem JS. */
.faq-item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--border-strong);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5);
  font-weight: 600;
  font-size: 16.5px;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '';
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--amber);
  border-bottom: 2px solid var(--amber);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.faq-body {
  padding: 0 var(--sp-5) var(--sp-5);
  color: var(--fg-muted);
  font-size: 15.5px;
  max-width: 68ch;
}

/* ---------- CTA final ----------------------------------------------------- */

.cta-final {
  position: relative;
  isolation: isolate;
  padding-block: clamp(64px, 10vw, 128px);
  text-align: center;
  border-top: 1px solid var(--border);
  overflow: hidden;
}

/* Fundo do CTA: a peca da tulipa, sob veu escuro. Entra so como atmosfera —
   calor e textura de espuma atras do texto.
   Nao trocar pela foto "choppeira em area externa": ela e gerada por IA e a
   arte da maquina tem texto embaralhado ("COMO FONCIONA", "EFETUE O PAGANERTO"),
   que apareceria se alguem clareasse este veu. */
.cta-bg {
  position: absolute;
  /* Estoura 60px para fora para o blur nao deixar borda clara na emenda; o
     .cta-final tem overflow:hidden e apara o excesso. */
  inset: -60px;
  z-index: -1;
  background:
    linear-gradient(180deg, hsl(0 0% 6% / 0.93), hsl(0 0% 6% / 0.96)),
    image-set(
      url('../assets/tulipa-400.webp') type('image/webp'),
      url('../assets/tulipa-400.jpg') type('image/jpeg')
    );
  background-size: cover;
  /* Enquadra o copo, nao o texto da peca — o "Sempre a sua disposicao!" fica
     acima deste recorte. O blur e a segunda linha de defesa. */
  background-position: 42% 62%;
  /* Usa a versao de 400px de proposito. Com blur de 7px e 93% de veu por cima,
     a de 768px (123 KB) seria indistinguivel e sozinha respondia por 37% da
     carga inicial do celular — para uma imagem que so aparece no fim da pagina. */
  filter: blur(7px);
}

.cta-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(30px, 5.4vw, 52px);
  line-height: 1.04;
}

.cta-sub {
  margin: var(--sp-5) auto var(--sp-7);
  color: var(--fg-muted);
  font-size: clamp(16px, 2vw, 18px);
  max-width: 54ch;
}

.cta-nota {
  margin-top: var(--sp-5);
  font-size: 14px;
  color: var(--fg-subtle);
}

/* ---------- Rodape -------------------------------------------------------- */

.site-footer {
  background: hsl(0 0% 4%);
  border-top: 1px solid var(--border);
  padding-top: var(--sp-8);
  /* Folga para o botao flutuante do WhatsApp, que fica fixo no canto inferior
     direito e cobria a linha de copyright ao chegar no fim da pagina. */
  padding-bottom: 88px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
}

.footer-brand img {
  width: 62px;
  margin-bottom: var(--sp-4);
}

.footer-brand p {
  color: var(--fg-muted);
  font-size: 15px;
  max-width: 40ch;
}

.site-footer h2 {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  margin-bottom: var(--sp-4);
}

.footer-nav ul {
  display: grid;
  gap: var(--sp-2);
}

/* inline-block + padding para o retangulo clicavel chegar aos 24px que a
   WCAG 2.5.8 pede. Como <a> inline, a altura era a do glifo: 19px. */
.footer-nav a,
.footer-contato a {
  display: inline-block;
  padding-block: var(--sp-1);
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 15px;
}

.footer-nav a:hover,
.footer-contato a:hover {
  color: var(--amber);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  justify-content: space-between;
  align-items: center;
  padding-block: var(--sp-5);
  border-top: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--fg-subtle);
}

.footer-legal strong {
  color: var(--fg-muted);
}

/* ---------- WhatsApp flutuante -------------------------------------------- */

.whats-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-5);
  background: var(--whats);
  color: var(--amber-ink);
  font-weight: 700;
  font-size: 15.5px;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: var(--shadow-3);
  /* Entra so depois que o heroi sai da tela — ver main.js. */
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.94);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    visibility 0.28s,
    background-color 0.15s ease;
}

.whats-float.is-in {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.whats-float:hover {
  background: var(--whats-hi);
}

.whats-float svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
  flex: none;
}

/* Halo pulsante para puxar o olho, sem mover o botao de lugar. */
.whats-float::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 hsl(142 70% 49% / 0.55);
  animation: whats-pulso 2.6s ease-out infinite;
  pointer-events: none;
}

@keyframes whats-pulso {
  0% {
    box-shadow: 0 0 0 0 hsl(142 70% 49% / 0.5);
  }
  70% {
    box-shadow: 0 0 0 18px hsl(142 70% 49% / 0);
  }
  100% {
    box-shadow: 0 0 0 0 hsl(142 70% 49% / 0);
  }
}

/* ---------- Revelacao ao rolar -------------------------------------------- */

/* A classe .js so existe se o script rodou. Sem JS, nada fica escondido. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsivo ---------------------------------------------------- */

@media (max-width: 960px) {
  .hero-inner,
  .passos-layout {
    grid-template-columns: 1fr;
  }

  .hero-media {
    order: -1;
  }

  .hero-media img {
    max-height: 42vh;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--sp-4) var(--sp-5) var(--sp-6);
    background: hsl(0 0% 7% / 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-2);
    /* clip-path em vez de display:none para a transicao funcionar e o
       conteudo continuar no DOM para o leitor de tela. */
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition:
      opacity 0.2s ease,
      transform 0.2s ease,
      visibility 0.2s;
  }

  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav-list a {
    display: block;
    padding: var(--sp-4) 0;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }

  .nav-cta {
    margin-top: var(--sp-5);
    justify-content: center;
    padding-block: var(--sp-3);
  }
}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .passos li {
    grid-template-columns: 40px 1fr;
    gap: var(--sp-3);
  }

  .passos li::before {
    font-size: 26px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }

  /* No celular o rotulo compete com o polegar; fica so o icone. */
  .whats-float {
    padding: var(--sp-3);
  }

  .whats-float-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* ---------- Preferencias do sistema --------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .whats-float,
  .hero-glow,
  .cta-bg {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}
