/* ===================================================================
   CONVSUL – Saúde e Bem Estar  |  Global Stylesheet
   =================================================================== */

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

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Brand teal – extracted from real CONVSUL logo */
  --teal-900: #0d3535;
  --teal-800: #135252;
  --teal-700: #1a7070;
  --teal-600: #2a9d9c;
  --teal-500: #3ab5b4;
  --teal-400: #55c9c8;
  --teal-300: #82d9d9;
  --teal-100: #d0f2f2;
  --teal-50: #edfafa;

  /* Brand orange – from the heart icon gradient */
  --orange-start: #f5a623;
  --orange-end: #e05a1f;

  --accent-gold: #f5a623;
  --accent-coral: #e05a1f;

  --neutral-900: #111827;
  --neutral-700: #374151;
  --neutral-500: #6b7280;
  --neutral-300: #d1d5db;
  --neutral-100: #f3f4f6;
  --white: #ffffff;

  --font-body: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .10);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, .14);
  --shadow-teal: 0 8px 32px rgba(27, 107, 107, .25);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--neutral-700);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--neutral-100);
}

::-webkit-scrollbar-thumb {
  background: var(--teal-400);
  border-radius: 3px;
}

/* ===================================================================
   HEADER / NAVBAR
   =================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 107, 107, .1);
  transition: box-shadow var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  height: 80px;
  display: flex;
  align-items: center;
  gap: 0;
}

/* ── Logo – usa imagem real da marca CONVSUL ── */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

/* Imagem do logo na navbar – proporcional ao PNG horizontal */
.nav-logo .logo-img {
  height: 52px;
  width: auto;
  max-width: 220px;
  display: block;
  object-fit: contain;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-logo:hover .logo-img {
  transform: scale(1.03);
  opacity: .88;
}

/* Versão footer */
.footer-brand .nav-logo .logo-img {
  height: 58px;
  max-width: 240px;
  filter: brightness(1.1) drop-shadow(0 2px 10px rgba(0, 0, 0, .35));
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: min(200px, 8vw);
}

.nav-links a {
  display: block;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: .9rem;
  color: var(--neutral-700);
  transition: all var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--teal-500);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-links a:hover {
  color: var(--teal-700);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a.active {
  color: var(--teal-700);
}

/* CTA button in nav */
.nav-cta {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500)) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: var(--radius-md) !important;
  font-weight: 600 !important;
  box-shadow: var(--shadow-teal);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  /* never break onto two lines */
  flex-shrink: 0;
  /* don't compress the CTA */
  transition: all var(--transition) !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 28px rgba(27, 107, 107, .38) !important;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-600)) !important;
}

.nav-cta .whatsapp-icon {
  font-size: 1rem;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}

.nav-hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--teal-700);
  border-radius: 2px;
  transition: all var(--transition);
  display: block;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ===================================================================
   PAGE WRAPPER
   =================================================================== */
.page-content {
  padding-top: 80px;
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 50%, var(--teal-500) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('img/hero.png');
  background-size: cover;
  background-position: center;
  opacity: .18;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-particles .particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  animation: float 8s ease-in-out infinite;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: .6;
  }

  50% {
    transform: translateY(-30px) rotate(180deg);
    opacity: 1;
  }
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: .5px;
  margin-bottom: 24px;
  width: fit-content;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: .7;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 em {
  color: var(--teal-300);
  font-style: normal;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--white);
  color: var(--teal-700) !important;
  font-weight: 700;
  font-size: .95rem;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .15);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, .15);
  color: var(--white) !important;
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, .4);
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, .25);
  transform: translateY(-2px);
}

/* Hero cards */
.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hero-card {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  color: var(--white);
  transition: all var(--transition);
  cursor: default;
}

.hero-card:hover {
  background: rgba(255, 255, 255, .2);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .2);
}

.hero-card .card-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.hero-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.hero-card p {
  font-size: .82rem;
  color: rgba(255, 255, 255, .75);
  line-height: 1.5;
}

/* ===================================================================
   SECTION COMMONS
   =================================================================== */
section {
  padding: 88px 24px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-600);
  background: var(--teal-50);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
  border: 1px solid var(--teal-100);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--neutral-900);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-title em {
  color: var(--teal-600);
  font-style: normal;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--neutral-500);
  line-height: 1.7;
  max-width: 580px;
}

