/* ============================================================
   ESTICA DO ULISSES® — styles.css v5.0 (rebuild Hono/Cloudflare)
   Paleta: preto profundo + azul Estica + dourado
   ============================================================ */

/* ---------- Fontes oficiais Estica do Ulisses ---------- */
@font-face {
  font-family: 'Roca Two';
  src: url('/static/fonts/RocaTwo.woff2') format('woff2'),
       url('/static/fonts/RocaTwo.otf') format('opentype');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Lemon Tuesday';
  src: url('/static/fonts/LemonTuesday.woff2') format('woff2'),
       url('/static/fonts/LemonTuesday.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --preto:         #0a0a0a;
  --preto-suave:   #0d0d14;
  --preto-card:    #12121e;
  --teal:          #1a4a8a;   /* azul Estica principal */
  --teal-claro:    #3a7bd5;   /* azul Estica claro */
  --teal-suave:    rgba(26,74,138,0.18);
  --dourado:       #c9a84c;
  --dourado-claro: #e8c97a;
  --dourado-suave: rgba(201,168,76,0.10);
  --branco:        #f0ede8;
  --branco-70:     rgba(240,237,232,0.70);
  --branco-40:     rgba(240,237,232,0.40);
  --cinza:         #888888;
  --borda:         rgba(201,168,76,0.18);
  --borda-teal:    rgba(26,74,138,0.35);
  --radius:        14px;
  --radius-sm:     8px;
  --sombra:        0 4px 32px rgba(0,0,0,0.50);
  --sombra-card:   0 2px 16px rgba(0,0,0,0.40);
  --font-serif:    'Roca Two', 'Playfair Display', Georgia, serif;
  --font-script:   'Lemon Tuesday', 'Playfair Display', cursive;
  --font-sans:     'Inter', system-ui, sans-serif;
  --max:           1140px;
  --transition:    0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: clip; /* clip não cria containing block, não quebra position:fixed */ }

body {
  background: var(--preto);
  color: var(--branco);
  font-family: var(--font-sans);
  line-height: 1.65;
  /* overflow-x no html (não no body) — evita quebrar position:fixed */
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); line-height: 1.2; }
h1 { font-size: clamp(2.6rem, 8vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

.tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--dourado);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/* ---------- Layout helpers ---------- */
.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.section   { padding: 6rem 0; }
.section--alt { background: var(--preto-suave); }
.divider {
  width: 48px; height: 2px;
  background: linear-gradient(90deg, var(--dourado), var(--teal-claro));
  margin: 1.5rem auto;
  border-radius: 2px;
}
.divider--left { margin-left: 0; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.9rem; font-weight: 500; letter-spacing: 0.04em;
  border-radius: 50px;
  transition: var(--transition);
}
.btn--gold {
  background: var(--dourado);
  color: var(--preto);
}
.btn--gold:hover {
  background: var(--dourado-claro);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.35);
}
.btn--teal {
  background: var(--teal);
  color: var(--branco);
}
.btn--teal:hover {
  background: var(--teal-claro);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,122,110,0.35);
}
.btn--outline {
  background: transparent;
  border: 1px solid var(--dourado);
  color: var(--dourado);
}
.btn--outline:hover {
  background: var(--dourado-suave);
  transform: translateY(-2px);
}
.btn--outline-teal,
.btn--outline-gold {
  background: transparent;
  border: 1px solid var(--dourado);
  color: var(--dourado);
}
.btn--outline-teal:hover,
.btn--outline-gold:hover {
  background: var(--dourado-suave);
}

