/* =========================================================
   Suzana Almeida — site pessoal
   Paleta clara, tipografia elegante, transições suaves
   ========================================================= */

:root {
  --bg: #faf7f1;
  --bg-soft: #f3ece1;
  --bg-card: #ffffff;
  --ink: #2a2622;
  --ink-soft: #544d45;
  --muted: #8a8176;
  --line: #e8dfd1;

  --accent: #bf5d3a;      /* terracota */
  --accent-deep: #a64a2b;
  --accent-soft: #f4e3d8;

  --sage: #6f7f5f;        /* verde-sálvia */
  --sage-soft: #e7ecdd;

  --gold: #c19647;        /* dourado */
  --gold-soft: #f4ead6;

  --violet: #7b6a9e;      /* toque tecnológico */
  --violet-soft: #ece7f3;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(42, 38, 34, 0.05), 0 4px 16px rgba(42, 38, 34, 0.06);
  --shadow-md: 0 2px 4px rgba(42, 38, 34, 0.06), 0 14px 34px rgba(42, 38, 34, 0.10);
  --shadow-lg: 0 8px 20px rgba(42, 38, 34, 0.10), 0 28px 60px rgba(42, 38, 34, 0.14);

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Progress bar ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--sage));
  z-index: 200;
  transition: width 0.1s linear;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  transition: background 0.4s var(--ease-smooth), box-shadow 0.4s var(--ease-smooth),
    padding 0.4s var(--ease-smooth);
}

.nav.scrolled {
  background: rgba(250, 247, 241, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 10px 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.18rem;
  letter-spacing: 0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.4rem;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: var(--bg-soft);
}

.nav-links .nav-cta {
  background: var(--ink);
  color: #fff;
  margin-left: 8px;
}

.nav-links .nav-cta:hover {
  background: var(--accent);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-smooth), opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 240px;
  overflow: hidden;
}

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

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
}

.blob-1 {
  width: 560px;
  height: 560px;
  top: -140px;
  left: -120px;
  background: radial-gradient(circle at 30% 30%, #f0c9b2, transparent 70%);
  animation: float-a 18s ease-in-out infinite;
}

.blob-2 {
  width: 520px;
  height: 520px;
  bottom: -180px;
  right: -140px;
  background: radial-gradient(circle at 60% 60%, #dbe4c4, transparent 70%);
  animation: float-b 22s ease-in-out infinite;
}

.blob-3 {
  width: 380px;
  height: 380px;
  top: 30%;
  right: 12%;
  background: radial-gradient(circle, #e6d9ef, transparent 70%);
  opacity: 0.4;
  animation: float-a 26s ease-in-out infinite reverse;
}

.grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(42, 38, 34, 0.028) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
}

.hero-monogram {
  width: 84px;
  height: 84px;
  margin: 0 auto 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3rem;
  color: var(--accent);
  border: 1.5px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow-sm);
  animation: pop-in 0.9s var(--ease-out) both;
}

.hero-kicker {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  animation: rise 0.9s var(--ease-out) 0.08s both;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.15rem, 7vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  animation: rise 0.9s var(--ease-out) 0.16s both;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(120deg, var(--accent), var(--gold) 55%, var(--sage));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem);
  color: var(--ink-soft);
  margin-top: 22px;
  animation: rise 0.9s var(--ease-out) 0.26s both;
}

.hero-sub {
  max-width: 560px;
  margin: 20px auto 0;
  font-size: 1.02rem;
  color: var(--muted);
  animation: rise 0.9s var(--ease-out) 0.34s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
  animation: rise-actions 0.9s var(--ease-out) 0.44s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth),
    background 0.3s ease, color 0.3s ease;
}

.btn .arrow {
  transition: transform 0.3s var(--ease-smooth);
}

