/* ============================================
   PROMUD — Sistema de Design (Cream + Teal + Terracotta)
   Tom: humanista, sério, caloroso, científico mas não frio
   Type: Newsreader (display) + Manrope (body) + JetBrains Mono (rótulos)
   ============================================ */

:root {
  /* Paleta principal */
  --paper:        #F0ECE0;
  --paper-deep:   #E5DECC;
  --paper-light:  #F7F4EB;

  --teal:         #196679;
  --teal-deep:    #11485A;
  --teal-darker:  #0B2F3C;
  --teal-soft:    rgba(25, 102, 121, 0.08);
  --teal-line:    rgba(25, 102, 121, 0.18);

  --terracotta:   #D97941;
  --terracotta-deep:#B5612F;
  --peach:        #D99379;
  --peach-soft:   #EFC9B5;
  --peach-pale:   #F5DECC;

  --red:          #B83125;
  --red-deep:     #8E2218;

  /* Neutros derivados */
  --ink:          #1A2225;
  --ink-mid:      #3F4B4E;
  --ink-soft:     #707A7D;
  --rule:         rgba(26, 34, 37, 0.12);
  --rule-soft:    rgba(26, 34, 37, 0.06);

  /* Tipografia */
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body:    'Manrope', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  /* Espaçamento */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  /* Misc */
  --radius:    3px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow:    0 4px 24px rgba(11, 47, 60, 0.07);
  --shadow-lg: 0 18px 56px rgba(11, 47, 60, 0.13);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 17px;
}
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Justificação dos parágrafos de conteúdo longo (pt-BR) */
.hero-desc,
.pillar-desc,
.about-text p,
.history-lede,
.history-context-body,
.history-body p,
.cta-desc,
.pubs-header h2 + p,
.how-card p,
.info-card p,
.project-card p,
.contact-block p,
.team-card-bio,
.research-intro p,
.pillars-head-aside,
.content-section > p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-justify: inter-word;
}

/* ---- TIPOGRAFIA ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--teal-darker);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); font-weight: 350; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 380; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }

em {
  font-style: italic;
  color: var(--terracotta-deep);
  font-weight: 400;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 1.1rem;
}
.section-label::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--terracotta);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--teal);
  color: var(--paper-light);
}
.btn-primary:hover {
  background: var(--teal-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-red {
  background: var(--red);
  color: #fff;
}
.btn-red:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(184, 49, 37, 0.28);
}
.btn-ghost {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal-line);
}
.btn-ghost:hover {
  background: var(--teal-soft);
  border-color: var(--teal);
}
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
}
.btn-outline {
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--paper-light);
}
.btn-arrow::after {
  content: '→';
  font-family: var(--font-body);
  transition: transform 0.2s;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* ---- ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }
.delay-4 { animation-delay: 0.48s; }

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(240, 236, 224, 0.88);
  backdrop-filter: blur(16px) saturate(1.05);
  -webkit-backdrop-filter: blur(16px) saturate(1.05);
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, border-color 0.4s ease;
}
.site-header.scrolled {
  background: rgba(240, 236, 224, 0.96);
  border-bottom-color: var(--rule-soft);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: opacity 0.2s;
}
.logo-img:hover { opacity: 0.8; }
.logo-img-footer { height: 60px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.85rem;
}
.nav-link {
  font-size: 0.86rem;
  color: var(--ink-mid);
  font-weight: 500;
  position: relative;
  transition: color 0.2s;
  padding: 0.25rem 0;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--terracotta);
  transition: width 0.3s ease;
}
.nav-link:hover { color: var(--teal); }
.nav-link:hover::after { width: 100%; }
.nav-link.active { color: var(--teal); }
.nav-link.active::after { width: 100%; }
.nav-cta {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.6rem 1.15rem;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.nav-cta:hover {
  background: var(--red-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184, 49, 37, 0.25);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--teal);
  transition: var(--transition);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: rgba(240, 236, 224, 0.98);
  backdrop-filter: blur(16px);
  padding: 1.5rem 2rem;
  gap: 1.25rem;
  border-top: 1px solid var(--rule-soft);
}
.mobile-nav a {
  font-size: 1rem;
  color: var(--ink-mid);
  font-weight: 500;
}
.mobile-nav.open { display: flex; }

/* ============================================
   HERO — fundo claro, tipografia grande, marca sutil
   ============================================ */
