/* =============================================================================
   OBSERVARE — style.css (VERSÃO PREMIUM)
   ============================================================================= */

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
  border-left: 1px solid var(--border);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-alt);
  border-radius: 8px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold-soft);
}

:root {
  /* Cores base — verde-oliva escuro + dourado (identidade grega/Atenas) */
  --bg: #0A0F0A;
  --bg-soft: #0E150F;
  --surface: #141C15;
  --surface-alt: #1C2B1E;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #EEF1F5;
  --text-muted: #93A0B4;
  --text-faint: #5C6779;
  --gold: #C9A567;
  --gold-bright: #E4C489;
  --gold-soft: rgba(201, 165, 103, 0.12);
  --purple: #E9E6DC;
  --purple-bright: #FFFFFF;
  --purple-soft: rgba(255, 255, 255, 0.14);
  --blue: #5E8C63;
  --blue-soft: rgba(94, 140, 99, 0.14);
  --danger: #E0654F;
  --ok: #4FAE7A;

  /* Tipografia */
  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-body: "Space Grotesk", sans-serif;
  --font-mono: "Space Grotesk", sans-serif;

  /* Layout */
  --max-width: 1200px;
  --radius: 4px;
  --radius-lg: 12px;
  --transition: 300ms cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}

.section {
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--gold);
  transition: width 600ms ease;
}

.section-title {
  font-size: clamp(30px, 4.5vw, 46px);
  max-width: 720px;
  background: linear-gradient(135deg, var(--text) 0%, rgba(238,241,245,0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Modificador pra títulos que precisam ser menores que o padrão da seção
   (ex.: "Nossas equipes em ação" na galeria). */
.section-title-sm {
  font-size: clamp(22px, 2.8vw, 30px);
}

.section-lead {
  color: var(--text-muted);
  max-width: 640px;
  font-size: 17px;
  margin-top: 16px;
  line-height: 1.7;
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* =============================================================================
   PRELOADER PREMIUM
   ============================================================================= */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  transition: opacity 600ms ease, visibility 600ms ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: min(100%, 560px);
  padding: 0 24px;
  box-sizing: border-box;
}

.preloader-owl {
  width: 132px;
  height: 154px;
  display: block;
  animation: owlFloat 3.2s ease-in-out infinite;
  filter: drop-shadow(0 0 24px rgba(201,165,103,0.25));
}
.preloader-owl svg { width: 100%; height: 100%; display: block; }

@keyframes owlFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* pálpebras caindo — piscada da coruja */
.owl-lid,
.ov-lid { transform-box: fill-box; transform-origin: center top; transform: scaleY(0); }
.preloader-owl .owl-lid-l { animation: owlBlink 4.2s ease-in-out infinite; }
.preloader-owl .owl-lid-r { animation: owlBlink 4.2s ease-in-out infinite; }
@keyframes owlBlink {
  0%, 92%, 100% { transform: scaleY(0); }
  95%           { transform: scaleY(1); }
}

/* pupilas olhando de um lado pro outro */
.preloader-owl .owl-pupil {
  animation: owlGaze 5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes owlGaze {
  0%, 100% { transform: translateX(-2px); }
  50%      { transform: translateX(2px); }
}

.preloader-tag {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35em;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: .75;
  margin-top: -4px;
  text-align: center;
  max-width: min(92vw, 560px);
  white-space: normal;
}

@media (max-width: 768px) {
  .preloader-inner {
    gap: 14px;
    padding: 0 16px;
  }

  .preloader-tag {
    font-size: 10px;
    letter-spacing: 0.16em;
    max-width: min(90vw, 360px);
    line-height: 1.5;
  }
}

@media (max-width: 480px) {
  .preloader-logo {
    font-size: 24px;
    letter-spacing: 0.12em;
  }

  .preloader-meander {
    width: 180px;
  }

  .preloader-bar {
    width: min(78vw, 200px);
  }

  .preloader-tag {
    font-size: 9px;
    letter-spacing: 0.12em;
    max-width: 100%;
  }
}

.preloader-meander {
  display: block;
  width: 220px;
  height: 14px;
  background-repeat: repeat-x;
  background-size: 36px 14px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='14' viewBox='0 0 36 14'><path d='M0 2 H9 V11 H18 V2 H27 V11 H36' fill='none' stroke='%23C9A567' stroke-width='1.6'/></svg>");
  opacity: .55;
}

.preloader-logo {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: linear-gradient(100deg, var(--gold) 25%, var(--purple-bright) 50%, var(--gold) 75%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  animation: logoReveal 700ms ease-out 350ms forwards, logoShimmer 3.2s linear 1050ms infinite;
}

@keyframes logoReveal {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes logoShimmer {
  to { background-position: -220% center; }
}

.preloader-count {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text-muted);
  letter-spacing: 0.1em;
}

.preloader-bar {
  position: relative;
  z-index: 1;
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
  margin-top: 32px;
  overflow: hidden;
}

.preloader-bar span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--purple-bright));
  border-radius: 1px;
  transition: width 100ms linear;
}

/* =============================================================================
   CURSOR CUSTOMIZADO PREMIUM
   ============================================================================= */
.has-custom-cursor * { cursor: none !important; }
.has-custom-cursor .cookie-banner,
.has-custom-cursor .cookie-banner *,
.has-custom-cursor .consent-modal-overlay,
.has-custom-cursor .consent-modal-overlay *,
.has-custom-cursor .consent-modal,
.has-custom-cursor .consent-modal * {
  cursor: auto !important;
}

.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: opacity 150ms ease;
  transform: translate(-50%, -50%);
  will-change: transform;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(201,165,103,0.4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9997;
  transform: translate(-50%, -50%);
  transition: width 200ms ease, height 200ms ease, border-color 200ms ease, background 200ms ease;
  will-change: transform;
}

.cursor-ring.is-hover {
  width: 56px;
  height: 56px;
  border-color: var(--purple-bright);
  background: rgba(255,255,255,0.12);
  mix-blend-mode: screen;
}

.cursor-ring.is-click {
  width: 42px;
  height: 42px;
  border-color: var(--gold-bright);
  background: rgba(228,196,137,0.2);
}

/* =============================================================================
   BOTÕES PREMIUM E LINKS
   ============================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 600ms ease;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  color: #14100A;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(201,165,103,0.22);
}

.btn-primary:hover {
  box-shadow: 0 6px 26px rgba(201,165,103,0.3), 0 0 32px rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  border-color: var(--purple-bright);
  color: var(--purple-bright);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(255,255,255,0.16);
}

.btn-block { width: 100%; }

.btn-sm { 
  padding: 11px 20px; 
  font-size: 12px; 
}

/* Link Transition */
.link-transition-overlay {
  position: fixed;
  inset: 0;
  background: var(--gold);
  z-index: 10000;
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 0.6s cubic-bezier(0.7, 0, 0.3, 1);
  pointer-events: none;
}
.link-transition-overlay.is-active {
  clip-path: circle(150% at 50% 50%);
}

/* =============================================================================
   HEADER PREMIUM
   ============================================================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 32px;
  background: rgb(255, 255, 255);
  border-bottom: 1px solid transparent;
  transition: all 400ms ease;
}

.site-header.is-scrolled {
  background: rgb(255, 255, 255);
  border-bottom-color: rgba(0,0,0,0.08);
  padding: 2px 32px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

.logo {
  font-family: var(--font-display);
  font-size: 2px;
  font-weight: 700;
  letter-spacing: .01em;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

/* Logomarca oficial (arquivo de imagem), no lugar do texto digitado */
.logo-mark {
  width: 85px;
  height: 100px;
  flex-shrink: 0;
  display: block;
  animation: logoSpin 6s ease-in-out infinite;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.4);   /* aumenta 40% sem afetar o container */
  transform-origin: center; /* mantém centralizado */
}

.logo-wordmark {
  height: 140px;
  width: auto;
  max-width: 497px;
  display: block;
  object-fit: contain;
}

/* Logo combinada (ícone + nome em uma única imagem), usada no header */
.logo-combined {
  height: 76px;
  width: auto;
  max-width: 250px;
  display: block;
  object-fit: contain;
}

/* Ícone único (versão branca) usado sozinho no footer, sobre fundo escuro */
.footer-logo-icon {
  height: 84px;
  width: auto;
  max-width: 280px;
  display: block;
  object-fit: contain;
}

@keyframes logoSpin {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%      { transform: translateY(-2px) rotate(3deg); }
}

.logo-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-faint);
  letter-spacing: .14em;
  display: block;
  margin-top: 2px;
}

.main-nav ul {
  display: flex;
  gap: 36px;
  align-items: center;
  margin-left: 96px;
}

.main-nav a {
  font-size: 17px;
  font-weight: 500;
  color: #3A4238;
  transition: color var(--transition);
  position: relative;
  padding: 4px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width var(--transition);
}

.main-nav a:hover {
color: var(--gold);
}

.main-nav a:hover::after {
  width: 100%;
}

.main-nav a.is-current {
  color: var(--gold);
}

.main-nav a.is-current::after {
  width: 100%;
background: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* O botão "Solicitar Orçamento" do cabeçalho fica sobre fundo branco, então
   usamos um dourado mais escuro/saturado e um pouco maior para se destacar. */
.header-actions .btn-primary {
  background: linear-gradient(135deg, #A67C3D 0%, #C9A567 100%);
  box-shadow: 0 4px 18px rgba(166,124,61,0.4);
  padding: 13px 24px;
  font-size: 13px;
}

.header-actions .btn-primary:hover {
  box-shadow: 0 6px 24px rgba(166,124,61,0.48);
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: all var(--transition);
}

.hamburger:hover {
  border-color: var(--gold);
}

.hamburger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: var(--text);
  transition: all 300ms ease;
}

.hamburger span:nth-child(1) { top: 14px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 28px; }

.hamburger.is-open span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.hamburger.is-open span:nth-child(3) {
  top: 21px;
  transform: rotate(-45deg);
}

/* =============================================================================
   HERO PREMIUM
   ============================================================================= */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 1000px 700px at 75% 20%, rgba(94,140,99,0.18), transparent 65%),
    radial-gradient(ellipse 700px 550px at 15% 10%, rgba(255,255,255,0.10), transparent 65%),
    radial-gradient(ellipse 800px 600px at 8% 85%, rgba(201,165,103,0.10), transparent 65%),
    linear-gradient(180deg, #0A0F0A 0%, #0B120C 100%);
}

