/* =============================================================
 * Dra. Maria Ester Rodrigues, sistema visual
 * Editorial acadêmico clean: navy como cor institucional,
 * sage como acento sutil, neutros quentes como base.
 * Mobile-first estrito. Animações leves e discretas.
 * ============================================================= */

/* ============= 1. RESET ============= */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

p, li, dd, dt, blockquote, span, a {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Títulos NUNCA hifenizam automaticamente (evita 'comporta-mental') */
h1, h2, h3, h4, .display, .hero__title, .section__title,
.hero__card-name, .coord-card__name, .research__title,
.pubs__title, .resource__title, .channels__title,
.footer__name, .footer__title, .eyebrow, .btn, .logo__name {
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  overflow-wrap: normal;
  word-break: keep-all;
}

/* Prose longa pode hifenizar */
.hero__lead,
.mission__text,
.section__intro,
.pubs__ref,
.research__body,
.resource__body,
.form__field,
.course__body,
p.long-copy {
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

img, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

input, select, textarea {
  font: inherit;
  color: inherit;
}

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

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, p, dl, dd, figure, blockquote {
  margin: 0;
}

/* ============= 2. TOKENS ============= */
:root {
  /* Paleta oficial da cliente (Dra. Maria Ester Rodrigues)
   * Eixo visual: azul institucional. Vermelho editorial e amarelo
   * como acentos pontuais. Branco e gelo como base (65%).
   * Proporcao alvo: 65% branco/gelo, 26% azul, 6% vermelho, 3% amarelo.
   *
   * Os nomes de variaveis foram preservados por compatibilidade com os
   * componentes ja existentes; os valores e que mudaram. Mapeamento:
   *   --navy      -> azul institucional (autoridade, titulos, botoes)
   *   --sage      -> azul suave (icones, formas, detalhes decorativos)
   *   --coral     -> vermelho editorial (destaques, tags, chamadas)
   *   --amber     -> amarelo de apoio (microdestaques pontuais)
   *   --cream     -> gelo (secoes alternadas)
   *   --gray      -> texto secundario / grafite */

  /* Azul institucional (eixo, autoridade) */
  --navy: #2C6E9E;
  --navy-2: #24597F;
  --navy-3: #1D4A6B;

  /* Legado: primary = azul institucional */
  --primary: #2C6E9E;
  --primary-2: #24597F;
  --primary-3: #4E88B4;

  /* Azul suave (icones, formas, fundos decorativos, NUNCA texto sobre branco) */
  --sage: #83C1FA;
  --sage-deep: #2C6E9E;
  --sage-soft: #E8F2FB;

  /* Vermelho editorial (destaques, tags, elementos ativos) */
  --coral: #C63F42;
  --coral-deep: #A32F32;
  --coral-soft: #F7E4E4;

  /* Amarelo de apoio (microdestaques pontuais, 3%) */
  --amber: #F2C94C;
  --amber-deep: #C9A431;
  --amber-soft: #FBF2D6;

  /* Verde do WhatsApp, mantido para reconhecimento de marca */
  --whatsapp: #25D366;
  --whatsapp-deep: #1DA851;

  /* Neutros: branco e gelo (base 65%) */
  --cream: #FFFFFF;         /* fundo principal */
  --cream-2: #F2F6F8;       /* gelo, secoes alternadas */
  --cream-3: #E8EFF3;       /* gelo mais fechado */

  /* Cinzas frios (grafite para texto) */
  --gray: #5E6C79;          /* texto secundario */
  --gray-2: #8695A1;        /* placeholders, labels */

  /* Bordas */
  --border: #D8E4EC;        /* linha divisoria padrao */
  --border-soft: #E8EFF3;   /* linha muito sutil */

  /* Fontes */
  --font-display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Escala tipográfica (fluida mas com mínimos generosos) */
  --fs-micro: clamp(13px, 0.75rem + 0.15vw, 14px);
  --fs-sm: clamp(15px, 0.9rem + 0.15vw, 16px);
  --fs-base: clamp(17px, 1rem + 0.2vw, 18px);
  --fs-lg: clamp(19px, 1.1rem + 0.35vw, 22px);
  --fs-xl: clamp(19px, 1.1rem + 0.4vw, 23px);
  --fs-2xl: clamp(22px, 1.2rem + 0.9vw, 30px);
  --fs-3xl: clamp(26px, 1.4rem + 1.6vw, 40px);
  --fs-4xl: clamp(32px, 1.7rem + 2.5vw, 54px);

  /* Espaçamento */
  --sp-1: 8px;
  --sp-2: 12px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 48px;
  --sp-7: 64px;
  --sp-8: 96px;

  /* Layout */
  --container-max: 1200px;
  --container-pad: 20px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;

  /* Sombras com tint warm-charcoal (não azul) */
  --shadow-sm: 0 2px 6px rgba(44, 110, 158, 0.05);
  --shadow: 0 6px 20px -8px rgba(44, 110, 158, 0.10);
  --shadow-md: 0 12px 36px -14px rgba(44, 110, 158, 0.14);
  --shadow-lg: 0 24px 60px -20px rgba(44, 110, 158, 0.18);

  /* Ease */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Altura do header (mobile) */
  --header-h: 72px;
}

/* ============= 3. BASE TIPOGRÁFICA ============= */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.012em;
  font-variation-settings: "opsz" 72, "SOFT" 20;
}

h2 { font-size: var(--fs-3xl); line-height: 1.2; }
h3 { font-size: var(--fs-xl); line-height: 1.3; font-weight: 500; }

p { font-size: var(--fs-base); }

strong { font-weight: 500; color: var(--navy); }

::selection {
  background: var(--sage);
  color: white;
}

/* ============= 4. UTILITIES ============= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: max(var(--container-pad), env(safe-area-inset-left));
  padding-right: max(var(--container-pad), env(safe-area-inset-right));
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 999;
  background: var(--navy);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-base);
  font-weight: 600;
  transition: top 200ms var(--ease);
}

.skip-link:focus {
  top: 12px;
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Eyebrow */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 18px;
  line-height: 1.4;
}

.eyebrow--light { color: rgba(255, 255, 255, 0.7); }

