:root {
  --c-teal: #0d9488;
  --c-teal-light: #ccfbf1;
  --c-teal-dark: #0f766e;
  --c-blue-dark: #0f172a;
  --c-blue-light: #1e293b;
  --c-gray: #64748b;
  --c-gray-light: #f8fafc;
  --c-white: #ffffff;
  --c-border: #e2e8f0;
  
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-sm: 0 4px 6px -1px rgb(0 0 0 / 0.05);
  --shadow-md: 0 10px 15px -3px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-body);
  color: var(--c-gray);
  line-height: 1.6;
  background-color: var(--c-white);
  overflow-x: hidden;
}
html { scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--c-blue-dark); line-height: 1.2; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.reveal { opacity: 0; transform: translateY(30px); transition: 0.8s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.section { padding: 100px 0; }
.bg-light { background: var(--c-gray-light); }
.mt-4 { margin-top: 32px; }

/* REUSABLE CLASSES */
.text-teal { color: var(--c-teal); }
.icon-teal { color: var(--c-teal); font-size: 20px; }

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--c-teal); color: var(--c-white);
  padding: 12px 28px; border-radius: var(--radius-full);
  font-weight: 600; font-family: var(--font-heading);
  transition: var(--transition); border: none; cursor: pointer;
}
.btn-primary:hover { background: var(--c-teal-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-large { padding: 16px 36px; font-size: 18px; gap: 10px; }
.btn-outline-teal {
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent; color: var(--c-teal);
  padding: 12px 28px; border-radius: var(--radius-full);
  font-weight: 600; font-family: var(--font-heading);
  border: 2px solid var(--c-teal); transition: var(--transition);
}
.btn-outline-teal:hover { background: var(--c-teal-light); }

/* HEADER */
.header {
  position: fixed; top: 0; width: 100%; z-index: 100;
  padding: 20px 0; background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--c-border);
  transition: var(--transition);
}
.header.scrolled { padding: 14px 0; box-shadow: var(--shadow-sm); }

.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon { width: 44px; height: 44px; background: var(--c-teal-light); color: var(--c-teal); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.logo-text h1 { font-size: 22px; font-weight: 800; }
.logo-text span { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--c-gray); font-weight: 600; }

.nav-desktop { display: flex; align-items: center; gap: 32px; }
.nav-desktop a { font-weight: 500; color: var(--c-blue-dark); font-family: var(--font-heading); transition: color var(--transition); }
.nav-desktop a:not(.btn-primary):hover { color: var(--c-teal); }
.mobile-toggle { display: none; background: transparent; border: none; font-size: 32px; color: var(--c-blue-dark); }

/* HERO */
.hero {
  padding: 160px 0 100px;
  position: relative; overflow: hidden;
  background: var(--c-gray-light);
}
.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero-content { position: relative; z-index: 1; flex: 1; max-width: 540px; }

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
}
.hero-img {
  width: 100%;
  max-width: 500px;
  height: 540px;
  object-fit: cover;
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  border: 12px solid var(--c-white);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-teal-light); color: var(--c-teal-dark);
  padding: 8px 16px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 14px; margin-bottom: 24px;
}
.hero-title { font-size: clamp(42px, 5vw, 64px); margin-bottom: 24px; font-weight: 800; }
.hero-desc { font-size: 18px; line-height: 1.8; margin-bottom: 40px; }
.hero-stats {
  display: flex; align-items: center; gap: 32px;
  margin-top: 60px; padding-top: 40px;
  border-top: 1px solid var(--c-border);
}
.stat strong { display: block; font-size: 32px; color: var(--c-blue-dark); font-family: var(--font-heading); font-weight: 800; }
.stat span { font-size: 13px; color: var(--c-gray); }
.stat-divider { width: 1px; height: 40px; background: var(--c-border); }

/* ESPECIALIDADES */
.section-header { text-align: center; margin-bottom: 60px; }
.section-label { color: var(--c-teal); font-weight: 700; text-transform: uppercase; font-size: 14px; letter-spacing: 0.1em; display: block; margin-bottom: 12px;}
.section-title { font-size: clamp(32px, 4vw, 42px); }