/* Essa grade animada fica escondida atrás da foto de tela cheia do hero
   (.hero-fullbleed), então foi desligada aqui pra não gastar processamento
   à toa renderizando uma coisa que não aparece. */
.hero::before {
  display: none;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(72px, 72px); }
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  padding-left: clamp(24px, 8vw, 120px);
  padding-right: clamp(24px, 8vw, 120px);
  padding-top: 12px;
  padding-bottom: 12px;
}
@media (max-width: 900px) {
  .hero-inner { padding-left: 24px; padding-right: 24px; }
}

/* Layout de duas colunas mais respirado — texto do hero à esquerda e,
   ao lado, um pequeno card com "5 linhas de negócio". Os números de
   vagas preenchidas saíram daqui e foram para a seção "Nossos números"
   mais abaixo, como um gráfico. */
.hero-inner-split {
  display: grid;
  grid-template-columns: 1.5fr 0.6fr;
  gap: 28px;
  align-items: center;
  padding-top: 12px;
  padding-bottom: 12px;
}
@media (max-width: 900px) {
  .hero-inner-split { grid-template-columns: 1fr; gap: 40px; }
}

.hero-text {
  max-width: 720px;
}

.hero-title {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.22;
  margin-top: 6px;
background: linear-gradient(135deg, 
  var(--text) 0%, 
  rgba(238,241,245,0.9) 40%,
  var(--purple-bright) 100%
);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-title .accent,
.hero-fullbleed-title .accent {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 16.5px;
  font-weight: 400;
  max-width: 540px;
  margin-top: 22px;
  line-height: 1.75;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 52px;
  flex-wrap: wrap;
}

.hero-side {
  display: flex;
  justify-content: center;
}

.hero-side-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  max-width: 220px;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}

.hero-side-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}

/* =============================================================================
   HERO REFORMULADO — mensagem de boas-vindas curta + vídeo em loop embaixo
   ============================================================================= */
.hero-text-welcome {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-text-welcome .eyebrow {
  justify-content: center;
}

.hero-title-welcome {
  font-size: clamp(30px, 3.6vw, 46px);
}

.hero-text-welcome .hero-cta-row {
  justify-content: center;
  margin-top: 32px;
}

/* =============================================================================
   BANNER CHEIO (BORDA A BORDA) DO HERO
   Foto de fundo trocando (fosca/escurecida), mensagem no meio meio
   transparente, estrelinhas decorativas por cima e bolinhas ("lacunas")
   embaixo indicando qual foto está ativa.
   ============================================================================= */
.hero-fullbleed {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  height: 100vh;
  height: 100svh;
  min-height: min(560px, 100svh);
  overflow: hidden;
  z-index: 2;
}

.hero-fullbleed-track { position: absolute; inset: 0; }

/* Sem filter aqui de propósito — até o saturate/brightness custam
   processamento numa imagem de tela cheia. O efeito "fosco" vem 100% da
   camada escura por cima (.hero-fullbleed-overlay), que é de graça. */
.hero-fullbleed-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity;
  transition: opacity 1.4s ease;
}

.hero-fullbleed-slide.is-active {
  opacity: 1;
}

/* Camada escura por cima da foto — é o que deixa ela "fosca" e garante
   que o texto do meio fique legível em qualquer imagem que for usada. */
.hero-fullbleed-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 50% 42%, rgba(10,15,10,.42), rgba(10,15,10,.78) 100%),
    linear-gradient(180deg, rgba(10,15,10,.62) 0%, rgba(10,15,10,.34) 30%, rgba(10,15,10,.74) 100%);
}

/* Estrelinhas espalhadas, piscando devagar — mesmo espírito do efeito já
   usado no preloader. Pra reposicionar, mude o top/left de cada span. */
.hero-fullbleed-stars { position: absolute; inset: 0; pointer-events: none; }

.hero-fullbleed-stars span {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--gold-bright);
  box-shadow: 0 0 6px 1px rgba(228,196,137,.85);
  opacity: .3;
  animation: heroFullbleedTwinkle 3.6s ease-in-out infinite;
}
.hero-fullbleed-stars span:nth-child(1) { top: 14%; left: 8%;  animation-delay: 0s; }
.hero-fullbleed-stars span:nth-child(2) { top: 22%; left: 88%; animation-delay: .4s; }
.hero-fullbleed-stars span:nth-child(3) { top: 68%; left: 5%;  animation-delay: .8s; }
.hero-fullbleed-stars span:nth-child(4) { top: 78%; left: 92%; animation-delay: 1.2s; }
.hero-fullbleed-stars span:nth-child(5) { top: 10%; left: 46%; animation-delay: 1.6s; }
.hero-fullbleed-stars span:nth-child(6) { top: 85%; left: 40%; animation-delay: 2s; }
.hero-fullbleed-stars span:nth-child(7) { top: 34%; left: 16%; animation-delay: 2.4s; }
.hero-fullbleed-stars span:nth-child(8) { top: 40%; left: 80%; animation-delay: 2.8s; }
.hero-fullbleed-stars span:nth-child(9) { top: 58%; left: 94%; animation-delay: 3.2s; }
.hero-fullbleed-stars span:nth-child(10){ top: 92%; left: 60%; animation-delay: 1.9s; }

@keyframes heroFullbleedTwinkle {
  0%, 100% { opacity: .2; transform: scale(.7); }
  50%      { opacity: 1;  transform: scale(1.3); }
}

.hero-fullbleed-message {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(76px, 11svh, 112px) 24px clamp(48px, 8svh, 80px);
  z-index: 3;
}

.hero-fullbleed-message .eyebrow { justify-content: center; opacity: .85; }

.hero-fullbleed-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(38px, 6.4vw, 84px);
  line-height: 1.14;
  color: rgba(255,255,255,.9);
  margin-top: 16px;
  max-width: 1080px;
}

.hero-fullbleed-sub {
  color: rgba(255,255,255,.65);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  max-width: 620px;
  margin-top: 22px;
}

/* Bolinhas indicadoras — cada uma é uma "lacuna" vazia até a foto dela
   ficar ativa, quando enche com a cor dourada. */
.hero-fullbleed-dots {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}

.hero-fullbleed-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.55);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.hero-fullbleed-dot.is-active {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  transform: scale(1.2);
}

@media (max-width: 640px) {
  .hero-fullbleed {
    margin-top: 0;
    height: 100vh;
    height: 100svh;
    min-height: min(480px, 100svh);
  }

  .hero-fullbleed-message {
    padding-inline: 18px;
  }

  .hero-fullbleed-title {
    font-size: clamp(30px, 10vw, 48px);
    line-height: 1.1;
  }
}

/* =============================================================================
   TELAS BAIXAS — notebooks com altura menor (ex.: 1366x768, 1440x816,
   1536x864, inclusive os mais estreitos/finos de 13") e qualquer janela
   curta. Até aqui o site só reagia à LARGURA (max-width); essas regras
   reagem à ALTURA também, pra nada ficar cortado ou espremido. Sem trava
   de largura mínima, então também ajuda notebooks mais finos e tablets
   deitados, além de somar com a regra de celular quando os dois batem.
   ============================================================================= */
@media (max-height: 800px) {
  .hero {
    min-height: 0;
    padding: 0;
  }

  .hero-fullbleed {
    height: 100vh;
    height: 100svh;
    min-height: min(380px, 100svh);
  }

  .hero-fullbleed-title {
    font-size: clamp(28px, min(5vw, 7svh), 58px);
    line-height: 1.08;
  }

  .hero-fullbleed-sub {
    margin-top: 12px;
  }

  .hero-fullbleed-dots {
    bottom: 12px;
  }

  .preloader-stage {
    height: min(360px, 54vh);
    margin-bottom: 2px;
  }

  .preloader-orbit {
    width: 150px;
    height: 150px;
  }

  .preloader-mark {
    width: 70px;
    height: 70px;
  }

  .preloader-owl {
    width: 92px;
    height: 108px;
  }

  .preloader-inner {
    gap: 8px;
  }

  .preloader-bar {
    margin-top: 16px;
  }
}

/* Em notebooks baixos e largos, não existe um ponto de corte do cover que
   preserve cabeça e pés ao mesmo tempo. Mantemos o cover preenchendo o fundo
   e repetimos a foto inteira, centralizada, sobre ele. */
@media (max-height: 800px) and (min-aspect-ratio: 16 / 9) {
  .hero-fullbleed-slide {
    background-position: center;
  }

  .hero-fullbleed-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
  }
}

/* Notebooks ainda mais baixos (ex.: 720p, janelas maximizadas com barra
   de tarefas ocupando espaço) — aperta mais um pouco. */
@media (max-height: 660px) {
  .hero {
    padding: 0;
  }

  .hero-fullbleed {
    height: 100vh;
    height: 100svh;
    min-height: min(320px, 100svh);
  }

  .hero-fullbleed-title {
    font-size: clamp(24px, min(4.4vw, 7svh), 46px);
  }

  .hero-fullbleed-message .eyebrow {
    font-size: 10px;
  }

  .hero-fullbleed-message .hero-cta-row {
    margin-top: 18px !important;
  }

  .hero-title-welcome {
    font-size: clamp(24px, 3vw, 34px);
  }

  .preloader-stage {
    height: min(280px, 46vh);
  }

  .preloader-orbit {
    width: 118px;
    height: 118px;
    top: 4%;
  }

  .preloader-mark {
    width: 64px;
    height: 64px;
  }

  .preloader-owl {
    width: 78px;
    height: 92px;
  }

  .preloader-tag {
    display: none;
  }
}

/* Telas bem curtas (celular deitado, janelas bem pequenas) — corta o
   supérfluo pra caber tudo sem cortar nada. */
@media (max-height: 480px) {
  .preloader-stage {
    height: min(200px, 42vh);
    margin-bottom: 0;
  }

  .preloader-orbit {
    width: 90px;
    height: 90px;
  }

  .preloader-mark {
    width: 48px;
    height: 48px;
  }

  .preloader-owl {
    display: none;
  }

  .preloader-inner {
    gap: 4px;
  }

  .preloader-bar {
    margin-top: 10px;
  }
}

.hero-side-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-top: 14px;
  line-height: 1.5;
}

