/* =========================================================
   ESTOUR 2027 — Salão Capixaba do Turismo
   Identidade: Apresentação_ESTOUR 2027.pdf
   ========================================================= */

:root {
  /* Paleta oficial (amostrada do PDF) */
  --ink: #0f0331;        /* fundo profundo */
  --indigo: #241089;     /* "ES" do logo */
  --azul: #086ffd;       /* cor principal — 60% */
  --ceu: #73d6ff;
  --magenta: #ff00ed;    /* acento — 30% (família rosa) */
  --rosa: #fc9ce6;
  --rosa-claro: #fecbf4;
  --lavanda: #99a3fc;
  --pessego: #ffecdb;    /* 10% */
  --papel: #f5f3ec;
  --branco: #ffffff;

  --grad-marca: linear-gradient(100deg, var(--azul) 0%, var(--lavanda) 48%, var(--rosa-claro) 78%, var(--pessego) 100%);
  --grad-texto: linear-gradient(95deg, var(--lavanda) 0%, var(--rosa-claro) 60%, var(--pessego) 100%);

  /* Tipografia: Roc Grotesk (Adobe Fonts). Archivo é o substituto
     gratuito enquanto o kit da Adobe não estiver instalado. */
  --font-display: "roc-grotesk-wide", "roc-grotesk", "Archivo", system-ui, sans-serif;
  --font-corpo: "roc-grotesk", "Archivo", system-ui, sans-serif;

  --raio: 28px;
  --header-h: 76px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-corpo);
  background: var(--papel);
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.font-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  letter-spacing: -0.01em;
}