/* REQ-02 (v2.3): microanimação de pulso (respiração) nos CTAs de primeira ordem
   "Entrar no Radar" e "Área do(a) Convidado(a)". Baixa amplitude, não move o layout
   (usa apenas box-shadow, sem transform/scale para não deslocar elementos vizinhos),
   pausa em hover/focus e é neutralizada com prefers-reduced-motion. */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,172,78,0.45); }
  50% { box-shadow: 0 0 0 6px rgba(212,172,78,0); }
}
.cta-pulse { animation: ctaPulse 2.6s ease-in-out infinite; }
.cta-pulse:hover,
.cta-pulse:focus-visible,
.cta-pulse:active { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .cta-pulse { animation: none; }
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--borda);
}
.navbar__inner {
  display: flex; align-items: center; justify-content: space-between;
}
.navbar__logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--dourado);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.navbar__logo span { color: var(--branco-70); font-weight: 300; }
.navbar__logo-text { display: inline; font-family: inherit; color: inherit; }
.navbar__logo-text sup { font-size: 0.55em; color: var(--dourado); vertical-align: super; }
/* Remove estilo da logo-img (não usada) */
.navbar__logo-img { display: none; }
.navbar__nav { display: flex; align-items: center; gap: 2rem; }
.navbar__nav a {
  font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--branco-70);
  transition: color var(--transition);
}
.navbar__nav a:hover { color: var(--dourado); }
.navbar__cta {
  padding: 0.55rem 1.4rem;
  font-size: 0.82rem; font-weight: 500;
  background: var(--dourado); color: var(--preto);
  border-radius: 50px;
  transition: var(--transition);
}
.navbar__cta:hover { background: var(--dourado-claro); }
.navbar__hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 4px;
}
.navbar__hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--branco); border-radius: 2px;
  transition: var(--transition);
}
.navbar__mobile {
  display: none;
  position: fixed; inset: 0; z-index: 99;
  background: rgba(10,10,10,0.98);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem; padding: 2rem;
}
.navbar__mobile.open { display: flex; }
.navbar__mobile a {
  font-family: var(--font-serif);
  font-size: 1.6rem; color: var(--branco-70);
  transition: color var(--transition);
}
.navbar__mobile a:hover { color: var(--dourado); }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 5rem;
  position: relative; overflow: hidden;
}
/* REQ-01 (v2.3): fundo real da 1ª dobra — ITEM 1, priorizando a base da foto
   (onde estão as pessoas/piscina), com recorte próprio para mobile (não é
   um simples crop do desktop). Fallback JPEG para navegadores sem WebP. */
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('/static/img/req/hero-item1-mobile.jpg');
  background-image: -webkit-image-set(
    url('/static/img/req/hero-item1-mobile.webp') 1x
  );
  background-image: image-set(
    url('/static/img/req/hero-item1-mobile.webp') type('image/webp') 1x,
    url('/static/img/req/hero-item1-mobile.jpg') type('image/jpeg') 1x
  );
  background-size: cover;
  background-position: center bottom; /* prioriza base da cena */
  background-repeat: no-repeat;
}
@media (min-width: 769px) {
  .hero__bg {
    background-image: url('/static/img/req/hero-item1-desktop.jpg');
    background-image: -webkit-image-set(
      url('/static/img/req/hero-item1-desktop.webp') 1x
    );
    background-image: image-set(
      url('/static/img/req/hero-item1-desktop.webp') type('image/webp') 1x,
      url('/static/img/req/hero-item1-desktop.jpg') type('image/jpeg') 1x
    );
    background-position: center bottom;
  }
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  /* overlay: escuro o suficiente para texto legivel, foto visivelmente presente */
  /* overlay forte no centro para texto sempre legivel */
  background:
    linear-gradient(to bottom,
      rgba(10,10,10,0.65) 0%,
      rgba(10,10,10,0.72) 50%,
      rgba(10,10,10,0.85) 100%);
  pointer-events: none;
}
.hero__content { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; text-align: center; width: 100%; }
.hero__symbol {
  font-size: 1.6rem; margin-bottom: 2rem;
  color: var(--dourado);
  opacity: 0.6;
  letter-spacing: 0.5em;
  animation: float 4s ease-in-out infinite;
  display: block;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}
.hero__title { color: var(--dourado); margin-bottom: 0.4rem; }
.hero__marca {
  font-size: 0.72rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--cinza); margin-bottom: 2rem;
}
.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--branco-70); font-weight: 300;
  max-width: 540px; margin: 0 auto 2.5rem;
}
.hero__tagline {
  /* Ajuste (21/08): era font-family:var(--font-script) (Lemon Tuesday, cursiva)
     via inline style em hero.ts — convidados reportaram dificuldade de leitura.
     Mantém o clima elegante com font-serif (Roca Two) + itálico, sem cursiva. */
  font-family: var(--font-serif);
  font-style: italic; font-size: 1rem;
  color: var(--dourado-claro); opacity: 0.85; margin-bottom: 2.5rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero__scroll {
  position: absolute; bottom: 2.5rem; left: 50%; transform: translateX(-50%);
  z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
}
.hero__scroll span {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--cinza);
}
.hero__scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--dourado), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}

/* ---------- SOBRE ---------- */
/* REQ-08 (v2.3): ITEM 8 como fundo/atmosfera da seção "O encontro".
   Base da foto priorizada (object-position bottom); overlay escuro garante
   contraste AA para o conteúdo editorial sobreposto. */
.sobre--bg-item8 {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.sobre--bg-item8 .sobre__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('/static/img/req/sobre-item8.jpg');
  background-image: image-set(
    url('/static/img/req/sobre-item8.webp') type('image/webp') 1x,
    url('/static/img/req/sobre-item8.jpg') type('image/jpeg') 1x
  );
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}
.sobre--bg-item8 .sobre__bg-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(10,10,10,0.90) 0%, rgba(10,10,10,0.86) 45%, rgba(10,10,10,0.93) 100%);
}
.sobre--bg-item8 .container { position: relative; z-index: 2; }
/* REQ-10 (v2.3): composição assimétrica no desktop — bloco editorial maior à
   esquerda (evita headline quebrando em excesso) e cards secundários proporcionais
   à direita, alinhados em altura/ritmo com o bloco principal. Mobile empilha
   (media query 1024px abaixo). */
.sobre__grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem;
  align-items: center;
}
.sobre__text .lead {
  font-size: 1.15rem; font-weight: 300; color: var(--branco-70);
  margin-bottom: 1.5rem;
}
.sobre__text p { color: var(--branco-70); margin-bottom: 1rem; font-weight: 300; }
.sobre__visual {
  position: relative;
}
.sobre__card {
  background: var(--dourado-suave);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
}
.sobre__card::before {
  content: '"';
  font-family: var(--font-serif);
  font-size: 8rem; line-height: 1;
  color: var(--dourado); opacity: 0.12;
  position: absolute; top: -1rem; left: 1rem;
}
.sobre__quote {
  font-family: var(--font-serif);
  font-size: 1.25rem; font-style: italic;
  color: var(--branco-70); line-height: 1.5;
}
.sobre__quote em { color: var(--dourado); font-style: normal; }
.sobre__stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-top: 2.5rem;
}
.stat {
  text-align: center; padding: 1.25rem;
  background: var(--dourado-suave);
  border: 1px solid var(--borda);
  border-radius: var(--radius-sm);
}
.stat__num {
  font-family: var(--font-serif); font-size: 2rem;
  color: var(--dourado); display: block;
}
.stat__label { font-size: 0.78rem; color: var(--cinza); letter-spacing: 0.05em; }

