/* ============================================================================
   SUNSET JAZZ — Sistema visual global
   Filosofia: luxo é o que se retira. Silêncio visual, espaço, contenção.
   Paleta restrita, tipografia serifada em display, movimento sentido, não notado.
   ========================================================================== */

/* ---------------------------------------------------------------------------
   1. CUSTOM PROPERTIES
   ------------------------------------------------------------------------- */
:root {
  /* Paleta — única e restrita */
  --preto:        #0A0A0A;
  --preto-90:     rgba(10, 10, 10, 0.90);
  --preto-70:     rgba(10, 10, 10, 0.70);
  --preto-50:     rgba(10, 10, 10, 0.50);
  --off-white:    #F5F0E8;
  --dourado:      #C9A961;
  --cinza-sutil:  #8A8A8A;

  /* Tipografia */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-corpo:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Escala tipográfica fluida (clamp: min, preferido, max) */
  --fs-hero:   clamp(2.6rem, 7vw, 5.5rem);
  --fs-h1:     clamp(2.2rem, 5.5vw, 4rem);
  --fs-h2:     clamp(1.8rem, 4vw, 3rem);
  --fs-h3:     clamp(1.3rem, 2.4vw, 1.9rem);
  --fs-lead:   clamp(1.05rem, 1.7vw, 1.35rem);
  --fs-body:   1rem;
  --fs-small:  0.82rem;
  --fs-micro:  0.72rem;

  /* Escala de espaçamento — múltiplos de 8px */
  --space-1:  0.5rem;   /*  8px */
  --space-2:  1rem;     /* 16px */
  --space-3:  1.5rem;   /* 24px */
  --space-4:  2rem;     /* 32px */
  --space-5:  3rem;     /* 48px */
  --space-6:  4rem;     /* 64px */
  --space-7:  6rem;     /* 96px */
  --space-8:  8rem;     /* 128px */
  --space-9:  11rem;    /* 176px */

  /* Larguras de contenção */
  --w-max:     1280px;
  --w-conteudo: 720px;   /* largura confortável de leitura */
  --w-texto:   58ch;

  /* Movimento */
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
  --dur-lento: 800ms;
  --dur-medio: 500ms;
  --dur-rapido: 300ms;

  /* Header */
  --header-h: 84px;
}

/* ---------------------------------------------------------------------------
   2. RESET / BASE
   ------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--preto);
  color: var(--off-white);
  font-family: var(--font-corpo);
  font-weight: 300;
  font-size: var(--fs-body);
  line-height: 1.7;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.12;
  margin: 0;
}

p { margin: 0 0 var(--space-2); }

/* Seleção de texto */
::selection { background: var(--dourado); color: var(--preto); }

/* Foco visível, customizado e elegante */
:focus-visible {
  outline: 1px solid var(--dourado);
  outline-offset: 4px;
}

/* ---------------------------------------------------------------------------
   3. UTILITÁRIOS DE LAYOUT
   ------------------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--space-3);
}
@media (min-width: 768px) {
  .wrap { padding-inline: var(--space-5); }
}

.wrap--estreito { max-width: var(--w-conteudo); }

.secao {
  padding-block: var(--space-7);
}
@media (min-width: 768px) {
  .secao { padding-block: var(--space-8); }
}

.centro { text-align: center; }
.medida { max-width: var(--w-texto); }
.medida.centro { margin-inline: auto; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------------------
   4. TIPOGRAFIA — CLASSES SEMÂNTICAS
   ------------------------------------------------------------------------- */
.olho {
  font-family: var(--font-corpo);
  font-size: var(--fs-micro);
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: var(--space-3);
  display: inline-block;
}

.display-hero { font-size: var(--fs-hero); letter-spacing: 0.01em; }
.display-1 { font-size: var(--fs-h1); }
.display-2 { font-size: var(--fs-h2); }
.display-3 { font-size: var(--fs-h3); }

.lead {
  font-size: var(--fs-lead);
  font-weight: 300;
  color: var(--off-white);
  line-height: 1.6;
}

.texto-sec { color: var(--cinza-sutil); }

/* Assinatura: fio dourado fino sob títulos */
.fio {
  width: 56px;
  height: 1px;
  background: var(--dourado);
  border: 0;
  margin: var(--space-3) 0;
}
.fio.centro-fio { margin-inline: auto; }

