/* =============================================
   ATESTADO DIGITAL - Design System
   Primary: #28CB8B | Secondary: #263238
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --primary: #28CB8B;
  --primary-dark: #1fa870;
  --primary-darker: #237D31;
  --primary-light: #E8F5E9;
  --secondary: #263238;
  --black: #263238;
  --dgrey: #4D4D4D;
  --grey: #717171;
  --lgrey: #89939E;
  --grey-blue: #ABBED1;
  --silver: #F5F7FA;
  --white: #FFFFFF;
  --warning: #FBC02D;
  --error: #E53835;
  --success: #2E7D31;
  --font-head: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-sm: 0 2px 8px rgba(38,50,56,0.08);
  --shadow-md: 0 4px 24px rgba(38,50,56,0.12);
  --shadow-lg: 0 8px 48px rgba(38,50,56,0.16);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.25s ease;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4, h5 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(36px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3vw, 36px); }
h3 { font-size: clamp(20px, 2.5vw, 28px); }
h4 { font-size: 20px; }

.text-primary { color: var(--primary); }
.text-grey { color: var(--lgrey); }
.text-center { text-align: center; }

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 16px;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}

.social-link:hover {
  background: #28CB8B;
  transform: translateY(-2px);
}

.h-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
}

.hospital-btn img.h-logo {
  background: #f5f7fa; /* fundo neutro caso PNG seja transparente */
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40,203,139,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--secondary);
  color: var(--white);
}
.btn-dark:hover {
  background: #1a252b;
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 36px; font-size: 17px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ---- HEADER / NAV ---- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(171,190,209,0.3);
  transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  color: var(--secondary);
}
.logo-icon {
  width: 36px; height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
}
.logo-icon svg { width: 22px; height: 22px; fill: white; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--dgrey);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--primary); }
.nav-links a.active::after { width: 100%; }

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

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  min-width: 240px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  border: 1px solid rgba(171,190,209,0.2);
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  color: var(--dgrey);
}
.dropdown-menu a:hover { background: var(--silver); color: var(--primary); }
.dropdown-menu a::after { display: none; }

/* Mobile Nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--secondary);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.mobile-menu {
  display: none;
  background: var(--white);
  padding: 20px 24px;
  border-top: 1px solid rgba(171,190,209,0.3);
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--dgrey);
  border-bottom: 1px solid var(--silver);
}
.mobile-menu a:hover { color: var(--primary); }
.mobile-menu .mobile-cta { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }

/* ---- HERO ---- */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--silver) 0%, #e8f5ee 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(40,203,139,0.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(40,203,139,0.12);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(40,203,139,0.25);
}
.hero h1 { margin-bottom: 20px; color: var(--secondary); }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 18px; color: var(--lgrey); margin-bottom: 32px; line-height: 1.7; }
.hero-checklist { margin-bottom: 36px; display: flex; flex-direction: column; gap: 12px; }
.hero-checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--dgrey);
  font-weight: 500;
}
.hero-checklist li::before {
  content: '✅';
  font-size: 16px;
}
.hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--lgrey);
}
.hero-trust-avatars { display: flex; }
.hero-trust-avatars span {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid white;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  margin-left: -8px;
}
.hero-trust-avatars span:first-child { margin-left: 0; }

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 32px;
  width: 100%;
  max-width: 400px;
  position: relative;
  z-index: 2;
  border: 1px solid rgba(171,190,209,0.2);
}
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--silver);
}
.card-icon-wrap {
  width: 48px; height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}
.hero-card h4 { font-size: 16px; margin-bottom: 4px; }
.hero-card p { font-size: 13px; color: var(--lgrey); }
.hero-card-body { display: flex; flex-direction: column; gap: 14px; }
.card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}
.card-row .label { color: var(--lgrey); }
.card-row .value { font-weight: 600; color: var(--secondary); }
.card-row .badge {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}
.badge-green { background: #E8F5E9; color: #2E7D31; }
.badge-blue { background: #E3F2FD; color: #1565C0; }
.hero-card-footer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--silver);
}
.hero-card-footer .btn { width: 100%; justify-content: center; }

.floating-badge {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid rgba(171,190,209,0.2);
  display: flex;
  align-items: center;
  gap: 8px;
  animation: float 3s ease-in-out infinite;
}
.floating-badge.badge-top {
  top: -20px; right: -20px;
  animation-delay: 0.5s;
}
.floating-badge.badge-bottom {
  bottom: 20px; left: -30px;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---- CLIENTS ---- */
.clients { padding: 48px 0; background: var(--white); }
.clients-title {
  text-align: center;
  font-size: 14px;
  color: var(--lgrey);
  font-weight: 500;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.clients-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  opacity: 0.5;
  filter: grayscale(1);
}
.client-logo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--grey);
  letter-spacing: 1px;
}