/* ---------- ESTICA DE SER ---------- */
.ser { background: var(--preto-suave); }
.ser__header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.ser__header h2 { color: var(--dourado); }
.ser__cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-bottom: 3rem;
}
.ser__card {
  background: var(--preto-card);
  border: 1px solid var(--borda-teal);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.ser__card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--dourado));
  opacity: 0;
  transition: opacity var(--transition);
}
.ser__card:hover::before { opacity: 1; }
.ser__card:hover {
  background: rgba(26,122,110,0.08);
  transform: translateY(-4px);
  box-shadow: var(--sombra-card);
}
.ser__icon { font-size: 2rem; margin-bottom: 1rem; }
.ser__card h3 { color: var(--dourado); margin-bottom: 0.75rem; font-size: 1.1rem; }
.ser__card p { color: var(--branco-70); font-size: 0.9rem; font-weight: 300; line-height: 1.7; }
.ser__valores {
  border: 1px solid var(--borda-teal);
  border-radius: var(--radius);
  padding: 2rem 2.5rem;
  background: rgba(26,122,110,0.05);
  margin-bottom: 3rem;
}
.ser__valores h3 { color: var(--dourado); margin-bottom: 1.25rem; }
.valores__grid {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
}
.valor {
  padding: 0.45rem 1rem;
  border: 1px solid var(--borda-teal);
  border-radius: 50px;
  font-size: 0.82rem; color: var(--branco-70);
  transition: var(--transition);
}
.valor:hover { background: var(--dourado-suave); color: var(--dourado); }
.ser__manifesto {
  background: var(--dourado-suave);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  max-width: 700px; margin: 0 auto;
}
.ser__manifesto p {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-style: italic;
  color: var(--branco-70); line-height: 1.7; margin-bottom: 1.5rem;
}
.ser__manifesto p em { color: var(--dourado); font-style: normal; }

/* ---------- REGISTROS / GALERIA ---------- */
.galeria__header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.galeria__header h2 { color: var(--dourado); }
.galeria__filtros {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: center; margin-bottom: 2.5rem;
}
.filtro-btn {
  padding: 0.4rem 1.1rem;
  font-size: 0.78rem; letter-spacing: 0.05em;
  border: 1px solid var(--borda); border-radius: 50px;
  color: var(--cinza);
  transition: var(--transition);
}
.filtro-btn:hover, .filtro-btn.active {
  background: var(--dourado-suave);
  border-color: var(--dourado);
  color: var(--dourado);
}

/* Video grid */
.videos__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
  margin-bottom: 3rem;
}
.video-card {
  background: var(--preto-card);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.video-card:hover { transform: translateY(-4px); box-shadow: var(--sombra); }
.video-thumb {
  position: relative; padding-bottom: 56.25%;
  background: #0d0d0d; overflow: hidden; cursor: pointer;
}
.video-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--transition);
}
.video-thumb:hover img { transform: scale(1.04); }
.video-thumb__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.35);
  transition: background var(--transition);
}
.video-thumb:hover .video-thumb__play { background: rgba(0,0,0,0.20); }
.play-btn {
  width: 56px; height: 56px;
  background: var(--dourado); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(201,168,76,0.5);
}
.video-thumb:hover .play-btn { transform: scale(1.1); background: var(--dourado-claro); }
.play-btn svg { fill: var(--preto); width: 20px; height: 20px; margin-left: 3px; }
.video-card__body { padding: 1.25rem 1.5rem; }
.video-card__label {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--dourado); margin-bottom: 0.4rem;
}
.video-card__title { color: var(--branco); font-size: 1rem; margin-bottom: 0.5rem; }
.video-card__desc { color: var(--cinza); font-size: 0.85rem; font-weight: 300; }

/* iframe responsivo */
.video-iframe-wrap {
  position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border-radius: var(--radius); background: #000;
}
.video-iframe-wrap iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: none; border-radius: var(--radius);
}

/* Foto galeria masonry-like */
.fotos__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-bottom: 2rem;
}
/* Destaque ocupa 2 colunas em desktop */
@media (min-width: 1025px) {
  .fotos__grid .foto-item.destaque {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }
}
.foto-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--preto-card);
  border: 1px solid var(--borda);
}
.foto-item.destaque {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.foto-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--transition);
}
.foto-item:hover img { transform: scale(1.05); }
.foto-item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.75));
  opacity: 0; transition: opacity var(--transition);
  display: flex; align-items: flex-end; padding: 1rem;
}
.foto-item:hover .foto-item__overlay { opacity: 1; }
.foto-item__overlay span {
  font-size: 0.8rem; color: var(--branco-70);
}

/* Drive link */
.drive-cta {
  background: var(--teal-suave);
  border: 1px solid var(--borda-teal);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}
.drive-cta p { color: var(--branco-70); margin-bottom: 1.25rem; font-weight: 300; }