.eyebrow__dot {
  width: 8px;
  height: 8px;
  background: var(--sage);
  border-radius: 50%;
  animation: pulse 3s var(--ease) infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.eyebrow--number { gap: 12px; }

.eyebrow__num {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  background: var(--coral-soft);
  color: var(--coral-deep);
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.eyebrow--light .eyebrow__num {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Botões (grandes e acessíveis) */
.btn {
  --btn-fg: white;
  --btn-bg: var(--navy);
  --btn-bd: var(--navy);
  --btn-hover-bg: var(--navy-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  min-height: 50px;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: transform 300ms var(--ease), background 300ms var(--ease), border-color 300ms var(--ease), color 300ms var(--ease);
}

.btn:hover {
  background: var(--btn-hover-bg);
  border-color: var(--btn-hover-bg);
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  --btn-bg: var(--navy);
  --btn-bd: var(--navy);
  --btn-hover-bg: var(--primary);
  --btn-fg: white;
}

.btn--coral {
  --btn-bg: var(--coral);
  --btn-bd: var(--coral);
  --btn-hover-bg: var(--coral-deep);
  --btn-fg: white;
}

.btn--amber {
  --btn-bg: var(--amber);
  --btn-bd: var(--amber);
  --btn-hover-bg: var(--amber-deep);
  --btn-fg: var(--navy);
}

.btn--sage {
  --btn-bg: var(--sage);
  --btn-bd: var(--sage);
  --btn-hover-bg: var(--sage-deep);
  --btn-fg: white;
}

.btn--whatsapp {
  --btn-bg: var(--whatsapp);
  --btn-bd: var(--whatsapp);
  --btn-hover-bg: var(--whatsapp-deep);
  --btn-fg: white;
}

.btn--outline {
  --btn-bg: transparent;
  --btn-bd: var(--navy);
  --btn-fg: var(--navy);
  --btn-hover-bg: var(--navy);
}

.btn--outline:hover { --btn-fg: white; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-bd: rgba(255, 255, 255, 0.4);
  --btn-fg: white;
  --btn-hover-bg: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.btn--lg {
  min-height: 58px;
  padding: 16px 28px;
  font-size: var(--fs-lg);
}

.btn--sm {
  min-height: 40px;
  padding: 8px 16px;
  font-size: var(--fs-sm);
}

.btn--wide {
  width: 100%;
}

/* ============= 5. HEADER + NAV ============= */
.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 200ms, border-color 200ms, box-shadow 200ms;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  transition: opacity 200ms var(--ease);
  padding: 8px 0;
  min-height: 48px;
}

.logo:hover { opacity: 0.75; }

.logo__mark {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}

.logo__mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 19px;
  color: var(--navy);
  letter-spacing: 0.005em;
  font-variation-settings: "opsz" 48, "SOFT" 20;
}

.logo__tag {
  font-size: 11px;
  color: var(--gray);
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

/* Nav toggle (hamburger discreto, só ícone) */
.nav-toggle {
  display: grid;
  place-items: center;
  padding: 0;
  width: 44px;
  height: 44px;
  background: transparent;
  color: var(--navy);
  border-radius: 50%;
  border: 1px solid var(--border);
  transition: background 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
  z-index: 92;
  position: relative;
}

.nav-toggle:hover {
  background: var(--cream-2);
  border-color: var(--navy-2);
}

.nav-toggle[aria-expanded="true"] {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.nav-toggle:active { transform: none; }

.nav-toggle__icon {
  display: grid;
  place-items: center;
  position: relative;
  width: 22px;
  height: 22px;
}

.nav-toggle__svg {
  position: absolute;
  inset: 0;
  transition: opacity 200ms, transform 300ms var(--ease);
}

.nav-toggle__svg--close {
  opacity: 0;
  transform: rotate(-90deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__svg--open {
  opacity: 0;
  transform: rotate(90deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__svg--close {
  opacity: 1;
  transform: rotate(0);
}

/* Nav menu (mobile drawer) */
.nav-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100dvh - var(--header-h));
  background: var(--cream);
  color: var(--navy);
  padding: 32px 24px 40px;
  padding-bottom: calc(40px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out), visibility 250ms;
  z-index: 91;
  border-top: 1px solid var(--border-soft);
}

.nav-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-menu li {
  border-bottom: 1px solid var(--border-soft);
}

.nav-menu li:last-child {
  border-bottom: 0;
  margin-top: 24px;
}

.nav-menu a {
  display: flex;
  align-items: center;
  padding: 18px 4px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  color: var(--navy);
  transition: color 200ms, padding-left 250ms var(--ease);
  min-height: 56px;
  letter-spacing: 0.005em;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--sage-deep);
  padding-left: 4px;
}

.nav-menu__cta {
  justify-content: center;
  background: var(--navy) !important;
  color: white !important;
  border-radius: 999px;
  padding: 15px 22px !important;
  font-size: 15px !important;
  font-family: var(--font-body) !important;
  font-weight: 500 !important;
  transition: background 200ms var(--ease);
  min-height: 50px;
}

.nav-menu__cta:hover {
  background: var(--primary) !important;
  padding-left: 22px !important;
}

/* ============= 6. HERO ============= */
.hero {
  padding: var(--sp-5) 0 var(--sp-6);
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.hero__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(420px 420px at 88% 30%, rgba(143, 164, 133, 0.10), transparent 70%),
    radial-gradient(360px 360px at 8% 82%, rgba(143, 164, 133, 0.07), transparent 70%);
}

.hero__inner {
  display: grid;
  gap: var(--sp-5);
  position: relative;
  z-index: 1;
}

.hero__text {
  display: flex;
  flex-direction: column;
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
  font-variation-settings: "opsz" 96, "SOFT" 20;
  text-wrap: balance;
}

.hero__title-em {
  color: var(--coral);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 96, "SOFT" 20;
  display: inline;
}

/* Eyebrow do hero em vermelho editorial (assinatura do mockup) */
.hero .eyebrow {
  color: var(--coral);
}

.hero .eyebrow__dot {
  background: var(--coral);
}

.hero__lead {
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--gray);
  margin-bottom: var(--sp-4);
  max-width: 56ch;
  font-weight: 400;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

/* Chips de área de atuação */
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: var(--sp-4);
  margin-bottom: 10px;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-2);
  line-height: 1;
}

.hero__chip svg {
  color: var(--sage-deep);
  flex-shrink: 0;
}

/* ---------- Media: foto retangular emoldurada + card de estatistica ---------- */
.hero__media {
  position: relative;
  z-index: 1
}

.hero__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 460px;
  margin: 0 auto;
  background: var(--cream-2);
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px -28px rgba(44, 110, 158, 0.35);
  z-index: 1;
}

.hero__portrait picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  transition: transform 700ms var(--ease-out);
}

.hero__media:hover .hero__portrait img {
  transform: scale(1.03);
}

/* Circulos antigos, no-op para compat retroativa */
.hero__circle { display: none; }

/* Kicker editorial vertical: nao usado nesta versao do hero (mantido
   oculto por compatibilidade caso volte a ser usado). */
.hero__frame-kicker {
  display: none;
}

.hero__blob-bg {
  display: none;
}

/* Card de coordenacao flutuante sobre a foto */
.hero__card {
  position: relative;
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  box-shadow: 0 16px 44px -24px rgba(44, 110, 158, 0.28);
  border: 1px solid var(--border-soft);
  margin: -40px 12px 0;
  z-index: 2;
  overflow: hidden;
}

.hero__card-quote {
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--sage-soft);
  z-index: 0;
}

.hero__card > *:not(.hero__card-quote) {
  position: relative;
  z-index: 1;
}

.hero__card-name {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  font-variation-settings: "opsz" 48, "SOFT" 20;
}

.hero__card-role {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.55;
}

/* ---------- Hero: tema escuro premium (fundo navy + colagem editorial) ----------
   Fundo navy profundo, textos claros, padrao de pontos sutil atras da
   foto (efeito "colagem" sem depender de fotos extras que o material
   da cliente nao possui). Versao aprovada pela profissional. */
.hero {
  background: radial-gradient(120% 140% at 82% 8%, var(--navy) 0%, var(--navy-3) 46%, #12293C 100%);
  overflow: hidden;
}

.hero__deco {
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(560px 480px at 80% 40%, black 35%, transparent 78%);
  mask-image: radial-gradient(560px 480px at 80% 40%, black 35%, transparent 78%);
}

.hero .eyebrow { color: rgba(255, 255, 255, 0.8); }
.hero .eyebrow__dot { background: var(--amber); }

.hero__title { color: #FFFFFF; }
.hero__title-em { color: var(--amber); }

.hero__lead { color: rgba(255, 255, 255, 0.72); }

.hero__chip {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.hero__chip svg { color: var(--amber); }

.hero .btn--primary {
  --btn-bg: #FFFFFF;
  --btn-bd: #FFFFFF;
  --btn-fg: var(--navy-3);
  --btn-hover-bg: var(--cream-2);
}

.hero .btn--outline {
  --btn-bg: transparent;
  --btn-bd: rgba(255, 255, 255, 0.45);
  --btn-fg: #FFFFFF;
  --btn-hover-bg: rgba(255, 255, 255, 0.12);
}

.hero .btn--outline:hover { --btn-fg: #FFFFFF; }

.hero__blob-bg {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.hero__portrait--blob {
  box-shadow: 0 30px 70px -24px rgba(0, 0, 0, 0.55);
}

/* ============= 7. MISSION ============= */
.mission {
  background: var(--navy);
  color: white;
  padding: var(--sp-6) 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.mission__inner { position: relative; }

.mission__text {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 400;
  line-height: 1.4;
  color: white;
  max-width: 60ch;
  font-variation-settings: "opsz" 72, "SOFT" 20;
}

.mission__text strong {
  color: white;
  font-weight: 600;
  background: linear-gradient(180deg, transparent 62%, rgba(255, 255, 255, 0.14) 62%);
  padding: 0 2px;
}

/* ============= 8. STATS ============= */
.stats {
  padding: var(--sp-6) 0;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.stats__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.stats__item {
  padding: 24px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-top: 3px solid var(--sage);
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform 350ms var(--ease-out), border-color 300ms var(--ease), box-shadow 350ms var(--ease-out);
}

.stats__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.stats__item--coral { border-top-color: var(--coral); }
.stats__item--amber { border-top-color: var(--amber); }
.stats__item--sage { border-top-color: var(--sage-deep); }

.stats__value {
  font-family: var(--font-display);
  font-size: clamp(40px, 7vw, 56px);
  font-weight: 500;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variation-settings: "opsz" 96, "SOFT" 20;
  font-variant-numeric: tabular-nums;
}

.stats__unit {
  font-size: 0.55em;
  color: var(--sage-deep);
  font-weight: 500;
  vertical-align: super;
  margin-left: 2px;
}

.stats__item--coral .stats__value { color: var(--coral); }
.stats__item--amber .stats__value { color: var(--amber-deep); }
.stats__item--sage .stats__value { color: var(--sage-deep); }
.stats__item--coral .stats__unit { color: var(--coral); }

.stats__label {
  font-size: var(--fs-sm);
  color: var(--gray);
  line-height: 1.5;
  font-weight: 400;
}

/* ============= 9. SECTION BASE ============= */
.section {
  padding: var(--sp-6) 0;
}

.section--tinted {
  background: var(--navy);
  color: white;
  position: relative;
  overflow: hidden;
}

.section--tinted .section__title { color: white; }
.section--tinted .section__intro { color: rgba(255, 255, 255, 0.75); }
.section--tinted .eyebrow { color: rgba(255, 255, 255, 0.6); }
.section--tinted .research__card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgba(255, 255, 255, 0.25);
  color: white;
}
.section--tinted .research__card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  border-left-color: var(--sage);
}
.section--tinted .research__num,
.section--tinted .research__card--coral .research__num,
.section--tinted .research__card--amber .research__num,
.section--tinted .research__card--sage .research__num {
  color: rgba(255, 255, 255, 0.4);
}
.section--tinted .research__title { color: white; }
.section--tinted .research__body { color: rgba(255, 255, 255, 0.72); }
.section--tinted .research__tags {
  border-top-color: rgba(255, 255, 255, 0.12);
}
.section--tinted .research__tags li,
.section--tinted .research__card--coral .research__tags li,
.section--tinted .research__card--amber .research__tags li,
.section--tinted .research__card--sage .research__tags li {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
}

.section--tinted-2 {
  background: var(--cream-2);
}

.section__head {
  margin-bottom: var(--sp-5);
  max-width: 62rem;
}

.section__title {
  font-size: var(--fs-3xl);
  line-height: 1.1;
  max-width: 22ch;
  margin-bottom: 20px;
}

.section__intro {
  font-size: var(--fs-lg);
  color: var(--gray);
  line-height: 1.6;
  max-width: 55ch;
}

/* ============= 10. SOBRE ============= */
.sobre {
  display: grid;
  gap: var(--sp-6);
}

.sobre__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sobre__text p {
  font-size: var(--fs-lg);
  line-height: 1.7;
  color: var(--navy-2);
}

.sobre__lead {
  font-family: var(--font-display);
  font-size: var(--fs-xl) !important;
  font-weight: 500;
  color: var(--navy) !important;
  line-height: 1.35 !important;
  font-variation-settings: "opsz" 48, "SOFT" 20;
}

.coord-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.coord-card__top {
  background: var(--cream-2);
  padding: 28px 24px 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.coord-card__badge {
  display: inline-block;
  padding: 5px 12px;
  background: transparent;
  color: var(--gray);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 20px;
}

.coord-card__avatar {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--sage-deep) 100%);
  display: grid;
  place-items: center;
  color: white;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  font-variation-settings: "opsz" 72, "SOFT" 20;
  box-shadow: 0 0 0 4px white, 0 6px 16px rgba(10, 31, 68, 0.15);
  overflow: hidden;
}

.coord-card__avatar picture,
.coord-card__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.coord-card__avatar span { line-height: 1; }

.coord-card__name {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 6px;
  font-variation-settings: "opsz" 48, "SOFT" 20;
}

.coord-card__role {
  font-size: var(--fs-sm);
  color: var(--gray);
  line-height: 1.5;
}

.coord-card__list {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.coord-card__list li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-soft);
}

.coord-card__list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.coord-card__k {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.coord-card__v {
  font-size: var(--fs-sm);
  color: var(--navy-2);
  line-height: 1.5;
}

.coord-card__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  background: var(--navy);
  color: white;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background 200ms var(--ease), gap 200ms var(--ease);
}

.coord-card__link:hover {
  background: var(--primary);
  gap: 12px;
}

/* ============= 11. RESEARCH ============= */
.research {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.research__card {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 300ms var(--ease-out), border-color 300ms var(--ease);
  color: var(--navy);
  border-left: 3px solid var(--sage);
  position: relative;
}

.research__card:hover {
  transform: translateY(-2px);
  border-color: var(--sage);
}

.research__card--coral,
.research__card--amber,
.research__card--sage {
  border-left-color: var(--sage);
}

.research__num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--gray-2);
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 96, "SOFT" 20;
  font-variant-numeric: tabular-nums;
}

.research__card--coral .research__num,
.research__card--amber .research__num,
.research__card--sage .research__num {
  color: var(--gray-2);
}

.research__title {
  font-size: var(--fs-lg);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 500;
  font-variation-settings: "opsz" 48, "SOFT" 20;
}

.research__body {
  color: var(--gray);
  font-size: var(--fs-sm);
  line-height: 1.6;
  flex-grow: 1;
}

.research__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.research__tags li {
  padding: 4px 10px;
  background: var(--cream-2);
  color: var(--gray);
  border-radius: 4px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.research__card--coral .research__tags li,
.research__card--amber .research__tags li,
.research__card--sage .research__tags li {
  background: var(--cream-2);
  color: var(--gray);
}

/* ============= 12. PUBLICAÇÕES ============= */
.pubs {
  display: grid;
  gap: 0;
  counter-reset: pub;
}

.pubs__item {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
  counter-increment: pub;
  transition: padding 250ms var(--ease-out);
}

.pubs__item:hover {
  padding-left: 4px;
}

.pubs__item--featured {
  background: var(--cream-2);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--sage);
  margin-bottom: 8px;
}

.pubs__item--featured:hover {
  padding: 24px 24px 24px 28px;
}

.pubs__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.pubs__year {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--gray);
  line-height: 1;
  font-variation-settings: "opsz" 48, "SOFT" 20;
  font-variant-numeric: tabular-nums;
}

.pubs__item--featured .pubs__year { color: var(--navy); }

.pubs__type {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 3px;
}

.pubs__item--featured .pubs__type {
  background: white;
  color: var(--gray);
}

.pubs__title {
  font-size: var(--fs-lg);
  color: var(--navy);
  line-height: 1.3;
  font-weight: 500;
  font-variation-settings: "opsz" 72, "SOFT" 20;
}

.pubs__ref {
  font-size: var(--fs-sm);
  color: var(--gray);
  font-style: italic;
  line-height: 1.5;
}

.pubs__stats {
  display: flex;
  gap: 20px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.pubs__stats span {
  font-size: var(--fs-sm);
  color: var(--gray);
}

.pubs__stats strong {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--navy);
  margin-right: 4px;
  font-weight: 500;
  font-variation-settings: "opsz" 48, "SOFT" 20;
  font-variant-numeric: tabular-nums;
}

.pubs__note {
  margin-top: var(--sp-4);
  padding: 16px 20px;
  background: var(--cream-2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--gray);
  border: 1px solid var(--border);
}

.pubs__note svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--sage-deep);
}