.hero-stats {
    display: flex;
    justify-content: space-between; /* Distribui os 3 itens de forma igual */
    align-items: center;
    flex-wrap: wrap; /* Garante que os itens não sejam esmagados */
    width: 100%;
}

.hero-stat {
    flex: 1 1 30%; /* Dá a cada bloco ~1/3 do espaço disponível */
    min-width: 150px; /* Impede o colapso do layout em telas pequenas */
    text-align: center;
}

.hero-stat:hover {
  background: rgba(255,255,255,0.04);
}

.hero-stat .num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--gold);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.hero-stat .label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-top: 8px;
}

/* "Pessoas vendo agora" removida — cards agora mostram números reais
   de vagas preenchidas (2025 / 2026), sem indicador "ao vivo". */

/* =============================================================================
   GRÁFICO DE CRESCIMENTO (seção "Nossos números")
   Painel estilo dashboard: grade de fundo, curva suave ascendente com
   brilho, ponto final pulsando, linhas-guia até os eixos e legenda com
   os dados alinhada embaixo, à esquerda do gráfico.
   ============================================================================= */
.growth-chart {
  margin-top: 0;
  max-width: 1040px;
  width: 100%;
}

/* Linha com o card "5 Frentes de negócio" ao lado do gráfico inteiro
   (gráfico + dados por ano), não mais espremido dentro da coluna de
   dados. Em telas estreitas empilha, com o card no topo. */
.growth-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 28px;
  margin-top: 48px;
}

.growth-side-card {
  flex: 0 0 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.03);
}

.growth-side-card .hero-side-num {
  font-size: 76px;
}

.growth-side-card .hero-side-label {
  font-size: 15px;
  margin-top: 4px;
}

@media (max-width: 640px) {
  .growth-layout { margin-top: 32px; }
  .growth-side-card { flex: 1 1 100%; padding: 24px; }
}

.growth-chart-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--gold-soft);
  color: var(--gold-bright);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .04em;
  width: fit-content;
  margin-bottom: 28px;
}

.growth-chart-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.growth-chart-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0)),
    var(--surface);
  padding: 34px 34px 32px;
}

.growth-chart-graph {
  width: 100%;
}

/* Legenda ao lado do gráfico nas telas maiores; nas telas menores ela
   continua embaixo (comportamento padrão em bloco). */
@media (min-width: 760px) {
  .growth-chart-panel {
    display: flex;
    align-items: center;
    gap: 36px;
  }
  .growth-chart-graph { flex: 1 1 auto; min-width: 0; }
  .growth-chart-data { flex: 0 0 290px; margin-top: 0; }
}

.growth-line-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.growth-grid line {
  stroke: rgba(255,255,255,0.06);
  stroke-width: 1;
}

.growth-grid .growth-axis {
  stroke: rgba(255,255,255,0.14);
}

.growth-drop-line {
  stroke: rgba(201,165,103,0.25);
  stroke-width: 1;
  stroke-dasharray: 3 5;
  opacity: 0;
  transition: opacity .8s ease .9s;
}

.growth-chart.is-visible .growth-drop-line {
  opacity: 1;
}

.growth-axis-label {
  font-family: var(--font-mono);
  font-size: 12px;
  fill: #93A0B4;
  letter-spacing: .06em;
  opacity: 0;
  transition: opacity .6s ease 1.2s;
}

.growth-chart.is-visible .growth-axis-label {
  opacity: 1;
}

.growth-line-area {
  opacity: 0;
  transition: opacity 1.1s ease 0.5s;
}

.growth-chart.is-visible .growth-line-area {
  opacity: 1;
}

.growth-line-path {
  stroke-dasharray: 640;
  stroke-dashoffset: 640;
  transition: stroke-dashoffset 1.5s cubic-bezier(.16,1,.3,1);
}

.growth-line-glow {
  opacity: .55;
}

.growth-chart.is-visible .growth-line-path {
  stroke-dashoffset: 0;
}

.growth-line-dot {
  fill: #9C7C46;
  stroke: var(--bg-soft);
  stroke-width: 3;
  opacity: 0;
  transform-origin: center;
  transition: opacity .5s ease, transform .5s ease;
}

.growth-line-dot-end {
  fill: #E4C489;
}

.growth-chart.is-visible .growth-line-dot {
  opacity: 1;
}

.growth-chart.is-visible .growth-line-dot-end {
  transition-delay: 1.3s;
}

/* Anéis pulsando ao redor do ponto final, reforçando o "crescimento atual" */
.growth-pulse-ring {
  fill: none;
  stroke: #E4C489;
  stroke-width: 2;
  opacity: 0;
  transform-origin: 510px 48px;
}

.growth-chart.is-visible .growth-pulse-ring {
  animation: growthPulse 2.6s ease-out 1.4s infinite;
}

.growth-chart.is-visible .growth-pulse-ring-2 {
  animation-delay: 2.7s;
}

@keyframes growthPulse {
  0%   { opacity: .55; transform: scale(1); }
  100% { opacity: 0; transform: scale(3.2); }
}

@media (prefers-reduced-motion: reduce) {
  .growth-pulse-ring { animation: none !important; opacity: 0 !important; }
}

.growth-chart-data {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 32px;
  width: fit-content;
}

.growth-data-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.growth-data-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  margin-top: 10px;
  flex-shrink: 0;
}

.growth-data-value {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.growth-data-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 8px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .growth-chart-panel { padding: 24px 18px 22px; }
}

.hero-badge-card {
  grid-column: 1 / -1;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.hero-badge-card .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 6px rgba(79,174,122,0.2);
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(79,174,122,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(79,174,122,0.1); }
}

.hero-badge-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.hero-badge-card strong {
  color: var(--text);
  font-weight: 600;
}

/* =============================================================================
   SELO GIRATÓRIO PREMIUM
   ============================================================================= */
.spin-badge {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  width: 140px;
  height: 140px;
  z-index: 3;
  transition: transform 300ms ease;
}

.spin-badge:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Variante compacta usada no cabeçalho, no lugar do botão "Solicitar Orçamento" */
.spin-badge-header {
  position: relative;
  right: auto;
  top: auto;
  transform: none;
  width: 64px;
  height: 64px;
  display: inline-block;
}
.spin-badge-header:hover { transform: scale(1.08); }
.spin-badge-header .spin-badge-ring text { font-size: 11px; }
.spin-badge-header .spin-badge-center {
  width: 22px;
  height: 22px;
}
.spin-badge-header .spin-badge-center svg { width: 12px; height: 12px; }

.spin-badge-ring {
  width: 100%;
  height: 100%;
  animation: spinBadge 10s linear infinite;
}

@keyframes spinBadge {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.spin-badge-ring text {
  fill: var(--gold);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.1em;
}

.spin-badge-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  color: var(--gold);
  background: rgba(201,165,103,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.spin-badge-center svg {
  width: 20px;
  height: 20px;
}

.scroll-cue {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-faint);
  letter-spacing: .16em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.scroll-cue span {
  width: 1.5px;
  height: 30px;
  background: linear-gradient(var(--gold), transparent);
  animation: scrolldown 2s ease-in-out infinite;
}

@keyframes scrolldown {
  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; }
}

/* =============================================================================
   SOBRE PREMIUM
   ============================================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  margin-top: 56px;
  align-items: start;
}

.about-story p {
  color: var(--text-muted);
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.8;
}

.about-story strong {
  color: var(--text);
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.pillar {
  background: var(--surface);
  padding: 28px 30px;
  display: flex;
  gap: 20px;
  transition: all var(--transition);
  position: relative;
}

.pillar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(180deg, var(--gold), transparent);
  transition: width var(--transition);
}

.pillar:hover::before {
  width: 3px;
}

.pillar:hover {
  background: var(--surface-alt);
  transform: translateX(4px);
}

.pillar-icon {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  border: 1.5px solid var(--gold-soft);
  background: var(--gold-soft);
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
}

.pillar:hover .pillar-icon {
  background: rgba(201,165,103,0.2);
  border-color: var(--gold);
  transform: scale(1.1);
}

.pillar h4 {
  font-size: 17px;
  margin-bottom: 6px;
}

.pillar p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* =============================================================================
   SERVIÇOS PREMIUM
   ============================================================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  overflow: hidden;
  transition: all 400ms cubic-bezier(.4,0,.2,1);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 24px 100%, 0 calc(100% - 24px));
}

/* Card inteiro é clicável na tela de Cadastro: leva direto ao formulário
   da linha de negócio (as etiquetas/checkbox internos continuam com seu
   próprio comportamento e não disparam o clique do card). */
.service-card.is-clickable {
  cursor: pointer;
}
.service-card.is-clickable .service-apply,
.service-card.is-clickable .service-tag {
  position: relative;
  z-index: 2;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    transparent 0%, 
    rgba(201,165,103,0.05) 50%, 
    transparent 100%
  );
  transform: translateX(-100%);
  transition: transform 800ms ease;
  pointer-events: none;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(94,140,99,0.06) 0%, 
    transparent 50%,
    rgba(201,165,103,0.05) 100%
  );
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.2);
  background: var(--surface-alt);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.service-card:hover::before {
  transform: translateX(100%);
}

.service-card:hover::after {
  opacity: 1;
}

.service-code {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-faint);
  letter-spacing: .14em;
  display: block;
  margin-bottom: 24px;
  transition: color var(--transition);
}

.service-card:hover .service-code {
  color: var(--gold);
}

.service-icon,
.service-icon-box {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  color: var(--gold);
  transition: transform var(--transition), border-color var(--transition);
}

.service-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: rgba(201, 165, 103, 0.04);
}

.service-card:hover .service-icon,
.service-card:hover .service-icon-box {
  transform: scale(1.08) rotate(-4deg);
  border-color: var(--gold);
}

.service-icon svg,
.service-icon-box svg {
  width: 100%;
  height: 100%;
}

.service-icon-box svg {
  width: 22px;
  height: 22px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 14.5px;
  margin: 0 0 20px;
  line-height: 1.6;
}

/* Etiquetas (tags) dentro dos cards de frente */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.service-tag {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .01em;
  padding: 6px 11px;
  border: 1px solid var(--border-strong);
  border-radius: 7px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  line-height: 1.3;
  transition: all var(--transition);
}

a.service-tag {
  color: var(--gold);
border-color: rgba(255,255,255,0.4);
  text-decoration: underline;
  text-decoration-color: rgba(201, 165, 103, 0.4);
  text-underline-offset: 3px;
  cursor: pointer;
}

