/* ═══════════════════════════════════════════════════════════════
   MÉTODO CEREBRAL 21 — LANDING PAGE · DARK NAVY EDITION (v2.2)
   Stack: Vanilla CSS3 · Mobile-first · WCAG AA
   Font: Inter (substituto livre da SF Pro — 100% legal)
   v2.2 — Tech design: accent line, glow cards, glass VSL,
           radial bg, particle hero, metallic typography
   ═══════════════════════════════════════════════════════════════ */

/* === RESET & BASE === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
  font-weight: 400;
  color: #F5F5F7;
  /* MELHORIA 6: gradient radial sutil no fundo — não mais flat */
  background-color: #000000;
  background-image: radial-gradient(
    ellipse at 50% 0%,
    #0d0d0d 0%,
    #000000 45%,
    #000000 100%
  );
  background-attachment: fixed;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.35),
    0 1px 0 rgba(255, 255, 255, 0.03);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

blockquote {
  margin: 0;
  padding: 0;
}

/* === CUSTOM PROPERTIES === */
:root {
  --color-bg: #000000;
  --color-bg-soft: #0a0a0a;
  --color-bg-elevated: #0a0a0a;
  --color-text: #F5F5F7;
  --color-text-secondary: #9CA3AF;
  --color-text-muted: #6B7280;
  --color-accent: #FF6B5B;
  --color-accent-glow: rgba(255, 107, 91, 0.5);
  --color-highlight-cyan: #06B6D4;
  --color-highlight-orange: #F97316;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.14);
  --color-footer-bg: #000000;
  --color-footer-text: #6B7280;
  --font-headline: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --metallic-white: linear-gradient(
    180deg,
    #FFFFFF 0%,
    #F5F5F7 35%,
    #A8B0BD 55%,
    #E5E7EB 75%,
    #F5F5F7 100%
  );
  --max-width: 1200px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════════════════════════
   MELHORIA 1: ACCENT LINE ANIMADA NO TOPO
   Barra de 2px com gradient animado ciano → roxo → coral
   ═══════════════════════════════════════════════════════════════ */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    #06B6D4 0%,
    #8B5CF6 35%,
    #FF6B5B 60%,
    #06B6D4 100%
  );
  background-size: 200% 100%;
  animation: accent-line-slide 4s linear infinite;
  z-index: 9999;
}

@keyframes accent-line-slide {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 400ms var(--ease-out-expo),
              background 400ms var(--ease-out-expo);
}

.site-header.scrolled {
  border-bottom-color: var(--color-border);
  background: rgba(0, 0, 0, 0.9);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
}

.header-brand {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
  transition: opacity 300ms var(--ease-out-expo);
}

.header-brand:hover {
  opacity: 0.7;
}