/* ---------- SOUNDCLOUD ---------- */
.sound { background: var(--preto-suave); }
.sound__inner {
  /* Ajuste (21/08): card "App oficial" removido — grid volta a 2 colunas
     (texto + flyer), flyer ganha mais espaço (sound__flyer--wide abaixo). */
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
  align-items: center;
}
.sound__text .tag { color: var(--dourado); }
.sound__text h2 { color: var(--branco); margin-bottom: 1rem; }
.sound__text p { color: var(--branco-70); font-weight: 300; margin-bottom: 2rem; }
.sound__cta { display: inline-flex; align-items: center; gap: 0.55rem; }
.sound__player {
  background: var(--preto-card);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  overflow: hidden;
}
.sound__player iframe { display: block; }
.sound__fallback {
  padding: 2rem; text-align: center;
  display: none; /* shown if iframe fails */
}
.sound__fallback p { color: var(--branco-70); margin-bottom: 1rem; font-weight: 300; }

/* REQ-19 (v2.3): flyer ITEM 18 ao lado do texto da trilha — arte original preservada,
   apenas enquadramento (proporção/sombra) + animação de entrada sutil e opcional. */
.sound__flyer {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(0,0,0,0.45);
  border: 1px solid rgba(201,168,76,0.25);
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.sound__flyer.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.sound__flyer img { width: 100%; height: auto; display: block; }
/* Ajuste (21/08): flyer ampliado — ocupa a coluna que era do card "App
   oficial" (removido). Sem limite artificial de largura na coluna. */
.sound__flyer--wide { max-width: 100%; }
@media (prefers-reduced-motion: reduce) {
  .sound__flyer { opacity: 1; transform: none; transition: none; }
}

/* ---------- PARTICIPAR (REQ-20/21/22/23/24 v2.3) ---------- */
.participar { background: var(--preto); }
.participar__header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.participar__header h2 { color: var(--dourado); }

/* Grid assimétrico desktop: Radar ocupa ~55%, secundários ~45% em coluna */
.participar__grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.75rem;
  align-items: stretch;
}
.participar__secondary {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.part-card {
  background: var(--preto-card);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.part-card:hover {
  border-color: var(--dourado);
  background: var(--dourado-suave);
  transform: translateY(-4px);
}
.part-card--primary {
  justify-content: center;
  padding: 2.75rem 2.25rem;
  border-color: rgba(201,168,76,0.35);
  background: linear-gradient(160deg, var(--dourado-suave), var(--preto-card) 70%);
}
.part-card--secondary { flex: 1; padding: 1.75rem 1.5rem; }
.part-card__eyebrow { margin-bottom: 0.9rem; }
.part-card__icon {
  width: 44px; height: 44px;
  margin: 0 auto 1rem;
  color: var(--dourado-claro);
}
.part-card--primary .part-card__icon { width: 54px; height: 54px; }
.part-card__icon svg { width: 100%; height: 100%; }
.part-card h3 { color: var(--dourado-claro); margin-bottom: 0.75rem; font-size: 1.05rem; }
.part-card--primary h3 { font-size: 1.35rem; }
.part-card p { color: var(--branco-70); font-size: 0.88rem; font-weight: 300; margin-bottom: 1.5rem; }
.part-card__cta { width: 100%; justify-content: center; }
.part-card__note {
  font-size: 0.72rem !important;
  color: var(--cinza) !important;
  font-weight: 300 !important;
  margin: 0.85rem 0 0 !important;
  line-height: 1.5;
}

/* REQ-24: reduzir competição visual do botão flutuante "Apoie o Estica"
   quando a seção Participar está em foco na viewport */
#apoieFloat.is-muted #apoieFloatBtn {
  opacity: 0.55;
  transform: scale(0.92);
}

/* Formulário radar */
.radar-form { max-width: 540px; margin: 0 auto; }
.radar-form__title { text-align: center; color: var(--dourado); margin-bottom: 0.5rem; }
.radar-form__sub { text-align: center; color: var(--branco-70); font-weight: 300; margin-bottom: 2rem; font-size: 0.95rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.82rem; color: var(--cinza); margin-bottom: 0.4rem; letter-spacing: 0.04em; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 0.85rem 1rem;
  background: var(--preto-card);
  border: 1px solid var(--borda);
  border-radius: var(--radius-sm);
  color: var(--branco); font-family: var(--font-sans); font-size: 0.9rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--dourado);
}
.form-group select option { background: var(--preto-card); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-check {
  display: flex; align-items: flex-start; gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.form-check input[type="checkbox"] { margin-top: 3px; accent-color: var(--dourado); }
.form-check label { font-size: 0.8rem; color: var(--branco-40); line-height: 1.5; }
.form-check a { color: var(--dourado); text-decoration: underline; }
.form-success {
  display: none; text-align: center; padding: 2rem;
  background: var(--teal-suave); border-radius: var(--radius);
  border: 1px solid var(--borda-teal);
}
.form-success p { color: var(--branco-70); margin-top: 0.75rem; }

/* ---------- FAQ ---------- */
.faq { background: var(--preto-suave); }
.faq__header { text-align: center; max-width: 560px; margin: 0 auto 3rem; }
.faq__list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--borda);
}
.faq-item__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0;
  text-align: left; color: var(--branco);
  font-size: 0.95rem; font-weight: 400;
  cursor: pointer; transition: color var(--transition);
}
.faq-item__btn:hover { color: var(--dourado); }
.faq-item__btn span:last-child {
  font-size: 1.4rem; line-height: 1; color: var(--dourado);
  transition: transform var(--transition);
}
.faq-item.open .faq-item__btn span:last-child { transform: rotate(45deg); }
.faq-item__body {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.open .faq-item__body { max-height: 500px; padding-bottom: 0.5rem; }
.faq-item__body p {
  color: var(--branco-70); font-weight: 300;
  font-size: 0.9rem; padding: 0 0 1.25rem;
  line-height: 1.7;
}

/* ---------- CANAL WHATSAPP ---------- */
.canal { background: var(--preto); text-align: center; }
.canal__inner { max-width: 560px; margin: 0 auto; }
.canal__icon { font-size: 3.5rem; margin-bottom: 1rem; }
.canal__inner h2 { color: var(--dourado); margin-bottom: 1rem; }
.canal__inner p { color: var(--branco-70); font-weight: 300; margin-bottom: 2.5rem; }

/* ---------- LGPD banner v1 (substituído por v2 abaixo) ---------- */
.lgpd-banner-REMOVED {
  /* regras antigas removidas — ver seção LGPD BANNER v2 no final */
}
.lgpd-policy-OLD {
  padding: 0.55rem 1.4rem; border-radius: 50px; font-size: 0.82rem;
  border: 1px solid var(--borda); color: var(--cinza);
  transition: var(--transition);
}
.lgpd-policy:hover { border-color: var(--dourado); color: var(--dourado); }

/* ---------- RODAPÉ ---------- */
.footer {
  background: var(--preto-suave);
  border-top: 1px solid var(--borda);
  padding: 4rem 0 2rem;
}
.footer__grid {
  /* Ajuste (21/08): 5ª coluna "Curadoria" (LinkedIn) adicionada após "Siga o
     Estica" — grid-template-columns ampliado de 4 para 5 faixas. */
  display: grid; grid-template-columns: 1.6fr 0.85fr 0.85fr 0.85fr 0.85fr; gap: 2.25rem;
  margin-bottom: 3rem;
}

/* Bloco "Conexão segura · Canal oficial verificado" (pedido de Uly, 09/08,
   refinado em 14/08 com selos reais de HTTPS/TLS — ver nota em footer.ts) */
.footer__trust {
  max-width: 640px;
  margin: 1.75rem auto 0;
  padding: 1.25rem 1.4rem 1.4rem;
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.22);
  border-radius: var(--radius-sm);
  text-align: left;
}
.footer__trust-header {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}
.footer__trust-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  color: var(--dourado-claro);
  margin-top: 0.1rem;
}
.footer__trust-icon svg { width: 100%; height: 100%; }
.footer__trust-title {
  color: var(--dourado-claro);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 0.3rem;
}
.footer__trust-desc {
  color: var(--branco-70);
  font-size: 0.78rem;
  font-weight: 300;
  line-height: 1.6;
}
.footer__trust-desc strong { color: var(--branco); font-weight: 600; }