a.service-tag:hover {
  color: var(--gold-bright);
  border-color: var(--gold);
  background: var(--gold-soft);
}

.service-note {
  font-size: 12.5px;
  font-style: italic;
  color: var(--text-faint);
  line-height: 1.55;
  margin: 0 0 20px;
  padding-left: 12px;
  border-left: 2px solid rgba(201, 165, 103, 0.3);
}

/* Divisor decorativo em padrão de meandro grego (nod à identidade Observare) */
.meander-divider {
  width: 96px;
  height: 12px;
  margin: 14px 0 22px;
  opacity: .55;
  background-repeat: repeat-x;
  background-size: 32px 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='12' viewBox='0 0 32 12'><path d='M0 2 H8 V9 H16 V2 H24 V9 H32' fill='none' stroke='%23C9A567' stroke-width='1.6'/></svg>");
}

.service-apply {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: .04em;
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}

.service-apply::after {
  content: "→";
  transition: transform var(--transition);
}

.service-apply:hover {
  color: var(--gold-bright);
}

.service-apply:hover::after {
  transform: translateX(4px);
}

/* =============================================================================
   CARROSSEL PREMIUM
   ============================================================================= */
.carousel-section {
  padding: 80px 0;
}

.carousel-container {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
}

.carousel-track {
  display: flex;
  transition: transform 600ms cubic-bezier(.4,0,.2,1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
  aspect-ratio: 16/9;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 600ms cubic-bezier(.4,0,.2,1);
}

/* Zoom lento e contínuo na foto do slide ativo — dá mais vida do que
   uma imagem parada, sem chamar mais atenção que o texto por cima. */
.carousel-slide.is-active img {
  animation: carouselKenBurns 7s ease-in-out infinite alternate;
}

@keyframes carouselKenBurns {
  from { transform: scale(1); }
  to   { transform: scale(1.07); }
}

.carousel-slide-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 44px 52px;
  background: linear-gradient(0deg, rgba(10,13,18,0.95) 0%, rgba(10,13,18,0.55) 45%, transparent 100%);
}

.carousel-slide-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.carousel-slide-content h3 {
  font-size: 26px;
  color: var(--text);
  margin-bottom: 8px;
}

.carousel-slide-content p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 46ch;
}

.carousel-counter {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
  padding: 6px 12px;
  border-radius: 100px;
  background: rgba(10,13,18,0.55);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--text-muted);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(10,13,18,0.8);
  border: 1px solid var(--border-strong);
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 10;
  backdrop-filter: blur(10px);
}

.carousel-btn:hover {
  background: var(--surface);
  border-color: var(--gold);
  color: var(--gold);
}

.carousel-btn-prev { left: 20px; }
.carousel-btn-next { right: 20px; }

.carousel-btn svg {
  width: 20px;
  height: 20px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 22px 0;
}

.carousel-dot {
  position: relative;
  width: 34px;
  height: 4px;
  border-radius: 4px;
  background: var(--border-strong);
  border: none;
  cursor: pointer;
  overflow: hidden;
  transition: background var(--transition);
}

.carousel-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 0%;
  background: var(--gold);
  border-radius: 4px;
}

.carousel-dot.is-active::after {
  animation: carouselDotFill 5000ms linear forwards;
}

.carousel-dot:hover {
  background: var(--border);
}

@keyframes carouselDotFill {
  from { width: 0%; }
  to   { width: 100%; }
}

/* =============================================================================
   GALERIA PREMIUM
   ============================================================================= */
.gallery-tabs {
  display: flex;
  gap: 12px;
  margin: 44px 0 32px;
}

.gallery-tab {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 12px 22px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.gallery-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-soft);
  transform: scale(0);
  transition: transform var(--transition);
  border-radius: 999px;
}

.gallery-tab.is-active,
.gallery-tab:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.gallery-tab.is-active::before,
.gallery-tab:hover::before {
  transform: scale(1);
}

.gallery-panel { display: none; }
.gallery-panel.is-active { display: grid; }

/* Painel de fotos agora é um carrossel (não grade), então some com o grid herdado */
#galeriaFotos.is-active { display: block; }

/* =============================================================================
   VÍDEO INSTITUCIONAL (Home)
   ============================================================================= */
.brand-video-frame {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

.brand-video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  background: #000;
}

/* =============================================================================
   GALERIA — seletor "escolha de personagem": sempre 3 fotos visíveis, a do
   centro em destaque. Ao trocar, a vizinha assume o centro com uma
   animação de "swap" (escala + brilho), como selecionar outro personagem.
   ============================================================================= */
.gallery-select {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 2vw, 28px);
  max-width: 1040px;
  margin: 32px auto 0;
}

.gallery-select-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(12px, 2.1vw, 22px);
  width: 100%;
  padding: 10px 0;
}

.gallery-select-slot {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0A0F0A;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(0,0,0,0.34);
  transition: transform 450ms cubic-bezier(.2,.8,.2,1), opacity 450ms cubic-bezier(.2,.8,.2,1),
              filter 450ms cubic-bezier(.2,.8,.2,1), box-shadow 450ms cubic-bezier(.2,.8,.2,1);
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  min-height: 240px;
  max-height: 440px;
}

.gallery-select-slot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.gallery-select-slot-center {
  z-index: 3;
  cursor: zoom-in;
  border: 1.5px solid var(--gold);
  box-shadow: 0 28px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,165,103,0.3), 0 0 46px rgba(201,165,103,0.22);
  transform: translateY(-6px) scale(1.04);
}

.gallery-select-slot-left,
.gallery-select-slot-right {
  opacity: 0.65;
  filter: brightness(0.75) saturate(0.85);
  transform: scale(0.88);
}

.gallery-select-slot-left:hover,
.gallery-select-slot-right:hover {
  opacity: 0.95;
  filter: brightness(0.95) saturate(1);
  transform: scale(0.92) translateY(-2px);
}

/* Efeito "troca de personagem": ao clicar numa seta ou foto lateral, os
   3 slots dão uma leve recolhida antes de assumir o novo papel — o CSS
   normal acima já cuida de animar suavemente pra posição final. */
.gallery-select-stage.is-shifting .gallery-select-slot-center {
  animation: gallerySelectPulseCenter 480ms cubic-bezier(.2,.8,.2,1);
}
.gallery-select-stage.is-shifting .gallery-select-slot-left,
.gallery-select-stage.is-shifting .gallery-select-slot-right {
  animation: gallerySelectPulseSide 480ms cubic-bezier(.2,.8,.2,1);
}

@keyframes gallerySelectPulseCenter {
  0%   { transform: translateY(-6px) scale(0.9); filter: brightness(1.3); }
  55%  { transform: translateY(-8px) scale(1.08); }
  100% { transform: translateY(-6px) scale(1.04); }
}
@keyframes gallerySelectPulseSide {
  0%   { transform: scale(0.98); opacity: 1; }
  100% { transform: scale(0.88); opacity: 0.65; }
}

.gallery-select-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-select-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: scale(1.06);
}

.gallery-select-btn svg {
  width: 22px;
  height: 22px;
}

.gallery-select-counter {
  text-align: center;
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--text-faint);
}

@media (max-width: 780px) {
  .gallery-select-slot { min-height: 220px; max-height: 360px; }
  .gallery-select-slot-center { transform: translateY(-3px) scale(1.02); }
}

@media (max-width: 560px) {
  .gallery-select { gap: 8px; }
  .gallery-select-btn { width: 40px; height: 40px; }
  .gallery-select-btn svg { width: 18px; height: 18px; }
  .gallery-select-stage { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .gallery-select-slot,
  .gallery-select-slot-center,
  .gallery-select-slot-left,
  .gallery-select-slot-right {
    min-height: 140px;
    max-height: none;
    aspect-ratio: 3 / 4;
  }
  .gallery-select-slot-left,
  .gallery-select-slot-right { opacity: 0.5; filter: brightness(0.65) saturate(0.8); transform: scale(0.86); }
  .brand-video-frame { max-width: 100%; aspect-ratio: 4/3; }
}

.photo-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.photo-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  cursor: zoom-in;
  background: var(--surface);
  transition: all var(--transition);
}

.photo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  border-color: var(--gold);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}

.photo-item:hover img {
  transform: scale(1.08);
}

.photo-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px 16px 12px;
  background: linear-gradient(0deg, rgba(0,0,0,0.8), transparent);
  font-size: 13px;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--transition);
}

.photo-item:hover .photo-caption {
  opacity: 1;
  transform: translateY(0);
}

.video-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
  transition: all var(--transition);
}

.video-frame:hover {
  border-color: var(--gold);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

.video-frame video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.video-frame::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(201,165,103,0.9);
  pointer-events: none;
  transition: all var(--transition);
  z-index: 1;
}

.video-frame::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(50% + 4px);
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 17px;
  border-color: transparent transparent transparent #14100A;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 1;
}

.video-frame:hover::before {
  background: var(--gold-bright);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-frame.is-playing::before,
.video-frame.is-playing::after {
  opacity: 0;
}

.video-title {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(6,8,11,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  backdrop-filter: blur(10px);
}

.lightbox.is-open {
  display: flex;
  animation: fadeIn 300ms ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius);
  animation: zoomIn 300ms ease;
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 36px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 20px;
  transition: all var(--transition);
}

.lightbox-close:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(20,28,21,0.6);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
}

.lightbox-nav:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(20,28,21,0.9);
}

.lightbox-nav svg {
  width: 24px;
  height: 24px;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 640px) {
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-nav svg { width: 20px; height: 20px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* =============================================================================
   FORMULÁRIOS PREMIUM
   ============================================================================= */
.forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 56px;
}

.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.form-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.form-card:hover::before {
  opacity: 1;
}

.form-card .eyebrow { margin-bottom: 12px; }
.form-card h3 { font-size: 23px; margin-bottom: 8px; }
.form-card .form-desc {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 28px;
  line-height: 1.6;
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
  transition: color var(--transition);
}

.field:focus-within label {
  color: var(--gold);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all var(--transition);
}

.field input:hover,
.field textarea:hover,
.field select:hover {
  border-color: var(--text-faint);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.03);
  outline: none;
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9A567' stroke-width='2'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.field select option {
  background: var(--bg-soft);
  color: var(--text);
}

.field select:invalid { color: var(--text-faint); }

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