.pubs__note p {
  font-size: var(--fs-sm);
  color: var(--navy-2);
  margin: 0;
  line-height: 1.55;
}

.pubs__note a {
  color: var(--navy);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 200ms var(--ease);
}

.pubs__note a:hover { color: var(--sage-deep); }

/* ============= 13. FORMAÇÃO / COURSE ============= */
.course {
  background: var(--navy);
  color: white;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  position: relative;
  overflow: hidden;
  display: grid;
  gap: var(--sp-5);
}

.course__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.course__circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.course__circle--1 {
  width: 260px;
  height: 260px;
  background: rgba(74, 155, 142, 0.12);
  top: -80px;
  right: -80px;
}

.course__circle--2 {
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.05);
  bottom: -60px;
  left: -60px;
}

.course__content {
  position: relative;
  z-index: 1;
}

.course__title {
  color: white;
  font-size: var(--fs-3xl);
  max-width: 22ch;
  margin-bottom: 20px;
  line-height: 1.1;
  font-variation-settings: "opsz" 96, "SOFT" 20;
}

.course__body {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--fs-lg);
  line-height: 1.6;
  max-width: 55ch;
  margin-bottom: var(--sp-5);
}

.course__points {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: var(--sp-5);
}

.course__points li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  font-size: var(--fs-base);
  line-height: 1.5;
  font-weight: 500;
}