/* ---------------------------------------------------------------------------
   5. BOTÕES / LINKS DE AÇÃO
   ------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-corpo);
  font-size: var(--fs-small);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--off-white);
  padding: var(--space-2) var(--space-4);
  border: 1px solid rgba(201, 169, 97, 0.5);
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--dur-medio) var(--ease),
              border-color var(--dur-medio) var(--ease),
              background-color var(--dur-medio) var(--ease);
}
.btn:hover,
.btn:focus-visible {
  color: var(--preto);
  background: var(--dourado);
  border-color: var(--dourado);
}

/* Link com underline animado */
.link-sub {
  position: relative;
  font-size: var(--fs-small);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--off-white);
  padding-bottom: 3px;
}
.link-sub::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--dourado);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-medio) var(--ease);
}
.link-sub:hover::after,
.link-sub:focus-visible::after { transform: scaleX(1); }

/* ---------------------------------------------------------------------------
   6. HEADER / NAVEGAÇÃO
   ------------------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color var(--dur-medio) var(--ease),
              height var(--dur-medio) var(--ease),
              border-color var(--dur-medio) var(--ease);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: var(--preto-90);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  height: 66px;
  border-bottom-color: rgba(201, 169, 97, 0.18);
}

.header__inner {
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--space-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
@media (min-width: 768px) {
  .header__inner { padding-inline: var(--space-5); }
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--off-white);
  white-space: nowrap;
  line-height: 1;
}
.logo span { color: var(--dourado); }

.nav {
  display: none;
  align-items: center;
  gap: var(--space-3);
}
/* O menu completo (links + CTA + idiomas) precisa de largura confortável;
   abaixo disso usamos o menu mobile elegante para evitar quebra/aperto. */
@media (min-width: 1140px) {
  .nav { display: flex; }
}
.nav a {
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--off-white);
  position: relative;
  padding-bottom: 2px;
  transition: color var(--dur-medio) var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--dourado);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-medio) var(--ease);
}
.nav a:hover, .nav a:focus-visible,
.nav a[aria-current="page"] { color: var(--dourado); }
.nav a:hover::after, .nav a:focus-visible::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.nav__cta {
  margin-left: var(--space-2);
  padding: var(--space-1) var(--space-3);
  border: 1px solid rgba(201, 169, 97, 0.5);
  color: var(--off-white) !important;
  white-space: nowrap;
}
.nav__cta::after { display: none; }
.nav__cta:hover { background: var(--dourado); color: var(--preto) !important; }

/* Botão do menu mobile — traços finos, refinado */
.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 34px; height: 34px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}
@media (min-width: 1140px) { .menu-toggle { display: none; } }
.menu-toggle span {
  display: block; height: 1px; width: 100%;
  background: var(--off-white);
  transition: transform var(--dur-medio) var(--ease),
              opacity var(--dur-rapido) var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay do menu mobile */
.menu-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: var(--preto);
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  gap: var(--space-4);
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-medio) var(--ease),
              visibility var(--dur-medio) var(--ease);
}
.menu-overlay.is-open { opacity: 1; visibility: visible; }
.menu-overlay a {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 6vw, 2.6rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  color: var(--off-white);
  opacity: 0;
  transform: translateY(14px);
  transition: color var(--dur-medio) var(--ease);
}
.menu-overlay.is-open a {
  animation: menuItemIn var(--dur-lento) var(--ease) forwards;
}
.menu-overlay a:hover { color: var(--dourado); }
.menu-overlay a:nth-child(1) { animation-delay: 80ms; }
.menu-overlay a:nth-child(2) { animation-delay: 140ms; }
.menu-overlay a:nth-child(3) { animation-delay: 200ms; }
.menu-overlay a:nth-child(4) { animation-delay: 260ms; }
.menu-overlay a:nth-child(5) { animation-delay: 320ms; }
.menu-overlay .menu-overlay__cta {
  margin-top: var(--space-2);
  font-family: var(--font-corpo);
  font-size: var(--fs-small);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dourado);
}
@keyframes menuItemIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------------------
   7. MÍDIA / IMAGENS (placeholders elegantes até fotos reais)
   ------------------------------------------------------------------------- */
