/* =====================================================================
   Dr. Paulo Veron — Pré-campanha
   Tema "claro / editorial" inspirado em páginas de produto premium.
   Tipografia grande, muito respiro, contraste suave, uma cor de acento.
   ===================================================================== */

:root {
  color-scheme: light;

  --bg: #fbfbfd;          /* fundo geral off-white */
  --bg-alt: #f5f5f7;      /* faixas alternadas */
  --surface: #ffffff;     /* cartões */
  --ink: #1d1d1f;         /* texto principal quase-preto */
  --ink-soft: #424245;    /* texto secundário */
  --muted: #6e6e73;       /* legendas */
  --quiet: #86868b;       /* notas discretas */
  --line: #e4e4e8;        /* divisórias */
  --line-strong: #d2d2d7;

  --accent: #1b2a6b;      /* azul-marinho institucional (identidade de campanha) */
  --accent-ink: #122051;
  --accent-soft: #eaedf7;
  --brand: #16224f;       /* azul-marinho profundo para blocos escuros */
  --gold: #b8893b;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 18px 50px rgba(15, 20, 18, 0.10);
  --shadow-lg: 0 30px 80px rgba(15, 20, 18, 0.14);

  --max: 1120px;
  --radius: 18px;
  --radius-sm: 12px;

  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* =====================================================================
   Modo noite  (html[data-theme="dark"])
   Redefine os mesmos tokens do :root com valores escuros.
   O site começa no claro; o botão ☀️/🌙 alterna e a escolha é lembrada.
   ===================================================================== */
[data-theme="dark"] {
  color-scheme: dark;

  --bg: #0a0a0c;          /* fundo geral quase-preto */
  --bg-alt: #121218;      /* faixas alternadas */
  --surface: #17171d;     /* cartões */
  --ink: #f5f5f7;         /* texto principal quase-branco */
  --ink-soft: #c9c9d0;    /* texto secundário */
  --muted: #9a9aa4;       /* legendas */
  --quiet: #74747e;       /* notas discretas */
  --line: #2a2a31;        /* divisórias */
  --line-strong: #3a3a44;

  --accent: #6f86ff;      /* azul mais claro p/ contraste no escuro */
  --accent-ink: #93a4ff;
  --accent-soft: #1a2140;
  --brand: #10162c;       /* azul-marinho profundo p/ blocos escuros */
  --gold: #d4a659;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.6);
}

/* superfícies translúcidas/hardcoded que precisam acompanhar o tema */
[data-theme="dark"] .site-header { background: rgba(10, 10, 12, 0.72); }
[data-theme="dark"] .site-header.is-scrolled { background: rgba(10, 10, 12, 0.85); }
[data-theme="dark"] .hero-portrait figcaption,
[data-theme="dark"] .portrait-caption { background: rgba(15, 15, 19, 0.82); }
[data-theme="dark"] .timeline-cutout img,
[data-theme="dark"] .timeline-tags span { background: var(--surface); }

/* transição suave ao trocar de tema */
body { transition: background 0.3s ease, color 0.3s ease; }

/* ------------------------ Botão claro/escuro ----------------------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.theme-toggle:hover { transform: translateY(-2px); border-color: var(--accent); color: var(--accent); }
.theme-toggle svg { width: 18px; height: 18px; fill: currentColor; }
/* no claro mostra a lua (ação = ir p/ escuro); no escuro mostra o sol */
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  min-width: 320px;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

p { margin: 0; }

::selection { background: var(--accent); color: #fff; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 60;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ----------------------------- Layout base ------------------------- */

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(72px, 11vw, 140px) 0;
}

.section-heading { max-width: 720px; margin: 0 0 clamp(36px, 5vw, 60px); }

.eyebrow {
  margin: 0 0 16px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-heading h2 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  color: var(--ink);
}

.section-heading > p {
  margin-top: 20px;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--muted);
  line-height: 1.5;
  max-width: 640px;
}