.texto-gradiente {
  background: var(--grad-texto);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.texto-gradiente-azul {
  background: linear-gradient(95deg, var(--azul) 0%, var(--lavanda) 55%, var(--rosa) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.container-estour {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) {
  .container-estour {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(245, 243, 236, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(15, 3, 49, 0.06);
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 999px;
  background: var(--branco);
  box-shadow: 0 1px 0 rgba(15, 3, 49, 0.06), 0 6px 20px -12px rgba(15, 3, 49, 0.25);
}

.nav-pill .nav-link {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-pill .nav-link:hover {
  background: rgba(8, 111, 253, 0.08);
}

/* Header no topo da página: azul, fundido com o hero.
   A classe .is-topo sai depois de rolar 10% da página (ver script no index). */
.site-header {
  transition: background-color 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}

.site-header .logo-topo,
.site-header .logo-claro {
  transition: opacity 0.35s ease;
}

.site-header .logo-topo {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.site-header.is-topo {
  background: var(--azul);
  border-bottom-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.is-topo .logo-topo {
  opacity: 1;
}

.site-header.is-topo .logo-claro {
  opacity: 0;
}

.site-header.is-topo .nav-pill {
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.site-header.is-topo .nav-pill .nav-link {
  color: var(--branco);
}

.site-header.is-topo .nav-pill .nav-link:hover {
  background: rgba(255, 255, 255, 0.14);
}

.site-header.is-topo .nav-pill .nav-link.bg-black\/10 {
  background: var(--branco);
  color: var(--ink);
}

.site-header.is-topo .header-ig {
  background: rgba(255, 255, 255, 0.14);
  color: var(--branco);
}

.site-header.is-topo .header-ig:hover {
  background: var(--branco);
  color: var(--azul);
}

.site-header.is-topo .header-cta {
  background: var(--branco);
  color: var(--ink);
}

/* script.js marca o link da seção visível com "bg-black/10" */
.nav-pill .nav-link.bg-black\/10,
#mobileMenu .nav-link.bg-black\/10 {
  background: var(--ink);
  color: var(--branco);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

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

.btn:focus-visible,
.nav-link:focus-visible,
.segment-card:focus-visible {
  outline: 3px solid var(--magenta);
  outline-offset: 3px;
}

.btn-primario {
  background: var(--grad-texto);
  color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(252, 156, 230, 0.8);
}

.btn-azul {
  background: var(--azul);
  color: var(--branco);
}

.btn-azul:hover {
  background: #0560dd;
}

.btn-ink {
  background: var(--ink);
  color: var(--branco);
}

.btn-ink:hover {
  background: var(--indigo);
}

.btn-contorno-claro {
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: var(--branco);
}

.btn-contorno-claro:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--branco);
}

.btn-branco {
  background: var(--branco);
  color: var(--ink);
}

.btn-sm {
  min-height: 40px;
  padding: 0 18px;
  font-size: 13px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--azul);
  color: var(--branco);
  /* Header azul (76px) + hero = tela inteira */
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
}

/* Mobile: sem altura mínima, conteúdo centralizado e o "27" abaixo das
   informações (no fluxo, sem sobrepor o texto). */
@media (max-width: 767px) {
  .hero {
    min-height: 0;
  }

  .hero .hero-conteudo {
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
  }

  .hero .hero-27 {
    position: relative;
    right: auto;
    bottom: auto;
    order: 2;
    align-self: center;
    width: 58vw;
    max-width: 280px;
    opacity: 1;
  }
}

.hero-conteudo {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-titulo {
  /* 3 linhas; a mais larga ("VIAJE,") ocupa ~5,3× o tamanho da fonte */
  font-size: clamp(2.5rem, 13vw, 7.75rem);
  line-height: 1; /* abaixo disso a vírgula de "VIAJE," encosta no "SINTA" */
  text-transform: uppercase;
}

.hero-27 {
  position: absolute;
  right: 0%;
  bottom: 0%;
  width: min(32vw, 440px);
  pointer-events: none;
  opacity: 0.95;
}

.hero .container-estour {
  z-index: 1;
}

/* ---------- Cronômetro do hero (discreto) ---------- */
.cronometro {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--branco);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cronometro-ponto {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--magenta);
}

.cronometro-data {
  color: rgba(255, 255, 255, 0.85);
}

.cronometro-sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.3);
}

.cronometro-tempo {
  display: inline-flex;
  gap: 10px;
  font-variant-numeric: tabular-nums;
  color: rgba(255, 255, 255, 0.7);
}

.cronometro-tempo b {
  margin-right: 1px;
  font-weight: 800;
  color: var(--branco);
}

.cronometro-tempo {
  text-transform: none;
}

@media (max-width: 479px) {
  .cronometro {
    flex-wrap: nowrap;
    gap: 8px;
    padding: 8px 14px;
    font-size: 11px;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }

  .cronometro-tempo {
    gap: 6px;
  }
}

@media (max-width: 767px) {
  .hero-27 {
    width: 64vw;
    right: 0%;
    bottom: 0%;
    opacity: 0.55;
  }
}

/* ---------- Segunda dobra (split + faixa) ----------
   No desktop ocupa a tela inteira abaixo do header fixo. */
@media (min-width: 1024px) {
  .dobra-2 {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
  }

  .dobra-2 .split {
    flex: 1;
  }
}

/* ---------- Split (ink + foto) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--ink);
  color: var(--branco);
  position: relative;
}

@media (min-width: 1024px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

.split-foto {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.split-foto img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 111, 253, 0) 55%, rgba(8, 111, 253, 0.35) 100%);
}

/* Selo giratório */
.selo {
  position: absolute;
  z-index: 5;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  background: var(--branco);
  color: var(--ink);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 40px -16px rgba(15, 3, 49, 0.6);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 1023px) {
  .selo {
    top: auto;
    bottom: 20px;
    left: auto;
    right: 20px;
    transform: none;
    width: 112px;
    height: 112px;
  }
}

.selo svg.selo-texto {
  position: absolute;
  inset: 6px;
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  animation: girar 18s linear infinite;
}

.selo-seta {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--azul);
  color: var(--branco);
  display: grid;
  place-items: center;
  transition: background-color 0.2s ease;
}

.selo:hover .selo-seta {
  background: var(--magenta);
}

@keyframes girar {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Faixa de palavras (marquee) ---------- */
.faixa {
  overflow: hidden;
  background: var(--azul);
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.faixa-trilho {
  display: flex;
  width: max-content;
  gap: 10px;
  animation: faixa 45s linear infinite;
}

.faixa-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: var(--branco);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.faixa-item.is-rosa {
  background: var(--rosa);
  border-color: var(--rosa);
  color: var(--indigo);
}

.faixa-item.is-ink {
  background: var(--indigo);
  border-color: var(--indigo);
}

.faixa-item.is-ceu {
  background: var(--ceu);
  border-color: var(--ceu);
  color: var(--indigo);
}

.faixa-item.is-icone {
  padding: 0 10px;
}

.faixa-item.is-icone img {
  height: 44px;
  width: auto;
}

@keyframes faixa {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Cards de destaque (seção Sobre) ---------- */
.card-destaque {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50% imagem, 50% texto */
  align-items: center;
  gap: 16px;
  min-height: 176px;
  padding: 20px 24px;
  border-radius: 22px;
  background: var(--branco);
  overflow: hidden;
}

.card-destaque img {
  width: 100%;
  height: 136px;
  object-fit: contain;
  filter: drop-shadow(0 8px 10px rgba(15, 3, 49, 0.18));
}

.thumb-video {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 4 / 5;
  background: var(--ink);
}

/* Ao lado do texto (sm+), a foto acompanha a altura do texto */
@media (min-width: 640px) {
  .thumb-video {
    aspect-ratio: auto;
    align-self: stretch;
    height: 100%;
    min-height: 280px;
  }
}

.thumb-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.thumb-video:hover img {
  transform: scale(1.05);
}

.thumb-video .btn {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* ---------- Números ---------- */
.numero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center; /* número e legenda juntos, no meio do box */
  min-height: 204px; /* +50% sobre a altura anterior (136px) */
  padding: 26px 22px 22px;
  border-radius: 22px;
  background: var(--branco);
  overflow: hidden;
}

@media (max-width: 639px) {
  .numero {
    min-height: 160px;
  }
}

/* Mobile (grade de 2 colunas): número e legenda centralizados */
@media (max-width: 767px) {
  .numero {
    align-items: center;
    text-align: center;
  }
}

.numero-valor {
  font-size: clamp(2.25rem, 4.6vw, 3.5rem);
  line-height: 1;
  color: var(--azul);
}

.numero-valor .mais {
  color: var(--magenta);
}

.numero.is-destaque {
  background: var(--azul);
  color: var(--branco);
}

.numero.is-destaque .numero-valor {
  color: var(--branco);
}

.numero.is-destaque .mais {
  color: var(--rosa-claro);
}

.numero .pattern-canto {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 64px;
  height: 64px;
  opacity: 0.9;
}

@media (max-width: 639px) {
  .numero {
    padding: 20px 16px 18px;
  }

  .numero-valor {
    font-size: 1.75rem;
  }

  .numero .pattern-canto {
    width: 44px;
    height: 44px;
    opacity: 0.6;
  }
}

/* ---------- Segmentos ---------- */
.secao-segmentos {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--azul) 0%, #3a8cfd 55%, var(--ceu) 120%);
  color: var(--branco);
}

.segment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 26px;
  border-radius: var(--raio);
  background: var(--branco);
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s ease;
}

.segment-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -30px rgba(15, 3, 49, 0.6);
}

.segment-card .pattern {
  width: 84px;
  height: 84px;
}

.segment-card .icone3d {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 128px;
  height: 128px;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px rgba(15, 3, 49, 0.22));
}

.segment-card .seta {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--papel);
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.segment-card:hover .seta {
  background: var(--azul);
  color: var(--branco);
}

.pattern-fundo {
  position: absolute;
  pointer-events: none;
  opacity: 0.18;
}

/* ---------- Seções escuras (vídeos) ---------- */
.secao-escura {
  background: var(--ink);
  color: var(--branco);
}

.secao-escura .carrossel-legenda {
  color: rgba(255, 255, 255, 0.6);
}

.secao-escura .carrossel-card {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5);
}

/* ---------- Logos de operadoras ---------- */
.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  padding: 14px;
  border-radius: 20px;
  background: var(--branco);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.logo-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px -26px rgba(15, 3, 49, 0.45);
}