/* Checkbox de consentimento (LGPD) */
.field-checkbox { margin-bottom: 16px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: normal;
}

.checkbox-label input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--gold);
  cursor: pointer;
}

.checkbox-label a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkbox-label a:hover { color: var(--gold-bright); }

.field-error {
  display: none;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--danger);
}

.field-error.is-visible { display: block; }

.form-status {
  margin-top: 16px;
  font-size: 14px;
  padding: 14px 16px;
  border-radius: var(--radius);
  display: none;
}

.form-status.is-visible { display: block; }
.form-status.status-ok {
  background: rgba(79,174,122,0.12);
  color: var(--ok);
  border: 1px solid rgba(79,174,122,0.3);
}
.form-status.status-error {
  background: rgba(224,101,79,0.12);
  color: var(--danger);
  border: 1px solid rgba(224,101,79,0.3);
}
.form-status.status-loading {
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* =============================================================================
   FOOTER PREMIUM
   ============================================================================= */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 64px 32px 32px;
  background: var(--bg-soft);
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 16.5px;
  max-width: 340px;
  margin-top: 16px;
  line-height: 1.7;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--text-muted);
  font-size: 15.5px;
  margin-bottom: 10px;
  transition: all var(--transition);
  position: relative;
  padding-left: 0;
}

/* E-mails do rodapé exibidos sempre em minúsculo (o config.js guarda com
   maiúscula inicial, mas aqui na tela sai tudo minúsculo). */
#footerEmailOrcamento,
#footerEmailOuvidoria {
  text-transform: lowercase;
}

/* Ícone de WhatsApp antes do telefone no rodapé. */
.footer-col p.footer-phone-line {
  display: flex;
  align-items: center;
  gap: 7px;
}

.footer-phone-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--gold);
}

.footer-col a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 48px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-faint);
  font-size: 15px;
  font-family: var(--font-mono);
}

.footer-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.footer-social-label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-link {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text-muted);
  transition: all var(--transition);
}

.footer-social-link svg {
  width: 26px;
  height: 26px;
}

.footer-social-link:hover {
  color: var(--bg);
  background: var(--gold);
  border-color: var(--gold);
}

.footer-social-link[hidden] {
  display: none;
}

/* =============================================================================
   WHATSAPP FLUTUANTE PREMIUM
   ============================================================================= */
.whatsapp-widget {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.whatsapp-float {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, #25D366, #128C7E);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 26px rgba(37,211,102,0.35);
  transition: all var(--transition);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(37,211,102,0.45);
}

.whatsapp-widget.is-open .whatsapp-float {
  animation: none;
  transform: scale(1.05) rotate(90deg);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}

.whatsapp-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.96);
  transform-origin: bottom right;
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  pointer-events: none;
}

.whatsapp-widget.is-open .whatsapp-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.whatsapp-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  min-width: 240px;
  max-width: calc(100vw - 56px);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.whatsapp-menu-item:nth-child(1):hover {
  border-color: var(--gold);
  transform: translateX(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45), 0 0 0 1px rgba(201,165,103,0.3);
}
.whatsapp-menu-item:nth-child(2):hover {
  border-color: var(--purple-bright);
  transform: translateX(-2px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.35);
}

.whatsapp-menu-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-menu-item:nth-child(1) .whatsapp-menu-icon {
  background: var(--gold-soft);
  color: var(--gold);
}
.whatsapp-menu-item:nth-child(2) .whatsapp-menu-icon {
  background: var(--purple-soft);
  color: var(--purple-bright);
}
.whatsapp-menu-icon svg { width: 18px; height: 18px; }

.whatsapp-menu-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.whatsapp-menu-text strong {
  font-size: 13.5px;
  color: var(--text);
  font-weight: 700;
}
.whatsapp-menu-text small {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (max-width: 480px) {
  .whatsapp-widget { right: 18px; bottom: 18px; }
  .whatsapp-menu-item { min-width: 208px; padding: 10px 14px; }
}

/* =============================================================================
   CHATBOT PREMIUM
   ============================================================================= */
.chat-launcher {
  position: fixed;
  left: 28px;
  bottom: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(155deg, var(--gold-bright), var(--gold));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 26px rgba(201,165,103,0.26);
  z-index: 400;
  transition: all var(--transition);
  animation: float 3s ease-in-out infinite 1s;
}

.chat-launcher:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 32px rgba(201,165,103,0.36), 0 0 20px rgba(255,255,255,0.2);
}

.chat-launcher svg {
  width: 28px;
  height: 28px;
  color: #14100A;
  position: relative;
  z-index: 1;
}

.chat-launcher-ping {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ok);
  border: 2.5px solid var(--bg);
}

.chat-launcher-ping::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--ok);
  opacity: .5;
  animation: chatPing 2s ease-out infinite;
}

@keyframes chatPing {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(3); opacity: 0; }
}

.chat-window {
  position: fixed;
  left: 28px;
  bottom: 104px;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 540px;
  max-height: calc(100vh - 160px);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 401;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all 300ms cubic-bezier(.4,0,.2,1);
}

.chat-window.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.chat-header {
  background: linear-gradient(135deg, var(--surface-alt), var(--surface));
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border);
}

.chat-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold-soft);
  border: 1.5px solid var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}

.chat-avatar svg {
  width: 20px;
  height: 20px;
}

/* Wrapper do texto (nome + status) — precisa poder encolher e cortar com
   reticências, senão em telas estreitas ele empurra o botão de fechar (X)
   para fora da janela e ele "some". */
.chat-header-info {
  flex: 1 1 auto;
  min-width: 0;
}

.chat-header-info strong {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-header .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(79,174,122,0.2);
  display: inline-block;
  margin-right: 8px;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

.chat-header strong { font-size: 15px; }

.chat-header-info span {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-close {
  flex-shrink: 0;
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  transition: all var(--transition);
}

.chat-close:hover {
  background: rgba(255,255,255,0.08);
  color: var(--text);
  transform: rotate(90deg);
}

.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: radial-gradient(ellipse 280px 220px at 90% 0%, rgba(94,140,99,0.08), transparent 60%),
              var(--surface);
}

.chat-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  animation: bubbleIn 300ms ease;
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-bubble.bot {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble.user {
  background: var(--gold-soft);
  border: 1px solid var(--gold-soft);
  color: var(--gold-bright);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: stretch;
  animation: bubbleIn 300ms ease;
}

.chat-option-btn {
  text-align: left;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  cursor: pointer;
  transition: all var(--transition);
}

.chat-option-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
  transform: translateX(4px);
}

.chat-link-btn {
  display: inline-flex;
  align-self: flex-start;
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: #14100A;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 10px;
  margin-top: 4px;
  animation: bubbleIn 300ms ease;
  transition: all var(--transition);
}

.chat-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,165,103,0.3);
}

.chat-typing {
  display: flex;
  gap: 5px;
  padding: 14px 16px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  align-self: flex-start;
  width: fit-content;
  animation: bubbleIn 300ms ease;
}

.chat-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--text-faint);
  animation: typingBlink 1.4s infinite ease-in-out;
}

.chat-typing span:nth-child(2) { animation-delay: .2s; }
.chat-typing span:nth-child(3) { animation-delay: .4s; }

@keyframes typingBlink {
  0%, 60%, 100% { opacity: .3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* =============================================================================
   SCROLL REVEAL PREMIUM (EFEITO NUVEM)
   ============================================================================= */
.reveal, .reveal-left, .reveal-right, .reveal-scale {
  opacity: 0;
  filter: blur(12px);
  transform: translateY(40px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform, filter;
}

.reveal-left { transform: translateX(-60px) scale(0.95); }
.reveal-right { transform: translateX(60px) scale(0.95); }
.reveal-scale { transform: scale(0.85); }

.reveal.is-visible, 
.reveal-left.is-visible, 
.reveal-right.is-visible, 
.reveal-scale.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1) translateX(0);
}

/* =============================================================================
   RESPONSIVO
   ============================================================================= */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .spin-badge:not(.spin-badge-header) { display: none; }
}

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .forms-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .hamburger {
    display: block;
    width: 34px;
    height: 34px;
  }
  .hamburger span {
    left: 8px;
    right: 8px;
    height: 2px;
  }
  .hamburger span:nth-child(1) { top: 10px; }
  .hamburger span:nth-child(2) { top: 16px; }
  .hamburger span:nth-child(3) { top: 22px; }
  
  .main-nav.mobile-open {
    display: block;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10,13,18,0.98);
    border-bottom: 1px solid var(--border);
    padding: 12px 24px 28px;
    backdrop-filter: blur(20px);
    animation: slideDown 300ms ease;
  }
  
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .main-nav.mobile-open ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  
  .main-nav.mobile-open a {
    display: block;
    width: 100%;
    padding: 16px 6px;
    border-bottom: 1px solid var(--border);
    font-size: 16px;
    color: var(--text-muted);
  }
  
  .section { padding: 80px 20px; }
  /* O hero da Home já ocupa a viewport inteira. Espaçamento aqui criava
     uma faixa do fundo verde entre o cabeçalho fixo e a foto no mobile. */
  .hero { padding: 0; }
  .services-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .video-grid { grid-template-columns: 1fr; }

  /* Rodapé: centralizado e mais espaçado no celular, em vez de tudo
     grudado e alinhado à esquerda. */
  .footer-grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-brand p { margin-left: auto; margin-right: auto; }
  .footer-col { display: flex; flex-direction: column; align-items: center; }
  .footer-col a:hover { padding-left: 0; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; align-items: center; }
  .footer-copy { align-items: center; }

  /* Cabeçalho: em telas estreitas o botão "Solicitar Orçamento" ao lado do
     hamburguer não cabia e ficava espremido/torto. A partir daqui ele some
     do cabeçalho (continua acessível pelo menu e por outros botões da
     página) e sobra só o hamburguer, alinhado certinho. */
  .site-header { padding: 4px 20px; }
  .site-header.is-scrolled { padding: 2px 20px; }
  .logo-wordmark {
    height: 100px;
    max-width: 355px;
  }
  .logo-combined {
    height: 60px;
    max-width: 200px;
  }
  .header-actions { gap: 10px; }
  .header-actions .btn-sm { display: none; }

  .chat-window {
    left: 14px;
    right: 14px;
    width: auto;
    bottom: 96px;
  }
  
  .whatsapp-float,
  .chat-launcher {
    width: 54px;
    height: 54px;
  }
  
  .carousel-slide-content {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .logo-wordmark {
    height: 80px;
    max-width: 284px;
  }
  .logo-combined {
    height: 50px;
    max-width: 168px;
  }
  .footer-logo-icon {
    height: 64px;
    max-width: 220px;
  }

  .hamburger {
    width: 32px;
    height: 32px;
  }
  .hamburger span {
    left: 7px;
    right: 7px;
  }
  .hamburger span:nth-child(1) { top: 9px; }
  .hamburger span:nth-child(2) { top: 15px; }
  .hamburger span:nth-child(3) { top: 21px; }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-cta-row .btn { width: 100%; }
  
  .carousel-btn {
    width: 40px;
    height: 40px;
  }
}
/* =============================================================================
   CORUJA VISITANTE — aparece em posições aleatórias pela tela
   (posição top/left é definida via JS a cada aparição)
   ============================================================================= */
