/* ==========================================================================
   Gás Aqui — landing pública (gasaqui.com.br)

   Linguagem visual: seções de altura cheia, fotografia sangrando na borda,
   navy escuro como base e âmbar como única cor de destaque. O texto entra por
   revelação no scroll e os fundos das seções de CTA ficam fixos, criando o
   deslocamento em parallax.

   Nada remoto: a fonte é servida de /assets/fonts e o único script é /app.js.
   Isso mantém o CSP da borda restrito a 'self' (nginx/nginx.prod.conf).
   Paleta derivada de frontend/src/styles/global.css.
   ========================================================================== */

/* --------------------------------------------------------------- Tipografia */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-var-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  /* Latin-1 cobre todo o português; não carregamos o resto do arquivo. */
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF,
    U+FFFD;
}

:root {
  /* Base */
  --navy: #071b49;
  --navy-deep: #04122f;
  --navy-mid: #0c3158;
  --blue: #145ea8;
  --blue-soft: #e8f3ff;
  --amber: #f97316;
  --amber-dark: #d95f0a;
  --ink: #142033;
  --steel: #64748b;
  --surface: #ffffff;
  --surface-muted: #eff3f6;
  --line: #dbe4ee;

  /* Superfície escura — a página inteira roda sobre ela.
     `--dot` é o ponto da textura de fundo: precisa ser MAIS escuro que
     --navy-deep, senão a trama brilha em vez de afundar.
     `--panel` é a elevação sutil que separa uma seção da outra agora que não
     existe mais alternância claro/escuro. */
  --dot: #010a1e;
  --panel: rgba(255, 255, 255, 0.035);
  --line-dark: rgba(255, 255, 255, 0.13);
  --text-dim: rgba(255, 255, 255, 0.68);

  --radius: 5px;
  --radius-lg: 14px;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1360px;
  --gutter: 80px;

  /* Deslocamento horizontal da revelação. PRECISA ser menor que --gutter.
     O elemento parte deslocado para dentro da margem lateral; se o
     deslocamento passar do gutter, ele nasce fora da tela e cria rolagem
     horizontal — ver a nota em [data-reveal="right"]. */
  --reveal-x: 42px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.55s;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Compensa o header fixo quando um link de âncora aterrissa na seção. */
  scroll-padding-top: 96px;
}

/* Textura pontilhada de fundo.
   A referência usa um PNG de 10×10 px repetido no body: base escura com um
   ponto levemente mais escuro no meio. Aqui a mesma ideia sai de um
   radial-gradient — sem arquivo para baixar, sem serrilhado em tela retina e
   na nossa cor, não no cinza-carvão deles. O ponto é MAIS ESCURO que a base,
   como no original: a textura afunda, não brilha. */
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--navy-deep);
  background-image: radial-gradient(circle at center, var(--dot) 1.6px, transparent 1.7px);
  background-size: 10px 10px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Trava a rolagem enquanto o menu de tela cheia está aberto. */
body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: #fff;
}

p {
  margin: 0 0 1rem;
}

/* A página inteira roda sobre fundo escuro, então âmbar é o padrão de link —
   não a exceção. O azul da paleta não tem contraste sobre o navy. */
a {
  color: var(--amber);
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--amber);
  color: #fff;
  padding: 12px 18px;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
}

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

/* --------------------------------------------------------- Blocos de título */

.title {
  font-size: clamp(1.75rem, 3.6vw, 3.125rem); /* 50px no topo, como a referência */
}

.title--white {
  color: #fff;
}

.title--hero {
  font-size: clamp(2.4rem, 6.2vw, 4.25rem); /* 68px */
  line-height: 1.08;
  margin-bottom: 20px;
}

/* Palavra destacada em âmbar dentro do título — assinatura da referência. */
.title strong,
.title--white strong {
  color: var(--amber);
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber);
  margin: 0 0 18px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--amber);
}

.eyebrow--center {
  justify-content: center;
}

.text {
  font-size: 1.0625rem;
  color: var(--text-dim);
  max-width: 34rem;
}

.text--white {
  color: rgba(255, 255, 255, 0.78);
}