/* Selos reais (HTTPS/TLS via Cloudflare, domínio, LGPD) — nunca marcas de terceiros */
.footer__trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin: 1.1rem 0 0;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.6rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(201,168,76,0.16);
  border-radius: 10px;
}
.trust-badge__icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  color: #7fd97f;
}
.trust-badge__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}
.trust-badge__text strong {
  color: var(--branco);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
}
.trust-badge__text span {
  color: var(--branco-70);
  font-size: 0.66rem;
  font-weight: 300;
  line-height: 1.25;
}
.footer__trust-howto {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed rgba(201,168,76,0.18);
  color: var(--branco-70);
  font-size: 0.72rem;
  line-height: 1.6;
  text-align: center;
}
.footer__trust-howto strong { color: var(--dourado-claro); font-weight: 700; }

@media (max-width: 640px) {
  .footer__trust-badges { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .footer__trust { padding: 1rem 1rem 1.1rem; }
  .footer__trust-header { flex-direction: column; align-items: center; text-align: center; }
  .footer__trust-desc { font-size: 0.76rem; }
  .trust-badge { justify-content: center; text-align: left; }
}
.footer__brand .footer__logo {
  font-family: var(--font-serif); font-size: 1.3rem;
  color: var(--dourado); margin-bottom: 0.75rem;
}
.footer__brand p { color: var(--cinza); font-size: 0.85rem; font-weight: 300; max-width: 260px; line-height: 1.6; }
.footer__col h4 { color: var(--branco); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.25rem; }
.footer__col ul { list-style: none; }
.footer__col ul li { margin-bottom: 0.6rem; }
.footer__col ul li a { font-size: 0.85rem; color: var(--cinza); transition: color var(--transition); }
.footer__col ul li a:hover { color: var(--dourado); }
.footer__bottom {
  border-top: 1px solid var(--borda);
  padding-top: 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer__bottom p { font-size: 0.78rem; color: var(--cinza); }
.footer__bottom span { color: var(--dourado); }
.footer__social { display: flex; gap: 1rem; }
.footer__social a {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--borda);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--cinza);
  transition: var(--transition);
}
.footer__social a:hover { border-color: var(--dourado); color: var(--dourado); }

/* ---------- LIGHTBOX ---------- */
.lightbox {
  display: none; position: fixed; inset: 0; z-index: 300;
  background: rgba(0,0,0,0.95);
  align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox__img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius); object-fit: contain; }
.lightbox__close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  font-size: 2rem; color: var(--branco-70); cursor: pointer;
  transition: color var(--transition);
}
.lightbox__close:hover { color: var(--dourado); }
.lightbox__caption {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  font-size: 0.85rem; color: var(--branco-70); text-align: center;
}

/* ---------- Scroll to top ---------- */
.scroll-top {
  position: fixed; bottom: 5rem; right: 1.5rem; z-index: 150;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--dourado); color: var(--preto);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: var(--sombra-card);
}
.scroll-top.visible { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); }