.owl-visitor {
  position: fixed;
  top: 24px;
  left: 24px;
  width: 72px;
  height: 84px;
  z-index: 90;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px) scale(.9);
  transition: opacity 600ms ease, transform 600ms cubic-bezier(.2,.7,.2,1), top 700ms ease, left 700ms ease;
  filter: drop-shadow(0 8px 22px rgba(201,165,103,0.28));
}
.owl-visitor svg { width: 100%; height: 100%; display: block; }
.owl-visitor.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.owl-visitor.is-visible svg { animation: owlFloat 3s ease-in-out infinite; }
.owl-visitor.is-visible .ov-pupil { animation: owlGaze 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }

.owl-visitor-msg {
  position: absolute;
  left: 50%;
  bottom: 100%;
  margin-bottom: 8px;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(10,15,10,0.9);
  border: 1px solid var(--border-strong);
  padding: 6px 10px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 400ms ease 200ms;
}
.owl-visitor.is-visible .owl-visitor-msg { opacity: 1; }

@media (max-width: 640px) {
  .owl-visitor { width: 56px; height: 66px; }
  .owl-visitor-msg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .owl-visitor, .preloader-owl { animation: none !important; }
  .owl-visitor.is-visible svg, .owl-visitor.is-visible .ov-pupil { animation: none !important; }
}

/* =============================================================================
   PRELOADER — logo em revelação orbital (roxo + dourado)
   ============================================================================= */
.preloader-stage {
  position: relative;
  z-index: 1;
  width: min(980px, 94vw);
  height: min(600px, 76vh);
  margin-bottom: 8px;
  overflow: visible;
}

/* Estrelas de fundo cobrindo a tela de carregamento inteira (fixa na
   viewport, atrás do templo/logo) — não fica só dentro da caixa do templo.
   Só um "fade in" único (sem brilho piscando em loop) pra não pesar. */
.preloader-stars-full {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1.3px 1.3px at 8% 8%, rgba(228,196,137,.75), transparent 60%),
    radial-gradient(1.2px 1.2px at 30% 12%, rgba(228,196,137,.65), transparent 60%),
    radial-gradient(1.3px 1.3px at 55% 6%, rgba(228,196,137,.7), transparent 60%),
    radial-gradient(1.4px 1.4px at 80% 8%, rgba(228,196,137,.75), transparent 60%),
    radial-gradient(1px 1px at 94% 24%, rgba(183,154,232,.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 6% 50%, rgba(228,196,137,.6), transparent 60%),
    radial-gradient(1.2px 1.2px at 92% 60%, rgba(228,196,137,.6), transparent 60%),
    radial-gradient(1.3px 1.3px at 15% 82%, rgba(228,196,137,.7), transparent 60%),
    radial-gradient(1.2px 1.2px at 45% 88%, rgba(228,196,137,.65), transparent 60%),
    radial-gradient(1.3px 1.3px at 78% 84%, rgba(228,196,137,.7), transparent 60%);
  opacity: 0;
  animation: starsIn 900ms ease-out .05s forwards;
}

/* Estrelas — constelação de fundo (céu mais denso, sem lua/sol) */
.preloader-stars {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.2px 1.2px at 8% 22%, rgba(228,196,137,.9), transparent 60%),
    radial-gradient(1.4px 1.4px at 32% 30%, rgba(228,196,137,.85), transparent 60%),
    radial-gradient(1.3px 1.3px at 62% 22%, rgba(228,196,137,.85), transparent 60%),
    radial-gradient(1.2px 1.2px at 88% 28%, rgba(228,196,137,.85), transparent 60%),
    radial-gradient(1px 1px at 24% 78%, rgba(228,196,137,.6), transparent 60%),
    radial-gradient(1.1px 1.1px at 4% 6%, rgba(228,196,137,.75), transparent 60%),
    radial-gradient(1.3px 1.3px at 40% 16%, rgba(228,196,137,.8), transparent 60%),
    radial-gradient(1.2px 1.2px at 68% 6%, rgba(228,196,137,.8), transparent 60%),
    radial-gradient(1.4px 1.4px at 94% 18%, rgba(228,196,137,.85), transparent 60%),
    radial-gradient(1.1px 1.1px at 6% 66%, rgba(228,196,137,.7), transparent 60%),
    radial-gradient(1.2px 1.2px at 58% 70%, rgba(228,196,137,.75), transparent 60%),
    radial-gradient(1.3px 1.3px at 80% 74%, rgba(228,196,137,.8), transparent 60%),
    radial-gradient(1.1px 1.1px at 14% 92%, rgba(228,196,137,.65), transparent 60%),
    radial-gradient(1px 1px at 60% 4%, rgba(183,154,232,.6), transparent 60%);
  opacity: 0;
  animation: starsIn 700ms ease-out .1s forwards, starsTwinkle 3.4s ease-in-out 900ms infinite;
}
@keyframes starsIn { to { opacity: 1; } }
@keyframes starsTwinkle {
  0%, 100% { opacity: .75; }
  50% { opacity: 1; }
}


/* =============================================================================
   TEMPLO GREGO — obra em construção, quase do tamanho da tela, atrás da coruja
   ============================================================================= */
.preloader-temple {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 980px;
  z-index: 0;
  pointer-events: none;
}
.preloader-temple svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.preloader-temple .temple-pediment,
.preloader-temple .temple-part,
.preloader-temple .temple-step {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(201,165,103,.3));
}
.preloader-temple .temple-triglyphs line {
  stroke: var(--gold);
  stroke-width: 1.4;
  opacity: 0;
}

/* Degraus — a fundação sobe primeiro, de baixo para cima */
.preloader-temple .temple-step {
  stroke-dasharray: 2200;
  stroke-dashoffset: 2200;
  opacity: 0;
  animation: templeDraw 620ms ease-out forwards;
}
.preloader-temple .temple-step-3 { animation-delay: 80ms; }
.preloader-temple .temple-step-2 { animation-delay: 220ms; }
.preloader-temple .temple-step-1 { animation-delay: 360ms; }

/* Colunas — erguem-se do chão, uma a uma, como se fossem montadas */
.preloader-temple .temple-col {
  opacity: 0;
  transform: scaleY(0);
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: templeColRise 480ms cubic-bezier(.22,.8,.28,1) forwards;
}
.preloader-temple .temple-col line {
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  filter: drop-shadow(0 0 8px rgba(201,165,103,.35));
}
.preloader-temple .temple-col-1  { animation-delay: 620ms; }
.preloader-temple .temple-col-2  { animation-delay: 680ms; }
.preloader-temple .temple-col-3  { animation-delay: 740ms; }
.preloader-temple .temple-col-4  { animation-delay: 800ms; }
.preloader-temple .temple-col-5  { animation-delay: 860ms; }
.preloader-temple .temple-col-6  { animation-delay: 920ms; }
.preloader-temple .temple-col-7  { animation-delay: 980ms; }
.preloader-temple .temple-col-8  { animation-delay: 1040ms; }
.preloader-temple .temple-col-9  { animation-delay: 1100ms; }
.preloader-temple .temple-col-10 { animation-delay: 1160ms; }

/* Tríglifos do friso, encaixados depois que as colunas assentam */
.preloader-temple .temple-triglyphs line {
  animation: templeFade 260ms ease-out forwards;
}
.preloader-temple .temple-triglyphs line:nth-child(1)  { animation-delay: 1560ms; }
.preloader-temple .temple-triglyphs line:nth-child(2)  { animation-delay: 1580ms; }
.preloader-temple .temple-triglyphs line:nth-child(3)  { animation-delay: 1600ms; }
.preloader-temple .temple-triglyphs line:nth-child(4)  { animation-delay: 1620ms; }
.preloader-temple .temple-triglyphs line:nth-child(5)  { animation-delay: 1640ms; }
.preloader-temple .temple-triglyphs line:nth-child(6)  { animation-delay: 1660ms; }
.preloader-temple .temple-triglyphs line:nth-child(7)  { animation-delay: 1680ms; }
.preloader-temple .temple-triglyphs line:nth-child(8)  { animation-delay: 1700ms; }
.preloader-temple .temple-triglyphs line:nth-child(9)  { animation-delay: 1720ms; }
.preloader-temple .temple-triglyphs line:nth-child(10) { animation-delay: 1740ms; }

/* Arquitrave e friso — a viga assenta sobre as colunas prontas */
.preloader-temple .temple-architrave {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  opacity: 0;
  animation: templeDraw 560ms ease-out 1620ms forwards;
}
.preloader-temple .temple-frieze {
  stroke-dasharray: 700;
  stroke-dashoffset: 700;
  opacity: 0;
  animation: templeDraw 560ms ease-out 1500ms forwards;
}

/* Frontão — o telhado é a última peça a ser colocada */
.preloader-temple .temple-pediment {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  opacity: 0;
  animation: templeDraw 720ms ease-out 2140ms forwards;
}

@keyframes templeDraw {
  0%   { opacity: 0; }
  3%   { opacity: .85; }
  100% { opacity: .85; stroke-dashoffset: 0; }
}
@keyframes templeColRise {
  0%   { opacity: 0; transform: scaleY(0); }
  8%   { opacity: .85; }
  100% { opacity: .85; transform: scaleY(1); }
}
@keyframes templeFade {
  to { opacity: .55; }
}

@media (max-width: 640px) {
  .preloader-temple { max-width: none; }
}