.course__points li:last-child { border-bottom: 0; }

.course__num {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  font-variation-settings: "opsz" 48, "SOFT" 20;
}

.course__actions { position: relative; z-index: 1; }

.course__aside {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.course__aside-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.course__aside-item:first-child { padding-top: 0; }
.course__aside-item:last-child { border-bottom: 0; padding-bottom: 0; }

.course__aside-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.course__aside-value {
  font-size: var(--fs-base);
  color: white;
  line-height: 1.5;
}

/* ============= 14. RECURSOS ============= */
.resources {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-bottom: var(--sp-5);
}

.resource {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--navy);
  text-decoration: none;
  transition: transform 300ms var(--ease-out), border-color 300ms var(--ease);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.resource::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--ease-out);
}

.resource:hover {
  transform: translateY(-2px);
  border-color: var(--sage);
}

.resource:hover::before { transform: scaleX(1); }

.resource__tag {
  align-self: flex-start;
  padding: 4px 10px;
  background: transparent;
  color: var(--gray);
  border: 1px solid var(--border);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.resource__title {
  font-size: var(--fs-lg);
  color: var(--navy);
  line-height: 1.3;
  font-weight: 500;
  font-variation-settings: "opsz" 72, "SOFT" 20;
}

.resource__body {
  color: var(--gray);
  font-size: var(--fs-sm);
  line-height: 1.6;
  flex-grow: 1;
}

.resource__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: transparent;
  color: var(--navy);
  font-size: var(--fs-sm);
  font-weight: 500;
  border-radius: 0;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 2px;
  transition: gap 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
  align-self: flex-start;
}

.resource:hover .resource__cta {
  color: var(--sage-deep);
  border-color: var(--sage);
  gap: 10px;
}

.resources__more {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: transparent;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
}

.resources__more p {
  font-size: var(--fs-sm);
  color: var(--gray);
  margin: 0;
  line-height: 1.5;
}

/* ============= 15. CONTATO ============= */
.contato {
  display: grid;
  gap: var(--sp-6);
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form__group {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.form__field { display: block; }

.form__label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 14px 16px;
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 16px; /* mínimo pra evitar zoom automático no iOS */
  color: var(--navy);
  transition: border-color 200ms, box-shadow 200ms;
  font-family: var(--font-body);
  min-height: 54px;
  line-height: 1.4;
}

.form__field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.5;
}

.form__field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%230A1F44' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--primary);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.15);
}

.form__status {
  font-size: var(--fs-sm);
  min-height: 22px;
  color: var(--sage-deep);
  margin: 0;
  font-weight: 500;
  padding: 8px 0;
}

.form__status.is-error { color: var(--coral-deep); }

/* Channels */
.channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: white;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.channels__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 8px;
  font-variation-settings: "opsz" 48, "SOFT" 20;
}

.channel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--cream);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--navy);
  text-decoration: none;
  transition: transform 200ms var(--ease), border-color 200ms, background 200ms, box-shadow 200ms;
  min-height: 68px;
}

.channel:hover {
  transform: translateX(2px);
  border-color: var(--navy-2);
}

.channel:hover .channel__icon {
  transform: none;
}

.channel--whatsapp:hover { border-color: var(--whatsapp); }
.channel--instagram:hover { border-color: var(--navy-2); }
.channel--facebook:hover { border-color: #1877F2; }
.channel--email:hover { border-color: var(--navy-2); }

.channel__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: white;
  flex-shrink: 0;
  transition: transform 250ms var(--ease-out);
}

.channel--whatsapp .channel__icon { background: var(--whatsapp); }
.channel--instagram .channel__icon {
  background: linear-gradient(135deg, #F09433 0%, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%);
}
.channel--facebook .channel__icon { background: #1877F2; }
.channel--email .channel__icon { background: var(--navy); }

.channel__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex-grow: 1;
  min-width: 0;
}

.channel__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.channel__value {
  font-size: var(--fs-base);
  color: var(--navy);
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.channel__arrow {
  color: var(--gray-2);
  flex-shrink: 0;
  transition: color 200ms, transform 200ms;
}

.channel:hover .channel__arrow {
  color: var(--navy);
  transform: translate(3px, -3px);
}

.channels__address {
  margin-top: 8px;
  padding: 16px;
  background: var(--cream-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.channels__address-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.channels__address-value {
  font-size: var(--fs-sm);
  color: var(--navy);
  line-height: 1.55;
}

/* ============= 16. FOOTER ============= */
.footer {
  background: var(--cream-2);
  color: var(--gray);
  padding-top: var(--sp-5);
  position: relative;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  padding-bottom: 28px;
}

.footer__col--brand { grid-column: 1 / -1; }

.footer__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  grid-column: 1 / -1;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__mark {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
}

.footer__mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 3px;
  letter-spacing: 0.005em;
  font-variation-settings: "opsz" 48, "SOFT" 20;
  line-height: 1.15;
}

.footer__desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--gray);
}

/* Botao de contato no footer (coluna de marca) */
.footer__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 11px 22px;
  background: var(--navy);
  color: white;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  transition: background 300ms var(--ease-out), transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), gap 300ms var(--ease);
}

.footer__cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  background: var(--navy-2);
  gap: 11px;
}

.footer__cta svg {
  transition: transform 220ms var(--ease);
}