/* ---- SECTION HEADER ---- */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 17px; color: var(--lgrey); max-width: 600px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ---- HOW IT WORKS ---- */
.how-it-works { background: var(--silver); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--primary-darker));
  z-index: 0;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(171,190,209,0.2);
  transition: var(--transition);
}
.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.step-num {
  width: 56px; height: 56px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 20px;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(40,203,139,0.3);
}
.step-card h4 { margin-bottom: 10px; font-size: 17px; }
.step-card p { font-size: 14px; color: var(--lgrey); line-height: 1.6; }
.step-card .btn { margin-top: 20px; font-size: 13px; padding: 10px 20px; }

/* ---- FEATURES ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(171,190,209,0.2);
  transition: var(--transition);
  background: var(--white);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-4px);
}
.feature-icon {
  width: 56px; height: 56px;
  background: var(--primary-light);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}
.feature-card h4 { margin-bottom: 10px; }
.feature-card p { color: var(--lgrey); font-size: 15px; line-height: 1.7; }

/* ---- STATS ---- */
.stats { background: var(--secondary); color: var(--white); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item {}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 8px;
}
.stat-label { font-size: 15px; color: rgba(255,255,255,0.7); }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-darker) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.08) 0%, transparent 50%);
}
.cta-banner h2 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 16px; }
.cta-banner p { font-size: 18px; opacity: 0.9; margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-white {
  background: var(--white);
  color: var(--primary-dark);
  padding: 18px 40px;
  font-size: 16px;
}
.cta-banner .btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

/* ---- DOCTORS ---- */
.doctors { background: var(--silver); }
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.doctor-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  border: 1px solid rgba(171,190,209,0.2);
  transition: var(--transition);
}
.doctor-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.doctor-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  border: 3px solid var(--primary-light);
}
.doctor-card h5 { font-size: 14px; margin-bottom: 4px; font-weight: 700; }
.doctor-card .specialty { font-size: 12px; color: var(--lgrey); margin-bottom: 8px; }
.doctor-card .experience { font-size: 12px; color: var(--primary-dark); font-weight: 600; }
.doctor-rating {
  display: flex; align-items: center; justify-content: center; gap: 4px;
  margin-top: 8px;
}
.stars { color: var(--warning); font-size: 12px; }
.rating-num { font-size: 12px; font-weight: 600; color: var(--dgrey); }

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid rgba(171,190,209,0.2);
  transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 72px;
  font-family: var(--font-head);
  color: var(--primary-light);
  line-height: 1;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--dgrey);
  margin-bottom: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 16px;
}
.author-name { font-weight: 700; font-size: 15px; }
.author-role { font-size: 13px; color: var(--lgrey); }

/* ---- GUARANTEES ---- */
.guarantees { background: var(--white); }
.guarantees-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.guarantee-card {
  display: flex;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(171,190,209,0.2);
  background: var(--white);
  transition: var(--transition);
}
.guarantee-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(40,203,139,0.3);
}
.guarantee-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
}
.guarantee-card h4 { font-size: 16px; margin-bottom: 6px; }
.guarantee-card p { font-size: 14px; color: var(--lgrey); line-height: 1.6; }