/* === HERO === */
.hero-section {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* ═══════════════════════════════════════════════════════════════
   MELHORIA 4: PARTÍCULAS — canvas ativado via script.js existente
   O canvas já existe no HTML, só garantimos que está posicionado
   ═══════════════════════════════════════════════════════════════ */
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-video {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.72;
  display: block;
  z-index: 0;
}

/* Vídeo inline — visível só no mobile, entre subheadline e player */
.hero-video-mobile {
  display: none;
  width: 100%;
  border-radius: 12px;
  margin-top: 16px;
  opacity: 0.85;
  pointer-events: none;
}

.hero-gradient-mask {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    /* Bordas top/bottom mais pronunciadas para morfe total */
    linear-gradient(180deg, #000000 0%, transparent 22%, transparent 78%, #000000 100%),
    /* Bordas laterais */
    linear-gradient(90deg, #000000 0%, transparent 15%, transparent 85%, #000000 100%),
    /* Glow atmosférico ciano/roxo sutil no centro */
    radial-gradient(ellipse at 50% 45%, rgba(6, 182, 212, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.3)  0%,
      rgba(0, 0, 0, 0.1) 25%,
      rgba(0, 0, 0, 0.1) 75%,
      rgba(0, 0, 0, 0.6) 100%
    ),
    radial-gradient(ellipse at 50% 50%,
      rgba(0, 0, 0, 0.05) 0%,
      rgba(0, 0, 0, 0.3) 95%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 80px 24px 48px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* ─── HEADLINE METÁLICA ─── */
.hero-headline {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(1.6rem, 7vw, 5.5rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: var(--metallic-white);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.25))
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.55))
    drop-shadow(0 8px 24px rgba(0, 0, 0, 0.4));
  text-shadow: none;
  opacity: 0;
  transform: translateY(40px);
  animation: hero-fade-up 1000ms var(--ease-out-expo) 200ms forwards;
}

.headline-gradient {
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.55) 0%,
      rgba(255,255,255,0.1)  35%,
      rgba(0,0,0,0.15)       60%,
      rgba(255,255,255,0.25) 85%,
      rgba(255,255,255,0.4)  100%
    ),
    linear-gradient(135deg, #06B6D4 0%, #8B5CF6 50%, #EC4899 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter:
    drop-shadow(0 0 24px rgba(139, 92, 246, 0.45))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}

/* ─── SUBHEADLINE METÁLICA SUTIL ─── */
.hero-subheadline {
  font-family: var(--font-body);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(0.85rem, 1.1vw, 1.1rem);
  line-height: 1.5;
  letter-spacing: -0.01em;
  background: linear-gradient(180deg, #FFFFFF 0%, #E5E7EB 50%, #9CA3AF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.2))
    drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  text-shadow: none;
  max-width: 680px;
  margin: 12px auto 0;
  opacity: 0;
  transform: translateY(30px);
  animation: hero-fade-up 1000ms var(--ease-out-expo) 500ms forwards;
}

.subheadline-gradient {
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.5)  0%,
      rgba(255,255,255,0.05) 40%,
      rgba(0,0,0,0.12)       65%,
      rgba(255,255,255,0.25) 100%
    ),
    linear-gradient(135deg, #06B6D4 0%, #F97316 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  font-style: italic;
  display: inline;
  filter:
    drop-shadow(0 0 14px rgba(249, 115, 22, 0.4))
    drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

@keyframes hero-fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   MELHORIA 3: VSL PLAYER COM GLASSMORPHISM
   Vidro fosco sobre o fundo navy — efeito iOS/Apple
   ═══════════════════════════════════════════════════════════════ */
.vsl-section {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  margin-top: 40px;
}

.vsl-container {
  max-width: 920px;
  margin: 0 auto;
}

.vturb-player {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  /* Borda imperceptível — funde com o navy */
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* === SELLO DE SEGURIDAD === */
.security-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  color: #C8CDD6;
}

.security-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  opacity: 0.9;
}

.security-text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.85rem;
  color: #C8CDD6;
}

/* === CTA CORAL === */
.cta-section {
  text-align: center;
  margin-top: 60px;
  padding: 0 24px;
  min-height: 0;
}

.cta-button {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: #ffffff;
  background: var(--color-accent);
  padding: 22px 48px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  position: relative;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 200ms var(--ease-out-expo),
              background 300ms var(--ease-out-expo);
}

.cta-button:hover {
  background: #ff5a48;
  transform: scale(1.03);
}

.cta-button:active {
  transform: scale(0.98);
}

.cta-hidden {
  display: none;
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
}

.cta-visible {
  display: inline-block;
  pointer-events: auto;
  animation:
    cta-entrance 600ms var(--ease-spring) forwards,
    glow-pulse 2s ease-in-out 600ms infinite;
}

@keyframes cta-entrance {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes glow-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(255, 107, 91, 0.7),
      0 10px 30px rgba(255, 107, 91, 0.35);
  }
  50% {
    box-shadow:
      0 0 0 20px rgba(255, 107, 91, 0),
      0 15px 50px rgba(255, 107, 91, 0.55);
  }
}

/* === MEDIOS === */

.medios-title {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 3;
  background: linear-gradient(180deg, #FFFFFF 0%, #D1D5DB 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  text-shadow: none;
}

.medios-video-container {
  max-width: 900px;
  margin: 40px auto 0;
  position: relative;
  z-index: 2;
}

.medios-video {
  width: 100%;
  max-width: 900px;
  display: block;
  margin: 0 auto;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  object-fit: cover;
  mask-image: radial-gradient(ellipse at center, black 55%, transparent 92%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 55%, transparent 92%);
  position: relative;
  z-index: 2;
}

.logos-carousel-strip {
  width: 100%;
  margin-top: 60px;
  padding: 32px 0;
  overflow: hidden;
  position: relative;
}

.logos-carousel-strip::before,
.logos-carousel-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.logos-carousel-strip::before {
  left: 0;
  background: linear-gradient(to right, #000000 0%, rgba(0, 0, 0, 0) 100%);
}

.logos-carousel-strip::after {
  right: 0;
  background: linear-gradient(to left, #000000 0%, rgba(0, 0, 0, 0) 100%);
}

.logos-carousel-strip .logos-track {
  display: flex;
  align-items: center;
  gap: 80px;
  white-space: nowrap;
  animation: scroll-logos 40s linear infinite;
  width: max-content;
}

.logos-carousel-strip .logo-item {
  height: 50px;
  width: auto;
  flex-shrink: 0;
  filter: brightness(0) invert(1) grayscale(100%);
  opacity: 0.55;
  object-fit: contain;
  transition: opacity 300ms ease, filter 300ms ease;
}

.logos-carousel-strip .logo-item:hover {
  opacity: 1;
  filter: brightness(0) invert(1);
}

@keyframes scroll-logos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 40px)); }
}