.footer__title {
  font-size: 9.5px;
  font-weight: 600;
  color: var(--gray-2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer__list a {
  font-size: 13px;
  color: var(--gray);
  transition: color 200ms var(--ease), padding-left 250ms var(--ease);
  display: inline-block;
  padding: 3px 0;
  min-height: 24px;
  font-weight: 400;
  line-height: 1.4;
}

.footer__list a:hover {
  color: var(--navy);
  padding-left: 3px;
}

.footer__bar {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}

.footer__bar-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.footer__legal {
  font-size: 11px;
  color: var(--gray-2);
  line-height: 1.5;
  margin: 0;
}

/* Credits Claw, assinatura discreta */
.footer__credits {
  display: flex;
  align-items: center;
  gap: 5px 7px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--gray-2);
  letter-spacing: 0.02em;
  max-width: 100%;
}

.footer__credits-text {
  font-weight: 400;
}

.footer__credits-brand {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 11px;
  color: var(--gray);
  font-weight: 500;
  font-variation-settings: normal;
  transition: color 200ms var(--ease);
  padding-bottom: 1px;
  border-bottom: 1px solid var(--border);
}

.footer__credits-brand:hover {
  color: var(--navy);
  border-bottom-color: var(--navy);
}

.footer__credits-icons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 1px;
}

.footer__credits-icons a {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--gray-2);
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}

.footer__credits-icons a svg {
  width: 11px;
  height: 11px;
}

.footer__credits-icons a:hover {
  color: var(--navy);
  border-color: var(--navy);
  background: transparent;
  transform: none;
}

/* ============= 17. COOKIE BANNER (LGPD) ============= */
.cookie {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 100;
  background: var(--navy);
  color: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 400ms var(--ease-out), transform 400ms var(--ease-out);
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie[hidden] { display: none; }

.cookie.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
}

.cookie__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 600;
  color: white;
  margin-bottom: 6px;
  font-variation-settings: "opsz" 48, "SOFT" 20;
}

.cookie__desc {
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.cookie__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie__actions .btn {
  width: 100%;
  min-width: 0;
  justify-content: center;
}

/* =============================================================
 * BREAKPOINTS (mobile-first, min-width only)
 * ============================================================= */

/* >= 480px: pequenos ajustes */
@media (min-width: 30em) {
  :root {
    --container-pad: 24px;
    --header-h: 76px;
  }

  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .form__group {
    grid-template-columns: 1fr 1fr;
  }

  .cookie {
    left: auto;
    right: 20px;
    bottom: 20px;
    max-width: 440px;
  }

  .cookie__inner { padding: 24px; }

  .cookie__actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .cookie__actions .btn {
    width: auto;
    flex: 1 1 auto;
    min-width: 130px;
  }

  /* Upgrade de tamanhos que ficaram compactos no mobile pequeno */
  .channels {
    padding: 20px;
  }

  .channels__title {
    font-size: var(--fs-xl);
    margin-bottom: 12px;
  }

  .channel {
    gap: 14px;
    padding: 14px 16px;
  }

  .channel__icon {
    width: 48px;
    height: 48px;
  }

  .course__points li {
    grid-template-columns: 44px 1fr;
    gap: 14px;
    padding: 16px 0;
  }

  .course__num {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
}

/* >= 640px: 2 colunas em cards */
@media (min-width: 40em) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .research {
    grid-template-columns: repeat(2, 1fr);
  }

  .resources {
    grid-template-columns: repeat(2, 1fr);
  }

  .resources__more {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .footer__bar-inner {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-align: center;
    flex-wrap: wrap;
  }
}

/* >= 768px: layouts em 2 colunas para hero, sobre, contato */
@media (min-width: 48em) {
  :root {
    --container-pad: 32px;
    --header-h: 84px;
  }

  .hero { padding: var(--sp-7) 0 var(--sp-6); }

  .hero__inner {
    grid-template-columns: 1fr 0.92fr;
    gap: var(--sp-6);
    align-items: center;
    width: 100%;
  }

  .hero__text {
    padding-top: 0;
  }

  /* ---------- 48em-64em (tablet): composicao simples, sem blob ----------
     A foto em blob organico exige uma coluna larga para nao cortar o
     rosto; em telas de tablet a coluna e estreita demais para isso.
     Aqui a foto fica em retangulo arredondado (mesma base do mobile)
     preenchendo a coluna, com o card empilhado logo abaixo, sem
     posicionamento absoluto. A composicao em blob so entra em >=64em,
     onde ha espaco de sobra para a foto "respirar". */
  .hero__media--blob {
    display: block;
    position: relative;
  }

  .hero__portrait--blob {
    width: 100%;
    max-width: none;
    aspect-ratio: 3 / 4;
    margin: 0;
    border-radius: var(--radius-lg);
  }

  .hero__card--light {
    margin: -48px 16px 0;
    max-width: none;
  }

  .mission { padding: var(--sp-7) 0; }

  .stats { padding: var(--sp-7) 0; }

  .stats__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .sobre {
    grid-template-columns: 1.35fr 1fr;
    gap: var(--sp-6);
    align-items: start;
  }

  .course {
    padding: var(--sp-6);
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }

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

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

  .contato {
    grid-template-columns: 1.35fr 1fr;
    gap: var(--sp-5);
    align-items: start;
  }

  .footer__inner {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    align-items: start;
  }

  .footer__col--brand { grid-column: auto; }

  .footer__cols {
    display: contents;
  }

  .section { padding: var(--sp-8) 0; }
  .section__head { margin-bottom: var(--sp-6); }

  h2 { font-size: var(--fs-3xl); }
}

/* >= 900px: nav horizontal desktop */
@media (min-width: 56.25em) {
  .nav-toggle { display: none !important; }

  /* Header suspenso: barra flutuante descolada do topo, cantos
     arredondados e sombra suave. Registro premium e leve. */
  .header {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 0;
    padding: 16px 0;
  }

  .header.is-scrolled {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
  }

  .header__inner {
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    padding: 10px 12px 10px 24px;
    min-height: 0;
    box-shadow: 0 6px 24px -16px rgba(44, 110, 158, 0.22);
    transition: box-shadow 350ms var(--ease-out), background 350ms var(--ease-out);
  }

  .header.is-scrolled .header__inner {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 32px -16px rgba(44, 110, 158, 0.3);
  }

  .nav-menu {
    position: static;
    inset: auto;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    height: auto;
    min-height: 0;
    max-height: none;
    background: transparent;
    color: var(--navy);
    padding: 0;
    border: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 22px;
    overflow: visible;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav-menu li {
    border-bottom: 0;
    margin-top: 0 !important;
  }

  .nav-menu a {
    padding: 8px 0;
    font-family: var(--font-body);
    font-size: 14.5px;
    font-weight: 500;
    color: var(--navy-2);
    min-height: auto;
    font-variation-settings: normal;
    position: relative;
  }

  /* Sublinhado animado no hover, detalhe delicado */
  .nav-menu li:not(:last-child) a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 1.5px;
    background: var(--coral);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 250ms var(--ease);
  }

  .nav-menu a:hover {
    color: var(--navy);
    padding-left: 0;
  }

  .nav-menu li:not(:last-child) a:hover::after {
    transform: scaleX(1);
  }

  .nav-menu__cta {
    padding: 11px 22px !important;
    font-size: 14.5px !important;
    background: var(--navy);
    color: white !important;
    border-radius: 999px;
    min-height: auto;
    box-shadow: 0 4px 14px -6px rgba(44, 110, 158, 0.5);
  }

  .nav-menu__cta::after { display: none; }

  .nav-menu__cta:hover {
    background: var(--navy-2) !important;
    padding-left: 22px !important;
  }
}

/* >= 1024px: layouts mais espaçados */
@media (min-width: 64em) {
  .research {
    grid-template-columns: repeat(3, 1fr);
  }

  .research__card { padding: 32px 28px; }

  /* ---------- Hero >= 64em: composicao editorial completa ----------
     So a partir daqui a coluna da foto tem largura suficiente para a
     foto em blob organico + card flutuante sem cortar o rosto. */
  .hero { padding: var(--sp-8) 0; min-height: 0; display: block; }

  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-7);
    align-items: center;
  }

  .hero__text { padding-top: 0; }

  .hero__media {
    min-height: 520px;
  }

  /* ---------- Foto em blob com fundo suave, card claro flutuante ---------- */
  .hero__media--blob {
    position: relative;
    display: flex;
    align-items: center;
  }

  .hero__blob-bg {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 86%;
    height: 94%;
    background: linear-gradient(135deg, var(--sage-soft) 0%, var(--cream-2) 100%);
    border-radius: 48% 52% 45% 55% / 55% 45% 55% 45%;
    z-index: 0;
  }

  .hero__portrait--blob {
    position: relative;
    width: 76%;
    max-width: none;
    aspect-ratio: 3 / 4;
    margin: 0 0 0 auto;
    max-height: 480px;
    border-radius: 48% 52% 42% 58% / 58% 42% 58% 42%;
    overflow: hidden;
    box-shadow: 0 30px 60px -28px rgba(44, 110, 158, 0.38);
    transform: none;
    filter: none;
  }

  .hero__portrait--blob::after { display: none; }

  /* Card claro flutuante, sobreposto ao canto inferior direito da foto,
     sem cobrir o rosto (posicionado abaixo da linha do queixo). */
  .hero__card--light {
    position: absolute;
    right: -6%;
    bottom: 4px;
    width: 50%;
    max-width: 260px;
    margin: 0;
    z-index: 2;
  }
}