.hero {
  position: relative;
  padding: 9rem 2rem 5rem;
  overflow: hidden;
  background: var(--paper);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-bg::before {
  /* arco solar peach no canto */
  content: '';
  position: absolute;
  right: -180px;
  top: -120px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(217, 147, 121, 0.32), rgba(217, 147, 121, 0) 70%);
  filter: blur(8px);
}
.hero-bg::after {
  content: '';
  position: absolute;
  left: -10%;
  bottom: -40%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(25, 102, 121, 0.10), rgba(25, 102, 121, 0) 65%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  mix-blend-mode: multiply;
  opacity: 0.7;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(25, 102, 121, 0.06);
  border: 1px solid var(--teal-line);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  margin-bottom: 2rem;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 320;
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  color: var(--teal-darker);
  line-height: 1.02;
  max-width: 980px;
  letter-spacing: -0.018em;
  margin-bottom: 1.75rem;
}
.hero-title em {
  font-style: italic;
  color: var(--terracotta-deep);
  font-weight: 320;
}
.hero-desc {
  color: var(--ink-mid);
  max-width: 560px;
  font-size: 1.08rem;
  line-height: 1.65;
  margin-bottom: 2.25rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* Faixa institucional — substitui as "stats" vazias */
.institutional-strip {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 5.5rem auto 0;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  align-items: start;
}
.inst-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.inst-item-key {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 380;
  color: var(--teal);
  line-height: 1;
  letter-spacing: -0.01em;
}
.inst-item-val {
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.5;
  font-weight: 500;
}

/* ============================================
   PILARES — agora 3 (Assistência, Ensino, Pesquisa)
   ============================================ */
.pillars-section {
  padding: var(--space-xl) 2rem 4rem;
  background: var(--paper);
  position: relative;
}
.pillars-head {
  max-width: 1240px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: end;
}
.pillars-head h2 {
  max-width: 540px;
  font-size: clamp(2rem, 3.5vw, 3rem);
}
.pillars-head-aside {
  color: var(--ink-mid);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 420px;
}
.pillars {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pillar {
  position: relative;
  padding: 2.5rem 2rem 2rem;
  background: var(--paper-light);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
  min-height: 420px;
}
.pillar::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 4px;
  background: var(--teal);
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.pillar-assistencia::before { background: var(--teal); }
.pillar-ensino::before { background: var(--peach); }
.pillar-pesquisa::before { background: var(--terracotta); }
.pillar:hover::before { transform: scaleX(1); }
.pillar:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--rule);
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.pillar-title {
  font-size: clamp(1.6rem, 2.3vw, 2.2rem);
  margin-bottom: 0.75rem;
  font-weight: 380;
}
.pillar-assistencia .pillar-title { color: var(--teal-darker); }
.pillar-ensino .pillar-title { color: var(--teal-darker); }
.pillar-pesquisa .pillar-title { color: var(--teal-darker); }
.pillar-desc {
  color: var(--ink-mid);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}
.pillar-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: auto;
  padding-bottom: 1.75rem;
}
.pillar-list li {
  font-size: 0.85rem;
  color: var(--ink-mid);
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  line-height: 1.5;
}
.pillar-list li::before {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--terracotta);
  flex-shrink: 0;
  transform: translateY(-2px);
}
.pillar-ensino .pillar-list li::before { background: var(--peach); }
.pillar-pesquisa .pillar-list li::before { background: var(--terracotta); }
.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--teal);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--teal-line);
  align-self: flex-start;
  transition: gap 0.22s;
}
.pillar-link svg { transition: transform 0.22s; }
.pillar:hover .pillar-link { gap: 0.75rem; border-bottom-color: var(--teal); }
.pillar:hover .pillar-link svg { transform: translateX(3px); }

/* ============================================
   ABOUT STRIP — claro, com cards de marcos
   ============================================ */