/* ---------- Responsividade ---------- */
@media (max-width: 1024px) {
  .sobre__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .sound__inner { grid-template-columns: 1fr; }
  .fotos__grid { grid-template-columns: repeat(3, 1fr); }
  .fotos__grid .foto-item.destaque { grid-column: span 2; }
}

@media (max-width: 768px) {
  .section { padding: 4.5rem 0; }
  .navbar__nav, .navbar__cta { display: none; }
  .navbar__hamburger { display: flex; }
  .ser__cards { grid-template-columns: 1fr; }
  .videos__grid { grid-template-columns: 1fr; }
  .fotos__grid { grid-template-columns: repeat(2, 1fr); }
  .foto-item.destaque { grid-column: span 2; }
  .participar__grid { grid-template-columns: 1fr; }
  .participar__secondary { flex-direction: column; }
  .sobre__stats { grid-template-columns: repeat(3,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; align-items: center; }
  .fotos__grid { grid-template-columns: 1fr; }
  .foto-item.destaque { grid-column: span 1; aspect-ratio: 4/3; }
  .sobre__stats { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .lgpd-banner { flex-direction: column; }
}

/* ---------- Navbar logo image ---------- */
.navbar__logo-img {
  height: 40px; width: auto;
  display: block;
  border-radius: 6px;
  /* Remove white background - mix-blend-mode ou filter */
  filter: brightness(1.08) contrast(1.05);
  transition: opacity var(--transition);
}
.navbar__logo-img:hover { opacity: 0.82; }

/* REQ-16 (v2.3): popup de instalação manual passo a passo por plataforma */
.install-steps li {
  display: flex; align-items: flex-start; gap: 0.75rem;
  color: var(--branco-70); font-size: 0.88rem; line-height: 1.5;
  margin-bottom: 0.9rem;
}
.install-steps li:last-child { margin-bottom: 0; }
.install-step__num {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--dourado-suave); border: 1px solid var(--dourado);
  color: var(--dourado); font-weight: 700; font-size: 0.78rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Galeria expandida ---------- */
.galeria__subtitle {
  color: var(--branco-70);
  font-weight: 300;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

/* ---------- Foto-item com imagem real ---------- */
.foto-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.foto-item:hover img { transform: scale(1.04); }
.foto-item { overflow: hidden; }

/* ---------- Lightbox img ---------- */
.lightbox__img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius); }

/* ---------- Estica de SER video ---------- */
.ser__video-wrap {
  border-radius: var(--radius); overflow: hidden;
  margin: 2.5rem auto 0;
  max-width: 760px;
  border: 1px solid var(--borda-teal);
  position: relative;
}
.ser__video-wrap video {
  width: 100%; display: block;
  background: var(--preto);
}
.ser__video-label {
  background: var(--preto-card);
  padding: 0.75rem 1.25rem;
  font-size: 0.8rem; color: var(--branco-70);
  display: flex; align-items: center; gap: 0.5rem;
  border-top: 1px solid var(--borda-teal);
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.text-gold { color: var(--dourado); }
.text-teal { color: var(--teal-claro); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ================================================================
   RESPONSIVE FIXES — depoimentos, números, destaques, footer
   ================================================================ */

/* ── Depoimentos ── */
@media (max-width: 768px) {
  #depoimentos [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}
@media (max-width: 480px) {
  #depoimentos [style*="grid-template-columns:repeat(3"] {
    grid-template-columns: 1fr !important;
  }
}

/* ── Números ── */
@media (max-width: 768px) {
  #numeros [style*="grid-template-columns:repeat(5"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.5rem !important;
  }
}
@media (max-width: 480px) {
  #numeros [style*="grid-template-columns:repeat(5"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── Destaques full-width mobile ── */
@media (max-width: 768px) {
  #destaque-fotos > div[style*="height:520px"] { height: 320px !important; }
  #destaque-fotos > div[style*="height:480px"] { height: 300px !important; }
  #destaque-fotos > div[style*="height:440px"] { height: 280px !important; }
  #destaque-fotos > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    height: auto !important;
  }
  #destaque-fotos > div[style*="grid-template-columns:1fr 1fr"] > div {
    height: 260px !important;
  }
  #destaque-fotos h2 { font-size: 1.3rem !important; }
  #destaque-fotos > div > div { left: 1rem !important; right: 1rem !important; max-width: 100% !important; text-align: left !important; }
}
@media (max-width: 480px) {
  #destaque-fotos > div[style*="height:520px"] { height: 280px !important; }
  #destaque-fotos > div[style*="height:440px"] { height: 240px !important; }
  #destaque-fotos > div[style*="grid-template-columns:1fr 1fr"] > div { height: 220px !important; }
}

/* ── SER cards mobile ── */
@media (max-width: 480px) {
  .ser__cards { gap: 1rem; }
}

/* ── Sobre materiais grid (programação/mapa) ── */
@media (max-width: 480px) {
  .sobre__materiais { grid-template-columns: 1fr !important; }
}

/* ── Hero mobile adjustments ── */
@media (max-width: 480px) {
  .hero__title { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .hero__subtitle { font-size: 0.95rem; }
}

/* ── Navbar hamburguer — garantir visibilidade do texto logo ── */
@media (max-width: 768px) {
  .navbar__logo-text { font-size: 1.05rem; }
}

/* ================================================================
   SCROLL ANIMATIONS — IntersectionObserver via CSS
   GPU-only: transform + opacity (sem layout reflow)
   Respeita prefers-reduced-motion
   ================================================================ */

/* Estado inicial: elementos invisíveis antes de entrar na viewport */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto; /* libera após animar */
}

/* Variações de delay para stagger em grids */
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }

/* Variação horizontal para destaques (slide da esquerda) */
.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
  will-change: auto;
}

/* Scale sutil para fotos da galeria */
.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.5s ease, transform 0.5s ease;
  will-change: opacity, transform;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
  will-change: auto;
}

/* Usuários que preferem menos movimento: sem animação */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}

/* ================================================================
   LGPD BANNER v2 — Consent Mode, com toggles granulares
   ================================================================ */
.lgpd-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(10,10,10,0.97);
  border-top: 1px solid rgba(201,168,76,0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0;
  box-shadow: 0 -4px 32px rgba(0,0,0,0.6);
}
.lgpd-banner__content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.lgpd-banner__text {
  flex: 1;
  min-width: 240px;
}
.lgpd-banner__choices {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 260px;
}
.lgpd-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--branco-70);
}
.lgpd-toggle input[type="checkbox"] { display: none; }
.lgpd-toggle__slider {
  width: 36px; height: 20px;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  position: relative;
  flex-shrink: 0;
  transition: background 0.25s;
}
.lgpd-toggle__slider::after {
  content: '';
  position: absolute;
  top: 3px; left: 3px;
  width: 14px; height: 14px;
  background: var(--branco);
  border-radius: 50%;
  transition: transform 0.25s;
}
.lgpd-toggle input:checked ~ .lgpd-toggle__slider {
  background: var(--dourado);
}
.lgpd-toggle input:checked ~ .lgpd-toggle__slider::after {
  transform: translateX(16px);
}
.lgpd-toggle__label small { color: var(--cinza); font-size: 0.7rem; display: block; }
.lgpd-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.lgpd-accept {
  background: var(--dourado);
  color: var(--preto);
  border: none;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}
.lgpd-accept:hover { opacity: 0.85; }
.lgpd-accept--all {
  background: transparent;
  border: 1px solid var(--dourado);
  color: var(--dourado);
}
.lgpd-accept--all:hover { background: var(--dourado-suave); opacity: 1; }
.lgpd-decline {
  background: transparent;
  border: none;
  color: var(--cinza);
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0.3rem;
}
.lgpd-decline:hover { color: var(--branco-70); }

@media (max-width: 768px) {
  .lgpd-banner__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
  }
  .lgpd-banner__actions { width: 100%; }
  .lgpd-accept { flex: 1; text-align: center; }
}

/* Apoie section - responsive */
.apoie-grid { display:grid; grid-template-columns:1fr 1fr; gap:2rem; max-width:820px; margin:0 auto; }
@media (max-width: 768px) {
  .apoie-grid { grid-template-columns:1fr; gap:1.5rem; }
}

/* Botão flutuante Apoie - mobile positioning */
@media (max-width: 768px) {
  #apoieFloat { bottom:16px !important; left:16px !important; }
  #apoieFloatBtn { font-size:0.75rem !important; padding:0.6rem 1rem !important; }
}

/* Sobre docs grid - mobile stack */
@media (max-width: 768px) {
  .sobre__docs {
    grid-template-columns: 1fr !important;
  }
}

/* REQ-12 (v2.3): toggle 2022 / Pocket 2025 do arquivo histórico */
.docs-toggle__btn {
  background: transparent;
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--branco-70);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.docs-toggle__btn:hover { border-color: var(--dourado); color: var(--dourado-claro); }
.docs-toggle__btn.is-active {
  background: var(--dourado);
  border-color: var(--dourado);
  color: var(--preto);
}

/* Trabalhe/Parceiros grid - mobile stack */
@media (max-width: 768px) {
  #trabalhe .container > div > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* Destaque 2-col photo grid - mobile stack */
@media (max-width: 768px) {
  #destaque-fotos > div[style*="height:380px"] {
    height: auto !important;
  }
}