.text--center {
  margin-inline: auto;
  text-align: center;
}

.section-head {
  margin-bottom: 60px;
}

.section-head--center {
  text-align: center;
  max-width: 48rem;
  margin-inline: auto;
  margin-bottom: 60px;
}

/* ------------------------------------------------------------------ Botões */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: fit-content;
  padding: 18px 40px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  background: var(--amber);
  color: #fff;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease),
    color 0.3s var(--ease), transform 0.3s var(--ease);
}

.button:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
}

.button svg {
  width: 14px;
  height: auto;
  flex-shrink: 0;
}

.button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

.button--outline {
  background: transparent;
  border-color: var(--amber);
  color: var(--amber);
}

.button--outline:hover {
  background: var(--amber);
  color: #fff;
}

.button--sm {
  padding: 12px 24px;
  font-size: 1rem;
  gap: 12px;
}

/* ------------------------------------------------------ Revelação no scroll */

/* O estado inicial só é aplicado quando o JS confirma que vai animar. Sem
   script (ou com JS falhando), o conteúdo nasce visível — nunca some. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js [data-reveal="left"] {
  transform: translateX(calc(var(--reveal-x) * -1));
}

/* O deslocamento para a DIREITA é o que cria rolagem horizontal quando passa do
   gutter: o elemento ocupa a largura do container e nasce empurrado para fora.
   O estrago não fica na seção — no mobile o `position: fixed` se ancora na
   largura ROLÁVEL, não na visível, então cabeçalho e botões flutuantes saem da
   tela junto. `body { overflow-x: hidden }` esconde a barra, mas NÃO conserta
   isso: a largura de layout já foi calculada.

   Por isso --reveal-x acompanha --gutter em cada breakpoint, sempre menor. */
.js [data-reveal="right"] {
  transform: translateX(var(--reveal-x));
}

.js [data-reveal="zoom"] {
  transform: scale(1.06);
}

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

/* --------------------------------------------------------------- Cabeçalho */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  transition: background-color 0.4s var(--ease), box-shadow 0.4s var(--ease),
    padding 0.4s var(--ease);
  padding: 30px 0;
}

.site-header::before {
  /* Véu escuro no topo do hero: dá contraste ao logo sem pintar uma barra. */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 47, 0.75), transparent);
  opacity: 1;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.site-header.is-stuck {
  padding: 14px 0;
  background: rgba(4, 18, 47, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  box-shadow: 0 10px 30px rgba(4, 18, 47, 0.35);
}

.site-header.is-stuck::before {
  opacity: 0;
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 44px;
  width: auto;
  transition: height 0.4s var(--ease);
}

.is-stuck .brand img {
  height: 36px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.header-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  padding: 4px 0;
}

.header-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.header-nav a:hover,
.header-nav a[aria-current="true"] {
  color: #fff;
}

.header-nav a:hover::after,
.header-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

/* Botão âmbar quadrado que abre o menu de tela cheia. */
.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 42px;
  padding: 0;
  border: 2px solid var(--amber);
  border-radius: 0;
  background: var(--amber);
  cursor: pointer;
  transition: background-color 0.3s var(--ease);
}

.menu-toggle:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
}

.menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: #fff;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: #fff;
}

.menu-toggle span::before {
  top: -5px;
}

.menu-toggle span::after {
  top: 5px;
}

/* ------------------------------------------------------ Menu de tela cheia */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: var(--navy-deep);
  padding: 30px 0 60px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-2%);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease),
    visibility 0s linear 0.45s;
  overflow-y: auto;
}

.menu-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.menu-overlay::after {
  /* Brilho âmbar no canto, ecoando a luz do totem na foto. */
  content: "";
  position: absolute;
  right: -10%;
  bottom: -20%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 62%);
  pointer-events: none;
}

.menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 60px;
}

.menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: none;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.menu-close:hover {
  background: var(--amber-dark);
  transform: rotate(90deg);
}

.menu-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}

.menu-links li + li {
  margin-top: 6px;
}