.logo-tile img {
  max-height: 100%;
  width: 100%;
  object-fit: contain;
  /* alguns JPGs têm fundo cinza claro: multiply funde com o branco do card */
  mix-blend-mode: multiply;
}

/* ---------- CTA final ---------- */
.cta-final {
  position: relative;
  overflow: hidden;
  background: var(--grad-marca);
  color: var(--ink);
}

.cta-titulo {
  font-size: clamp(3rem, 9vw, 8rem);
  line-height: 0.88;
  text-transform: uppercase;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
}

.site-footer a:hover {
  color: var(--branco);
}

/* ---------- Revelar ao rolar ---------- */
.revelar {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.revelar.is-visivel {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .revelar {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .faixa-trilho,
  .selo svg.selo-texto {
    animation: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* =========================================================
   Carrossel coverflow (fotos e vídeos) — mantido do site atual,
   com as cores da nova identidade.
   ========================================================= */
.carrossel {
  position: relative;
  width: 100%;
  user-select: none;
}

.carrossel-palco {
  position: relative;
  height: var(--card-h);
  perspective: 1400px;
  transform-style: preserve-3d;
  /* Sem corte aqui: a sombra dos cards fica livre. Quem corta é a seção
     (largura da tela), só na horizontal. */
  overflow: visible;
  cursor: grab;
  touch-action: pan-y;
}

#galeria,
#videos,
#famtour {
  overflow-x: clip;
}

.carrossel-palco.esta-arrastando {
  cursor: grabbing;
}

.carrossel-palco.esta-arrastando .carrossel-card {
  transition: none;
}

.carrossel-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--card-w);
  height: var(--card-h);
  margin-left: calc(var(--card-w) / -2);
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(15, 3, 49, 0.28);
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.45s ease;
  will-change: transform, opacity;
}

.carrossel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.carrossel-card.is-oculto {
  opacity: 0;
  pointer-events: none;
}

.carrossel-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(15, 3, 49, 0.6), rgba(15, 3, 49, 0.05) 55%);
  color: var(--branco);
  pointer-events: none;
}