.media {
  position: relative;
  overflow: hidden;
  background-color: #141210;
  /* Placeholder discreto: textura escura sutil enquanto não há foto real */
  background-image:
    radial-gradient(120% 90% at 50% 0%, rgba(201,169,97,0.06), transparent 60%),
    linear-gradient(180deg, #17140f 0%, #0d0b08 100%);
}
.media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--dur-lento) var(--ease);
}
/* Enquanto não houver foto real, oculta o <img> vazio (evita ícone quebrado)
   e mantém apenas o placeholder elegante. Ao preencher o src, a foto aparece. */
.media img:not([src]),
.media img[src=""] { display: none; }
/* Rótulo do placeholder — some quando houver <img> com src real */
.media::after {
  content: attr(data-ph);
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-corpo);
  font-size: var(--fs-micro);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(201, 169, 97, 0.35);
  pointer-events: none;
  text-align: center;
  padding: var(--space-3);
}
.media:has(img[src]:not([src=""]))::after { content: none; }

/* Overlay escuro sobre imagens para legibilidade */
.media__overlay::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--preto-50) 0%, var(--preto-70) 100%);
  transition: background var(--dur-medio) var(--ease);
  z-index: 1;
}

/* Ratios */
.ratio-4-5 { aspect-ratio: 4 / 5; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.ratio-16-9 { aspect-ratio: 16 / 9; }
.ratio-1-1 { aspect-ratio: 1 / 1; }

/* ---------------------------------------------------------------------------
   8. HERO
   ------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* Ken Burns muito sutil */
  animation: kenburns 24s var(--ease) forwards;
}
@keyframes kenburns {
  from { transform: scale(1.0); }
  to   { transform: scale(1.06); }
}
.hero__bg::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.80) 0%, rgba(10,10,10,0.78) 45%, rgba(10,10,10,0.92) 100%);
}
.hero__inner {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--w-max);
  margin-inline: auto;
  padding-inline: var(--space-3);
  padding-top: var(--header-h);
}
@media (min-width: 768px) {
  .hero__inner { padding-inline: var(--space-5); }
}
.hero__titulo {
  font-size: var(--fs-hero);
  max-width: 16ch;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.6);
}
.hero__sub {
  margin-top: var(--space-3);
  max-width: 46ch;
  color: var(--off-white);
  text-shadow: 0 1px 8px rgba(0,0,0,0.5);
}
.hero .olho {
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* Hero menor para páginas internas */
.hero--interno { min-height: 78svh; }

/* Indicador de scroll discreto */
.scroll-hint {
  position: absolute; left: 50%; bottom: var(--space-4);
  transform: translateX(-50%);
  z-index: 2;
  font-size: var(--fs-micro);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cinza-sutil);
  display: flex; flex-direction: column; align-items: center; gap: var(--space-1);
}
.scroll-hint::after {
  content: ""; width: 1px; height: 40px;
  background: linear-gradient(var(--dourado), transparent);
  animation: scrollLine 2.4s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ---------------------------------------------------------------------------
   9. PORTAIS (home → 3 mundos)
   ------------------------------------------------------------------------- */
.portais {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr;
  background: rgba(201, 169, 97, 0.14);
}
@media (min-width: 860px) {
  .portais { grid-template-columns: repeat(3, 1fr); }
}
.portal {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 62svh;
  overflow: hidden;
  background: var(--preto);
}
.portal .media { position: absolute; inset: 0; }
.portal__conteudo {
  position: relative; z-index: 2;
  padding: var(--space-5) var(--space-4);
  width: 100%;
}
.portal__nome {
  font-size: var(--fs-h3);
  letter-spacing: 0.04em;
}
.portal__linha {
  margin-top: var(--space-1);
  color: var(--off-white);
  font-size: var(--fs-body);
  max-width: 34ch;
}
.portal__seta {
  margin-top: var(--space-3);
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--fs-small);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dourado);
  transition: gap var(--dur-medio) var(--ease);
}
.portal:hover .media img { transform: scale(1.05); }
.portal:hover .media__overlay::before {
  background: linear-gradient(180deg, var(--preto-50) 0%, var(--preto-90) 100%);
}
.portal:hover .portal__seta { gap: var(--space-3); }
.portal:focus-within .portal__seta { gap: var(--space-3); }