.about-strip {
  background: var(--paper-deep);
  padding: var(--space-xl) 2rem;
  position: relative;
}
.about-strip-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-strip .section-label { color: var(--teal); }
.about-strip .section-label::before { background: var(--teal); }
.about-title {
  color: var(--teal-darker);
  margin-bottom: 1.5rem;
  max-width: 480px;
}
.about-text p {
  color: var(--ink-mid);
  font-size: 0.98rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.about-text p strong { color: var(--ink); font-weight: 600; }
.about-text .btn-outline { margin-top: 1rem; }

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.about-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--paper-light);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.about-card:hover {
  background: #fff;
  border-color: var(--teal-line);
  transform: translateX(3px);
}
.about-card.highlight {
  background: var(--teal);
  border-color: var(--teal);
}
.about-card.highlight .about-card-year,
.about-card.highlight .about-card-line {
  color: #fff;
}
.about-card.highlight .about-card-line { color: rgba(255,255,255,0.78); }
.about-card-year {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 380;
  color: var(--teal);
  min-width: 96px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.about-card-line {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.45;
}

/* ============================================
   HISTORY — pull-quote para contexto + timeline limpa
   ============================================ */
.history {
  position: relative;
  padding: var(--space-xl) 2rem 5rem;
  background: var(--paper);
}
.history-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.history-head {
  max-width: 740px;
  margin-bottom: 4rem;
}
.history-title {
  color: var(--teal-darker);
  margin: 0.75rem 0 1.5rem;
}
.history-lede {
  color: var(--ink-mid);
  max-width: 620px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 320;
  line-height: 1.55;
}

/* Pull-quote para contexto histórico — substitui os cards densos */
.history-context {
  margin-bottom: 4.5rem;
  padding: 2.5rem 2.75rem;
  background: var(--paper-deep);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--peach);
  position: relative;
}
.history-context-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 1.1rem;
  display: block;
}
.history-context-body {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink-mid);
  font-weight: 360;
  letter-spacing: -0.005em;
  max-width: 760px;
}
.history-context-body em {
  color: var(--teal);
  font-style: italic;
}
.history-context-refs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