/* ═══════════════════════════════════════════════════════════════
   SECCIÓN 7: CITAS CIENTÍFICAS
   MELHORIA 2: cards com glow ciano fixo (sempre visível, não só hover)
   MELHORIA 5: numeração 01, 02, 03, 04 antes do nome do cientista
   ═══════════════════════════════════════════════════════════════ */
.ciencia-section {
  margin-top: 120px;
  background: var(--color-bg-soft);
  position: relative;
}

.citas-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.ciencia-title {
  font-family: var(--font-headline);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  background: var(--metallic-white);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter:
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.2))
    drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
  text-shadow: none;
}

.ciencia-subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 640px;
  margin: 16px auto 0;
  line-height: 1.6;
}

/* Card base — glassmorphism azul: vidro translúcido, texto nítido */
.cita-card {
  /* Vidro azul translúcido — dá pra "ver através" mas mantém legibilidade */
  background: rgba(6, 30, 70, 0.45);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(6, 182, 212, 0.18);
  border-radius: 24px;
  padding: 56px 44px 44px 44px;
  position: relative;
  overflow: visible;
  isolation: isolate;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.3),
    /* Glow ciano sutil sempre visível */
    0 0 28px rgba(6, 182, 212, 0.08),
    /* Linha de luz no topo — efeito vidro */
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -1px 0 rgba(6, 182, 212, 0.08);
  transition:
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 500ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 500ms cubic-bezier(0.16, 1, 0.3, 1),
    background 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hover — vidro mais brilhante e levanta */
.cita-card:hover {
  transform: translateY(-12px);
  background: rgba(6, 40, 90, 0.55);
  border-color: rgba(6, 182, 212, 0.35);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.4),
    0 0 48px rgba(6, 182, 212, 0.2),
    0 0 80px rgba(139, 92, 246, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(6, 182, 212, 0.12);
}

/* Borda animada conic no hover */
.cita-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  padding: 2px;
  background: conic-gradient(
    from 0deg,
    #06B6D4, #0891B2, #F97316, #EA580C, #F97316, #0891B2, #06B6D4
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 400ms ease;
  z-index: -1;
  animation: rotate-border 4s linear infinite;
  animation-play-state: paused;
}

.cita-card:hover::before {
  opacity: 1;
  animation-play-state: running;
}

@keyframes rotate-border {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.cita-quote-mark {
  position: absolute;
  top: 16px;
  left: 32px;
  font-family: var(--font-body);
  font-weight: 900;
  font-style: italic;
  font-size: 6rem;
  line-height: 1;
  color: var(--color-highlight-orange);
  opacity: 0.85;
  user-select: none;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(249, 115, 22, 0.4));
}

.cita-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.55;
  color: #E5E7EB;
  margin: 0 0 32px 0;
  letter-spacing: -0.005em;
}

.cita-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #F97316 0%, rgba(249, 115, 22, 0.2) 100%);
  border-radius: 2px;
  margin: 0 0 24px 0;
}

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

/* MELHORIA 5: numeração automática via CSS counter */
.citas-track {
  counter-reset: cita-counter;
}

.cita-card {
  counter-increment: cita-counter;
}

.cita-name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--color-highlight-cyan);
  margin: 0;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Número antes do nome do cientista */
.cita-name::before {
  content: counter(cita-counter, decimal-leading-zero);
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: rgba(6, 182, 212, 0.55);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  /* Linha separadora */
  padding-right: 10px;
  border-right: 1px solid rgba(6, 182, 212, 0.25);
}

.cita-credential {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 0;
}

/* === CRÉDITO MUSICAL === */
.credits-section {
  margin-top: 80px;
  padding: 0 24px 40px;
  text-align: center;
}

.credits-text {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.credits-text a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 300ms var(--ease-out-expo);
}

.credits-text a:hover {
  color: var(--color-text-secondary);
}

/* === FOOTER === */
.site-footer {
  background: var(--color-footer-bg);
  padding: 80px 24px;
  color: var(--color-footer-text);
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.footer-brand-name {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: 1.5rem;
  color: #ffffff;
  display: block;
}

.footer-tagline {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  color: var(--color-footer-text);
  margin-top: 12px;
}

.footer-email {
  display: inline-block;
  margin-top: 24px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-accent);
  transition: opacity 300ms var(--ease-out-expo);
}