.section-header-center {
  text-align: center;
}

.section-header-center .section-subtitle {
  margin: 0 auto;
}

/* ===================================================================
   STATS STRIP
   =================================================================== */
.stats-strip {
  background: linear-gradient(135deg, var(--teal-800), var(--teal-700));
  padding: 48px 24px;
}

.stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
  text-align: center;
}

.stat-item {
  flex: 1 1 200px;
}

.stat-item .stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-item .stat-label {
  font-size: .85rem;
  color: rgba(255, 255, 255, .7);
  font-weight: 500;
}

.stat-item .stat-accent {
  display: block;
  width: 32px;
  height: 3px;
  background: var(--teal-300);
  border-radius: 2px;
  margin: 10px auto 0;
}

/* ===================================================================
   ABOUT SECTION
   =================================================================== */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-teal);
  text-align: center;
}

.about-badge strong {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.about-badge span {
  font-size: .8rem;
  opacity: .9;
}

/* Missão Visão Valores grid */
.mvv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 36px;
}

.mvv-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--neutral-100);
  transition: all var(--transition);
}

.mvv-card:hover {
  background: var(--teal-50);
  transform: translateX(4px);
}

.mvv-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.mvv-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 4px;
}

.mvv-card p {
  font-size: .88rem;
  color: var(--neutral-500);
  line-height: 1.6;
}

/* ===================================================================
   SPECIALTIES SECTION
   =================================================================== */
.specialties-section {
  background: var(--neutral-100);
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.specialty-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--neutral-300);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.specialty-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal-600), var(--teal-400));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.specialty-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal-300);
}

.specialty-card:hover::before {
  transform: scaleX(1);
}

.spec-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-100), var(--teal-50));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  border: 2px solid var(--teal-200, var(--teal-300));
  transition: all var(--transition);
}

.specialty-card:hover .spec-icon {
  background: linear-gradient(135deg, var(--teal-600), var(--teal-500));
  color: var(--white);
  transform: scale(1.1);
}

.specialty-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin-bottom: 12px;
}

.specialty-card p {
  font-size: .88rem;
  color: var(--neutral-500);
  line-height: 1.65;
}

/* ===================================================================
   TEAM CTA SECTION
   =================================================================== */
.team-cta-section {
  background: var(--white);
  padding: 88px 24px;
}

.team-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.team-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.team-img-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.team-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(0deg, rgba(15, 61, 61, .9) 0%, transparent 100%);
  color: var(--white);
}

.team-img-overlay p {
  font-size: .9rem;
  opacity: .9;
}

.team-img-overlay strong {
  font-size: 1.1rem;
  display: block;
}

/* .team-content – no extra rules needed, uses flow layout */
.team-content .section-subtitle {
  margin-top: 16px;
  margin-bottom: 32px;
}

.team-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

.team-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .94rem;
  color: var(--neutral-700);
  font-weight: 500;
}

.team-feature .check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-700);
  display: grid;
  place-items: center;
  font-size: .85rem;
  flex-shrink: 0;
  font-weight: 700;
}

.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--teal-700), var(--teal-500));
  color: var(--white);
  font-weight: 700;
  font-size: .95rem;
  border-radius: var(--radius-md);
  transition: all var(--transition);
  box-shadow: var(--shadow-teal);
}

.btn-teal:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(27, 107, 107, .35);
}

/* ===================================================================
   CONTACT SECTION
   =================================================================== */
.contact-section {
  background: var(--teal-50);
  padding: 88px 24px;
}

.clinics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.clinic-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--teal-100);
  transition: all var(--transition);
}

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

.clinic-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--neutral-300);
}

.clinic-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal-600), var(--teal-400));
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.clinic-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--neutral-900);
}

.clinic-card .subtitle {
  font-size: .8rem;
  color: var(--neutral-500);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-row .icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--teal-50);
  border: 1px solid var(--teal-100);
  display: grid;
  place-items: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-row .info {
  flex: 1;
}

.contact-row .label {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--neutral-500);
  margin-bottom: 2px;
}

.contact-row .value {
  font-size: .9rem;
  color: var(--neutral-700);
  font-weight: 500;
}

