/* =========================================================================
   JLV STÚDIOS · ATELIER UX & PERFORMANCE OVERRIDES (V20261124L)
   - Menu flutuante em cápsula arredondada transparente (pill glass) com contraste adaptativo (dark/light)
   - Opções visíveis lado a lado + drawer mobile
   - Hero Full-Bleed cinematográfico: scrim central, tipografia centrada, CTA mate ivory sem glow
   - Troca dinâmica de fundo, textura e fonte (escuro/claro) em "A ciência dos múltiplos fatores" (#secao-entregaveis) a cada 5s ou no clique
   - FAQ Apple minimalista: 30 perguntas fechadas, sem filtros, sem descrição extra
   ========================================================================= */

html,
body {
  overflow-x: clip;
  max-width: 100%;
}

/* ── MENU FLUTUANTE TRANSPARENTE ARREDONDADO (PILL CAPSULE) ──────────────── */
.jlv-hdr {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  justify-content: center;
  padding: 0 14px;
  pointer-events: none;
}

.jlv-hdr-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(14px, 2.2vw, 32px);
  width: min(1140px, 100%);
  min-height: 58px;
  padding: 6px 22px;
  border-radius: 999px;
  transition:
    background-color 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    backdrop-filter 0.28s ease,
    color 0.22s ease;
}

/* Fundo escuro -> Menu translúcido escuro + fontes claras */
.jlv-hdr[data-theme="dark"] .jlv-hdr-pill {
  background: rgba(10, 11, 16, 0.42);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(250, 246, 238, 0.16);
  box-shadow: 0 14px 38px -14px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #faf6ee;
}

.jlv-hdr[data-scrolled="1"][data-theme="dark"] .jlv-hdr-pill {
  background: rgba(10, 11, 16, 0.64);
  border-color: rgba(250, 246, 238, 0.22);
}

/* Fundo claro -> Menu translúcido claro + fontes escuras */
.jlv-hdr[data-theme="light"] .jlv-hdr-pill {
  background: rgba(250, 246, 238, 0.62);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(18, 20, 23, 0.14);
  box-shadow: 0 14px 36px -16px rgba(18, 20, 23, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.75);
  color: #121417;
}

.jlv-hdr[data-scrolled="1"][data-theme="light"] .jlv-hdr-pill {
  background: rgba(250, 246, 238, 0.80);
  border-color: rgba(18, 20, 23, 0.2);
}

.jlv-hdr-brand {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  text-decoration: none;
  flex-shrink: 0;
}

.jlv-hdr-nav {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1.1vw, 12px);
  overflow-x: auto;
  scrollbar-width: none;
}

.jlv-hdr-nav::-webkit-scrollbar {
  display: none;
}

@media (max-width: 639px) {
  .jlv-hdr-nav {
    display: none;
  }
}

.jlv-hdr-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
  opacity: 0.88;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.jlv-hdr[data-theme="dark"] .jlv-hdr-link:hover,
.jlv-hdr[data-theme="dark"] .jlv-hdr-link.is-active {
  opacity: 1;
  background: rgba(250, 246, 238, 0.11);
  color: #ffffff;
}

.jlv-hdr[data-theme="light"] .jlv-hdr-link:hover,
.jlv-hdr[data-theme="light"] .jlv-hdr-link.is-active {
  opacity: 1;
  background: rgba(18, 20, 23, 0.08);
  color: #08090c;
}

.jlv-hdr-link:focus-visible,
.jlv-hdr-brand:focus-visible,
.jlv-hdr-mob-btn:focus-visible {
  outline: 2px solid #e2b657;
  outline-offset: 3px;
  border-radius: 999px;
}

.jlv-hdr-mob-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(250, 246, 238, 0.28);
  background: rgba(8, 9, 12, 0.35);
  color: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.jlv-hdr[data-theme="light"] .jlv-hdr-mob-btn {
  border-color: rgba(18, 20, 23, 0.24);
  background: rgba(255, 255, 255, 0.65);
}

@media (min-width: 640px) {
  .jlv-hdr-mob-btn {
    display: none;
  }
}