/* ---------------------------------------------------------------------------
   10. GRID EDITORIAL (texto + imagem alternados)
   ------------------------------------------------------------------------- */
.editorial {
  display: grid;
  gap: var(--space-5);
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .editorial { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .editorial--inverso .editorial__texto { order: 2; }
}
.editorial__texto p { color: var(--off-white); }

/* ---------------------------------------------------------------------------
   11. MOMENTOS / LISTA NUMERADA (casamentos)
   ------------------------------------------------------------------------- */
.momentos {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .momentos { grid-template-columns: repeat(3, 1fr); }
}
.momento__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--dourado);
  line-height: 1;
}
.momento__num::after {
  content: ""; display: block; width: 40px; height: 1px;
  background: rgba(201,169,97,0.4); margin-top: var(--space-2);
}
.momento h3 { margin-top: var(--space-2); font-size: var(--fs-h3); }
.momento p { margin-top: var(--space-1); color: var(--cinza-sutil); }

/* ---------------------------------------------------------------------------
   12. CARDS DE SOLUÇÃO / FORMAÇÕES
   ------------------------------------------------------------------------- */
.solucoes {
  display: grid; gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) { .solucoes { grid-template-columns: repeat(2, 1fr); } }
.solucao {
  border: 1px solid rgba(201,169,97,0.16);
  padding: var(--space-4);
  transition: border-color var(--dur-medio) var(--ease),
              transform var(--dur-medio) var(--ease);
}
.solucao:hover { border-color: rgba(201,169,97,0.45); transform: translateY(-4px); }
.solucao__tag {
  font-size: var(--fs-micro); letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--dourado);
}
.solucao h3 { margin-top: var(--space-2); font-size: var(--fs-h3); }
.solucao p { margin-top: var(--space-2); color: var(--cinza-sutil); }

/* ---------------------------------------------------------------------------
   13. LISTA DE GARANTIAS (corporativo) — bullets sóbrios
   ------------------------------------------------------------------------- */
.garantias { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
@media (min-width: 720px) { .garantias { grid-template-columns: 1fr 1fr; column-gap: var(--space-5); } }
.garantias li {
  padding-left: var(--space-4);
  position: relative;
  color: var(--off-white);
}
.garantias li::before {
  content: ""; position: absolute; left: 0; top: 0.8em;
  width: 18px; height: 1px; background: var(--dourado);
}
.garantias li strong { font-weight: 400; display: block; }
.garantias li span { color: var(--cinza-sutil); font-size: var(--fs-small); }

/* ---------------------------------------------------------------------------
   14. DEPOIMENTOS
   ------------------------------------------------------------------------- */
.depoimento {
  max-width: 40ch;
  margin-inline: auto;
  text-align: center;
}
.depoimento blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 300;
  line-height: 1.4;
  color: var(--off-white);
}
.depoimento blockquote::before { content: "“"; color: var(--dourado); }
.depoimento blockquote::after  { content: "”"; color: var(--dourado); }
.depoimento cite {
  display: block; margin-top: var(--space-3);
  font-family: var(--font-corpo); font-style: normal;
  font-size: var(--fs-small); letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cinza-sutil);
}

/* ---------------------------------------------------------------------------
   15. FAIXA DE AUTORIDADE / NÚMEROS
   ------------------------------------------------------------------------- */
.provas {
  display: grid; gap: var(--space-5);
  grid-template-columns: 1fr;
  text-align: center;
}
@media (min-width: 720px) { .provas { grid-template-columns: repeat(3, 1fr); } }
.prova__num {
  font-family: var(--font-display);
  /* Reduzido e sem quebra para os três números ficarem em UMA linha e os
     rótulos abaixo alinharem entre si (ex.: "Brasil & exterior"). */
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: var(--off-white);
  line-height: 1.1;
  white-space: nowrap;
}
.prova__num span { color: var(--dourado); }
.prova__label {
  margin-top: var(--space-2);
  font-size: var(--fs-small); letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cinza-sutil);
}

/* ---------------------------------------------------------------------------
   16. CTA FINAL
   ------------------------------------------------------------------------- */
.cta-final { text-align: center; }
.cta-final .display-2 { max-width: 20ch; margin-inline: auto; }
.cta-final .lead { max-width: 44ch; margin: var(--space-3) auto var(--space-4); }