/* Anéis orbitando e brilho por trás da marca — a coruja sobrevoa a obra */
.preloader-orbit {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.preloader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  opacity: 0;
}
.preloader-ring-1 {
  border-top-color: var(--gold);
  border-right-color: var(--purple-bright);
  animation: ringIn 700ms ease-out forwards, ringSpin 3.2s linear .7s infinite;
}
.preloader-ring-2 {
  inset: 26px;
  border-bottom-color: var(--purple);
  border-left-color: var(--gold-bright);
  animation: ringIn 700ms ease-out 150ms forwards, ringSpinRev 4.2s linear .85s infinite;
}
@keyframes ringIn { to { opacity: .65; } }
@keyframes ringSpin { to { transform: rotate(360deg); } }
@keyframes ringSpinRev { to { transform: rotate(-360deg); } }

.preloader-glow {
  position: absolute;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,165,103,.30), rgba(201,165,103,.10) 55%, transparent 72%);
  animation: glowPulse 2.6s ease-in-out .3s infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: .5; }
  50%      { transform: scale(1.12); opacity: .8; }
}

.preloader-mark {
  position: relative;
  width: 92px;
  height: 92px;
  object-fit: contain;
  opacity: 0;
  transform: scale(.6) rotate(-8deg);
  filter: drop-shadow(0 0 22px rgba(201,165,103,.6));
  animation: markIn 900ms cubic-bezier(.2,.8,.2,1) 250ms forwards, markFloat 3.4s ease-in-out 1200ms infinite;
}
@keyframes markIn {
  0%   { opacity: 0; transform: scale(.6) rotate(-8deg); }
  60%  { opacity: 1; }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes markFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .preloader-ring, .preloader-glow, .preloader-mark, .preloader-stars, .preloader-stars-full {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .preloader-temple .temple-pediment,
  .preloader-temple .temple-part,
  .preloader-temple .temple-step {
    animation: none !important;
    opacity: .85 !important;
    stroke-dashoffset: 0 !important;
  }
  .preloader-temple .temple-col {
    animation: none !important;
    opacity: .85 !important;
    transform: scaleY(1) !important;
  }
  .preloader-temple .temple-triglyphs line {
    animation: none !important;
    opacity: .55 !important;
  }
}

@media (max-width: 640px) {
  .preloader-stage { height: min(520px, 72vh); margin-bottom: 4px; }
  .preloader-orbit { width: 150px; height: 150px; top: 2%; }
  .preloader-mark { width: 68px; height: 68px; }
}

/* Estas regras ficam depois da base do preloader para que a altura da
   janela realmente determine o tamanho final. A largura do palco acompanha
   a proporção 800:420 do SVG; assim o frontão/telhado nunca extrapola o topo. */
@media (max-height: 800px) {
  .preloader-stage {
    width: min(94vw, 680px, 102svh);
    height: min(360px, 54svh);
    margin-bottom: 2px;
  }

  .preloader-orbit { width: 150px; height: 150px; }
  .preloader-mark { width: 70px; height: 70px; }
  .preloader-inner { gap: 8px; }
  .preloader-bar { margin-top: 16px; }
}

@media (max-height: 660px) {
  .preloader-stage {
    width: min(94vw, 533px, 87svh);
    height: min(280px, 46svh);
  }

  .preloader-orbit {
    width: 118px;
    height: 118px;
    top: 4%;
  }

  .preloader-mark { width: 64px; height: 64px; }
  .preloader-tag { display: none; }
}

@media (max-height: 480px) {
  .preloader-stage {
    width: min(94vw, 381px, 80svh);
    height: min(200px, 42svh);
    margin-bottom: 0;
  }

  .preloader-orbit { width: 90px; height: 90px; }
  .preloader-mark { width: 48px; height: 48px; }
  .preloader-inner { gap: 4px; }
  .preloader-bar { margin-top: 10px; }
}


/* =============================================================================
   SCROLL MEANDER — progresso de rolagem no topo com padrão grego
   ============================================================================= */
.scroll-meander {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 10px;
  z-index: 200;
  pointer-events: none;
  overflow: hidden;
}
.scroll-meander > span {
  display: block;
  height: 100%;
  width: 0%;
  background-repeat: repeat-x;
  background-size: 24px 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='10' viewBox='0 0 24 10'><path d='M0 2 H6 V8 H12 V2 H18 V8 H24' fill='none' stroke='%23C9A567' stroke-width='1.4'/></svg>");
  transition: width 120ms linear;
  filter: drop-shadow(0 1px 6px rgba(201,165,103,.35));
}

/* =============================================================================
   HERO ATHENS — friso ateniense parallax no hero
   ============================================================================= */
.hero { position: relative; overflow: hidden; }
.hero-athens {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: heroAthensIn 1200ms ease-out .3s forwards;
}
.hero-athens svg { width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; z-index: 1; }

@keyframes heroAthensIn { to { opacity: 1; } }

.hero-parthenon-l, .hero-parthenon-r {
  transform-origin: center bottom;
  will-change: transform;
}
.hero-parthenon-l { animation: heroCol 12s ease-in-out infinite alternate; }
.hero-parthenon-r { animation: heroCol 14s ease-in-out infinite alternate-reverse; }
@keyframes heroCol {
  0%   { transform: translateY(0); }
  100% { transform: translateY(-6px); }
}

.hero-meander-line {
  stroke-dasharray: 2600;
  stroke-dashoffset: 2600;
  animation: meanderDraw 3s ease-out 1s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero-athens, .hero-parthenon-l, .hero-parthenon-r, .hero-meander-line {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }
}

/* Desabilita gaze automático para deixar o tracker do cursor controlar */
.owl-visitor.is-visible .ov-pupil { animation: none; transition: transform 220ms ease-out; }
/* =============================================================================
   SITE MULTI-PÁGINA — banner interno das páginas (Quem Somos, Serviços, Contato)
   ============================================================================= */
.page-hero {
  padding: 180px 24px 60px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 900px 420px at 50% -10%, var(--gold-soft), transparent 70%),
    var(--bg);
}

.page-hero .section-inner { max-width: var(--max-width); margin: 0 auto; }

.page-hero-title {
  font-size: clamp(32px, 5vw, 52px);
  margin-top: 18px;
}

.page-hero-lead {
  max-width: 640px;
  color: var(--text-muted);
  font-size: 17px;
  margin-top: 14px;
}

.page-hero-crumb {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-hero-crumb a { color: var(--gold); }
.page-hero-crumb a:hover { text-decoration: underline; }

/* =============================================================================
   CTA CENTRALIZADA (seções "Pronto para começar?" / "Não encontrou sua vaga?")
   -----------------------------------------------------------------------------
   text-align:center por si só não centraliza o título, porque .section-title
   é um bloco com max-width fixo — sem isso ele fica "puxado" pra esquerda
   dentro do container, mesmo com o texto alinhado ao centro.
   ============================================================================= */
.centered-cta .eyebrow,
.centered-cta .section-title,
.centered-cta .section-lead {
  margin-left: auto;
  margin-right: auto;
}

/* =============================================================================
   CLIENTES & PARCEIROS - ÍCONES CHAMATIVOS E SEM CORTES
   ============================================================================= */
.clientes-marquee {
  margin-top: 40px;
  overflow: hidden;
  position: relative;
  width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}

.clientes-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: clientesScroll 58s linear infinite;
}

.clientes-marquee:hover .clientes-track {
  animation-play-state: paused;
}

@keyframes clientesScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.cliente-badge {
  flex-shrink: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), opacity 0.35s ease, filter 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 0;
  max-height: none;
  min-width: 0;
  position: relative;
  box-shadow: none;
  transform: translateY(0) scale(1);
  transform-origin: center center;
}

.cliente-badge:hover {
  border: none;
  box-shadow: none;
  background: transparent;
}

.cliente-badge img {
  height: 100%;
  max-height: 122px;
  width: auto;
  max-width: clamp(160px, 18vw, 240px);
  object-fit: contain;
  opacity: 0.7;
  filter: grayscale(1) contrast(0.9) brightness(0.96) saturate(0.55);
  transition: transform 0.55s cubic-bezier(0.22,1,0.36,1), filter 0.45s ease, opacity 0.45s ease;
}

.cliente-badge:hover img {
  opacity: 1;
  filter: grayscale(0) brightness(1.12) saturate(1.15) drop-shadow(0 4px 18px rgba(201,165,103,0.38));
}

.cliente-badge-placeholder {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px dashed var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-faint);
  background: rgba(255,255,255,0.02);
  transition: all var(--transition);
}

.clientes-marquee:hover .cliente-badge-placeholder {
  border-color: var(--gold);
  color: var(--gold);
}
.cliente-badge:hover .cliente-badge-placeholder {
  border-color: var(--purple-bright);
  color: var(--purple-bright);
}

.clientes-title {
  position: relative;
  display: inline-block;
}
.clientes-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--purple-bright));
  border-radius: 2px;
}

/* Ajustes para telas menores */
@media (max-width: 768px) {
  .clientes-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
  }
  .clientes-track {
    gap: 24px;
    animation-duration: 28s;
  }
  .cliente-badge {
    flex: 0 0 clamp(120px, 33vw, 140px);
    width: clamp(120px, 33vw, 140px);
    padding: 0;
    min-height: 0;
    max-height: none;
    min-width: 0;
  }
  .cliente-badge img {
    width: 100%;
    max-height: 96px;
    max-width: 100%;
  }
  .cliente-badge-placeholder {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .clientes-track {
    gap: 20px;
    animation-duration: 24s;
  }
  .cliente-badge {
    flex: 0 0 clamp(124px, 34vw, 140px);
    width: clamp(124px, 34vw, 140px);
    padding: 0;
    min-height: 0;
    max-height: none;
    min-width: 0;
  }
  .cliente-badge img {
    width: 100%;
    max-height: 92px;
    max-width: 100%;
  }
  .cliente-badge-placeholder {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .clientes-track {
    animation: none;
  }
}

/* =============================================================================
   PÁGINA "QUEM SOMOS"
   ============================================================================= */
.quemsomos-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 860px) {
  .quemsomos-grid { grid-template-columns: 1fr; gap: 40px; }
}

.quemsomos-story p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.75;
}

.quemsomos-slogan {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 32px 0;
}

.quemsomos-slogan-titulo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
  margin: 0;
}

.quemsomos-slogan-subtitulo {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
  color: var(--gold-bright);
  line-height: 1.5;
  margin: 8px 0 0;
}