/* Numbers grid - mobile 2 cols then 3 */
@media (max-width: 480px) {
  #numeros [style*="grid-template-columns:repeat(5"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Fix floating button position on very small screens */
@media (max-width: 380px) {
  #apoieFloat { bottom:12px !important; left:12px !important; }
  #apoieFloatBtn { font-size:0.7rem !important; padding:0.5rem 0.8rem !important; }
}







/* Mobile adjustments */
@media (max-width: 768px) {

}

/* ── Hero: Logo circular centralizada + watermarks de fundo ── */
.hero__logo {
  margin-bottom: 1.5rem;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.hero__logo img {
  width: clamp(140px, 35vw, 220px);
  height: auto;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 8px 32px rgba(212,172,78,0.35));
  animation: heroLogoIn 1.2s ease-out;
}
@keyframes heroLogoIn {
  from { opacity: 0; transform: scale(0.85) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Hero: card "próxima edição" com pulso dourado contínuo ── */
.hero__next-edition {
  position: relative;
  margin: 1.5rem auto 0;
  max-width: 480px;
  background: rgba(212,172,78,0.1);
  border: 1px solid rgba(212,172,78,0.35);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  overflow: hidden;
  isolation: isolate;
  cursor: default;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  animation: heroNextEditionGlow 2.6s ease-in-out infinite;
}
.hero__next-edition:hover {
  transform: translateY(-2px);
  border-color: rgba(212,172,78,0.6);
  background: rgba(212,172,78,0.15);
}
/* Halo pulsante por trás do card — respiração contínua, sem gritar */
.hero__next-edition-pulse {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  z-index: -1;
  box-shadow: 0 0 0 0 rgba(212,172,78,0.45);
  animation: heroNextEditionRing 2.6s ease-out infinite;
  pointer-events: none;
}
.hero__next-edition-title {
  color: var(--dourado);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
}
.hero__next-edition-star {
  display: inline-block;
  animation: heroStarTwinkle 2.6s ease-in-out infinite;
}
.hero__next-edition-body {
  color: var(--branco-70);
  font-size: 0.82rem;
  line-height: 1.5;
}
@keyframes heroNextEditionGlow {
  0%, 100% { box-shadow: 0 0 14px 0 rgba(212,172,78,0.08); }
  50%      { box-shadow: 0 0 22px 4px rgba(212,172,78,0.28); }
}
@keyframes heroNextEditionRing {
  0%   { box-shadow: 0 0 0 0 rgba(212,172,78,0.4); }
  70%  { box-shadow: 0 0 0 10px rgba(212,172,78,0); }
  100% { box-shadow: 0 0 0 0 rgba(212,172,78,0); }
}
@keyframes heroStarTwinkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50%      { opacity: 0.55; transform: scale(1.25) rotate(20deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__next-edition,
  .hero__next-edition-pulse,
  .hero__next-edition-star {
    animation: none !important;
  }
}

/* Marca d'água desconexa nos cantos do hero */
.hero__watermark {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background: url('/static/img/logo-new-circular.webp') no-repeat center/contain;
  opacity: 0.06;
}
.hero__watermark--left {
  width: clamp(250px, 35vw, 500px);
  height: clamp(250px, 35vw, 500px);
  top: 5%;
  left: -8%;
  transform: rotate(-15deg);
}
.hero__watermark--right {
  width: clamp(200px, 28vw, 420px);
  height: clamp(200px, 28vw, 420px);
  bottom: 5%;
  right: -6%;
  transform: rotate(12deg);
}

/* Mobile hero adjustments */
@media (max-width: 768px) {
  .hero__logo img {
    width: clamp(130px, 40vw, 200px);
  }
  .hero__watermark--left {
    width: 200px; height: 200px;
    top: 2%; left: -15%;
  }
  .hero__watermark--right {
    width: 160px; height: 160px;
    bottom: 8%; right: -12%;
  }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 5rem 1.5rem 3rem;
  }
  .hero__logo img {
    width: 120px;
  }
  .hero__watermark--left {
    width: 150px; height: 150px;
  }
  .hero__watermark--right {
    width: 120px; height: 120px;
  }
  .hero__sub { font-size: 0.85rem; }
  .hero__tagline { font-size: 0.8rem; margin-bottom: 1rem; }
}

/* ================================================================
   SPLASH POPUP — pop-up promocional de entrada (+30 edições)
   Exibido uma vez por sessão, antes do usuário navegar pelo site.
   ================================================================ */
.splash-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.splash-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6,6,10,0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.splash-popup__card {
  position: relative;
  z-index: 1;
  /* Largura calculada a partir da altura disponível (imagem tem proporção
     fixa 597:980 ≈ 0.609), garantindo que card + CTA caibam SEMPRE na tela
     sem cortar a imagem e sem gerar barra de rolagem. */
  width: min(340px, 92vw, calc((100dvh - 175px) * 0.6092));
  max-height: 92vh;
  max-height: 92dvh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--preto-suave);
  border: 1px solid var(--borda);
  border-radius: var(--radius);
  box-shadow: var(--sombra);
  animation: splashPopupIn 0.4s cubic-bezier(0.16,1,0.3,1);
}
@keyframes splashPopupIn {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.splash-popup__close {
  position: absolute;
  top: 0.6rem; right: 0.6rem;
  z-index: 3;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--borda);
  background: rgba(10,10,10,0.75);
  color: var(--branco);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.splash-popup__close:hover { background: var(--dourado); color: var(--preto); }
.splash-popup__imgwrap {
  position: relative;
  line-height: 0;
}
.splash-popup__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius) var(--radius) 0 0;
}
/* Hotspots posicionados em % relativo à imagem (aspect-ratio 597:1024),
   calculados por análise de pixel da faixa dourada dos ícones (~69%-74% da altura). */
.splash-popup__hotspots {
  position: absolute;
  inset: 0;
}
.splash-popup__hotspot {
  position: absolute;
  top: 70.5%;
  height: 7.3%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.splash-popup__hotspot--1 { left: 0%;      width: 30.74%; }
.splash-popup__hotspot--2 { left: 30.74%;  width: 20.18%; }
.splash-popup__hotspot--3 { left: 50.92%;  width: 21.36%; }
.splash-popup__hotspot--4 { left: 72.28%;  width: 27.72%; }
.splash-popup__hotspot span { display: none; }
.splash-popup__hotspot:hover,
.splash-popup__hotspot:focus-visible {
  background: rgba(201,168,76,0.16);
  outline: 1px solid var(--borda);
}
.splash-popup__cta {
  width: 100%;
  padding: 0.65rem 1rem 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}
.splash-popup__cta .btn {
  width: 100%;
  justify-content: center;
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
}
.splash-popup__skip {
  background: none;
  border: none;
  color: var(--branco-40);
  font-size: 0.75rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.15rem;
  transition: var(--transition);
}
.splash-popup__skip:hover { color: var(--branco-70); }

@media (max-width: 420px) {
  .splash-popup__card { max-width: 94vw; }
}
@media (prefers-reduced-motion: reduce) {
  .splash-popup__card { animation: none; }
}