.menu-links a {
  display: block;
  padding: 10px 0;
  color: #fff;
  text-decoration: none;
  font-size: clamp(1.6rem, 3.4vw, 2.375rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  opacity: 0.5;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease),
    color 0.3s var(--ease);
}

.menu-links a:hover,
.menu-links a:focus-visible {
  opacity: 1;
  transform: translateX(12px);
  color: var(--amber);
}

.menu-aside {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  padding-left: 40px;
}

.menu-aside h3 {
  color: #fff;
  font-size: 1.0625rem;
  margin-bottom: 14px;
}

.menu-aside p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9375rem;
}

/* -------------------------------------------------------------------- Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  /* Zoom lento e contínuo (efeito Ken Burns), como o vídeo de fundo da
     referência. Desligado em prefers-reduced-motion, mais abaixo. */
  animation: hero-zoom 26s var(--ease) infinite alternate;
}

@keyframes hero-zoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.09);
  }
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      rgba(4, 18, 47, 0.94) 0%,
      rgba(4, 18, 47, 0.78) 34%,
      rgba(4, 18, 47, 0.24) 62%,
      rgba(4, 18, 47, 0.55) 100%
    ),
    linear-gradient(180deg, rgba(4, 18, 47, 0.55) 0%, transparent 28%, rgba(4, 18, 47, 0.85) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 18vh 14vh;
}

.hero__copy {
  max-width: 40rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}

/* Os três números precisam caber numa linha só dentro de .hero__copy; se
   quebrarem, o hero passa de 100vh e o último some abaixo da dobra. */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 30px;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero__stats dt {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero__stats dd {
  margin: 8px 0 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.62);
  white-space: nowrap;
}

/* Indicador "arraste e saiba mais" no rodapé do hero. */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  text-decoration: none;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 46px;
  background: linear-gradient(180deg, var(--amber), transparent);
  animation: scroll-hint 2s var(--ease) infinite;
  transform-origin: top;
}

@keyframes scroll-hint {
  0% {
    transform: scaleY(0);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

/* ----------------------------------------------------------------- Seções */

.section {
  position: relative;
  padding: clamp(70px, 10vw, 130px) 0;
}

/* Sem alternância claro/escuro, a separação entre seções vem de duas coisas:
   `--light` deixa a textura do body aparecer crua, `--muted` põe um painel de
   3,5% de branco por cima. É pouco de perto e suficiente ao rolar. */
.section--light {
  background: transparent;
}

.section--muted {
  background: var(--panel);
  border-block: 1px solid rgba(255, 255, 255, 0.07);
}

.section--navy {
  background: transparent;
}

/* ------------------------------------------------------------- Introdução */

.intro {
  background: transparent;
  padding: clamp(70px, 9vw, 120px) 0;
}

.intro__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.intro__text p {
  font-size: 1.125rem;
  color: var(--text-dim);
  max-width: 36rem;
}

.intro__text p:first-of-type {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  color: #fff;
  font-weight: 500;
}

.intro__figure {
  position: relative;
}

.intro__figure img {
  width: 100%;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.intro__badge {
  position: absolute;
  right: -18px;
  bottom: -26px;
  background: var(--amber);
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--radius);
  max-width: 240px;
  box-shadow: 0 20px 40px rgba(4, 18, 47, 0.25);
}

.intro__badge strong {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 6px;
}

.intro__badge span {
  font-size: 0.875rem;
  line-height: 1.35;
  display: block;
  opacity: 0.95;
}

/* ------------------------------------------------- Destaques (carrossel) */

/* Estrutura da referência: painel navy fixo à esquerda ocupando 1/3 e o
   carrossel sangrando à direita nos 2/3 restantes. */
.highlights {
  display: flex;
  min-height: 100vh;
  background: transparent;
}

.highlights__panel {
  position: relative;
  z-index: 2;
  width: 33%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 100px var(--gutter);
  background: transparent;
}

.highlights__panel .text {
  max-width: 22rem;
  margin-bottom: 0;
}

.highlights__panel .title {
  margin-bottom: 26px;
  max-width: 16rem;
}

.highlights__nav {
  display: flex;
  gap: 8px;
  margin-top: 46px;
}

.highlights__nav button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--navy-deep);
  cursor: pointer;
  transition: opacity 0.3s var(--ease), background-color 0.3s var(--ease);
}

