/* ===========================
   DESIGN SYSTEM — DARK TECH PREMIUM
   Estética: Tecnologia sofisticada / alto valor
=========================== */

:root {
  --bg: #06080d;
  --bg-secondary: #0b1220;
  --bg-tertiary: #0f1728;
  --surface: rgba(15, 23, 40, 0.72);
  --surface-solid: #111a2e;
  --surface-hover: #16233d;
  --card: #0e1627;
  --card-2: #101b30;

  --white: #f5f7fb;
  --text: #e8eefc;
  --text-soft: #b8c4dc;
  --text-muted: #8392ad;

  --accent: #3b82f6;
  --accent-strong: #2563eb;
  --accent-light: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.28);

  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(96, 165, 250, 0.25);
  --progress-bg: rgba(148, 163, 184, 0.12);

  --success: #22c55e;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', 'DM Sans', sans-serif;

  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.18);
  --shadow-md: 0 18px 50px rgba(0, 0, 0, 0.28);
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.38);

  --glass-blur: blur(18px);
}



.logo-img:hover {
  opacity: 0.8;
}
.logo-img {
  height: 34px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.95) contrast(1.05);
}
/* BASE */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(59,130,246,0.10), transparent 28%),
    radial-gradient(circle at 85% 12%, rgba(37,99,235,0.10), transparent 24%),
    linear-gradient(180deg, #05070c 0%, #08101c 45%, #05070c 100%);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

p {
  color: var(--text-soft);
}

::selection {
  background: rgba(59, 130, 246, 0.22);
  color: var(--white);
}

/* ===========================
   NAVBAR
=========================== */
#mainNav {
  background: rgba(6, 8, 13, 0.72);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-link {
  font-weight: 500;
  color: var(--text-muted) !important;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 0.95rem !important;
  border-radius: 999px;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white) !important;
  background: rgba(59, 130, 246, 0.10);
  box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.16);
}

.navbar-toggler {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  box-shadow: none !important;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.18rem rgba(59, 130, 246, 0.18);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(232,238,252,0.86)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===========================
   TYPOGRAPHY
=========================== */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-light);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.section-title em {
  color: var(--accent-light);
  font-style: normal;
}

.text-muted-soft {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===========================
   BUTTONS
=========================== */
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--white);
  border: 1px solid rgba(96, 165, 250, 0.18);
  padding: 0.82rem 1.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  box-shadow:
    0 10px 26px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.10);
}

.btn-accent:hover {
  color: var(--white);
  transform: translateY(-2px);
  box-shadow:
    0 18px 36px rgba(37, 99, 235, 0.34),
    0 0 0 6px rgba(59, 130, 246, 0.08);
  filter: brightness(1.05);
}

.btn-outline-dark {
  border: 1px solid var(--border-strong);
  color: var(--white);
  background: rgba(255,255,255,0.02);
  padding: 0.82rem 1.85rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.btn-outline-dark:hover {
  border-color: var(--accent-light);
  background: rgba(59, 130, 246, 0.10);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.16);
}

/* ===========================
   HERO SECTION
=========================== */
.hero-section {
  padding: 6rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -18%;
  right: -8%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(59,130,246,0.16) 0%, transparent 68%);
  pointer-events: none;
  filter: blur(10px);
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.18;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.45), transparent 85%);
}

.min-vh-hero {
  min-height: calc(100vh - 72px);
}

.hero-text {
  animation: fadeUp 0.8s ease both;
  position: relative;
  z-index: 2;
}

.display-hero {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6.6rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.05em;
  color: var(--white);
  margin-bottom: 1.35rem;
}

.display-hero em {
  color: var(--accent-light);
  font-style: normal;
  text-shadow: 0 0 24px rgba(96, 165, 250, 0.18);
}

.hero-sub {
  font-size: 1.06rem;
  color: var(--text-soft);
  max-width: 520px;
  font-weight: 400;
  line-height: 1.8;
}

/* Avatar */
.hero-img-wrap {
  animation: fadeUp 0.8s 0.2s ease both;
  position: relative;
  z-index: 2;
}