.btn:hover .arrow {
  transform: translate(2px, -2px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 24px rgba(191, 93, 58, 0.35);
}

.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(191, 93, 58, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}

.hero-scroll {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  z-index: 2;
  animation: fade-in 1s ease 1.2s both;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid var(--muted);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.wheel {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  animation: wheel 1.8s ease-in-out infinite;
}

/* ---------- Stats ---------- */
.stats {
  position: relative;
  z-index: 5;
  margin-top: -40px;
  padding: 0 24px;
}

.stats-grid {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.stat {
  padding: 34px 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1;
  color: var(--accent);
}

.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- Sections ---------- */
.section {
  padding: 110px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 60px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.section-intro {
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Sobre ---------- */
.sobre-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}

.sobre-copy p {
  font-size: 1.06rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.sobre-copy strong {
  color: var(--ink);
  font-weight: 600;
}

.sobre-quote {
  margin-top: 28px;
  padding: 22px 26px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink);
}

.sobre-side h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  margin-bottom: 16px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin-bottom: 34px;
}

.chips li {
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: transform 0.25s var(--ease-smooth), background 0.25s ease,
    color 0.25s ease, border-color 0.25s ease;
}

.chips li:hover {
  transform: translateY(-2px);
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.langs {
  list-style: none;
}

.langs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

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

.langs strong {
  font-weight: 600;
}

.langs span {
  color: var(--muted);
  font-size: 0.86rem;
}

/* ---------- Timeline ---------- */
.timeline {
  list-style: none;
  position: relative;
  padding-left: 8px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--accent), var(--gold), var(--sage));
  border-radius: 2px;
  opacity: 0.4;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px 120px 1fr;
  gap: 22px;
  padding: 18px 0;
}

.timeline-dot {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  margin: 8px 0 0 9px;
  border-radius: 50%;
  background: var(--bg);
  border: 3px solid var(--sage);
}

.timeline-dot.accent {
  border-color: var(--accent);
  background: var(--accent);
}

.timeline-year {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  padding-top: 2px;
}

.timeline-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

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

.timeline-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  line-height: 1.3;
}

.timeline-card.featured {
  border-color: var(--accent);
  background: linear-gradient(120deg, #fff, var(--accent-soft));
}

.timeline-place {
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--accent);
  font-weight: 500;
}

.timeline-note {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* ---------- Features (EaD & IA) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 50px;
  align-items: center;
  padding: 56px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
  overflow: hidden;
}

.feature-copy h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin: 16px 0 18px;
}

.feature-copy p {
  color: var(--ink-soft);
  margin-bottom: 14px;
  font-size: 1.02rem;
}

.feature-tag {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--sage-soft);
  color: var(--sage);
}

.feature-tag-ia {
  background: var(--violet-soft);
  color: var(--violet);
}

.checklist {
  list-style: none;
  margin-top: 20px;
  display: grid;
  gap: 12px;
}

.checklist li {
  position: relative;
  padding-left: 32px;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage);
  font-size: 0.72rem;
  font-weight: 700;
}

.ia-list {
  list-style: none;
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.ia-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--violet-soft);
  font-size: 0.95rem;
  color: var(--ink-soft);
  transition: transform 0.25s var(--ease-smooth), background 0.25s ease;
}

.ia-list li:hover {
  transform: translateX(4px);
  background: #e3dcf0;
}

.ia-list li span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--violet);
  min-width: 48px;
}

.ia-list li em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.84rem;
}

.feature-visual {
  display: grid;
  place-items: center;
  min-height: 300px;
}

/* Orbit EaD */
.orbit {
  position: relative;
  width: 260px;
  height: 260px;
  display: grid;
  place-items: center;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1.5px dashed var(--sage);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}

.orbit-ring::after {
  content: "";
  position: absolute;
  inset: 40px;
  border: 1.5px dashed var(--sage);
  border-radius: 50%;
  opacity: 0.5;
}

.orbit-core {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  box-shadow: 0 12px 28px rgba(111, 127, 95, 0.4);
}

.orbit-node {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(191, 93, 58, 0.15);
  animation: orbit-pulse 3s ease-in-out infinite;
}

.orbit-node.n1 {
  top: 12px;
  left: 50%;
}
.orbit-node.n2 {
  bottom: 34px;
  left: 24px;
  animation-delay: 1s;
}
.orbit-node.n3 {
  bottom: 34px;
  right: 24px;
  animation-delay: 2s;
}

/* IA grid */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 220px;
}

.ai-cell {
  height: 60px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--violet-soft), #dfd5ec);
  animation: ai-cell 4s ease-in-out infinite;
}

.ai-cell:nth-child(2) {
  animation-delay: 0.4s;
}
.ai-cell:nth-child(3) {
  animation-delay: 0.8s;
}
.ai-cell:nth-child(4) {
  animation-delay: 1.2s;
}
.ai-cell:nth-child(5) {
  animation-delay: 1.6s;
}
.ai-cell:nth-child(6) {
  animation-delay: 2s;
}
.ai-cell:nth-child(7) {
  animation-delay: 2.4s;
}
.ai-cell:nth-child(8) {
  animation-delay: 2.8s;
}
.ai-cell:nth-child(9) {
  animation-delay: 3.2s;
}