.highlights__nav button:hover:not(:disabled) {
  background: var(--amber);
  color: #fff;
}

.highlights__nav button:disabled {
  opacity: 0.4;
  cursor: default;
}

.highlights__nav svg {
  width: 7px;
  height: auto;
}

.highlights__nav .next svg {
  transform: scaleX(-1);
}

.highlights__track {
  width: 67%;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  /* Sem JS o carrossel continua utilizável: vira uma faixa arrastável. */
  -webkit-overflow-scrolling: touch;
}

.highlights__track::-webkit-scrollbar {
  display: none;
}

.highlight-card {
  position: relative;
  flex: 0 0 50%;
  min-width: 50%;
  scroll-snap-align: start;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.highlight-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.highlight-card:hover img {
  transform: scale(1.05);
}

/* O texto do card cai sobre a foto: o degradê precisa fechar de verdade na
   base, senão o branco compete com a área iluminada do totem. */
.highlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(4, 18, 47, 0.18) 26%,
    rgba(4, 18, 47, 0.78) 58%,
    var(--navy-deep) 100%
  );
}

.highlight-card__content {
  position: relative;
  z-index: 1;
  padding: 100px 64px;
}

.highlight-card__content h3 {
  color: #fff;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.highlight-card__content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9375rem;
  max-width: 20rem;
  margin: 0;
}

.highlight-card__index {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--amber);
  margin-bottom: 16px;
}

/* ------------------------------------------------------------ Como funciona */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.steps li {
  padding: 44px 40px 10px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.steps li:last-child {
  border-right: none;
}

.steps li:not(:first-child) {
  padding-left: 40px;
}

.step__num {
  display: block;
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.16);
  margin-bottom: 20px;
  transition: color 0.4s var(--ease);
}

.steps li:hover .step__num {
  color: var(--amber);
}

.steps h3 {
  font-size: 1.375rem;
  color: #fff;
  margin-bottom: 12px;
}

.steps p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9688rem;
  margin: 0;
}

/* ------------------------------------------------------ CTA com parallax */

.cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(120px, 26vh, 300px) 0;
  overflow: hidden;
  text-align: center;
}

.cta__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  /* O fundo fica preso enquanto a seção passa: é o parallax da referência.
     Em telas touch o `fixed` é trocado por `scroll` mais abaixo, porque o
     iOS renderiza o fundo fixo de forma imprevisível. */
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.cta__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 18, 47, 0.7), rgba(4, 18, 47, 0.55));
}

.cta--operacao .cta__media {
  background-image: url("/assets/img/cta-operacao.webp");
}

.cta--noite .cta__media {
  background-image: url("/assets/img/cta-noite.webp");
}

.cta--gestao .cta__media {
  background-image: url("/assets/img/cta-gestao.webp");
}

.cta__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin-inline: auto;
  padding-inline: 24px;
}

.cta__content h2 {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2.75rem); /* 44px */
  margin-bottom: 20px;
}

.cta__content p {
  color: rgba(255, 255, 255, 0.82);
  margin-inline: auto;
  max-width: 44rem;
}

.cta__content .button {
  margin: 30px auto 0;
}

/* ------------------------------------------------- Recursos (acordeão) */

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.features__list {
  border-top: 1px solid var(--line-dark);
}

.feature {
  border-bottom: 1px solid var(--line-dark);
}

.feature summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  cursor: pointer;
  list-style: none;
  font-size: 1.1875rem;
  font-weight: 700;
  color: #fff;
  transition: color 0.3s var(--ease);
}

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

.feature summary:hover {
  color: var(--amber);
}

.feature__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid var(--line-dark);
  color: var(--amber);
  font-size: 1.25rem;
  line-height: 1;
  margin-left: auto;
  transition: transform 0.35s var(--ease), background-color 0.3s var(--ease),
    border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.feature[open] .feature__icon {
  transform: rotate(45deg);
  background: var(--amber);
  border-color: var(--amber);
  color: #fff;
}