/* ---------------------------------------------------------------------------
   17. FOOTER
   ------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid rgba(201,169,97,0.16);
  padding-block: var(--space-6) var(--space-4);
}
.footer__grid {
  display: grid; gap: var(--space-5);
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer .logo { font-size: 1.3rem; }
.footer__desc { margin-top: var(--space-2); color: var(--cinza-sutil); max-width: 34ch; }
.footer h4 {
  font-family: var(--font-corpo); font-size: var(--fs-micro);
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--dourado);
  margin-bottom: var(--space-2); font-weight: 400;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-1); }
.footer a:hover { color: var(--dourado); }
.footer__base {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(138,138,138,0.16);
  display: flex; flex-wrap: wrap; gap: var(--space-2);
  justify-content: space-between;
  font-size: var(--fs-micro); letter-spacing: 0.1em;
  color: var(--cinza-sutil);
}

/* ---------------------------------------------------------------------------
   18. WHATSAPP FLUTUANTE — discreto, alinhado à paleta
   ------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 80;
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--preto-90);
  border: 1px solid var(--dourado);
  color: var(--dourado);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background var(--dur-medio) var(--ease),
              color var(--dur-medio) var(--ease),
              transform var(--dur-medio) var(--ease);
}
.wa-float:hover, .wa-float:focus-visible {
  background: var(--dourado); color: var(--preto);
  transform: translateY(-3px);
}
.wa-float svg { width: 24px; height: 24px; position: relative; z-index: 1; }
/* Halo/pulse muito sutil e lento para atrair o olhar sem gritar */
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--dourado);
  animation: waPulse 3.4s var(--ease) infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.5; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ---------------------------------------------------------------------------
   19. ANIMAÇÃO DE ENTRADA (Intersection Observer)
   ------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--dur-lento) var(--ease),
              transform var(--dur-lento) var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Escalonamento por atraso */
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

/* ---------------------------------------------------------------------------
   20. ACESSIBILIDADE — REDUÇÃO DE MOVIMENTO
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__bg img { animation: none; }
  .wa-float::before { animation: none; display: none; }
}

/* ===========================================================================
   21. SELETOR DE IDIOMA (bandeiras)
   ========================================================================= */
