/* Reset e Variáveis */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #f8f9fc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --text-primary: #1a2a3a;
  --text-secondary: #4a6a7a;
  --text-muted: #8aa0b0;
  --accent: #2b7a9e;
  --accent-light: #e8f4f9;
  --accent-gradient: linear-gradient(135deg, #2b7a9e, #4a9bbf);
  --accent-soft: #d4eaf3;
  --border: rgba(43, 122, 158, 0.12);
  --shadow: 0 8px 40px rgba(43, 122, 158, 0.10);
  --shadow-hover: 0 12px 60px rgba(43, 122, 158, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Hospitalar Suave */
.bg-hospital {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f5fa 0%, #e8f0f6 50%, #f5f8fc 100%);
}

.bg-gradient-soft {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 20% 80%, rgba(43, 122, 158, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(43, 122, 158, 0.03) 0%, transparent 50%);
}

.bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 30px 30px, rgba(43, 122, 158, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.6;
}

.bg-blur {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
}

.blur-1 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -100px;
  background: rgba(43, 122, 158, 0.2);
}

.blur-2 {
  width: 400px;
  height: 400px;
  bottom: 50px;
  left: -100px;
  background: rgba(74, 155, 191, 0.15);
}

.blur-3 {
  width: 300px;
  height: 300px;
  bottom: 30%;
  right: 20%;
  background: rgba(43, 122, 158, 0.1);
}

.bg-icon {
  position: absolute;
  font-size: 120px;
  opacity: 0.04;
  color: var(--accent);
}

.icon-cross {
  top: 20%;
  right: 10%;
  font-size: 150px;
}

.icon-cross-2 {
  bottom: 25%;
  left: 8%;
  font-size: 100px;
}

.icon-heart {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 200px;
  opacity: 0.03;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 249, 252, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.logo-dot {
  color: var(--accent);
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

nav a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent-gradient);
  color: white !important;
  padding: 8px 24px;
  border-radius: 50px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(43, 122, 158, 0.3);
  color: white !important;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero - CENTRALIZADO */
.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-light);
  padding: 8px 18px;
  border-radius: 100px;
  width: fit-content;
  margin: 0 auto;
}

.badge-heart {
  font-size: 16px;
}

.hero h1 {
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.hero h1 .highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 650px;
  line-height: 1.8;
  margin: 0 auto;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
  justify-content: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent-gradient);
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(43, 122, 158, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(43, 122, 158, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--border);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s;
  background: transparent;
}

.btn-secondary:hover {
  border-color: var(--accent);
  background: var(--accent-light);
  transform: translateY(-3px);
}

.hero-values {
  display: flex;
  gap: 24px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  justify-content: center;
  flex-wrap: wrap;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.value-icon {
  font-size: 20px;
}

.value-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* Hero Image - Removida/oculta */
.hero-image {
  display: none;
}

/* Sections */
.section {
  padding: 100px 24px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 50px;
}

.section-number {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 14px;
  border-radius: 6px;
  font-feature-settings: "tnum";
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.section-header h2 {
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-top: 4px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.title-icon {
  font-size: 32px;
  color: var(--accent);
  display: inline-block;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.about-image-box {
  position: relative;
  background: linear-gradient(135deg, var(--accent-light), #e8f0f6);
  border-radius: var(--radius);
  padding: 40px 30px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.about-image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.placeholder-icon {
  font-size: 56px;
}

.placeholder-text {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  max-width: 280px;
  line-height: 1.5;
}

.about-image-badge {
  position: absolute;
  bottom: -12px;
  right: 20px;
  background: white;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-highlight {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  padding-left: 20px;
  border-left: 4px solid var(--accent);
}

.about-content p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.about-content strong {
  color: var(--text-primary);
}

.about-actuation {
  background: var(--accent-light);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
  font-size: 15px !important;
  color: var(--text-primary) !important;
}

.about-actuation strong {
  color: var(--accent);
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.about-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.point-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-point strong {
  display: block;
  font-size: 15px;
  color: var(--text-primary);
}

.about-point span {
  font-size: 14px;
  color: var(--text-secondary);
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.skill-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 30px;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.skill-item:hover {
  transform: translateY(-6px);
  border-color: rgba(43, 122, 158, 0.2);
  box-shadow: var(--shadow-hover);
}

.skill-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.skill-item h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.skill-item p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.skill-tags span {
  background: var(--accent-light);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 500;
}

/* Timeline */
.timeline-section .container {
  max-width: 900px;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.timeline-item {
  display: flex;
  gap: 24px;
  position: relative;
  padding-left: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 34px;
  bottom: -24px;
  width: 2px;
  background: var(--border);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  background: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  border: 2px solid white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.timeline-content {
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px 28px;
  flex: 1;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.timeline-content:hover {
  border-color: rgba(43, 122, 158, 0.2);
  box-shadow: var(--shadow);
}

.timeline-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 2px;
}

.timeline-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 8px;
}

.timeline-desc {
  display: block;
  color: var(--text-secondary);
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.6;
}

/* Contact */
.contact {
  padding: 100px 24px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
}

.contact-content {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
}

.contact-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.contact-content .section-label {
  display: inline-block;
  margin-bottom: 12px;
}

.contact-content h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.contact-content h2 .highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-content p {
  color: var(--text-secondary);
  font-size: 18px;
  max-width: 550px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.contact-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  padding: 32px 24px;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  color: var(--text-muted);
  font-size: 13px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-icon {
  font-size: 18px;
}

.footer-title {
  color: var(--text-secondary);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .hero-content {
    order: 1 !important;
  }
  
  .hero-image {
    display: none !important;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .timeline-item {
    padding-left: 0;
  }

  .timeline-item::before {
    display: none;
  }

  .timeline-icon {
    display: none;
  }
}

@media (max-width: 600px) {
  .navbar-container {
    height: 64px;
    padding: 0 16px;
  }

  nav {
    display: none;
  }

  .mobile-menu {
    display: flex;
  }

  .hero {
    padding: 20px 16px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-values {
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-secondary {
    justify-content: center;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 60px 16px;
  }

  .section-header {
    flex-direction: column;
    gap: 8px;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .title-icon {
    font-size: 24px;
  }

  .about-points {
    gap: 16px;
  }

  .about-actuation {
    font-size: 14px !important;
    padding: 14px 16px;
  }

  .contact-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-buttons .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .footer-container {
    gap: 6px;
  }

  .footer-brand {
    font-size: 15px;
  }

  .footer-title {
    font-size: 12px;
  }

  .footer-copy {
    font-size: 11px;
  }
}

/* Menu mobile ativo */
@media (max-width: 600px) {
  nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(248, 249, 252, 0.98);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  }

  nav.active a {
    font-size: 16px;
    padding: 8px 0;
  }

  nav.active .nav-cta {
    align-self: flex-start;
  }

  .mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .mobile-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}