.feature__body {
  padding: 0 0 26px;
  color: var(--text-dim);
  font-size: 1rem;
  max-width: 34rem;
}

.feature__body p {
  margin: 0;
}

.features__figure {
  position: sticky;
  top: 120px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.features__figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ------------------------------------------------------------ Para quem é */

.audience {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.audience__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  padding: 50px 44px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  isolation: isolate;
}

.audience__card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.audience__card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(4, 18, 47, 0.25),
    rgba(4, 18, 47, 0.82) 55%,
    rgba(4, 18, 47, 0.96)
  );
  transition: opacity 0.5s var(--ease);
}

.audience__card:hover img {
  transform: scale(1.06);
}

.audience__card h3 {
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  margin-bottom: 14px;
  max-width: 20rem;
}

.audience__card p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1rem;
  max-width: 30rem;
}

.check-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.28em;
  width: 8px;
  height: 15px;
  border: solid var(--amber);
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

/* ------------------------------------------------------- Rede / cobertura */

.coverage {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.coverage__item {
  background: var(--panel);
  padding: 40px 32px;
  transition: background-color 0.35s var(--ease);
}

.coverage__item:hover {
  background: var(--amber);
}

.coverage__item:hover h3,
.coverage__item:hover p {
  color: #fff;
}

.coverage__item h3 {
  font-size: 2.5rem;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 12px;
  transition: color 0.35s var(--ease);
}

.coverage__item p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9375rem;
  transition: color 0.35s var(--ease);
}

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

/* As 9 peças somam 12 células (1 alta + 2 largas + 6 simples), o que fecha
   exatamente 4 colunas × 3 linhas — mas só se a ordem do DOM colaborar: uma
   peça larga que encontra apenas uma coluna livre pula de linha e abre um
   buraco. A ordem certa é alta, larga, 4 simples, larga, 2 simples.
   O `dense` é a rede de proteção: em 3 e 2 colunas, e em qualquer reordenação
   futura, ele reaproveita as lacunas em vez de deixar vão. */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 10px;
}

/* Cada peça é um <button> para funcionar no teclado, então precisa perder a
   borda e o padding que o navegador dá de fábrica. */
.gallery__item {
  position: relative;
  display: block;
  padding: 0;
  border: none;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
  cursor: zoom-in;
}

/* Duas peças ocupam 2x2 para quebrar a grade, como no mosaico da referência. */
.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item--tall {
  grid-row: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), opacity 0.4s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.07);
  opacity: 0.75;
}

.gallery__item::after {
  content: "+";
  position: absolute;
  right: 14px;
  bottom: 10px;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.gallery__item:hover::after {
  opacity: 1;
  transform: none;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(4, 18, 47, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 84vh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.3s var(--ease);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--amber);
}

.lightbox__close {
  top: 28px;
  right: 28px;
}

.lightbox__prev {
  left: 28px;
}

.lightbox__next {
  right: 28px;
}

/* -------------------------------------------------------------- Formulário */

.contact {
  position: relative;
  background: transparent;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  left: -12%;
  top: -20%;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(20, 94, 168, 0.35), transparent 62%);
  pointer-events: none;
}

.contact::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -25%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.18), transparent 62%);
  pointer-events: none;
}

.contact__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: start;
}

.contact__aside .text {
  max-width: 26rem;
}

.contact__points {
  display: grid;
  gap: 22px;
  margin-top: 40px;
}

.contact__points li {
  padding-left: 22px;
  border-left: 2px solid var(--amber);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9375rem;
}

.contact__points strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 4px;
}

.form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 46px);
  backdrop-filter: blur(6px);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: block;
  margin-bottom: 18px;
}

/* `:first-of-type` isola o rótulo: sem isso a regra também alcançaria o
   `.field__error`, que é span irmão, e o erro apareceria sempre — o
   `display: block` daqui venceria o `display: none` de lá por especificidade. */