/* ── DRAWER DE MENU MOBILE ────────────────────────────────────────────────── */
.jlv-mob-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 6, 9, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  color: #faf6ee;
  padding: 18px 22px 28px;
  overflow-y: auto;
}

.jlv-mob-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(250, 246, 238, 0.12);
}

.jlv-mob-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(250, 246, 238, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #faf6ee;
  font-size: 20px;
  cursor: pointer;
}

.jlv-mob-list {
  margin: 22px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.jlv-mob-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(250, 246, 238, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #faf6ee;
  font-family: var(--font-display, "Playfair Display", Georgia, serif);
  font-size: 21px;
  font-weight: 500;
  text-decoration: none;
}

.jlv-mob-item span.jlv-mob-hint {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  color: #c8bda6;
}

/* ── HERO FULL-BLEED (SEM MARGENS SUPERIORES/INFERIORES) ─────────────────── */
#inicio.tex-dark-onyx {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#inicio {
  padding: 0 !important;
  margin: 0 !important;
  min-height: 100svh;
}

#inicio .hero-stage-shell {
  position: relative;
  height: 100svh;
  min-height: 600px;
  width: 100%;
  background: #060609;
  overflow: hidden;
  isolation: isolate;
}

#inicio .hero-cinema-aperture {
  position: absolute !important;
  inset: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  overflow: hidden !important;
  z-index: 0;
  background: #060609 !important;
}

#inicio .hero-cinema-aperture::after {
  content: none !important;
  display: none !important;
}

#inicio .hero-video-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 50%;
  transform: scale(2.82) !important;
  transform-origin: center center;
  filter: brightness(0.8) contrast(1.05) saturate(0.84);
  will-change: transform;
}

#inicio .cine-slate-rig {
  display: none !important;
}

#inicio .hero-cinema-footer {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 20 !important;
  height: auto !important;
  background: linear-gradient(180deg, rgba(6, 6, 9, 0) 0%, rgba(6, 6, 9, 0.72) 55%, rgba(6, 6, 9, 0.94) 100%) !important;
  border: none !important;
  border-top: 1px solid rgba(250, 246, 238, 0.08) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 20px 0 22px !important;
}

.hero-cinema-footer-inner {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.hero-logo-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: jlvHeroLogoMarquee 42s linear infinite;
}

@keyframes jlvHeroLogoMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

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

.hero-logo-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(250, 246, 238, 0.54);
  white-space: nowrap;
  user-select: none;
  transition: color 0.25s ease;
}

.hero-logo-item:hover {
  color: rgba(250, 246, 238, 0.92);
}

.hero-logo-icon {
  width: 15px;
  height: 15px;
  color: rgba(250, 246, 238, 0.44);
  flex-shrink: 0;
}

.hero-logo-text {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

#inicio .cine-scroll-aperture {
  width: 44px !important;
  height: 44px !important;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(250, 246, 238, 0.22) !important;
  background: rgba(10, 11, 16, 0.45) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #faf6ee;
  transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, background-color 0.2s ease !important;
}

#inicio .cine-scroll-aperture:hover {
  transform: translateY(2px) scale(1.04) !important;
  border-color: #e2b657 !important;
  background: rgba(226, 182, 87, 0.16) !important;
}

#inicio .cine-scroll-aperture:active {
  transform: scale(0.96) !important;
}

#inicio .jlv-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(ellipse 108% 92% at 50% 44%, rgba(6, 6, 9, 0.22) 0%, rgba(6, 6, 9, 0.06) 48%, rgba(6, 6, 9, 0.42) 100%),
    linear-gradient(180deg, rgba(6, 6, 9, 0.5) 0%, rgba(6, 6, 9, 0.1) 40%, rgba(6, 6, 9, 0.88) 100%);
}

#inicio .jlv-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  margin: 0 auto;
  max-width: 1040px;
  width: 100%;
  padding: 104px 24px 96px;
  padding-bottom: max(96px, 12vh);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  pointer-events: none;
}

#inicio .jlv-hero-overlay .jlv-hero-actions,
#inicio .jlv-hero-overlay .jlv-hero-cta-clean {
  pointer-events: auto;
}