/* ------------------------------- Botões ---------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.button:active { transform: scale(0.98); }

.button.primary { background: var(--accent); color: #fff; }
.button.primary:hover { background: var(--accent-ink); }

.button.secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.button.secondary:hover { border-color: var(--ink); }

.button.compact { padding: 10px 18px; font-size: 0.92rem; }
.button.full { width: 100%; }

/* ------------------------------- Header ---------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 16px clamp(20px, 5vw, 44px);
  background: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(251, 251, 253, 0.85);
}

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.brand strong { display: block; font-size: 1rem; font-weight: 600; }
.brand small { display: block; font-size: 0.76rem; color: var(--muted); margin-top: 1px; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a {
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: color 0.18s ease;
}
.nav a:hover { color: var(--accent); }

.menu-button {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  cursor: pointer;
}
.menu-button span {
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  transition: transform 0.2s ease;
}

/* -------------------------------- Hero ----------------------------- */

.hero {
  position: relative;
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.hero-canvas, .hero-shade { display: none; } /* tema claro não usa o canvas escuro */

.hero-content { max-width: 620px; }
.hero h1 {
  font-size: clamp(3rem, 8vw, 5.6rem);
  color: var(--ink);
  margin: 4px 0 0;
}
.hero-subtitle {
  margin-top: 24px;
  font-size: clamp(1.15rem, 2.3vw, 1.5rem);
  line-height: 1.45;
  color: var(--ink-soft);
}

.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }

.hero-facts {
  margin: 44px 0 0;
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: clamp(24px, 4vw, 48px);
  justify-content: start;
}
.hero-facts div { display: flex; flex-direction: column; gap: 4px; }
.hero-facts dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--quiet); }
.hero-facts dd { margin: 0; font-size: 1.15rem; font-weight: 600; color: var(--ink); }

/* retrato editorial */
.hero-portrait {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 360px;
}
.hero-portrait img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  background: var(--bg-alt);
}
.hero-portrait figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.hero-portrait figcaption span { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.hero-portrait figcaption strong { font-size: 0.95rem; color: var(--ink); }

.hero-note {
  grid-column: 1 / -1;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--quiet);
}

/* --------------------------- Faixa de impacto ---------------------- */

.intro-band {
  background: var(--brand);
  color: #fff;
}
.intro-copy {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 120px) 0;
  max-width: 920px;
}
.intro-copy span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9fb2e6;
  margin-bottom: 22px;
}
.intro-copy strong {
  display: block;
  font-size: clamp(1.8rem, 4.6vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

/* ------------------------------ Biografia -------------------------- */

.profile-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.portrait-panel {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-alt);
  box-shadow: var(--shadow);
}
.portrait-panel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.portrait-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.portrait-caption span { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.portrait-caption strong { font-size: 0.98rem; color: var(--ink); }

.bio-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.tab {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink-soft);
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.18s ease;
}
.tab:hover { border-color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

.tab-panel { animation: fade 0.3s ease; }
.tab-panel[hidden] { display: none; }
.panel-kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.tab-panel h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 16px; }
.tab-panel p { color: var(--muted); font-size: 1.05rem; line-height: 1.55; }

.clean-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.clean-list li {
  position: relative;
  padding-left: 26px;
  color: var(--ink-soft);
  font-size: 1rem;
}
.clean-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* --------------------- Linha do tempo / editorial ------------------ */

.timeline-section { }

.timeline-showcase {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-bottom: clamp(48px, 7vw, 88px);
  padding: clamp(28px, 4vw, 48px);
  background: var(--bg-alt);
  border-radius: var(--radius);
}
.timeline-cutout { margin: 0; }
.timeline-cutout img {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}
.timeline-showcase h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 14px 0 16px; }
.timeline-showcase p { color: var(--muted); font-size: 1.08rem; line-height: 1.55; }
.timeline-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.timeline-tags span {
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* photo essay (linha editorial com todas as fotos) */
.timeline-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 36px);
}
.timeline-item {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.timeline-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
/* primeiro e último item ocupam a largura toda, como abertura/fechamento de matéria */
.timeline-item:first-child,
.timeline-item:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.1fr 1fr; }
.timeline-item:last-child { grid-template-columns: 1fr 1.1fr; }
.timeline-item:first-child .timeline-media,
.timeline-item:last-child .timeline-media { height: 100%; }
.timeline-item:first-child .timeline-media img,
.timeline-item:last-child .timeline-media img { height: 100%; min-height: 320px; }
.timeline-media { margin: 0; overflow: hidden; background: var(--bg-alt); }
.timeline-media img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.5s ease; }
.timeline-item:hover .timeline-media img { transform: scale(1.04); }
.timeline-copy { padding: clamp(20px, 2.4vw, 30px); }
.timeline-year {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.timeline-copy h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-bottom: 12px; }
.timeline-copy p { color: var(--muted); font-size: 0.98rem; line-height: 1.55; }