.ai-badge {
  position: absolute;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: #fff;
  background: var(--violet);
  padding: 6px 18px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(123, 106, 158, 0.4);
}

/* ---------- Trajetória cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease-smooth), box-shadow 0.35s var(--ease-smooth);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.card-year {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--muted);
  font-size: 0.95rem;
}

.card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #8a6a2a;
}

.card-badge-ead {
  background: var(--sage-soft);
  color: var(--sage);
}

.card-badge-capes {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.28rem;
  line-height: 1.3;
}

.card-place {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
}

.card-text {
  margin-top: 12px;
  font-size: 0.94rem;
  color: var(--muted);
}

/* ---------- Reconhecimento ---------- */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.award {
  text-align: center;
  padding: 32px 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
}

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

.award-icon {
  font-size: 2rem;
}

.award h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
  margin: 12px 0 6px;
}

.award p {
  font-size: 0.86rem;
  color: var(--muted);
}

.pesquisa-panel {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 48px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--ink), #3a342d);
  color: #f5f0e8;
}

.pesquisa-copy h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.7rem;
  margin-bottom: 16px;
}

.pesquisa-copy p {
  color: #cfc6b9;
  margin-bottom: 14px;
  font-size: 1rem;
}

.pesquisa-copy strong {
  color: #fff;
}

.pesquisa-copy em {
  color: #e8d9b0;
}

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

.ph-item {
  padding: 22px 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.ph-item span {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}

.ph-item p {
  margin-top: 8px;
  font-size: 0.82rem;
  color: #cfc6b9;
}

/* ---------- Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth),
    border-color 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.contact-logo {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: #fff;
}

.contact-logo.lattes {
  background: #2f6bb0;
}
.contact-logo.orcid {
  background: #a6ce39;
  color: #1c3318;
}
.contact-logo.linkedin {
  background: #0a66c2;
}
.contact-logo.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.15rem;
}

.contact-card p {
  font-size: 0.86rem;
  color: var(--muted);
}

.contact-card .arrow {
  margin-left: auto;
  font-size: 1.2rem;
  color: var(--muted);
  transition: transform 0.3s var(--ease-smooth), color 0.3s ease;
}

.contact-card:hover .arrow {
  color: var(--accent);
  transform: translate(2px, -2px);
}

/* ---------- Footer ---------- */
.footer {
  padding: 60px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  text-align: center;
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
}

.footer-note {
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.footer-credits {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

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

/* ---------- Keyframes ---------- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise-actions {
  from {
    opacity: 0;
    transform: translateY(128px);
  }
  to {
    opacity: 1;
    transform: translateY(100px);
  }
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float-a {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(40px, -30px) scale(1.08);
  }
}

@keyframes float-b {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-35px, 30px) scale(1.1);
  }
}

@keyframes wheel {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5);
  }
}

@keyframes ai-cell {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .sobre-grid,
  .feature,
  .pesquisa-panel {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature {
    padding: 40px 32px;
  }

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

@media (max-width: 680px) {
  .nav {
    padding: 12px 20px;
  }
  .nav.scrolled {
    padding: 10px 20px;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    background: rgba(250, 247, 241, 0.97);
    backdrop-filter: blur(16px);
    transform: translateY(-100%);
    transition: transform 0.45s var(--ease-smooth);
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    font-size: 1.3rem;
  }

  .nav-toggle {
    display: flex;
    z-index: 110;
  }

  .section {
    padding: 76px 0;
  }

  .stat {
    padding: 26px 14px;
  }

  .timeline-item {
    grid-template-columns: 30px 1fr;
    gap: 16px;
  }
  .timeline-year {
    grid-column: 2;
  }
  .timeline-card {
    grid-column: 2;
  }
  .timeline::before {
    left: 13px;
  }
  .timeline-dot {
    margin-left: 7px;
  }

  .cards,
  .contact-grid,
  .awards-grid {
    grid-template-columns: 1fr;
  }

  .pesquisa-highlights {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding-top: 120px;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-delay: 0s !important;
    transition-duration: 0.001s !important;
  }
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