.field > span:first-of-type {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(4, 18, 47, 0.55);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field select {
  /* A seta nativa some no fundo escuro em alguns temas; desenhamos a nossa. */
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255, 255, 255, 0.6) 50%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.6) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 14px) center;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.field select option {
  background: var(--navy-deep);
  color: #fff;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--amber);
  background: rgba(4, 18, 47, 0.8);
}

.field--invalid input,
.field--invalid select,
.field--invalid textarea {
  border-color: #ff6b6b;
}

.field__error {
  display: none;
  margin-top: 6px;
  font-size: 0.8125rem;
  color: #ff9b9b;
}

.field--invalid .field__error {
  display: block;
}

.form__consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 6px 0 24px;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.66);
}

.form__consent input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--amber);
  flex-shrink: 0;
}

.form .button {
  width: 100%;
}

.form__note {
  margin: 18px 0 0;
  font-size: 0.8125rem;
  /* 0.45 dava 4.35:1 sobre o painel do formulário — abaixo do mínimo AA. */
  color: rgba(255, 255, 255, 0.56);
}

.form__status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background: rgba(249, 115, 22, 0.14);
  border: 1px solid rgba(249, 115, 22, 0.4);
  color: #fff;
  font-size: 0.9375rem;
}

.form__status.is-visible {
  display: block;
}

/* ---------------------------------------------------------------- Rodapé */

.site-footer {
  background: var(--panel);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  padding: 90px 0 30px;
}

.footer-claim {
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
  max-width: 20rem;
  margin-bottom: 60px;
}