.history-timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0 0 0 2.25rem;
}
.history-timeline::before {
  content: '';
  position: absolute;
  left: 0.45rem; top: 0.75rem; bottom: 0.75rem;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--teal-line) 8%,
    var(--teal-line) 92%,
    transparent
  );
}
.history-era {
  position: relative;
  margin-bottom: 3.75rem;
}
.history-era:last-child { margin-bottom: 0; }
.history-era::before {
  content: '';
  position: absolute;
  left: -2.25rem;
  top: 0.55rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--teal);
  box-shadow: 0 0 0 4px var(--paper);
}
.history-era-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--teal-line);
}
.history-items {
  display: grid;
  gap: 1rem;
}
.history-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--rule-soft);
}
.history-item:first-child { border-top: none; padding-top: 0.25rem; }
.history-year {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--terracotta-deep);
  font-style: italic;
  font-weight: 500;
  padding-top: 0.1rem;
}
.history-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--teal-darker);
  margin-bottom: 0.4rem;
  font-weight: 450;
}
.history-body p {
  color: var(--ink-mid);
  font-size: 0.93rem;
  line-height: 1.7;
}
.history-item-highlight {
  background: linear-gradient(90deg, var(--peach-pale), transparent 75%);
  border-top: none;
  margin-top: 0.5rem;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  border-left: 2px solid var(--terracotta);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.history-item-highlight + .history-item { border-top: none; }
.history-item-highlight .history-year {
  color: var(--teal);
  font-weight: 600;
}
.history-item-highlight .history-body h3 { color: var(--teal-darker); }

/* ============================================
   PUBLICATIONS STRIP
   ============================================ */
.pubs-strip {
  padding: var(--space-xl) 2rem;
  background: var(--paper-deep);
}
.pubs-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.pubs-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.pubs-header h2 { max-width: 600px; }
.see-all {
  font-size: 0.85rem;
  color: var(--terracotta-deep);
  font-weight: 600;
  transition: gap 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.see-all:hover { color: var(--teal); gap: 0.65rem; }
.pubs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.pub-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.75rem;
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-md);
  background: var(--paper-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.pub-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--terracotta);
  transform: scaleY(0);
  transition: transform 0.32s ease;
  transform-origin: top;
}
.pub-card:hover {
  background: #fff;
  border-color: var(--teal-line);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.pub-card:hover::after { transform: scaleY(1); }
.pub-journal {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}
.pub-title {
  font-size: 1.05rem;
  font-weight: 450;
  font-family: var(--font-display);
  color: var(--teal-darker);
  line-height: 1.35;
  flex-grow: 1;
  letter-spacing: -0.005em;
}
.pub-authors {
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.pub-arrow {
  font-size: 1.1rem;
  color: var(--terracotta);
  align-self: flex-end;
  opacity: 0;
  transform: translateX(-6px);
  transition: var(--transition);
}
.pub-card:hover .pub-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   CTA SECTION — vermelho, único ponto crítico do site
   ============================================ */
.cta-section {
  background: var(--red);
  padding: var(--space-xl) 2rem;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.cta-section::before {
  content: '';
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.10), transparent 70%);
  pointer-events: none;
}
.cta-section::after {
  /* grain texture */
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.6;
  pointer-events: none;
}
.cta-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-section .section-label {
  color: rgba(255,255,255,0.78);
}
.cta-section .section-label::before {
  background: rgba(255,255,255,0.6);
}
.cta-title {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  max-width: 760px;
  margin-bottom: 1.25rem;
  font-weight: 350;
  letter-spacing: -0.015em;
}
.cta-title em {
  color: var(--paper);
  font-style: italic;
}
.cta-desc {
  color: rgba(255,255,255,0.84);
  max-width: 580px;
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}
.cta-actions .btn-primary {
  background: #fff;
  color: var(--red);
}
.cta-actions .btn-primary:hover {
  background: var(--paper);
  color: var(--red-deep);
}
.cta-note {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  max-width: 540px;
  padding: 0.85rem 1.1rem;
  background: rgba(0,0,0,0.12);
  border-radius: var(--radius-md);
  border-left: 2px solid rgba(255,255,255,0.4);
  display: inline-block;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--teal-darker);
  padding: 4rem 2rem 0;
  color: rgba(255,255,255,0.7);
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-tagline {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
  font-weight: 450;
  margin-bottom: 0.35rem;
  letter-spacing: -0.005em;
}
.footer-col a, .footer-col span {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--peach); }
.footer-hours {
  font-size: 0.78rem !important;
  font-style: italic;
  color: rgba(255,255,255,0.4) !important;
}
.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.footer-bottom {
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.25rem 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================
   PAGE HERO (assistência, pesquisa, equipe)
   ============================================ */
.page-hero {
  background: var(--paper);
  padding: 9rem 2rem 5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule-soft);
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -180px;
  top: -120px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,147,121,0.28), transparent 65%);
  pointer-events: none;
}
.page-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-hero-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.page-hero-badge::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--terracotta);
}
.page-hero h1 {
  color: var(--teal-darker);
  max-width: 720px;
  margin-bottom: 1.25rem;
  font-weight: 320;
}
.page-hero h1 em {
  color: var(--terracotta-deep);
  font-style: italic;
  font-weight: 320;
}
.page-hero p {
  color: var(--ink-mid);
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.65;
}

.content-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-xl) 2rem;
}

/* HOW IT WORKS */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}
.how-card {
  padding: 2.2rem 2rem 2rem;
  background: var(--paper-light);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-md);
  transition: var(--transition);
  position: relative;
}
.how-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--teal-line);
}
.how-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 350;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}
.how-card h3 {
  font-size: 1.2rem;
  color: var(--teal-darker);
  margin-bottom: 0.75rem;
  font-weight: 450;
}
.how-card p {
  font-size: 0.9rem;
  color: var(--ink-mid);
  line-height: 1.65;
}

/* INFO CARDS */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.info-card {
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--rule-soft);
  background: var(--paper-light);
  transition: var(--transition);
}
.info-card:hover {
  background: #fff;
  border-color: var(--teal-line);
}
.info-card h3 {
  font-size: 1.1rem;
  color: var(--teal-darker);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 450;
}
.info-card h3 svg {
  width: 20px; height: 20px;
  color: var(--terracotta);
  flex-shrink: 0;
}
.info-card ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.info-card ul li {
  font-size: 0.9rem;
  color: var(--ink-mid);
  display: flex;
  gap: 0.75rem;
  line-height: 1.55;
}
.info-card ul li::before {
  content: '—';
  color: var(--peach);
  flex-shrink: 0;
}

/* CONTACT BLOCK */
.contact-block {
  background: var(--teal-darker);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}