.hero-avatar {
  position: relative;
  width: 360px;
  height: 420px;
}

.avatar-ring {
  position: absolute;
  inset: -14px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 60% 40% 60% 40% / 50% 60% 40% 50%;
  animation: morphRing 8s ease-in-out infinite alternate;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.02),
    0 0 40px rgba(59,130,246,0.12);
}

@keyframes morphRing {
  to {
    border-radius: 40% 60% 40% 60% / 60% 40% 60% 40%;
  }
}

.avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  background: #0a1323;
}

.avatar-badge {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background: rgba(11, 18, 32, 0.82);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 0.55rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--white);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.dot,
.dot-green {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}

/* ===========================
   HIGHLIGHT CARDS
=========================== */
.py-section {
  padding: 5rem 0;
}

.section-highlights {
  background: transparent;
}

.highlight-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  height: 100%;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)),
    rgba(15, 23, 40, 0.78);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow:
    var(--shadow-md),
    0 0 0 1px rgba(59,130,246,0.12);
  border-color: var(--border-strong);
}

.hl-icon {
  font-size: 1.55rem;
  color: var(--accent-light);
  margin-bottom: 1rem;
  line-height: 1;
  text-shadow: 0 0 18px rgba(96, 165, 250, 0.16);
}

.highlight-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
}

.highlight-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin: 0;
}

/* CTA */
.cta-section {
  background:
    radial-gradient(circle at center, rgba(59,130,246,0.10), transparent 45%),
    linear-gradient(180deg, #08101d 0%, #06080d 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.18;
  pointer-events: none;
}

.cta-section .eyebrow {
  color: var(--accent-light);
}

.cta-section .section-title {
  color: var(--white);
}

.cta-section .section-title em {
  color: var(--accent-light);
}

.cta-section .btn-accent {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: var(--white);
  font-weight: 700;
}

.cta-section .btn-accent:hover {
  background: linear-gradient(135deg, #7cb6ff, #3b82f6);
}

/* ===========================
   PAGE HEADER
=========================== */
.page-header {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), transparent),
    rgba(8, 16, 29, 0.55);
  backdrop-filter: blur(8px);
}

.display-page {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.04em;
}

.display-page em {
  color: var(--accent-light);
  font-style: normal;
}

/* ===========================
   PROFILE PAGE
=========================== */
.profile-photo-wrap {
  display: inline-block;
  position: relative;
}

.profile-photo {
  width: 280px;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,0.06);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(15, 23, 40, 0.66);
  backdrop-filter: blur(12px);
}

.info-item {
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.info-item:nth-child(even) {
  border-right: none;
}

.info-item:nth-last-child(-n+2) {
  border-bottom: none;
}

.info-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  font-weight: 700;
}

.info-value {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
}

.status-disponivel {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #4ade80;
  font-size: 0.88rem !important;
}

.bio-text {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-soft);
  border-left: 3px solid var(--accent);
  padding-left: 1rem;
  margin-top: 1rem !important;
}

/* Timeline */
.bg-subtle {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.015), rgba(255,255,255,0.01)),
    rgba(9, 14, 24, 0.86);
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 52px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(96, 165, 250, 0.18);
}

.timeline-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 2.5rem;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.tl-year {
  flex-shrink: 0;
  width: 64px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-light);
  letter-spacing: 0.08em;
  padding-top: 0.25rem;
  text-align: right;
}

.tl-content {
  background: rgba(15, 23, 40, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  flex: 1;
  position: relative;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.tl-content::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 14px;
  width: 10px;
  height: 1px;
  background: rgba(96, 165, 250, 0.22);
}

.tl-content h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.tl-school {
  font-size: 0.82rem;
  color: var(--accent-light);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.tl-content p {
  font-size: 0.88rem;
  margin: 0;
  color: var(--text-muted);
}

/* Contact cards */
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: rgba(15, 23, 40, 0.78);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  height: 100%;
  backdrop-filter: blur(10px);
}

.contact-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
  color: inherit;
}