.lang {
  display: inline-flex; align-items: center; gap: var(--space-1);
  margin-left: var(--space-2);
}
.lang a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 16px; border-radius: 2px; overflow: hidden;
  opacity: 0.5; transition: opacity var(--dur-medio) var(--ease);
  outline-offset: 3px;
}
.lang a:hover, .lang a[aria-current="true"] { opacity: 1; }
.lang a[aria-current="true"] { box-shadow: 0 0 0 1px var(--dourado); }
.lang svg { width: 100%; height: 100%; display: block; }
.lang a { background-size: cover; background-position: center; background-repeat: no-repeat; }
.flag-br { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect width='28' height='20' fill='%23009b3a'/%3E%3Cpath d='M14 2 26 10 14 18 2 10Z' fill='%23fedf00'/%3E%3Ccircle cx='14' cy='10' r='4' fill='%23002776'/%3E%3C/svg%3E"); }
.flag-en { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect width='28' height='20' fill='%23012169'/%3E%3Cpath d='M0 0 28 20M28 0 0 20' stroke='%23fff' stroke-width='4'/%3E%3Cpath d='M0 0 28 20M28 0 0 20' stroke='%23C8102E' stroke-width='2'/%3E%3Cpath d='M14 0V20M0 10H28' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M14 0V20M0 10H28' stroke='%23C8102E' stroke-width='3.5'/%3E%3C/svg%3E"); }
.flag-es { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect width='28' height='20' fill='%23AA151B'/%3E%3Crect y='5' width='28' height='10' fill='%23F1BF00'/%3E%3C/svg%3E"); }
/* Versão dentro do menu mobile */
.menu-overlay .lang { margin: var(--space-3) 0 0; gap: var(--space-2); }
.menu-overlay .lang a { width: 34px; height: 23px; opacity: 0.7; }

/* ===========================================================================
   22. TICKER / FAIXA DE MARCAS (marquee sóbrio)
   ========================================================================= */
.marcas {
  border-block: 1px solid rgba(201,169,97,0.14);
  padding-block: var(--space-4);
  overflow: hidden;
}
.marcas__titulo {
  text-align: center; margin-bottom: var(--space-4);
  font-size: var(--fs-micro); letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--dourado);
}
.marcas__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marcas__track {
  display: flex; width: max-content; gap: 0;
  animation: ticker 42s linear infinite;
}
.marcas__group { display: flex; }
.marcas:hover .marcas__track { animation-play-state: paused; }
.marcas__item {
  display: inline-flex; align-items: center; gap: var(--space-4);
  padding-inline: var(--space-4);
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  letter-spacing: 0.06em;
  color: var(--off-white);
  opacity: 0.72;
}
.marcas__item::after { content: "·"; color: var(--dourado); opacity: 0.7; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  /* Sem movimento: vira uma grade estática, centrada, sem clipping. */
  .marcas__track { animation: none; width: 100%; }
  .marcas__viewport { -webkit-mask-image: none; mask-image: none; }
  .marcas__group:nth-child(2) { display: none; } /* remove a duplicata do loop */
  .marcas__group { flex-wrap: wrap; justify-content: center; width: 100%; }
  .marcas__item { padding-block: 4px; }
}

/* ===========================================================================
   23. GALERIA / SLIDESHOW (crossfade, dots, setas finas, swipe)
   ========================================================================= */
.galeria { position: relative; }
.galeria__palco {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  background-color: #141210;
}
@media (min-width: 768px) { .galeria__palco { aspect-ratio: 16 / 8; } }
.galeria__slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 900ms var(--ease);
  pointer-events: none;
}
.galeria__slide.is-active { opacity: 1; pointer-events: auto; }
.galeria__slide .media { position: absolute; inset: 0; }
.galeria__legenda {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  padding: var(--space-4);
  font-size: var(--fs-small); letter-spacing: 0.1em;
  color: var(--off-white);
  background: linear-gradient(0deg, var(--preto-70), transparent);
  width: 100%;
}
/* Setas finas */
.galeria__seta {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: var(--preto-50); border: 1px solid rgba(201,169,97,0.4);
  color: var(--off-white); cursor: pointer; border-radius: 50%;
  transition: background var(--dur-medio) var(--ease), color var(--dur-medio) var(--ease);
}
.galeria__seta:hover { background: var(--dourado); color: var(--preto); }
.galeria__seta--prev { left: var(--space-3); }
.galeria__seta--next { right: var(--space-3); }
.galeria__seta svg { width: 16px; height: 16px; }
/* Dots */
.galeria__dots {
  display: flex; gap: var(--space-1); justify-content: center;
  margin-top: var(--space-3);
}
.galeria__dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0;
  background: transparent; border: 1px solid rgba(201,169,97,0.5);
  cursor: pointer; transition: background var(--dur-medio) var(--ease);
}
.galeria__dot.is-active { background: var(--dourado); border-color: var(--dourado); }

/* ===========================================================================
   24. VÍDEO — FACADE (lite-embed): thumbnail + play elegante
   ========================================================================= */
.video-facade {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  cursor: pointer; background-color: #141210;
  border: 1px solid rgba(201,169,97,0.16);
}
.video-facade .media { position: absolute; inset: 0; }
.video-facade::after { /* leve escurecimento para o play sobressair */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--preto-50);
  transition: background var(--dur-medio) var(--ease);
}
.video-facade:hover::after { background: var(--preto-70); }
.video-facade__play {
  position: absolute; inset: 0; z-index: 2; margin: auto;
  width: 76px; height: 76px; border-radius: 50%;
  border: 1px solid var(--dourado); background: var(--preto-50);
  color: var(--dourado);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-medio) var(--ease), color var(--dur-medio) var(--ease),
              transform var(--dur-medio) var(--ease);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.video-facade:hover .video-facade__play { background: var(--dourado); color: var(--preto); transform: scale(1.06); }
.video-facade__play svg { width: 22px; height: 22px; margin-left: 3px; }
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 5; }

/* Grade de vídeos (página Vídeos) — vários video-facade lado a lado */
.video-grid { display: grid; gap: var(--space-5); grid-template-columns: 1fr; }
@media (min-width: 860px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
.video-card__legenda { margin-top: var(--space-2); text-align: center; }
.video-card__legenda strong { display: block; font-weight: 400; color: var(--off-white); }
.video-card__legenda span {
  display: block; margin-top: 2px;
  font-size: var(--fs-micro); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--dourado);
}