/* Composicao final so em telas bem largas, onde a foto tem altura de
   sobra e o card pode descer um pouco mais sem cobrir o rosto. */
@media (min-width: 80em) {
  .hero__card--light { bottom: -10px; }
}

/* 64em-80em: a foto ainda e relativamente baixa nessa faixa, entao o
   card precisa ser mais compacto para nao subir sobre os olhos. */
@media (min-width: 64em) {
  .hero__card--light {
    padding: 18px 18px;
  }

  .hero__card--light .hero__card-name {
    font-size: 18px;
    margin-bottom: 2px;
  }

  .hero__card--light .hero__card-role {
    font-size: 12px;
  }
}

/* =============================================================
 * REFINAMENTO DESKTOP, escala mais suave (>= 64em)
 * Reduz os tetos da escala tipografica e os espacamentos grandes.
 * Nao afeta mobile: os clamp() ja limitam o minimo, e os overrides
 * abaixo so entram em telas largas. Deixa o desktop mais delicado
 * e menos volumoso, preservando hierarquia e coerencia.
 * ============================================================= */
@media (min-width: 64em) {
  :root {
    --fs-lg: 20px;
    --fs-xl: 21px;
    --fs-2xl: 26px;
    --fs-3xl: 33px;
    --fs-4xl: 43px;

    --sp-6: 44px;
    --sp-7: 56px;
    --sp-8: 76px;

    --container-max: 1120px;
  }

  /* Titulo do hero com mais presenca, registro premium */
  .hero__title { font-size: 46px; }

  /* Corpo de leitura mais leve */
  .hero__lead { font-size: 17px; }

  /* Seccoes com respiro vertical menor */
  .section { padding: var(--sp-7) 0; }

  /* Cabecalhos de secao mais delicados */
  .section__title { letter-spacing: -0.015em; }

  /* ---------- Footer reveal: rodape fixo revelado ao rolar ----------
     O footer fica fixado atras do conteudo (position: fixed, bottom 0).
     O <main> recebe margin-bottom igual a altura do footer (medida em
     JS via --footer-h) e um fundo solido + sombra, de modo que, ao
     chegar ao fim da pagina, o conteudo desliza para cima revelando o
     rodape, que "acompanha" a rolagem. So no desktop; o mobile mantem
     fluxo normal. Fallback: sem JS, --footer-h e 0 e o footer volta ao
     fluxo por causa do position static abaixo. */
  body.has-fixed-footer .footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 0;
  }

  body.has-fixed-footer main {
    position: relative;
    z-index: 1;
    background: var(--cream);
    margin-bottom: var(--footer-h, 0px);
    box-shadow: 0 30px 60px -30px rgba(29, 74, 107, 0.25);
  }

  body.has-fixed-footer gpsie-header {
    position: relative;
    z-index: 2;
  }
}

/* Print */
@media print {
  .header, .nav, .footer, .cookie, .hero__actions, .form, .hero__portrait { display: none; }
  body { background: white; color: black; }
  a::after { content: " (" attr(href) ")"; font-size: 0.75em; color: #555; }
}

/* Alto contraste */
@media (prefers-contrast: more) {
  :root {
    --gray: #2A3040;
    --gray-2: #4A5060;
    --border: #999;
  }
}

/* =============================================================
 * 18. MULTIPAGINA, componentes adicionais
 * Custom Elements, page hero, breadcrumb, prose, cards de pagina
 * ============================================================= */

/* Custom elements como blocos (evita colapso antes do upgrade) */
gpsie-header,
gpsie-footer,
gpsie-cookie {
  display: block;
}

/* Anti-FOUC: reserva altura minima do header enquanto o CE monta */
gpsie-header:empty {
  display: block;
  min-height: var(--header-h);
}

/* ---------- Page hero (topo das paginas internas) ---------- */
.page-hero {
  background: var(--cream);
  border-bottom: 1px solid var(--border-soft);
  padding: calc(var(--header-h) + var(--sp-5)) 0 var(--sp-5);
}

.page-hero__inner {
  max-width: 60rem;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-4xl);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 12px 0 16px;
  font-variation-settings: "opsz" 96, "SOFT" 20;
  text-wrap: balance;
}

.page-hero__lead {
  font-size: var(--fs-lg);
  line-height: 1.6;
  color: var(--gray);
  max-width: 56ch;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--gray-2);
}

.breadcrumb a {
  color: var(--gray);
  transition: color 200ms var(--ease);
}

.breadcrumb a:hover { color: var(--navy); }

.breadcrumb__sep {
  color: var(--border);
  user-select: none;
}

.breadcrumb [aria-current="page"] {
  color: var(--navy);
  font-weight: 500;
}

/* ---------- Prose (texto corrido de paginas de conteudo) ---------- */
.prose {
  max-width: 68ch;
}

.prose > * + * { margin-top: 1.15em; }

.prose h2 {
  font-size: var(--fs-2xl);
  margin-top: 1.8em;
  color: var(--navy);
}

.prose h3 {
  font-size: var(--fs-lg);
  margin-top: 1.4em;
  color: var(--navy);
}

.prose p,
.prose li {
  font-size: var(--fs-base);
  line-height: 1.75;
  color: var(--gray);
}

.prose strong { color: var(--navy); font-weight: 500; }