.contact-row a.value {
  color: var(--teal-700);
  font-weight: 600;
  transition: color var(--transition);
}

.contact-row a.value:hover {
  color: var(--teal-500);
}

/* ===================================================================
   PARTNERS CAROUSEL SECTION
   =================================================================== */
.partners-section {
  background: var(--teal-50);
  padding: 88px 24px;
}

.carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 48px auto 0;
  display: flex;
  align-items: center;
}

.carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}

.carousel-track::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.carousel-slide {
  flex: 0 0 100%;
  /* Show 1 card by default */
  max-width: 100%;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .carousel-slide {
    flex: 0 0 calc(50% - 12px);
    /* Show 2 cards */
  }
}

@media (min-width: 960px) {
  .carousel-slide {
    flex: 0 0 calc(33.333% - 16px);
    /* Show 3 cards */
  }
}

.carousel-slide img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  object-fit: cover;
  transition: transform var(--transition);
  border: 1px solid var(--teal-100);
}

.carousel-slide:hover img {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal-300);
}

.carousel-btn {
  background: var(--white);
  border: 1px solid var(--neutral-300);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: var(--teal-700);
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.carousel-btn:hover {
  background: var(--teal-50);
  color: var(--teal-600);
  box-shadow: var(--shadow-md);
}

.prev-btn {
  left: -24px;
}

.next-btn {
  right: -24px;
}

@media (max-width: 1048px) {
  .prev-btn {
    left: -12px;
  }

  .next-btn {
    right: -12px;
  }
}

/* ===================================================================
   FOOTER CTA BANNER
   =================================================================== */
.footer-cta {
  background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
  padding: 72px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-cta::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
}

.footer-cta::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -40px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .03);
}

.footer-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.footer-cta p {
  color: rgba(255, 255, 255, .75);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.footer-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer {
  background: var(--neutral-900);
  color: rgba(255, 255, 255, .7);
  padding: 64px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  margin-bottom: 32px;
}

.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .6);
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .08);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: all var(--transition);
  color: rgba(255, 255, 255, .7);
}

.footer-social a:hover {
  background: var(--teal-600);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: .88rem;
  color: rgba(255, 255, 255, .6);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a::before {
  content: '→';
  color: var(--teal-400);
  font-size: .75rem;
}

.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .4);
  flex-wrap: wrap;
}

.footer-bottom a {
  color: rgba(255, 255, 255, .5);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--teal-400);
}

/* ===================================================================
   PAGE HERO (inner pages)
   =================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  padding: 72px 24px 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
}

.page-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, .7);
  transition: color var(--transition);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb .sep {
  opacity: .5;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .75);
  max-width: 560px;
}

/* ===================================================================
   PRIVACY PAGE
   =================================================================== */
.privacy-section {
  padding: 64px 24px;
}

.privacy-inner {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-inner h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--neutral-900);
  margin: 32px 0 12px;
}

.privacy-inner p {
  font-size: .95rem;
  color: var(--neutral-700);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* ===================================================================
   WHATSAPP FLOAT BUTTON
   =================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  color: var(--white);
  text-decoration: none;
  transition: all var(--transition);
  animation: wa-bounce 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37, 211, 102, .55);
}

@keyframes wa-bounce {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  }

  50% {
    box-shadow: 0 4px 32px rgba(37, 211, 102, .65);
  }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */

/* ── Intermediate: shrink nav spacing to avoid CTA wrapping ── */
@media (min-width: 1025px) and (max-width: 1150px) and (hover: hover) {
  .nav-inner {
    padding: 0 16px;
    justify-content: space-between;
    gap: 0;
  }

  .nav-links a {
    padding: 8px 12px;
    font-size: .85rem;
  }

  .nav-cta {
    padding: 9px 14px !important;
    font-size: .85rem !important;
    gap: 5px;
  }

  .nav-logo .logo-img {
    height: 44px;
    max-width: 180px;
  }
}