.jlv-hero-h1 {
  margin: 0;
  max-width: 17ch;
  font-family: var(--font-display, "Playfair Display", Georgia, serif);
  font-size: clamp(2.45rem, 5.1vw, 4.5rem);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: -0.024em;
  color: #faf6ee;
  text-wrap: balance;
  text-shadow: 0 4px 36px rgba(0, 0, 0, 0.5);
}

.jlv-hero-h1 em {
  color: #e2b657;
  font-style: italic;
  font-weight: 500;
}

.jlv-hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

#inicio .jlv-hero-cta-clean {
  background: #faf6ee !important;
  color: #0b0b0e !important;
  border: 1px solid rgba(250, 246, 238, 0.92) !important;
  border-radius: 999px !important;
  min-height: 50px !important;
  padding: 0 30px !important;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.015em !important;
  text-transform: none !important;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.32) !important;
  text-shadow: none !important;
  filter: none !important;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease, box-shadow 0.22s ease !important;
}

#inicio .jlv-hero-cta-clean::before,
#inicio .jlv-hero-cta-clean::after {
  display: none !important;
  content: none !important;
}

#inicio .jlv-hero-cta-clean:hover {
  background: #ffffff !important;
  color: #0b0b0e !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, 0.52) !important;
  text-shadow: none !important;
  filter: none !important;
}

#inicio .jlv-hero-cta-clean:active {
  transform: translateY(0) scale(0.985) !important;
}

@media (max-width: 767px) {
  #inicio .hero-video-media {
    object-position: 50% 51%;
    transform: scale(2.38) !important;
  }

  #inicio .jlv-hero-overlay {
    padding: 88px 20px max(88px, 14vh);
  }

  .jlv-hero-h1 {
    font-size: clamp(2.05rem, 9vw, 2.75rem);
  }

  .hero-logo-track {
    gap: 36px;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  #inicio .hero-video-media {
    transform: scale(2.55) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  #inicio .hero-video-media {
    transform: scale(2.35) !important;
  }
}

/* ── SEÇÕES TRAVADAS POR CLIQUE (#problema) ───────────────────────────────── */
.dc2-section .dc2-sticky-inner {
  height: auto !important;
  min-height: 620px;
  padding: 88px 0 64px !important;
}

@media (max-width: 900px) {
  .dc2-section .dc2-sticky-inner {
    min-height: auto;
    padding: 72px 0 48px !important;
  }
}

/* ── A CIÊNCIA DOS MÚLTIPLOS FATORES (#secao-entregaveis): FUNDO + TEXTURA + FONTES ─ */
#secao-entregaveis {
  background: var(--ap-mf-bg, #050507) !important;
  background-size: var(--ap-mf-bg-size, auto) !important;
  transition: background 0.55s ease, color 0.35s ease, border-color 0.35s ease !important;
}

#secao-entregaveis .ap-mf-bento {
  display: none !important;
}

#secao-entregaveis .ap-mf-stage {
  background: var(--ap-mf-stage-bg, linear-gradient(160deg, rgba(28, 28, 34, 0.92) 0%, rgba(11, 11, 14, 0.98) 100%)) !important;
  transition: background 0.5s ease, border-color 0.35s ease, box-shadow 0.35s ease !important;
}