.footer-email:hover { opacity: 0.8; }

.footer-col-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.9rem;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--color-footer-text);
  transition: color 300ms var(--ease-out-expo);
}

.footer-links a:hover { color: #ffffff; }

.footer-disclaimer {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--color-footer-text);
  line-height: 1.6;
}

.footer-disclaimer + .footer-disclaimer { margin-top: 16px; }
.footer-disclaimers-col .footer-col-title { margin-bottom: 20px; }

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 32px;
  margin-top: 60px;
  text-align: center;
}

.footer-copyright {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* === SCROLL REVEAL === */
.reveal-element {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 800ms var(--ease-out-expo),
              transform 800ms var(--ease-out-expo);
}

.reveal-element.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* === SECTION DIVIDER — sem gradientes visíveis === */
.section-divider-cyan { position: relative; }
.section-divider-cyan::before { display: none; }
.section-divider-cyan::after  { display: none; }

.ciencia-section {
  margin-top: 80px;
  background: transparent;
  position: relative;
}

.medios-section {
  margin-top: 0;
  padding: 80px 24px 0;
  text-align: center;
  position: relative;
}

/* === FADE SLIDE === */
.fade-slide-element {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 800ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-slide-element.is-visible  { opacity: 1; transform: translateY(0); }
.fade-slide-element.is-leaving  { opacity: 0; transform: translateY(-40px); }

.fade-slide-element:nth-child(1) { transition-delay: 0ms; }
.fade-slide-element:nth-child(2) { transition-delay: 100ms; }
.fade-slide-element:nth-child(3) { transition-delay: 200ms; }

/* === RESPONSIVE — MOBILE (max 768px) === */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    padding-top: 0;
    padding-bottom: 0;
  }

  .hero-content {
    padding: 46px 20px 24px;
  }

  .hero-video-bg  { display: none; }        /* esconde vídeo de fundo no mobile */
  .hero-video-mobile { display: block; }    /* mostra vídeo inline no mobile */

  .vsl-section { margin-top: 0; }

  #vturb-player,
  .vsl-container { margin-top: 0; }

  .logos-carousel-strip {
    margin-top: 40px;
    padding: 24px 0;
  }

  .logos-carousel-strip .logo-item  { height: 36px; }
  .logos-carousel-strip .logos-track { gap: 50px; }

  .logos-carousel-strip::before,
  .logos-carousel-strip::after { width: 60px; }

  #citas-pinned {
    height: auto;
    overflow: visible;
    padding: 80px 0;
  }

  .citas-pinned-wrapper { height: auto; display: block; }

  .citas-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 0 24px;
  }

  .citas-track {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 0 24px;
    overflow: visible;
    width: auto;
    transform: none !important;
  }

  .cita-card {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding: 48px 32px 36px 32px;
    scroll-snap-align: none;
  }

  .cita-quote-mark {
    font-size: 5rem;
    top: 12px;
    left: 24px;
  }

  .cita-text { font-size: 1.05rem; }
}

/* === RESPONSIVE — TABLET (768px+) === */
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .hero-content { padding: 80px 48px 48px; }
}

/* === RESPONSIVE — DESKTOP CITAS PINNED (769px+) === */
@media (min-width: 769px) {
  .hero-video-bg     { display: block; }   /* fundo normal no desktop */
  .hero-video-mobile { display: none; }    /* esconde inline no desktop */
  #citas-pinned {
    height: 100vh;
    overflow: hidden;
    position: relative;
  }

  .citas-pinned-wrapper {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px 0;
  }

  .citas-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 24px;
  }

  .citas-track {
    display: flex;
    gap: 48px;
    padding: 0 10vw;
    will-change: transform;
  }

  .cita-card {
    flex-shrink: 0;
    width: 480px;
    min-height: 380px;
    padding: 48px;
    border-radius: 24px;
  }
}

/* === RESPONSIVE — DESKTOP (1024px+) === */
@media (min-width: 1024px) {
  .header-inner { padding: 16px 48px; }
  .hero-content  { padding: 80px 48px 48px; }
  .cta-button    { font-size: 1.25rem; padding: 24px 56px; }
}

/* === ACCESSIBILITY: REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-headline,
  .hero-subheadline,
  .fade-slide-element,
  .reveal-element,
  .cita-card {
    opacity: 1;
    transform: none;
  }

  body::before {
    animation: none;
    background: #06B6D4;
  }
}

/* === FOCUS VISIBLE === */
*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

/* === PRINT === */
@media print {
  .site-header,
  .hero-bg,
  .cta-section,
  body::before {
    display: none;
  }

  body {
    color: #000;
    background: #fff;
    text-shadow: none;
  }
}