/* -------------------------------- Ideias --------------------------- */

.idea-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.idea-track > div { background: var(--surface); padding: clamp(22px, 2.6vw, 32px); }
.idea-track span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}
.idea-track strong { display: block; font-size: 1.25rem; font-weight: 600; margin: 10px 0 8px; }
.idea-track p { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }

.idea-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
.idea-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 38px);
  box-shadow: var(--shadow-sm);
}
.idea-card h3 { font-size: 1.4rem; margin-bottom: 14px; }
.idea-card p { color: var(--muted); font-size: 1.02rem; line-height: 1.55; }
.icon-dot {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  margin-bottom: 18px;
  background: var(--accent-soft);
  position: relative;
}
.icon-dot::after {
  content: "";
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: var(--accent);
}
.icon-dot.city::after { background: var(--gold); }
.icon-dot.city { background: #f6efe2; }
.icon-dot.nature::after { background: #2b6fb0; }
.icon-dot.nature { background: #e6eef7; }
.icon-dot.work::after { background: #2b6fb0; }
.icon-dot.work { background: #e6eef7; }

/* --------------------------- Dados de saúde ------------------------ */

.data-section .section-heading { margin-bottom: clamp(28px, 4vw, 48px); }
.health-dashboard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: var(--shadow);
  display: grid;
  gap: 28px;
}
.health-control { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: flex-end; justify-content: space-between; }
.health-control label { display: flex; flex-direction: column; gap: 8px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--quiet); }
.health-control select {
  min-width: 240px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-size: 1rem;
  letter-spacing: -0.01em;
}
.health-control > p { font-size: 0.8rem; color: var(--quiet); max-width: 360px; }

.health-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.health-metric { background: var(--bg); padding: 20px; }
.health-metric span { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 8px; }
.health-metric strong { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }

.health-insight {
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-size: 1.02rem;
  line-height: 1.55;
}
.health-insight strong { color: var(--accent-ink); }

.health-bottom { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 24px; align-items: stretch; }
.health-subhead { margin-bottom: 14px; }
.health-subhead span { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--quiet); }
.health-subhead strong { font-size: 1.1rem; }
.health-list { display: grid; gap: 8px; }
.health-rank-row {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
}
.health-rank-row mark {
  background: var(--ink);
  color: #fff;
  border-radius: 7px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 3px 0;
}
.health-rank-row strong { font-size: 0.95rem; font-weight: 600; }
.health-rank-row span { color: var(--muted); font-size: 0.92rem; }

.health-action {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
}
.health-action span { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: #aeb9dd; }
.health-action strong { font-size: 1.1rem; }

.health-source { display: flex; flex-wrap: wrap; gap: 18px; }
.health-source a { font-size: 0.85rem; color: var(--accent); border-bottom: 1px solid transparent; }
.health-source a:hover { border-color: var(--accent); }

/* ------------------------------ Enquetes --------------------------- */

/* faixas full-bleed: fundo de ponta a ponta, conteúdo centralizado */
.polls-section.section,
.pulse-section.section { width: 100%; max-width: none; padding-left: clamp(20px, 5vw, 44px); padding-right: clamp(20px, 5vw, 44px); }
.polls-section > *,
.pulse-section > * { width: min(var(--max), 100%); margin-left: auto; margin-right: auto; }

.polls-section { background: var(--bg-alt); }
.poll-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.poll-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 2.8vw, 34px);
  box-shadow: var(--shadow-sm);
}
.poll-head { display: flex; gap: 14px; align-items: baseline; margin-bottom: 20px; }
.poll-head span { font-size: 0.9rem; font-weight: 700; color: var(--accent); }
.poll-head h3 { font-size: 1.18rem; line-height: 1.3; }
.poll-options { display: grid; gap: 10px; }
.poll-options button {
  text-align: left;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  cursor: pointer;
  font-size: 0.98rem;
  transition: all 0.16s ease;
}
.poll-options button:hover { border-color: var(--ink); }
.poll-options button.is-selected { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }

.poll-results { margin-top: 18px; display: grid; gap: 12px; }
.poll-empty { font-size: 0.9rem; color: var(--quiet); }
.poll-result { display: grid; gap: 6px; }
.poll-result-row { display: flex; justify-content: space-between; font-size: 0.92rem; }
.poll-result-row strong { font-weight: 500; color: var(--ink-soft); }
.poll-track { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.poll-fill { height: 100%; border-radius: 999px; background: var(--accent); transition: width 0.4s ease; }

.poll-note {
  margin-top: clamp(24px, 4vw, 40px);
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}
.poll-note strong { color: var(--ink); }

/* ---------------------------- Escuta / form ------------------------ */

.listening-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.listening-copy h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.listening-copy p { margin-top: 18px; color: var(--muted); font-size: 1.1rem; line-height: 1.55; }

.listening-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
}
.listening-form label { display: flex; flex-direction: column; gap: 8px; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.listening-form label.full { grid-column: 1 / -1; }
.listening-form input,
.listening-form select,
.listening-form textarea {
  padding: 13px 14px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: var(--bg);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.listening-form input:focus,
.listening-form select:focus,
.listening-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.listening-form textarea { resize: vertical; }
.listening-form .button.full { grid-column: 1 / -1; }
.form-status { grid-column: 1 / -1; font-size: 0.9rem; color: var(--accent-ink); min-height: 1.2em; }

/* --------------------------- Painel local -------------------------- */

.pulse-section { background: var(--bg-alt); }
.pulse-header { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(24px, 3vw, 36px); }
.pulse-header h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.pulse-list { display: grid; gap: 14px; }
.empty-state {
  padding: 36px;
  text-align: center;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--quiet);
  background: var(--surface);
}
.pulse-item {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.pulse-item > div { display: flex; flex-direction: column; }
.pulse-item strong { font-size: 1.02rem; }
.pulse-item > div span { font-size: 0.85rem; color: var(--quiet); }
.pulse-item > span { font-size: 0.8rem; color: var(--quiet); }
.pulse-item p { color: var(--muted); font-size: 0.98rem; line-height: 1.5; }

/* ------------------------------ Contato ---------------------------- */

.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.contact-copy h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.contact-copy p { margin-top: 18px; color: var(--muted); font-size: 1.1rem; line-height: 1.55; }
.contact-actions { display: grid; gap: 14px; }
.contact-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 1.1rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.contact-link span { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.contact-link:hover { transform: translateY(-3px); border-color: var(--accent); }

/* ------------------------------- Footer ---------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px clamp(20px, 5vw, 44px);
  text-align: center;
  background: var(--bg);
}
.site-footer p { color: var(--quiet); font-size: 0.88rem; }
.site-footer p + p { margin-top: 8px; }

/* ----------------------------- Responsivo -------------------------- */

@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; }
  .hero-portrait { order: -1; max-width: 300px; }
  .profile-layout,
  .health-bottom,
  .listening-section,
  .contact-section,
  .timeline-showcase { grid-template-columns: 1fr; }
  .timeline-list { grid-template-columns: 1fr; }
  .timeline-item:first-child { grid-template-columns: 1fr; }
  .idea-track { grid-template-columns: repeat(2, 1fr); }
  .health-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .menu-button { display: flex; }
  .nav {
    position: fixed;
    inset: 70px 16px auto 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 12px 10px; border-radius: 10px; }
  .nav a:hover { background: var(--bg-alt); }

  .poll-grid,
  .idea-grid,
  .listening-form { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 460px) {
  .idea-track { grid-template-columns: 1fr; }
  .health-metrics { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* =====================================================================
   ADICIONAIS: redes sociais · carrossel de vídeos · notícias · artigo
   ===================================================================== */

/* ----------------------------- Header reorg ------------------------ */
.header-right { display: flex; align-items: center; gap: clamp(14px, 2vw, 24px); }

/* ----------------------------- Redes sociais ----------------------- */
.social { display: flex; align-items: center; gap: 10px; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  background: var(--surface);
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.social a:hover { transform: translateY(-2px); background: var(--accent); color: #fff; border-color: var(--accent); }
.social svg { width: 18px; height: 18px; fill: currentColor; }
.social-compact a { width: 34px; height: 34px; border-radius: 10px; }
.social-compact svg { width: 16px; height: 16px; }
.site-footer .social { justify-content: center; margin: 0 auto 22px; }

/* --------------------------- Carrossel vídeos ---------------------- */
.rail-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 4vw, 40px); }
.rail-nav { display: flex; gap: 10px; flex-shrink: 0; }
.rail-nav button {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  display: grid; place-items: center;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.rail-nav button:hover { border-color: var(--ink); background: var(--bg-alt); }
.rail-nav svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

.video-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 18px;
  margin: 0 -4px;
  -webkit-overflow-scrolling: touch;
}
.video-rail::-webkit-scrollbar { height: 8px; }
.video-rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; }
.video-rail::-webkit-scrollbar-track { background: transparent; }

.video-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.video-frame { position: relative; aspect-ratio: 9 / 16; background: #0b0f0e; }
.video-card.horizontal { flex-basis: 360px; }
.video-card.horizontal .video-frame { aspect-ratio: 16 / 9; }
.video-frame iframe, .video-frame video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 18px; text-align: center; color: #fff;
  background: radial-gradient(120% 80% at 50% 0%, #1c2a26 0%, #0b0f0e 70%);
}
.video-placeholder .play {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,0.25);
}
.video-placeholder .play svg { width: 22px; height: 22px; fill: #fff; }
.video-platform { display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; font-weight: 600; }
.video-platform svg { width: 16px; height: 16px; fill: currentColor; }
.video-placeholder small { font-size: 0.74rem; color: rgba(255,255,255,0.62); max-width: 200px; }
.video-meta { padding: 14px 16px; }
.video-meta strong { display: block; font-size: 1rem; }
.video-meta span { font-size: 0.82rem; color: var(--muted); }

/* --------------------------- Notícias e eventos -------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.4vw, 28px); }
.news-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-alt); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-media img { transform: scale(1.04); }
.news-body { display: flex; flex-direction: column; gap: 10px; padding: clamp(18px, 2.2vw, 26px); flex: 1; }
.news-tag { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.news-card h3 { font-size: 1.22rem; line-height: 1.25; }
.news-card p { color: var(--muted); font-size: 0.96rem; line-height: 1.55; }
.news-date { font-size: 0.8rem; color: var(--quiet); }
.news-more { margin-top: auto; font-weight: 600; font-size: 0.92rem; color: var(--accent); }
.news-featured { grid-column: span 2; }
.news-featured .news-media { aspect-ratio: 16 / 9; }

/* ------------------------------ Subpágina / artigo ----------------- */
.article-main { width: min(780px, calc(100% - 48px)); margin: 0 auto; padding: clamp(28px, 5vw, 56px) 0 clamp(56px, 8vw, 96px); }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--muted); margin-bottom: 28px; }
.back-link:hover { color: var(--accent); }
.article-head { margin-bottom: clamp(28px, 4vw, 44px); }
.article-head .eyebrow { color: var(--accent); }
.article-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 12px 0 16px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--quiet); font-size: 0.9rem; }
.article-figure { margin: 0 0 clamp(28px, 4vw, 40px); }
.article-figure img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.article-figure figcaption { margin-top: 10px; font-size: 0.85rem; color: var(--quiet); text-align: center; }
.article-body p { font-size: 1.12rem; line-height: 1.7; color: var(--ink-soft); margin-bottom: 22px; }
.article-body h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 36px 0 14px; }
.article-body ul { margin: 0 0 22px; padding-left: 22px; color: var(--ink-soft); }
.article-body li { margin-bottom: 8px; line-height: 1.6; }
.article-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 8px 0 28px; }
.article-gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: var(--radius-sm); }
.article-cta { margin-top: 36px; padding: 26px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent-ink); }
.article-cta strong { display: block; font-size: 1.15rem; margin-bottom: 8px; }