.prose ul,
.prose ol {
  padding-left: 1.4em;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prose ul li { list-style: disc; }
.prose ol li { list-style: decimal; }

.prose a {
  color: var(--sage-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 200ms var(--ease);
}

.prose a:hover { color: var(--navy); }

/* ---------- Timeline (linha do tempo do grupo) ---------- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--sp-4);
}

.timeline__item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-soft);
  position: relative;
}

.timeline__item:last-child { border-bottom: 0; }

.timeline__year {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--sage-deep);
  font-variation-settings: "opsz" 48, "SOFT" 20;
  line-height: 1.3;
}

.timeline__body h3 {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
  font-family: var(--font-body);
}

.timeline__body p {
  font-size: var(--fs-sm);
  color: var(--gray);
  line-height: 1.6;
}

/* ---------- CTA final compartilhado ---------- */
.cta-band {
  background: var(--navy);
  color: white;
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-4);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band__title {
  font-family: var(--font-display);
  font-size: var(--fs-2xl);
  font-weight: 400;
  color: white;
  margin-bottom: 12px;
  font-variation-settings: "opsz" 96, "SOFT" 20;
}

.cta-band__text {
  font-size: var(--fs-base);
  color: rgba(255, 255, 255, 0.72);
  max-width: 48ch;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.cta-band .btn--on-dark {
  --btn-bg: white;
  --btn-fg: var(--navy);
  --btn-bd: white;
  --btn-hover-bg: var(--cream-2);
}

/* ---------- Grid de destaques da home ---------- */
.highlights {
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
  margin-top: var(--sp-4);
}

.highlight {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: transform 350ms var(--ease-out), border-color 300ms var(--ease), box-shadow 350ms var(--ease-out);
  height: 100%;
}

.highlight:hover {
  transform: translateY(-3px);
  border-color: var(--sage);
  box-shadow: var(--shadow-md);
}

.highlight__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 300ms var(--ease-out);
}

/* Cores alternadas nos icones, ritmo visual sem excesso */
.highlight:nth-child(3n+2) .highlight__icon {
  background: var(--coral-soft);
  color: var(--coral-deep);
}

.highlight:nth-child(3n+3) .highlight__icon {
  background: var(--amber-soft);
  color: var(--amber-deep);
}

.highlight:hover .highlight__icon {
  transform: scale(1.08) rotate(-4deg);
}

.highlight__title {
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.25;
  font-variation-settings: "opsz" 48, "SOFT" 20;
}

.highlight__body {
  font-size: var(--fs-sm);
  color: var(--gray);
  line-height: 1.6;
  flex-grow: 1;
}

.highlight__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: gap 200ms var(--ease), color 200ms var(--ease), border-color 200ms var(--ease);
}

.highlight:hover .highlight__link {
  gap: 10px;
  color: var(--sage-deep);
  border-color: var(--sage);
}

@media (min-width: 40em) {
  .highlights { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 64em) {
  .highlights { grid-template-columns: repeat(3, 1fr); }

  .cta-band {
    padding: var(--sp-6) var(--sp-5);
  }
}

/* =============================================================
 * 19. COMPONENTES DO SITE PESSOAL (Dra. Maria Ester)
 * tags-grid, project-list, pub-groups, link-list
 * ============================================================= */

/* ---------- Grid de tags/áreas ---------- */
.tags-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-item {
  padding: 10px 18px;
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--navy);
}

/* ---------- Lista de projetos ---------- */
.project-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: var(--sp-4);
}

.project {
  padding: 24px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--sage-deep);
  box-shadow: var(--shadow-sm);
  transition: border-color 300ms var(--ease), transform 350ms var(--ease-out), box-shadow 350ms var(--ease-out);
}

.project:hover {
  transform: translateX(2px) translateY(-2px);
  border-left-color: var(--coral);
  box-shadow: var(--shadow);
}

.project__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.project__tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  padding: 3px 10px;
  background: var(--coral-soft);
  border-radius: 4px;
}

.project__period {
  font-size: var(--fs-sm);
  color: var(--gray-2);
  font-weight: 500;
}

.project__title {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 8px;
  font-variation-settings: "opsz" 48, "SOFT" 20;
}

.project__body {
  font-size: var(--fs-sm);
  color: var(--gray);
  line-height: 1.65;
}

/* ---------- Grupos de publicação ---------- */
.pub-group {
  margin-bottom: var(--sp-5);
}

.pub-group__title {
  font-family: var(--font-display);
  font-size: var(--fs-xl);
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 6px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  font-variation-settings: "opsz" 72, "SOFT" 20;
}

.pub-list {
  display: flex;
  flex-direction: column;
}

.pub {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.pub:last-child { border-bottom: 0; }

.pub__marker {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  margin-top: 9px;
}

.pub__content { flex-grow: 1; }

.pub__title {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 4px;
}

.pub__ref {
  font-size: var(--fs-sm);
  color: var(--gray);
  line-height: 1.55;
}

.pub__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sage-deep);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease);
}

.pub__link:hover { border-bottom-color: var(--sage-deep); }

.pub__link svg { flex-shrink: 0; }

/* ---------- Capas de livro ---------- */
.books {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-4);
}

.book {
  display: flex;
  gap: 18px;
  padding: 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 350ms var(--ease-out), transform 350ms var(--ease-out);
}

.book:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.book__cover {
  position: relative;
  flex-shrink: 0;
  width: 92px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: var(--shadow-sm);
}

.book__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

/* Mock tipografico de capa (sem imagem, usando a paleta) */
.book__cover-text {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 10px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  color: white;
  font-variation-settings: "opsz" 24, "SOFT" 20;
}

.book__cover--red { background: linear-gradient(150deg, var(--coral) 0%, var(--coral-deep) 100%); }
.book__cover--blue { background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); }
.book__cover--amber {
  background: linear-gradient(150deg, var(--amber) 0%, var(--amber-deep) 100%);
}
.book__cover--amber .book__cover-text { color: var(--navy); }

.book__info { flex-grow: 1; }

.book__title {
  font-family: var(--font-display);
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 6px;
  font-variation-settings: "opsz" 48, "SOFT" 20;
}

.book__meta {
  font-size: var(--fs-sm);
  color: var(--gray);
  line-height: 1.55;
  margin-bottom: 10px;
}

/* ---------- Lista de links de divulgação ---------- */
.link-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: var(--sp-4);
}

.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: border-color 300ms var(--ease), transform 350ms var(--ease-out), box-shadow 350ms var(--ease-out);
}

.link-card:hover {
  border-color: var(--sage-deep);
  transform: translateX(2px) translateY(-2px);
  box-shadow: var(--shadow);
}

.link-card__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-deep);
  display: grid;
  place-items: center;
}

.link-card__text { flex-grow: 1; }

.link-card__title {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 2px;
}

.link-card__sub {
  font-size: var(--fs-sm);
  color: var(--gray);
}

.link-card__arrow {
  flex-shrink: 0;
  color: var(--gray-2);
  transition: color 200ms var(--ease);
}

.link-card:hover .link-card__arrow { color: var(--sage-deep); }

@media (min-width: 40em) {
  .books { grid-template-columns: repeat(2, 1fr); }
  .link-list { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 64em) {
  .books { grid-template-columns: repeat(3, 1fr); }
}

/* Linha de multiplos links numa mesma publicacao (ex: Kosloski) */
.pub__links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 8px;
}

.pub__links-row .pub__link { margin-top: 0; }

/* Subcabecalho de secao (segundo bloco dentro da mesma section) */
.section__head--sub {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--border);
}

/* =============================================================
 * 20. HOME PREMIUM: credenciais, timeline de carreira, publicacoes home
 * ============================================================= */

/* ---------- Faixa de credenciais institucionais ---------- */
.credentials {
  background: var(--navy);
  padding: 22px 0;
}

.credentials__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.credentials__label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
}

.credentials__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

.credentials__list li {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  font-variation-settings: "opsz" 48, "SOFT" 20;
  letter-spacing: 0.01em;
  position: relative;
  padding-left: 16px;
}

.credentials__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--coral);
}

.credentials__list li:first-child { padding-left: 0; }
.credentials__list li:first-child::before { display: none; }

@media (min-width: 40em) {
  .credentials__inner {
    flex-direction: row;
    align-items: center;
    gap: 28px;
  }
}