/* ===========================================================================
   25. FORMULÁRIO DE CAPTURA DE LEADS
   ========================================================================= */
.form-lead { max-width: 640px; margin-inline: auto; }
.form-grid { display: grid; gap: var(--space-3); grid-template-columns: 1fr; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; }
  .form-col-2 { grid-column: 1 / -1; } }
.campo { display: flex; flex-direction: column; gap: 6px; }
.campo label {
  font-size: var(--fs-micro); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cinza-sutil);
}
.campo input, .campo select, .campo textarea {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid rgba(201,169,97,0.3);
  color: var(--off-white);
  font-family: var(--font-corpo); font-size: 1rem; font-weight: 300;
  padding: 10px 2px;
  transition: border-color var(--dur-medio) var(--ease);
}
.campo textarea { min-height: 92px; resize: vertical; }
.campo select { cursor: pointer; }
.campo select option { background: var(--preto); color: var(--off-white); }
.campo input:focus, .campo select:focus, .campo textarea:focus {
  outline: none; border-bottom-color: var(--dourado);
}
.campo input::placeholder, .campo textarea::placeholder { color: rgba(138,138,138,0.6); }
.campo--erro input, .campo--erro select, .campo--erro textarea { border-bottom-color: #b06a6a; }
.campo__msg { font-size: var(--fs-micro); color: #c87f7f; min-height: 1em; letter-spacing: 0.04em; }
/* honeypot escondido */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.form-actions { margin-top: var(--space-4); text-align: center; }
.form-nota { margin-top: var(--space-2); font-size: var(--fs-micro); color: var(--cinza-sutil); text-align: center; }
.btn[disabled] { opacity: 0.5; cursor: default; pointer-events: none; }
/* Estados de resposta */
.form-resposta { text-align: center; opacity: 0; transform: translateY(10px);
  transition: opacity var(--dur-lento) var(--ease), transform var(--dur-lento) var(--ease); }
.form-resposta.is-visible { opacity: 1; transform: none; }
.form-resposta .display-3 { color: var(--off-white); }
.is-hidden { display: none !important; }

/* ===========================================================================
   26. UTILITÁRIOS
   ========================================================================= */
.borda-topo { border-top: 1px solid rgba(201,169,97,0.14); }

/* ===========================================================================
   27. BANNER DE CONSENTIMENTO (LGPD/GDPR) — discreto, no tom da marca
   ========================================================================= */
.consent {
  position: fixed;
  left: 50%;
  bottom: clamp(12px, 3vw, 24px);
  transform: translate(-50%, 20px);
  z-index: 200;
  width: min(680px, calc(100vw - 32px));
  background: var(--preto-90);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-medio) var(--ease),
              transform var(--dur-medio) var(--ease),
              visibility var(--dur-medio) var(--ease);
}
.consent.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.consent__inner {
  display: flex; flex-direction: column; gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
}
@media (min-width: 640px) {
  .consent__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}
.consent__msg {
  margin: 0; font-size: var(--fs-small); line-height: 1.6; color: var(--off-white);
  max-width: 46ch;
}
.consent__priv { display: block; color: var(--cinza-sutil); font-size: var(--fs-micro); margin-top: 4px; }
.consent__acoes { display: flex; gap: var(--space-2); flex-shrink: 0; }
.consent__btn {
  font-family: var(--font-corpo); font-size: var(--fs-micro); font-weight: 400;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 10px var(--space-3);
  border: 1px solid var(--dourado); background: var(--dourado); color: var(--preto);
  cursor: pointer; white-space: nowrap;
  transition: background var(--dur-medio) var(--ease), color var(--dur-medio) var(--ease);
}
.consent__btn:hover { background: transparent; color: var(--dourado); }
.consent__btn--ghost { background: transparent; color: var(--off-white); border-color: rgba(138,138,138,0.4); }
.consent__btn--ghost:hover { border-color: var(--off-white); color: var(--off-white); }
@media (prefers-reduced-motion: reduce) {
  .consent { transition: opacity 0.001ms; transform: translate(-50%, 0); }
}