.cc-icon {
  width: 46px;
  height: 46px;
  background: rgba(59, 130, 246, 0.10);
  border: 1px solid rgba(96, 165, 250, 0.18);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--accent-light);
  box-shadow: inset 0 0 18px rgba(59,130,246,0.06);
}

.cc-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.cc-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
}

/* ===========================
   PROJECTS PAGE
=========================== */
.filter-tabs {
  padding: 0.5rem 0;
}

.filter-btn {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(37,99,235,0.12));
  color: var(--white);
  border-color: var(--border-strong);
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.12);
}

.project-card {
  background: rgba(14, 22, 39, 0.86);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}

.project-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #08101d;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img {
  transform: scale(1.04);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 8, 13, 0.18),
    rgba(6, 8, 13, 0.82)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-body {
  padding: 1.4rem;
}

.project-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.project-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0.6rem 0 1rem;
}

.tag-badge {
  background: rgba(59, 130, 246, 0.10) !important;
  color: var(--accent-light) !important;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  letter-spacing: 0.06em;
  border: 1px solid rgba(96, 165, 250, 0.18);
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tech-tag {
  font-size: 0.72rem;
  background: rgba(255,255,255,0.03);
  color: var(--text-soft);
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.05);
}

.project-item {
  transition: opacity 0.3s, transform 0.3s;
}

.project-item.hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
}

/* ===========================
   SKILLS PAGE
=========================== */
.skill-list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.skill-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
}

.skill-pct {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.skill-progress {
  height: 6px;
  background: var(--progress-bg);
  border-radius: 999px;
  overflow: hidden;
}

.skill-progress .progress-bar {
  background: linear-gradient(90deg, var(--accent-strong), var(--accent-light));
  border-radius: 999px;
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.22);
}

/* Badges */
.skill-badge {
  display: inline-block;
  background: rgba(15, 23, 40, 0.75);
  border: 1px solid var(--border);
  color: var(--text-soft);
  border-radius: var(--radius-sm);
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
  font-weight: 500;
  transition: var(--transition);
  cursor: default;
  backdrop-filter: blur(10px);
}

.skill-badge:hover {
  background: rgba(59, 130, 246, 0.10);
  color: var(--white);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

/* Soft skills */
.soft-card {
  background: rgba(15, 23, 40, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.2rem;
  text-align: center;
  transition: var(--transition);
  height: 100%;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

.soft-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.soft-icon {
  font-size: 1.4rem;
  color: var(--accent-light);
  margin-bottom: 0.8rem;
  text-shadow: 0 0 18px rgba(96, 165, 250, 0.16);
}

.soft-card h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.4rem;
}

.soft-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

/* ===========================
   FOOTER
=========================== */
/* ===========================
   FOOTER PREMIUM
=========================== */

.site-footer {
  margin-top: 0;
  padding: 3rem 0 2rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.02), transparent),
    rgba(7, 10, 16, 0.9);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
  max-width: 280px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-contact p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-contact a {
  color: var(--white);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-divider {
  margin: 2rem 0 1rem;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.footer-bottom {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up { animation: fadeUp 0.7s ease both; }
.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .py-section {
    padding: 3rem 0;
  }

  .hero-section {
    padding: 3rem 0 2rem;
  }

  .display-hero {
    font-size: 3.4rem;
  }

  .min-vh-hero {
    min-height: auto;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-item {
    border-right: none;
  }

  .info-item:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--border);
  }

  .info-item:last-child {
    border-bottom: none;
  }

  .timeline::before {
    left: 36px;
  }

  .tl-year {
    width: 50px;
    font-size: 0.7rem;
  }

  .profile-photo {
    width: 220px;
    height: 250px;
  }

  .avatar-badge {
    left: 0;
    bottom: 14px;
    max-width: calc(100% - 10px);
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .display-hero {
    font-size: 2.7rem;
  }

  .display-page {
    font-size: 2.15rem;
  }

  .hero-avatar {
    width: 100%;
    max-width: 320px;
    height: 380px;
  }
}