/* ------------------------ Responsivo dos novos blocos -------------- */
@media (max-width: 940px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .news-featured { grid-column: span 2; }
}
@media (max-width: 760px) {
  .social-compact { display: none; }
  .rail-nav { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .news-featured { grid-column: auto; }
  .video-card { flex-basis: 78%; }
  .article-gallery { grid-template-columns: 1fr; }
}

/* =====================================================================
   ENQUETE POP-UP FLUTUANTE  +  "VOCÊ SABIA?"
   ===================================================================== */

/* ----------------------- Enquete flutuante ------------------------- */
.float-poll {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 344px;
  max-width: calc(100vw - 32px);
  z-index: 80;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 18px 18px 16px;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.float-poll.is-open { opacity: 1; transform: none; pointer-events: auto; }

.fp-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.fp-tema {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft); padding: 5px 11px; border-radius: 999px;
}
.fp-close {
  width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-strong);
  background: transparent; color: var(--muted); font-size: 1.05rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center; flex-shrink: 0;
}
.fp-close:hover { border-color: var(--ink); color: var(--ink); }
.fp-question { font-size: 1.04rem; font-weight: 600; line-height: 1.3; margin-bottom: 14px; }
.fp-options { display: grid; gap: 8px; }
.fp-option {
  text-align: left; padding: 11px 14px; border-radius: 11px;
  border: 1px solid var(--line-strong); background: var(--bg); cursor: pointer;
  font-size: 0.92rem; transition: border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.fp-option:hover { border-color: var(--ink); }
.fp-option.is-selected { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }
.fp-results { display: grid; gap: 10px; }
.fp-result { display: grid; gap: 5px; }
.fp-result-row { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--ink-soft); }
.fp-track { height: 7px; border-radius: 999px; background: var(--line); overflow: hidden; }
.fp-fill { height: 100%; background: var(--accent); border-radius: 999px; transition: width 0.45s ease; }
.fp-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; }
.fp-next { font-size: 0.85rem; font-weight: 600; color: var(--accent); background: none; border: none; cursor: pointer; padding: 0; }
.fp-next:hover { text-decoration: underline; }
.fp-count { font-size: 0.74rem; color: var(--quiet); }
.fp-note { font-size: 0.68rem; color: var(--quiet); margin-top: 10px; }