/* Quando a lei selecionada em #secao-entregaveis tem fundo CLARO -> Fontes ESCURAS */
#secao-entregaveis[data-ap-theme="light"] {
  border-top-color: rgba(18, 20, 23, 0.1) !important;
  color: #141311 !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-pill {
  background: rgba(18, 20, 23, 0.06) !important;
  border-color: rgba(18, 20, 23, 0.15) !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-pill-txt {
  color: #2a2620 !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-h2 {
  background: linear-gradient(95deg, #121417 0%, #3d311c 55%, #7e1b2e 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  color: transparent !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-tabs {
  background: rgba(18, 20, 23, 0.06) !important;
  border-color: rgba(18, 20, 23, 0.14) !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-tab {
  color: #4a443a !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-tab:hover {
  color: #121417 !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-tab.is-active {
  background: #121417 !important;
  color: #faf6ee !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-stage {
  border-color: rgba(18, 20, 23, 0.14) !important;
  box-shadow: 0 30px 70px -28px rgba(18, 20, 23, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-slide-kicker {
  color: #9e2a3e !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-slide-badge {
  border-color: rgba(18, 20, 23, 0.18) !important;
  background: rgba(18, 20, 23, 0.05) !important;
  color: #3a352d !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-slide-title {
  color: #121417 !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-slide-quote {
  color: #26231e !important;
  border-left-color: #9e2a3e !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-slide-desc {
  color: #453f37 !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-slide-metrics,
#secao-entregaveis[data-ap-theme="light"] .ap-mf-stage-footer {
  border-top-color: rgba(18, 20, 23, 0.12) !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-metric-k,
#secao-entregaveis[data-ap-theme="light"] .ap-mf-counter {
  color: #5c5449 !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-metric-v {
  color: #121417 !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-tag-pill {
  border-color: rgba(18, 20, 23, 0.18) !important;
  background: rgba(18, 20, 23, 0.05) !important;
  color: #26231e !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-viz-box {
  background: #141418 !important;
  border-color: rgba(18, 20, 23, 0.16) !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-nav-btn {
  border-color: rgba(18, 20, 23, 0.22) !important;
  background: rgba(18, 20, 23, 0.06) !important;
  color: #121417 !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-nav-btn:hover {
  background: rgba(18, 20, 23, 0.14) !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-cta-row {
  border-top-color: rgba(18, 20, 23, 0.12) !important;
}

#secao-entregaveis[data-ap-theme="light"] .ap-mf-cta-note {
  color: #453f37 !important;
}

/* ── FAQ APPLE · 30 PERGUNTAS, FECHADAS, SÓ NO CLIQUE ─────────────── */
.ap-faq-wrap {
  margin: 96px auto 12px;
  max-width: 760px;
  padding: 0 4px 8px;
}

.ap-faq-title {
  margin: 0 0 36px;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.028em;
  color: #1d1d1f;
  text-wrap: balance;
}

.ap-faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(29, 29, 31, 0.14);
}

.ap-faq-item {
  border-bottom: 1px solid rgba(29, 29, 31, 0.14);
  background: transparent;
}

.ap-faq-item.is-open {
  background: rgba(255, 255, 255, 0.42);
}

.ap-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 20px 2px;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: inherit;
}

.ap-faq-trigger:hover .ap-faq-q {
  color: #000000;
}

.ap-faq-trigger:focus-visible {
  outline: 2px solid #1d1d1f;
  outline-offset: 2px;
  border-radius: 8px;
}

.ap-faq-q {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", sans-serif;
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.018em;
  color: #1d1d1f;
}

.ap-faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 999px;
  background: transparent;
  color: #1d1d1f;
  display: grid;
  place-items: center;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.ap-faq-icon svg {
  width: 14px;
  height: 14px;
}

.ap-faq-item.is-open .ap-faq-icon {
  transform: rotate(45deg);
}

.ap-faq-panel {
  display: grid;
  transition: grid-template-rows 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.ap-faq-panel.is-open {
  grid-template-rows: 1fr;
}

.ap-faq-panel.is-closed {
  grid-template-rows: 0fr;
}

.ap-faq-panel-inner {
  overflow: hidden;
}

.ap-faq-answer {
  margin: 0;
  padding: 0 48px 22px 0;
  max-width: 68ch;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  font-weight: 400;
  color: #3a3a3c;
}

@media (max-width: 639px) {
  .ap-faq-wrap {
    margin-top: 72px;
    padding-inline: 2px;
  }

  .ap-faq-title {
    margin-bottom: 24px;
  }

  .ap-faq-trigger {
    min-height: 56px;
    padding: 16px 0;
    gap: 14px;
  }

  .ap-faq-answer {
    padding: 0 0 18px;
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ap-faq-panel,
  .ap-faq-icon {
    transition: none;
  }
}