.footer-claim strong {
  color: var(--amber);
  font-weight: 800;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand img {
  height: 40px;
  width: auto;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 24rem;
  font-size: 0.9375rem;
  margin: 0;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}

.footer-col li + li {
  margin-top: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
}

.footer-legal p {
  margin: 0;
  font-size: 0.8125rem;
  /* 0.42 dava 4.01:1 sobre o rodapé — abaixo do mínimo AA. */
  color: rgba(255, 255, 255, 0.56);
}

/* --------------------------------------------------------- Ações flutuantes */

.floating-actions {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.fab {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.fab:hover {
  transform: translateY(-2px);
}

/* Voltar ao topo — só aparece depois da primeira dobra */

.fab--top {
  width: 46px;
  height: 46px;
  background: var(--amber);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0s linear 0.35s, background-color 0.3s var(--ease);
}

.fab--top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

.fab--top:hover {
  background: var(--amber-dark);
  transform: translateY(-2px);
}

.fab--top svg {
  width: 14px;
  height: auto;
}

/* WhatsApp — permanente, nunca some */

.fab--whatsapp {
  /* Verde oficial da marca: fora da paleta do site de propósito. O botão só é
     reconhecido de relance se mantiver a cor que as pessoas já conhecem. */
  background: #25d366;
  /* Fechado tem que ser círculo exato: ícone 30 + 14 de cada lado = 58 = altura.
     Mexer no ícone ou no padding sem refazer a conta deixa o botão oval. */
  height: 58px;
  min-width: 58px;
  padding: 0 14px;
  gap: 0;
  box-shadow: 0 8px 24px rgba(4, 18, 47, 0.28);
}

.fab--whatsapp:hover {
  background: #1da851;
  box-shadow: 0 12px 30px rgba(4, 18, 47, 0.34);
}

.fab--whatsapp svg {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}

/* O rótulo nasce fechado e desliza para fora no hover: fica discreto parado e
   explícito na hora em que a pessoa mira o botão. */
.fab__label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  font-size: 0.9375rem;
  font-weight: 700;
  opacity: 0;
  transition: max-width 0.4s var(--ease), opacity 0.3s var(--ease),
    margin-right 0.4s var(--ease);
}

.fab--whatsapp:hover .fab__label,
.fab--whatsapp:focus-visible .fab__label {
  max-width: 12rem;
  opacity: 1;
  margin-right: 12px;
}

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

@media (max-width: 1300px) {
  :root {
    --gutter: 40px;
    /* A folga não é o gutter inteiro: o `.intro__badge` já sobressai 18px da
       figura de propósito, então o limite é 40 - 18 = 22. */
    --reveal-x: 20px;
  }

  .highlights__panel {
    padding: 70px 40px 100px;
  }

  .highlight-card__content {
    padding: 70px 30px;
  }
}

@media (max-width: 1100px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 990px) {
  .header-nav {
    display: none; /* no mobile a navegação vive só no menu de tela cheia */
  }

  .hero {
    min-height: 92vh;
  }

  .hero__content {
    padding-block: 26vh 16vh;
  }

  .hero__stats {
    gap: 28px;
    margin-top: 44px;
  }

  .intro__grid,
  .features,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .intro__figure {
    order: -1;
  }

  .intro__badge {
    right: 12px;
    bottom: -20px;
  }

  .features__figure {
    position: static;
  }

  .features__figure img {
    aspect-ratio: 16 / 10;
  }

  .highlights {
    flex-direction: column;
    min-height: auto;
  }

  .highlights__panel,
  .highlights__track {
    width: 100%;
  }

  .highlights__panel {
    padding: 70px 20px;
  }

  .highlights__panel .title,
  .highlights__panel .text {
    max-width: none;
  }

  .highlight-card {
    flex: 0 0 82%;
    min-width: 82%;
    min-height: 440px;
  }

  .highlight-card__content {
    padding: 200px 24px 60px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps li,
  .steps li:not(:first-child) {
    padding: 30px 0;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .steps li:last-child {
    border-bottom: none;
  }

  .audience {
    grid-template-columns: 1fr;
  }

  .audience__card {
    min-height: 440px;
    padding: 40px 28px;
  }

  .menu-body {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .menu-aside {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding-left: 0;
    padding-top: 30px;
  }

  /* iOS ignora/quebra background-attachment: fixed. Melhor abrir mão do
     parallax no touch do que servir um fundo cortado ou tremendo. */
  .cta__media {
    background-attachment: scroll;
  }

  /* Na vertical o degradê do hero passa a ser de cima para baixo: o diagonal
     do desktop deixaria o totem inteiro na parte escura. */
  .hero__media img {
    object-position: center;
  }

  /* Na vertical o texto cobre quase toda a foto, então o véu é mais pesado no
     miolo: é onde o corpo iluminado do totem competiria com o parágrafo. */
  .hero__media::after {
    background: linear-gradient(
      180deg,
      rgba(4, 18, 47, 0.8) 0%,
      rgba(4, 18, 47, 0.62) 24%,
      rgba(4, 18, 47, 0.8) 58%,
      rgba(4, 18, 47, 0.96) 100%
    );
  }

  .hero__content {
    padding-block: 18vh 12vh;
  }

  /* Três colunas fixas com rótulo quebrando em duas linhas ocupam bem menos
     altura do que três blocos empilhados. */
  .hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 40px;
    padding-top: 22px;
  }

  .hero__stats dd {
    white-space: normal;
    font-size: 0.625rem;
    letter-spacing: 0.06em;
    line-height: 1.3;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
    /* Com gutter de 20 e o badge já consumindo 18 deles, não sobra espaço para
       deslocamento horizontal nenhum. Os 42px originais jogavam 22px para fora
       — exatamente o que tirava os botões flutuantes da tela. */
    --reveal-x: 0px;
  }

  /* Em vez de revelar sem movimento, a entrada lateral vira a mesma subida do
     padrão: o efeito continua, sem custo de largura. */
  .js [data-reveal="left"],
  .js [data-reveal="right"] {
    transform: translateY(38px);
  }

  body {
    font-size: 16px;
  }

  .button {
    width: 100%;
    padding: 15px 24px;
    font-size: 1rem;
  }

  .button--sm {
    width: auto;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__stats {
    gap: 22px 34px;
  }

  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Em duas colunas os spans do desktop não ajudam: viram peças de largura
     total espalhadas. Todas viram quadrados, e a última ocupa a linha inteira
     porque 9 é ímpar — senão sobraria uma peça órfã com um vão do lado. */
  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
  }

  .gallery__item--wide,
  .gallery__item--tall {
    grid-column: auto;
    grid-row: auto;
  }

  .gallery__item:last-child {
    grid-column: span 2;
  }

  /* Em uma coluna só, texto encostado à esquerda fica órfão: a coluna tem a
     largura da tela, mas o conteúdo ocupa metade dela. Centralizar é o que
     devolve o eixo à peça. */
  .footer-claim {
    max-width: none;
    text-align: center;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 46px;
  }

  /* O parágrafo tem max-width próprio: sem margin auto ele centraliza a caixa
     mas não a si mesmo. */
  .footer-brand p {
    margin-inline: auto;
  }

  /* O reset global usa `img { display: block }`, e bloco não obedece
     text-align. Só margem automática centraliza. */
  .footer-brand img {
    margin-inline: auto;
  }

  /* `space-between` com duas linhas empilhadas joga uma para cada borda. */
  .footer-legal {
    justify-content: center;
    text-align: center;
    gap: 8px;
  }

  /* Espaço para o WhatsApp flutuante (52px + 16px de folga) não cobrir a
     última linha do rodapé. */
  .site-footer {
    padding-bottom: 88px;
  }

  .lightbox {
    padding: 20px;
  }

  .lightbox__close {
    top: 14px;
    right: 14px;
  }

  .lightbox__prev {
    left: 8px;
  }

  .lightbox__next {
    right: 8px;
  }

  /* `env()` cobre o notch e a barra de gestos do iOS; o `max()` mantém os 16px
     em qualquer aparelho sem recorte, onde env() vale 0. */
  .floating-actions {
    right: max(16px, env(safe-area-inset-right));
    bottom: max(16px, env(safe-area-inset-bottom));
    gap: 10px;
  }

  /* Mesma conta do desktop, na medida menor: 28 + 12 + 12 = 52. */
  .fab--whatsapp {
    height: 52px;
    min-width: 52px;
    padding: 0 12px;
  }

  .fab--whatsapp svg {
    width: 28px;
    height: 28px;
  }

  /* Sem hover no touch, o rótulo nunca abriria — e ocuparia largura à toa. */
  .fab__label {
    display: none;
  }

  .fab--top {
    width: 42px;
    height: 42px;
  }
}

/* Celular estreito.
 *
 * O logo a 44px de altura ocupa 159px de largura, e `.brand` tem
 * `flex-shrink: 0`. Somado ao botão "Área do cliente" e ao menu, o hambúrguer
 * terminava em 375px numa tela de 360 — fora do alcance do dedo.
 *
 * Reduzir o logo devolve 43px, o suficiente para tudo caber sem esconder nada.
 * `body { overflow-x: hidden }` mascarava o problema: recortava a barra de
 * rolagem, então `scrollWidth` continuava igual a `clientWidth` mesmo com o
 * botão fora. Meça a geometria, não o scrollWidth:
 *   document.querySelector('.menu-toggle').getBoundingClientRect().right
 *     <= document.documentElement.clientWidth
 */
@media (max-width: 400px) {
  .brand img,
  .is-stuck .brand img {
    height: 32px;
  }

  .header-right {
    gap: 12px;
  }

  /* Em 320px (iPhone SE) o logo menor sozinho ainda deixava o menu 3px para
     fora; o botão precisa ceder um pouco também. */
  .header-right .button--sm {
    padding: 10px 16px;
  }
}

/* --------------------------------------------------- Preferências do usuário */

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

  /* O reveal continua existindo como fade, mas sem deslocamento nem zoom. */
  .js [data-reveal] {
    transform: none !important;
    transition-duration: 0.2s;
  }

  .hero__media img {
    animation: none;
  }

  .hero__scroll::after {
    animation: none;
    opacity: 0.6;
  }

  .cta__media {
    background-attachment: scroll;
  }

  .button:hover,
  .fab:hover,
  .fab--top:hover,
  .menu-links a:hover,
  .audience__card:hover img,
  .gallery__item:hover img,
  .highlight-card:hover img {
    transform: none;
  }
}

@media print {
  .site-header,
  .menu-overlay,
  .floating-actions,
  .lightbox,
  .hero__scroll {
    display: none !important;
  }
}