.grid-especialidades {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px;
}
.card-esp {
  background: var(--c-white); padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); transition: var(--transition);
  border: 1px solid var(--c-border);
}
.card-esp:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.card-icon {
  width: 64px; height: 64px; border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin-bottom: 24px;
}
.card-blue .card-icon { background: #e0f2fe; color: #0284c7; }
.card-teal .card-icon { background: var(--c-teal-light); color: var(--c-teal); }
.card-purple .card-icon { background: #f3e8ff; color: #9333ea; }
.card-orange .card-icon { background: #ffedd5; color: #ea580c; }

.card-esp h3 { font-size: 20px; margin-bottom: 12px; }
.card-esp p { font-size: 15px; }

/* SOBRE */
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.sobre-list { margin-top: 32px; display: grid; gap: 16px; }
.sobre-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--c-blue-dark); font-family: var(--font-heading); }

.sobre-img-group { position: relative; }
.img-main .placeholder {
  width: 100%; height: 500px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--c-teal-light), #e0f2fe);
  display: flex; align-items: center; justify-content: center;
  font-size: 80px; color: var(--c-teal);
}
.img-float {
  position: absolute; bottom: -30px; left: -30px;
  width: 200px; height: 200px;
  background: var(--c-white); border-radius: var(--radius-lg); padding: 12px;
  box-shadow: var(--shadow-lg);
}
.img-float .placeholder {
  width: 100%; height: 100%; border-radius: calc(var(--radius-lg) - 8px);
  background: var(--c-teal); color: var(--c-white);
  display: flex; align-items: center; justify-content: center; font-size: 64px;
}

/* CTA */
.cta-section { padding: 60px 0; }
.cta-card {
  background: var(--c-blue-dark); border-radius: var(--radius-lg);
  padding: 80px 40px; text-align: center;
  background-image: radial-gradient(circle at top right, rgba(13,148,136,0.3) 0%, transparent 50%);
}
.cta-card h2 { color: var(--c-white); font-size: clamp(32px, 4vw, 48px); margin-bottom: 20px; }
.cta-card p { color: #cbd5e1; max-width: 600px; margin: 0 auto 40px; font-size: 18px; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }

.btn-whatsapp-solid {
  display: inline-flex; align-items: center; gap: 10px;
  background: #22c55e; color: var(--c-white);
  padding: 16px 32px; border-radius: var(--radius-full);
  font-weight: 700; font-family: var(--font-heading);
  transition: var(--transition);
}
.btn-whatsapp-solid:hover { background: #16a34a; transform: translateY(-2px); }
.btn-outline-white {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--c-white);
  border: 2px solid var(--c-white);
  padding: 14px 32px; border-radius: var(--radius-full);
  font-weight: 700; font-family: var(--font-heading);
  transition: var(--transition);
}
.btn-outline-white:hover { background: var(--c-white); color: var(--c-blue-dark); }

/* FOOTER */
.footer { background: var(--c-gray-light); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 60px; }
.footer-brand p { margin-top: 20px; max-width: 300px; }
.footer-links h3, .footer-address h3 { font-size: 18px; margin-bottom: 24px; }
.footer-links a { display: block; margin-bottom: 16px; transition: var(--transition); }
.footer-links a:hover { color: var(--c-teal); transform: translateX(4px); }
.footer-address p { margin-bottom: 16px; display: flex; gap: 10px; }
.footer-address i { color: var(--c-teal); }

.footer-bottom { border-top: 1px solid var(--c-border); padding: 30px 0; display: flex; justify-content: space-between; font-size: 14px; }
.footer-dev a { color: var(--c-teal); font-weight: 700; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .mobile-toggle { display: block; }
  .hero-inner { flex-direction: column; text-align: center; gap: 40px; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .hero { background: linear-gradient(135deg, var(--c-white) 0%, var(--c-teal-light) 100%); padding-top: 120px; }
  .sobre-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { flex-wrap: wrap; justify-content: center; }
  .stat-divider { display: none; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 16px; }
}