.carrossel-play svg {
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

.carrossel-nav {
  position: absolute;
  top: 50%;
  z-index: 200;
  display: inline-flex;
  height: 48px;
  width: 48px;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: var(--branco);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(15, 3, 49, 0.22);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.carrossel-nav:hover {
  background: var(--azul);
  color: var(--branco);
}

.carrossel-nav.prev {
  left: 8px;
}

.carrossel-nav.next {
  right: 8px;
}

.carrossel-legenda {
  margin-top: 20px;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(15, 3, 49, 0.55);
}

@media (max-width: 767px) {
  .carrossel-nav {
    display: none;
  }
}

@media (min-width: 768px) {
  .carrossel-nav.prev {
    left: 24px;
  }

  .carrossel-nav.next {
    right: 24px;
  }
}

/* =========================================================
   Modal de pré-inscrição 2027
   ========================================================= */
.pre-painel {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 92vh;
  max-height: 92svh;
  overflow-y: auto;
  border-radius: 28px;
  background: var(--branco);
  padding: 24px;
  box-shadow: 0 40px 80px -30px rgba(15, 3, 49, 0.6);
}

@media (min-width: 768px) {
  .pre-painel {
    padding: 36px 40px;
  }
}

.pre-topo {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.pre-progresso {
  margin-top: 24px;
  height: 6px;
  border-radius: 999px;
  background: var(--papel);
  overflow: hidden;
}

.pre-progresso span {
  display: block;
  height: 100%;
  width: 33%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--azul), var(--lavanda), var(--rosa));
  transition: width 0.35s ease;
}

.pre-etapa-rotulo {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(15, 3, 49, 0.55);
}

.pre-form {
  margin-top: 24px;
}

.pre-etapa {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}

.campo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.campo > span {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}

.campo input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(15, 3, 49, 0.18);
  background: var(--branco);
  color: var(--ink);
  font-size: 16px; /* evita zoom automático no iPhone */
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.campo input:focus {
  outline: none;
  border-color: var(--azul);
  background: var(--branco);
  box-shadow: 0 0 0 4px rgba(8, 111, 253, 0.15);
}

.campo.is-erro input {
  border-color: #e0245e;
  background: #fff5f8;
}

.campo-erro,
.grupo-erro {
  font-size: 13px;
  font-weight: 600;
  color: #c81e57;
}

.grupo-titulo {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.grupo-dica {
  margin-top: 4px;
  font-size: 13px;
  color: rgba(15, 3, 49, 0.55);
}

.grupo .opcoes {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.grupo .grupo-erro {
  margin-top: 10px;
}

.opcoes-grade {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.opcao {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(15, 3, 49, 0.12);
  background: var(--branco);
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.opcao:hover {
  border-color: rgba(8, 111, 253, 0.45);
}

.opcao input[type="radio"],
.opcao input[type="checkbox"] {
  flex: none;
  width: 20px;
  height: 20px;
  accent-color: var(--azul);
  cursor: pointer;
}

.opcao:has(input:checked) {
  border-color: var(--azul);
  background: rgba(8, 111, 253, 0.06);
}

.opcao:has(input:focus-visible) {
  outline: 3px solid var(--magenta);
  outline-offset: 2px;
}

.grupo.is-erro .opcao {
  border-color: rgba(224, 36, 94, 0.45);
}

.opcao-outro {
  flex-wrap: wrap;
}

.opcao-outro .outro-texto {
  flex: 1 1 180px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1.5px solid rgba(15, 3, 49, 0.18);
  background: var(--branco);
  font-size: 16px;
}

.opcao-outro .outro-texto:focus {
  outline: none;
  border-color: var(--azul);
  background: var(--branco);
}

.opcao-interesse {
  flex-direction: column;
  align-items: flex-start;
  min-height: 120px;
  padding: 16px;
}

.opcao-interesse svg {
  width: 44px;
  height: 44px;
}

.opcao-interesse span {
  font-weight: 600;
}

.opcao-interesse input {
  position: absolute;
  top: 14px;
  right: 14px;
}

.pre-status {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #fff5f8;
  color: #c81e57;
  font-size: 14px;
  font-weight: 600;
}

.pre-acoes {
  position: sticky;
  bottom: -24px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 28px -24px -24px;
  padding: 16px 24px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, var(--branco) 30%);
}

@media (min-width: 768px) {
  .pre-acoes {
    bottom: -36px;
    margin: 32px -40px -36px;
    padding: 16px 40px 36px;
  }
}

.pre-acoes .btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}

.btn-contorno-escuro {
  border: 1.5px solid rgba(15, 3, 49, 0.2);
  color: var(--ink);
}

.btn-contorno-escuro:hover {
  border-color: var(--ink);
}

.pre-obrigado {
  padding: 40px 8px 16px;
  text-align: center;
}

.numero-sub {
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.35;
  color: rgba(15, 3, 49, 0.55);
}

.numero.is-destaque .numero-sub {
  color: rgba(255, 255, 255, 0.75);
}