.contact-block::after {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,121,65,0.18), transparent 65%);
  pointer-events: none;
}
.contact-block > div { position: relative; z-index: 1; }
.contact-block h2 {
  color: #fff;
  margin-bottom: 1rem;
}
.contact-block p {
  color: rgba(255,255,255,0.72);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.contact-block .btn-red {
  background: var(--red);
  margin-bottom: 1.5rem;
}
.contact-block .btn-red:hover {
  background: #fff;
  color: var(--red);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-item svg {
  width: 20px; height: 20px;
  color: var(--peach);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-item-text { font-size: 0.875rem; }
.contact-item-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-mono);
  margin-bottom: 0.2rem;
}
.contact-item-val {
  color: #fff;
  font-size: 0.92rem;
}
.contact-item-val a { color: var(--peach); }
.contact-item-val a:hover { color: var(--peach-soft); }
.warning-box {
  background: rgba(184,49,37,0.18);
  border: 1px solid rgba(217,147,121,0.35);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
  margin-top: 1rem;
}
.warning-box strong { color: var(--peach-soft); }

/* TEAM SECTION */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.team-card { text-align: center; }
.team-photo {
  width: 100%;
  padding-bottom: 100%;
  background: var(--peach-pale);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  position: relative;
}
.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--terracotta);
}
.team-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--teal-darker);
  margin-bottom: 0.25rem;
  font-weight: 450;
}
.team-role {
  font-size: 0.72rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
}

/* ============================================
   PESQUISA PAGE
   ============================================ */
.research-intro {
  background: var(--paper-deep);
  padding: var(--space-lg) 2rem;
  border-bottom: 1px solid var(--rule-soft);
}
.research-intro-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.research-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.research-stat-card {
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-md);
  background: var(--paper-light);
  transition: var(--transition);
}
.research-stat-card:hover {
  background: #fff;
  border-color: var(--teal-line);
}
.research-stat-card .stat-n {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--teal);
  font-weight: 380;
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.01em;
}
.research-stat-card .stat-l {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.pubs-full {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 2.5rem;
}
.pub-full-card {
  padding: 1.6rem 1.9rem;
  background: var(--paper-light);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-md);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-decoration: none;
}
.pub-full-card:hover {
  background: #fff;
  border-color: var(--teal-line);
  transform: translateX(3px);
  box-shadow: var(--shadow);
}
.pub-full-card .pub-journal { color: var(--terracotta-deep); }
.pub-full-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 450;
  color: var(--teal-darker);
  line-height: 1.35;
}
.pub-full-card .pub-authors { font-size: 0.82rem; color: var(--ink-soft); }
.pub-doi {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--teal);
  letter-spacing: 0.02em;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.project-card {
  padding: 1.8rem;
  background: var(--paper-light);
  border: 1px solid var(--rule-soft);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.project-card:hover {
  transform: translateY(-3px);
  background: #fff;
  border-color: var(--teal-line);
  box-shadow: var(--shadow);
}
.project-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
  background: var(--peach-pale);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  display: inline-block;
  margin-bottom: 0.85rem;
}
.project-card h3 {
  font-size: 1.05rem;
  color: var(--teal-darker);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  font-weight: 450;
}
.project-card p {
  font-size: 0.88rem;
  color: var(--ink-mid);
  line-height: 1.65;
}

/* ============================================
   DIVIDERS
   ============================================ */
.section-divider {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  border-top: 1px solid var(--rule-soft);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: 1fr; }
  .pillars-head { grid-template-columns: 1fr; gap: 1rem; align-items: start; }
  .about-strip-inner,
  .research-intro-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .institutional-strip { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 768px) {
  :root { --space-xl: 4rem; --space-lg: 2rem; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .pubs-grid { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 1fr; }
  .contact-block { grid-template-columns: 1fr; gap: 2rem; padding: 2rem 1.5rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .how-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .research-stat-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .institutional-strip { grid-template-columns: 1fr 1fr; }
  .history-context { padding: 1.75rem 1.5rem; }
  .history-context-body { font-size: 1.08rem; }
  .history-timeline { padding-left: 1.5rem; }
  .history-era::before { left: -1.5rem; }
  .history-item { grid-template-columns: 1fr; gap: 0.35rem; }
  .history-year { font-size: 1.1rem; }
  .history-lede { font-size: 1.1rem; }
}

@media (max-width: 480px) {
  .pillar { padding: 2rem 1.5rem; }
  .footer-links { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