/* ---------- Section head com link a direita ---------- */
.section__head--row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

.section__head--row .section__title { margin-bottom: 0; }

.section__head-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  padding-bottom: 3px;
  white-space: nowrap;
  transition: border-color 200ms var(--ease), color 200ms var(--ease), gap 200ms var(--ease);
}

.section__head-link:hover {
  color: var(--coral);
  border-color: var(--coral);
  gap: 9px;
}

@media (min-width: 40em) {
  .section__head--row {
    flex-direction: row;
    align-items: flex-end;
  }
}

/* ---------- Timeline de carreira (home), horizontal no desktop ---------- */
.career-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--sp-5);
  position: relative;
}

.career-timeline__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 26px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: padding-left 300ms var(--ease);
}

.career-timeline__item:last-child { border-bottom: 0; }

/* Bolinha marcadora: fica no vao entre a coluna do ano e a do texto,
   nunca sobre os digitos do ano (antes ficava a 28px, dentro da
   propria coluna do numero, cobrindo os digitos no mobile). */
.career-timeline__item::before {
  content: "";
  position: absolute;
  left: 56px;
  top: 28px;
  transform: translateX(calc(26px / 2 - 4.5px));
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  border: 2px solid var(--cream-2);
  box-shadow: 0 0 0 2px var(--coral-soft);
}

.career-timeline__year {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  font-variation-settings: "opsz" 48, "SOFT" 20;
  line-height: 1.4;
}

.career-timeline__body h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
}

.career-timeline__body p {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.6;
}

.career-timeline__more {
  margin-top: var(--sp-5);
  display: flex;
  justify-content: center;
}

/* ---------- Publicacoes em destaque (home) ---------- */
.books--home {
  grid-template-columns: 1fr;
}

.book--featured {
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.book--featured .book__cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 0;
}

.book--featured .book__cover-text {
  font-size: 20px;
  padding: 28px;
}

.book--featured .book__info {
  padding: 20px 22px 24px;
}

.book--featured .book__title {
  font-size: 17px;
}

@media (min-width: 40em) {
  .books--home { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Mais respiro em blocos de texto densos ---------- */
.prose > * + * { margin-top: 1.4em; }

.pub-group + .section__head--sub,
.pub-group { margin-bottom: var(--sp-5); }

.pub { padding: 22px 0; }

.project-list { gap: 20px; }

.project { padding: 28px; }

@media (min-width: 64em) {
  .career-timeline__item {
    grid-template-columns: 84px 1fr;
    padding: 24px 0;
  }

  .career-timeline__item::before { left: 84px; top: 34px; }
}

/* =============================================================
 * 21. MICROINTERACOES: scroll reveal, hovers refinados
 * Progressive enhancement: .reveal fica 100% visivel sem JS ou com
 * prefers-reduced-motion. So quando o JS confirma suporte a
 * IntersectionObserver e adiciona .reveal--armed e que o elemento
 * comeca oculto, para entao reaparecer ao entrar na viewport.
 * ============================================================= */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.reveal--armed {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms cubic-bezier(0.16, 1, 0.3, 1),
              transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal.reveal--armed {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Hover: livros em destaque (intensifica o hover ja definido em .book) ---------- */
.book--featured:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.book--featured .book__cover {
  transition: transform 500ms var(--ease-out);
}

.book--featured:hover .book__cover {
  transform: scale(1.03);
}

/* ---------- Hover: itens da timeline de carreira ---------- */
.career-timeline__item:hover {
  padding-left: 6px;
}

.career-timeline__item:hover::before {
  background: var(--navy);
  box-shadow: 0 0 0 2px var(--sage-soft);
}

/* ---------- Hover: chips de credenciais ---------- */
.credentials__list li {
  transition: transform 250ms var(--ease-out);
}

.credentials__list li:hover {
  transform: translateY(-1px);
}

/* ---------- Titulos de secao: sublinhado sutil ao entrar em viewport ---------- */
.section__title {
  position: relative;
}

/* ---------- Transicao suave de paginas (link click fade minimo) ---------- */
@media (prefers-reduced-motion: no-preference) {
  body {
    animation: page-enter 400ms cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@keyframes page-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* =============================================================
 * 22. APRESENTACAO DA HOME (merge Modelo 1 + Modelo 2)
 * Reaproveita .prose e .section existentes, sem duplicar tokens.
 * ============================================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section--intro {
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-6);
}

.prose--intro {
  max-width: 72ch;
}

.prose--intro p:first-child {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  color: var(--navy);
  line-height: 1.6;
  font-variation-settings: "opsz" 48, "SOFT" 20;
}

/* Paragrafos de apoio na secao Areas de atuacao (intro da lista / fechamento) */
.areas-lead {
  font-size: var(--fs-base);
  font-weight: 500;
  color: var(--navy);
  margin: var(--sp-4) 0 16px;
}

.areas-closing {
  font-size: var(--fs-base);
  color: var(--gray);
  line-height: 1.75;
  max-width: 68ch;
  margin-top: var(--sp-4);
}

/* Link-card estatico (sem URL disponivel), sem afetar hover/cursor de link */
.link-card--static {
  cursor: default;
}

.link-card--static:hover {
  transform: none;
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

/* =============================================================
 * 23. HOME: Sobre + Explore lado a lado, timeline 2 colunas
 * Reaproveita .prose, .highlights, .career-timeline existentes.
 * ============================================================= */

/* ---------- Sobre + Explore, mobile-first empilhado ---------- */
.sobre-explore {
  display: grid;
  gap: var(--sp-6);
}

.sobre-explore__title {
  font-family: var(--font-display);
  font-size: var(--fs-3xl);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0;
  font-variation-settings: "opsz" 96, "SOFT" 20;
}

.sobre-explore__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sobre-explore__text .btn {
  margin-top: 4px;
  align-self: flex-start;
}

/* Grid de destaques dentro da coluna: 2 por linha mesmo em telas medias,
   para caber ao lado do texto no desktop. */
.highlights--grid {
  margin-top: 0;
}

@media (min-width: 30em) {
  .highlights--grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64em) {
  .sobre-explore {
    grid-template-columns: 1.15fr 1fr;
    gap: var(--sp-7);
    align-items: start;
  }

  .highlight {
    padding: 22px 20px;
  }
}

/* ---------- Timeline de carreira em 2 colunas no desktop ---------- */
@media (min-width: 64em) {
  .career-timeline {
    columns: 2;
    column-gap: var(--sp-6);
  }

  .career-timeline__item {
    break-inside: avoid;
  }
}

/* =============================================================
 * 24. CARROSSEL DE PUBLICACOES (scroll-snap nativo, sem libs)
 * ============================================================= */
.carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel__track {
  flex: 1;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 12px;
  scrollbar-width: none;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-width: 0;
}

.carousel__arrow {
  flex-shrink: 0;
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: white;
  color: var(--navy);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 250ms var(--ease), border-color 250ms var(--ease), color 250ms var(--ease), transform 200ms var(--ease-out);
  box-shadow: var(--shadow-sm);
}

.carousel__arrow:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
  transform: scale(1.05);
}

.carousel__arrow:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--border);
  cursor: pointer;
  transition: background 250ms var(--ease), transform 250ms var(--ease-out);
}

.carousel__dot:hover {
  background: var(--sage);
}

.carousel__dot.is-active {
  background: var(--navy);
  transform: scale(1.2);
}

@media (min-width: 40em) {
  .carousel__slide {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (min-width: 64em) {
  .carousel__arrow {
    display: inline-flex;
  }

  .carousel__slide {
    flex: 0 0 calc(33.333% - 14px);
  }

  .carousel__dots {
    display: none;
  }
}