/* ---- FAQ ---- */
.faq { background: var(--silver); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  border: 1px solid rgba(171,190,209,0.2);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question .icon {
  width: 24px; height: 24px;
  min-width: 24px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 15px;
  color: var(--lgrey);
  line-height: 1.7;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

/* ---- BLOG ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(171,190,209,0.2);
  transition: var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.blog-img {
  height: 180px;
  background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px;
}
.blog-content { padding: 24px; }
.blog-tag {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.blog-card h4 { font-size: 17px; margin-bottom: 10px; line-height: 1.4; }
.blog-card p { font-size: 14px; color: var(--lgrey); margin-bottom: 16px; }
.blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--lgrey);
}
.read-more {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: flex; align-items: center; gap: 4px;
}
.read-more:hover { color: var(--primary-dark); }

/* ---- FOOTER ---- */
.footer {
  background: var(--secondary);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h3 {
  color: white;
  font-size: 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}
.social-link:hover { background: var(--primary); }
.footer-col h5 {
  color: white;
  font-size: 15px;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; transition: var(--transition); }
.footer-col a:hover { color: var(--primary); }
.footer-newsletter h5 { color: white; font-size: 15px; margin-bottom: 8px; font-weight: 700; }
.footer-newsletter p { font-size: 13px; margin-bottom: 14px; }
.newsletter-form {
  display: flex;
  gap: 8px;
}
.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.06);
  color: white;
  font-size: 14px;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form button {
  padding: 10px 16px;
  background: var(--primary);
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: var(--transition);
}
.newsletter-form button:hover { background: var(--primary-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a:hover { color: var(--primary); }

/* ---- PAGE HERO ---- */
.page-hero {
  padding: 120px 0 60px;
  background: linear-gradient(135deg, var(--silver) 0%, #e8f5ee 100%);
  text-align: center;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--lgrey);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: var(--lgrey); }

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { margin-bottom: 16px; }
.contact-info p { color: var(--lgrey); margin-bottom: 32px; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-item-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.contact-item h5 { font-size: 15px; margin-bottom: 4px; }
.contact-item p { font-size: 14px; color: var(--lgrey); margin: 0; }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); border: 1px solid rgba(171,190,209,0.2); }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; color: var(--secondary); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--grey-blue);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--secondary);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(40,203,139,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ---- ABOUT ---- */
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-img-placeholder {
  background: linear-gradient(135deg, var(--primary-light), #C8E6C9);
  border-radius: var(--radius-lg);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  border: 1px solid rgba(171,190,209,0.2);
  transition: var(--transition);
}
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  border: 3px solid var(--primary-light);
}
.team-card h5 { font-size: 15px; margin-bottom: 4px; }
.team-card p { font-size: 13px; color: var(--lgrey); }
.timeline { max-width: 800px; margin: 0 auto; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--primary-light);
  transform: translateX(-50%);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 20px;
  width: 14px; height: 14px;
  background: var(--primary);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.timeline-year {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 24px;
  color: var(--primary);
  text-align: right;
  padding-top: 8px;
}
.timeline-content {
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(171,190,209,0.2);
}
.timeline-content h5 { margin-bottom: 8px; }
.timeline-content p { font-size: 14px; color: var(--lgrey); }

/* ---- SERVICE PAGE ---- */
.service-features { background: var(--silver); }
.service-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-darker) 100%);
  text-align: center;
  padding: 64px 0;
  color: white;
}
.service-cta h2 { margin-bottom: 12px; }
.service-cta p { opacity: 0.9; margin-bottom: 28px; font-size: 17px; }

/* ---- BLOG DETAIL ---- */
.blog-post-header { background: var(--silver); padding: 120px 0 48px; }
.blog-post-body { max-width: 800px; margin: 0 auto; }
.blog-post-body h2 { margin: 32px 0 16px; }
.blog-post-body h3 { margin: 24px 0 12px; }
.blog-post-body p { margin-bottom: 16px; line-height: 1.8; color: var(--dgrey); }
.blog-post-body ul { padding-left: 24px; margin-bottom: 16px; list-style: disc; }
.blog-post-body ul li { margin-bottom: 8px; color: var(--dgrey); }
.blog-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: var(--lgrey);
  margin-bottom: 32px;
}
.post-author-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---- LEGAL PAGES ---- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { margin: 36px 0 16px; font-size: 22px; }
.legal-content h3 { margin: 24px 0 12px; font-size: 18px; }
.legal-content p { margin-bottom: 16px; color: var(--dgrey); line-height: 1.8; }
.legal-content ul { padding-left: 24px; margin-bottom: 16px; list-style: disc; }
.legal-content ul li { margin-bottom: 8px; color: var(--dgrey); }

/* ---- COOKIE BANNER ---- */
.cookie-banner {
  position: fixed;
  bottom: 20px; left: 20px;
  max-width: 420px;
  background: var(--secondary);
  color: white;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  display: none;
  animation: slideUp 0.4s ease;
}
.cookie-banner.show { display: block; }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-banner p { font-size: 14px; opacity: 0.85; margin-bottom: 16px; line-height: 1.6; }
.cookie-banner-btns { display: flex; gap: 10px; }

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  background: #25D366;
  color: white;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); background: #1da851; }
@keyframes pulse {
  0% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.7); }
  100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
}

/* ---- 404 ---- */
.page-404 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--silver);
}
.page-404 .num {
  font-family: var(--font-head);
  font-size: 160px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  opacity: 0.3;
}

/* ---- RESPONSIVO ---- */
@media (max-width: 1024px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .doctors-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero-grid, .about-hero-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .features-grid, .guarantees-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .timeline { padding-left: 20px; }
  .timeline::before { left: 0; }
  .timeline-item { grid-template-columns: 1fr; }
  .timeline-item::before { left: 0; }
  .timeline-year { text-align: left; }
  .hero-cta-group { flex-direction: column; align-items: flex-start; }
  .section { padding: 48px 0; }
}
@media (max-width: 480px) {
  .doctors-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