@media (max-width: 1024px),
(hover: none) and (pointer: coarse) {

  .nav-inner {
    justify-content: space-between;
    gap: 0;
  }

  /* ── Navbar: switch to hamburger ── */
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px 28px;
    gap: 6px;
    margin-left: 0;
    margin-right: 0;
    box-shadow: var(--shadow-md);
    border-bottom: 3px solid var(--teal-500);
    z-index: 999;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
    width: 100%;
  }


  .nav-cta {
    margin-top: 8px;
    justify-content: center;
  }

  .nav-hamburger {
    display: flex;
  }

  /* ── Layout tweaks ── */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-cards {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-badge {
    right: 0;
    bottom: -12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
  }

  .about-badge strong {
    font-size: 1.4rem;
  }

  .about-badge span {
    font-size: .72rem;
  }

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

  .team-cta-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .clinics-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .about-badge {
    padding: 10px 14px;
    bottom: -10px;
    right: 8px;
  }

  .about-badge strong {
    font-size: 1.1rem;
  }

  .about-badge span {
    font-size: .68rem;
  }

  .hero-inner {
    padding: 56px 0;
  }

  .hero-cards {
    grid-template-columns: 1fr;
  }

  .specialties-grid {
    grid-template-columns: 1fr;
  }

  .stats-inner {
    gap: 40px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  section {
    padding: 64px 24px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .footer-cta-actions {
    flex-direction: column;
    align-items: center;
  }
}

/* ===================================================================
   PAGE-SPECIFIC TWEAKS
   =================================================================== */
.highlight-bar {
  display: inline-block;
  position: relative;
}

.highlight-bar::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 8px;
  background: var(--teal-300);
  opacity: .4;
  z-index: -1;
  border-radius: 4px;
}

/* Fade in animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp .7s ease both;
}

.fade-in-delay-1 {
  animation-delay: .1s;
}

.fade-in-delay-2 {
  animation-delay: .2s;
}

.fade-in-delay-3 {
  animation-delay: .3s;
}

.fade-in-delay-4 {
  animation-delay: .4s;
}

/* ===================================================================
   LGPD COOKIE CONSENT
   =================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #e5e7eb;
  padding: 20px 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  font-family: var(--font-body);
}

.cookie-content p {
  font-size: 1rem;
  color: #1f2937;
  margin: 0;
  line-height: 1.5;
}

.cookie-content a {
  color: var(--teal-600);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.btn-cookie-config {
  background: var(--teal-600);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-cookie-accept {
  background: var(--teal-600);
  color: var(--white);
  border: none;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-cookie-config:hover,
.btn-cookie-accept:hover {
  background: var(--teal-700);
}

/* Cookie Modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.cookie-modal-content {
  position: relative;
  background: var(--white);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.cookie-modal-header {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--neutral-300);
}

.cookie-modal-header h2 {
  font-size: 1.15rem;
  color: #333;
  margin: 0;
}

.btn-close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #666;
}

.cookie-modal-body {
  padding: 20px;
  overflow-y: auto;
}

.cookie-modal-body p {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.5;
  margin-bottom: 10px;
}

.link-more {
  font-size: 0.85rem;
  color: #000;
  text-decoration: underline;
  display: block;
  margin-bottom: 20px;
}

.cookie-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-option {
  background: #f4f4f4;
  border-radius: 4px;
  padding: 12px 16px;
}

.option-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.option-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.option-title-wrap .arrow {
  color: #888;
  font-size: 0.8rem;
}

.option-header h3 {
  font-size: 0.95rem;
  margin: 0;
  color: #333;
  font-weight: 500;
}

.toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.toggle-label {
  font-size: 0.85rem;
  color: #333;
}

/* Switch */
.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .4s;
}

input:checked+.slider {
  background-color: #5ea83c;
}

input:disabled+.slider {
  opacity: 0.7;
  cursor: not-allowed;
}

input:checked+.slider:before {
  transform: translateX(20px);
}

.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}

.cookie-modal-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--neutral-300);
  display: flex;
  justify-content: flex-end;
}

.btn-cookie-save {
  background: #5ea83c;
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.btn-cookie-save:hover {
  background: #4d8a31;
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-actions {
    flex-direction: column;
  }
}


/* Accordion Additions */
.option-header {
  cursor: pointer;
}

.option-title-wrap .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.cookie-option.open .option-title-wrap .arrow {
  transform: rotate(90deg);
}

.option-description {
  margin-top: 10px;
  padding-left: 18px;
  border-top: 1px solid #e0e0e0;
  padding-top: 10px;
}

.option-description p {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
}