/* botão flutuante minimizado */
.float-bubble {
  position: fixed; right: 20px; bottom: 20px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; border: none;
  background: var(--accent); color: #fff; cursor: pointer;
  box-shadow: var(--shadow-lg); display: none; place-items: center;
}
.float-bubble.is-shown { display: grid; }
.float-bubble svg { width: 26px; height: 26px; fill: #fff; }
.float-bubble::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid var(--accent); opacity: 0.5; animation: bubblePulse 2.2s ease-out infinite;
}
@keyframes bubblePulse { 0% { transform: scale(1); opacity: 0.5; } 100% { transform: scale(1.55); opacity: 0; } }

/* ---------------------------- Você sabia? -------------------------- */
.fact-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: clamp(28px, 4.5vw, 56px);
  color: #fff;
  background: linear-gradient(135deg, #16224f 0%, #1b2a6b 55%, #25379a 100%);
  box-shadow: var(--shadow);
}
.fact-card::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
  border-radius: 50%; background: radial-gradient(circle, rgba(159,178,230,0.26), transparent 70%);
}
.fact-chip {
  display: inline-flex; align-items: center; gap: 8px; position: relative;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #aebdf2; margin-bottom: 18px;
}
.fact-teaser, .fact-answer {
  position: relative;
  font-size: clamp(1.3rem, 3vw, 2rem); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em;
  min-height: 2.6em;
}
.fact-answer { display: none; }
.fact-card.is-revealed .fact-teaser { display: none; }
.fact-card.is-revealed .fact-answer { display: block; }
.fact-source { position: relative; margin-top: 16px; font-size: 0.82rem; color: rgba(255,255,255,0.62); }
.fact-actions { position: relative; margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.fact-btn {
  padding: 11px 20px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: 0.92rem;
  border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); color: #fff;
  transition: transform 0.18s ease, background 0.18s ease;
}
.fact-btn.primary { background: #fff; color: #16224f; border-color: #fff; }
.fact-btn:hover { transform: translateY(-2px); }
.fact-progress { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-left: auto; }

@media (max-width: 760px) {
  .float-poll { right: 12px; left: 12px; bottom: 12px; width: auto; }
  .float-bubble { right: 14px; bottom: 14px; }
}

/* --------------------------- Quem sou eu? -------------------------- */
.id-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.id-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.id-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.id-ic {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent-soft); display: grid; place-items: center; font-size: 1.3rem; line-height: 1;
}
.id-item strong { display: block; font-size: 1.05rem; line-height: 1.25; margin-bottom: 3px; }
.id-item span { font-size: 0.9rem; color: var(--muted); }