.perfil-card {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}

.perfil-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-faint);
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
  padding: 24px;
  letter-spacing: .04em;
}

.perfil-photo img { width: 100%; height: 100%; object-fit: cover; }

.perfil-caption {
  padding: 16px 20px;
  font-size: 13px;
  color: var(--text-faint);
  border-top: 1px solid var(--border);
}

/* =============================================================================
   PÁGINA "CADASTROS" — reaproveita .services-grid / .service-card já existentes
   ============================================================================= */
.servicos-intro-lead { max-width: 720px; }

/* Cada uma das 5 categorias (subtítulos) da tela de Cadastros */
.cadastro-categoria + .cadastro-categoria {
  margin-top: 88px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}

.cadastro-categoria-head {
  max-width: 640px;
}

.cadastro-categoria-head .section-lead {
  margin-top: 10px;
}

.cadastro-categoria-nota {
  margin-top: 24px;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-faint);
  font-size: 13px;
  line-height: 1.6;
  max-width: 720px;
}

/* Painéis das categorias sem formulário (Assessoria, Eventos, Recursos,
   Treinamento) — todo clique abre o WhatsApp identificando o item. */
.paineis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.cadastro-painel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15.5px;
  text-align: left;
  cursor: pointer;
  transition: all 300ms ease;
}

.cadastro-painel:hover {
  border-color: var(--gold);
  background: rgba(201,165,103,0.06);
  transform: translateY(-2px);
}

.cadastro-painel-label {
  font-weight: 600;
}

.cadastro-painel-arrow {
  display: flex;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 300ms ease;
}

.cadastro-painel-arrow svg {
  width: 18px;
  height: 18px;
}

.cadastro-painel:hover .cadastro-painel-arrow {
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .cadastro-categoria + .cadastro-categoria { margin-top: 64px; padding-top: 44px; }
  .paineis-grid { grid-template-columns: 1fr; }
}

/* =============================================================================
   PÁGINA "FALE CONOSCO" — reaproveita .forms-grid / .form-card já existentes
   ============================================================================= */
.contato-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  margin: 40px 0 8px;
}

.contato-info-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--surface);
}

.contato-info-item h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.contato-info-item p, .contato-info-item a {
  color: var(--text);
  font-size: 15px;
}

/* Aviso de privacidade dentro dos formulários (LGPD) */
.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-faint);
}

.privacy-note svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--gold);
}

.privacy-note a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-note a:hover { color: var(--gold); }

/* Selo discreto de privacidade que pode ser reaproveitado em qualquer
   página (ex: rodapé) para reforçar que o site segue a LGPD. */
.privacy-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: .04em;
  color: var(--text-faint);
}

.privacy-badge svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex-shrink: 0;
}

.footer-legal {
  max-width: var(--max-width);
  margin: 28px auto 0;
  display: flex;
  justify-content: center;
}

@media (max-width: 720px) {
  .privacy-note { text-align: left; }
}

/* =============================================================================
   AVISO DE COOKIES (LGPD)
   ============================================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--bg-soft);
  border-top: 1px solid var(--border-strong);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.35);
  transform: translateY(100%);
  transition: transform var(--transition);
  padding: 20px;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1 1 420px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--text-muted);
}

.cookie-banner-text a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-text a:hover { color: var(--gold-bright); }

.cookie-banner-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Os dois botões do aviso de cookies usam o mesmo tamanho (o menor, como
   o "Recusar") e a mesma cor dourada — só muda o preenchimento: "Aceitar"
   é sólido, "Recusar" é contornado (borda e texto dourados bem visíveis,
   nada de preto). */
.cookie-banner-actions .btn {
  padding: 11px 20px;
  font-size: 12px;
  font-weight: 600;
}

.cookie-banner-actions .btn-ghost {
  background: rgba(201,165,103,0.08);
  border: 1.5px solid var(--gold);
  color: var(--gold-bright);
  backdrop-filter: none;
}

.cookie-banner-actions .btn-ghost:hover {
  background: rgba(201,165,103,0.18);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  box-shadow: 0 4px 20px rgba(201,165,103,0.22);
}

/* =============================================================================
   MODAL "É PRECISO ACEITAR OS TERMOS E COOKIES"
   Aparece no centro da tela quando alguém que recusou os cookies tenta usar
   o WhatsApp ou enviar um formulário.
   ============================================================================= */
.consent-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(6, 8, 6, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition);
}

.consent-modal-overlay.is-visible {
  opacity: 1;
}

.consent-modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  background: var(--bg-soft);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  padding: 32px 28px 28px;
  text-align: center;
  transform: translateY(12px) scale(0.98);
  transition: transform var(--transition);
}

.consent-modal-overlay.is-visible .consent-modal {
  transform: translateY(0) scale(1);
}

.consent-modal h3 {
  font-family: var(--font-display, inherit);
  font-size: 22px;
  color: var(--gold-bright);
  margin: 0 0 12px;
}

.consent-modal p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 24px;
}

.consent-modal p a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-modal p a:hover { color: var(--gold-bright); }

.consent-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.consent-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}

.consent-modal-close:hover {
  background: var(--gold-soft);
  color: var(--gold-bright);
}

@media (max-width: 640px) {
  .cookie-banner {
    padding: 12px;
  }

  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cookie-banner-text {
    font-size: 12.5px;
    line-height: 1.45;
    flex-basis: 100%;
  }

  .cookie-banner-actions {
    width: 100%;
    gap: 8px;
  }

  .cookie-banner-actions .btn {
    flex: 1 1 auto;
    min-height: 36px;
    padding: 9px 12px;
    font-size: 12px;
  }
}

/* =============================================================================
   CHECKLIST DE CONSENTIMENTO NOS CARDS DE VAGA (antes de "Quero me cadastrar")
   ============================================================================= */
.vaga-consent {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--border-strong);
}

.vaga-consent .checkbox-label {
  font-size: 12.5px;
  line-height: 1.55;
}

.vaga-consent .field-error {
  margin-top: 6px;
}

/* Links/etiquetas travados até o checkbox do card ser marcado */
.service-apply.is-locked,
.service-tag.is-locked {
  opacity: 0.5;
}

.service-apply.is-locked::after {
  content: " (marque o consentimento acima)";
  font-size: 11px;
  opacity: 0.8;
}
/* =============================================================================
   DOCUMENTOS LEGAIS (Termos de Uso / Política de Privacidade)
   Layout com sumário lateral fixo + tipografia maior e mais espaçada,
   pensado pra texto jurídico longo ficar confortável de ler.
   ============================================================================= */

.legal-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 110px;
  border-left: 2px solid var(--border);
  padding-left: 20px;
}

.legal-toc-title {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.legal-toc a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  padding: 6px 0;
  line-height: 1.4;
  transition: color var(--transition);
}

.legal-toc a:hover {
  color: var(--gold);
}

.legal-doc {
  max-width: 760px;
}

.legal-section {
  margin-bottom: 48px;
  scroll-margin-top: 110px;
}

.legal-section h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--text);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.legal-section h2 .legal-num {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--gold);
}

.legal-section h3 {
  font-size: 17px;
  color: var(--gold-bright);
  margin: 28px 0 10px;
}

.legal-section h4 {
  font-size: 15px;
  color: var(--text);
  margin: 20px 0 8px;
}

.legal-section p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-section ul {
  margin: 0 0 16px;
  padding-left: 20px;
}

.legal-section ul li {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-section strong {
  color: var(--text);
}

.legal-section a {
  color: var(--gold);
  text-decoration: underline;
}

.legal-signature {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.7;
}

/* =============================================================================
   PÁGINAS DE POLÍTICA (Privacidade / Termos) — títulos e subtítulos sempre
   dourados, nunca brancos. O texto corrido continua branco/cinza normal.
   ============================================================================= */
body.conteudo-protegido .page-hero-title,
body.conteudo-protegido .legal-toc-title,
body.conteudo-protegido .legal-section h2,
body.conteudo-protegido .legal-section h3,
body.conteudo-protegido .legal-section h4 {
  color: var(--gold);
}

@media (max-width: 960px) {
  .legal-layout { grid-template-columns: 1fr; }
  .legal-toc { display: none; }
}

/* =============================================================================
   PROTEÇÃO DE CONTEÚDO (páginas de Termos e Privacidade)
   Dificulta cópia, seleção e impressão do texto — não é uma trava
   perfeita (nada na web é), mas cobre o clique direito, atalhos de
   teclado, seleção de texto e a página impressa.
   ============================================================================= */

body.conteudo-protegido .legal-doc,
body.conteudo-protegido .legal-toc {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

#printGuard {
  display: none;
}

@media print {
  body.conteudo-protegido > *:not(#printGuard) {
    display: none !important;
  }
  body.conteudo-protegido #printGuard {
    display: block !important;
    padding: 140px 40px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #000;
  }
}

/* =============================================================================
   NOVAS DECORAÇÕES DO SITE — canvas de estrelas/partículas, faíscas na
   barra de rolagem e engrenagem no rodapé. Tudo adicionado no fim do
   arquivo de propósito, sem tocar em nenhuma regra já existente acima.
   ============================================================================= */

/* Canvas fixo de partículas/estrelas, atrás de todo o conteúdo do site. */
#siteParticles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Rede de segurança de camadas: garante que qualquer bloco direto do body
   (cabeçalho, seções, rodapé etc.) sempre desenhe por cima do canvas de
   partículas, sem precisar mexer no z-index de cada um individualmente.
   Elementos que já têm position/z-index próprios (ex: o próprio widget do
   WhatsApp, que é position:fixed) continuam mandando, porque a regra deles
   é mais específica que esta aqui. */
body > *:not(script) {
  position: relative;
  z-index: 1;
}
#siteParticles { z-index: 0; }

/* Faíscas soltas pela barrinha de progresso ao rolar a página. */
.scroll-spark {
  position: fixed;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #FFD98A;
  box-shadow:
    0 0 6px 1px rgba(255, 217, 138, .9),
    0 0 14px 3px rgba(201, 165, 103, .5);
  pointer-events: none;
  z-index: 250;
  animation: scrollSparkFall var(--dur, 700ms) ease-out forwards;
}

@keyframes scrollSparkFall {
  0%   { transform: translate(0, 0) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx, 12px), var(--dy, 26px)) scale(.25); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-spark { display: none; }
}
