/* ============================================
   CLINICAC — STYLESHEET
   Desenvolvido por: Marcos Merencio
   ============================================ */

/* ---- DESIGN TOKENS ---- */
:root {
  /* Colors */
  --navy: #000000;
  /*#0d1b3e*/
  --navy-light: #152150;
  /*--teal: #2ec4b6;
  --teal-dark: #71AC89; /*#1a9e93*/
  --teal: #549d70;
  --teal-dark: #619b79;
  --teal-light: #e8f9f8;
  --blue-pale: #eef4fb;
  --grey-bg: #f4f7fa;
  --grey-mid: #e2e8f0;
  --text-dark: #0d1b3e;
  --text-body: #4a5568;
  --text-light: #718096;
  --white: #ffffff;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .06), 0 1px 2px rgba(0, 0, 0, .04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .08), 0 2px 4px rgba(0, 0, 0, .05);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, .10), 0 4px 10px rgba(0, 0, 0, .06);
  --shadow-xl: 0 20px 50px rgba(0, 0, 0, .12);
  --shadow-teal: 0 8px 25px rgba(46, 196, 182, .35);

  /* Typography */
  --font-base: 'Inter', system-ui, sans-serif;
  --font-display: 'MOntserrat', 'Inter', sans-serif;

  /* Transitions */
  --tr-fast: 0.18s ease;
  --tr-base: 0.30s ease;
  --tr-slow: 0.55s cubic-bezier(0.165, 0.84, 0.44, 1);

  /* Layout */
  --max-w: 1200px;
  --nav-h: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

/* ============================================
   POLÍTICA DE PRIVACIDADE
   ============================================ */
.privacy-page {
  min-height: 100vh;
  background: var(--grey-bg);
}

.privacy-header {
  background: var(--white);
  border-bottom: 1px solid var(--grey-mid);
  box-shadow: var(--shadow-sm);
}

.privacy-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 88px;
}

.privacy-header__back {
  color: var(--teal-dark);
  font-size: .9rem;
  font-weight: 700;
}

.privacy-header__back:hover {
  text-decoration: underline;
}

.privacy-main {
  padding: 64px 0 80px;
}

.privacy-document {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(28px, 5vw, 56px);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.privacy-document h1 {
  margin-bottom: 8px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
}

.privacy-updated {
  margin-bottom: 36px;
  color: var(--text-light);
  font-size: .88rem;
}

.privacy-document h2 {
  margin: 36px 0 12px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.3;
}

.privacy-document p,
.privacy-document li {
  font-size: .96rem;
}

.privacy-document p + p {
  margin-top: 12px;
}

.privacy-document ul {
  display: grid;
  gap: 8px;
  margin: 12px 0 0 22px;
  list-style: disc;
}

.privacy-document a {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-highlight {
  margin-top: 20px;
  padding: 18px 20px;
  border-left: 4px solid var(--teal);
  border-radius: var(--radius-sm);
  background: var(--teal-light);
}

.privacy-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, .82);
  background: var(--navy);
  font-size: .86rem;
  text-align: center;
}

@media (max-width: 600px) {
  .privacy-header__inner {
    min-height: 76px;
  }

  .privacy-header__inner img {
    width: 145px;
    height: auto;
  }

  .privacy-main {
    padding: 28px 0 48px;
  }

  .privacy-document {
    padding: 24px 16px;
    border-radius: var(--radius-lg);
  }

  .privacy-document h1 {
    font-size: clamp(1.3rem, 5.2vw, 1.75rem);
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-base);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ---- ACCESSIBILITY ---- */
:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- UTILITIES ---- */
.container {
  width: min(var(--max-w), 100% - 2 * clamp(1rem, 5vw, 2.5rem));
  margin-inline: auto;
}

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

ul {
  list-style: none;
}

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

address {
  font-style: normal;
}

/* ============================================
   NAVBAR
   ============================================ */
#site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 2000;
}

#navbar {
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--tr-base), height var(--tr-base);
}

#navbar.scrolled {
  height: 68px;
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo img {
  height: 54px;
  width: auto;
  transition: opacity var(--tr-fast), height var(--tr-base);
}

#navbar.scrolled .logo img {
  height: 48px;
}

.logo:hover img {
  opacity: .85;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: background var(--tr-fast), color var(--tr-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal);
}

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

/* Nav CTA Button */
.btn-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: var(--white) !important;
  padding: 11px 22px;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .02em;
  transition: background var(--tr-base), transform var(--tr-fast), box-shadow var(--tr-base);
  white-space: nowrap;
}

.btn-nav:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}

/* Hamburger */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  border-radius: var(--radius-sm);
  transition: background var(--tr-fast);
}

.mobile-menu-btn:hover {
  background: var(--grey-bg);
}

.bar {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

.mobile-menu-btn.open .bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-menu-btn.open .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open .bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  border: none;
  border-radius: 50px;
  padding: 15px 32px;
  transition: all var(--tr-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(13, 27, 62, .25);
}

.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-teal);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .6);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, .15);
  border-color: var(--white);
}

.btn-outline-teal {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.btn-outline-teal:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-teal {
  background: var(--teal);
  color: var(--white);
  box-shadow: var(--shadow-teal);
}

.btn-teal:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Link arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
  transition: gap var(--tr-fast), color var(--tr-fast);
}

.link-arrow:hover {
  gap: 12px;
  color: var(--teal);
}

.link-arrow.teal {
  color: var(--teal);
}

.link-arrow.teal:hover {
  color: var(--teal-dark);
}

.link-arrow.light {
  color: rgba(255, 255, 255, .8);
}

.link-arrow.light:hover {
  color: var(--white);
  gap: 12px;
}

/* Section header shared */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-eyebrow {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--teal);
  margin-bottom: 10px;
}

.section-eyebrow.light {
  color: rgba(46, 196, 182, .9);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 540px;
  margin-inline: auto;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 88vh;
  margin-top: var(--nav-h);
  background:
    url('../img/clinicac-fortaleza.jpg') center / cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(27, 31, 38, 0.88) 0%,
      rgba(27, 31, 38, 0.65) 50%,
      rgba(27, 31, 38, 0.15) 100%);
  z-index: 0;
}

/* subtle animated particles */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 600px at 80% 50%, rgba(46, 196, 182, 0.12) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 100px 80px;
}

.hero-content {
  max-width: 640px;
}

.hero-eyebrow {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--teal);
  margin-bottom: 18px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -.01em;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 40px;
  max-width: 500px;
}

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

/* ============================================
   BENEFITS BAR
   ============================================ */
.benefits {
  background: var(--white);
  padding: 0;
  position: relative;
  z-index: 10;
  margin-top: -1px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  box-shadow: var(--shadow-lg);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--grey-mid);
  border-top: none;
}

.benefit-card {
  display: flex;
  gap: 20px;
  padding: 36px 32px;
  background: var(--white);
  border-right: 1px solid var(--grey-mid);
  transition: background var(--tr-base);
}

.benefit-card:last-child {
  border-right: none;
}

.benefit-card:hover {
  background: var(--blue-pale);
}

.benefit-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.4rem;
  transition: background var(--tr-base), color var(--tr-base);
}

.benefit-card:hover .benefit-icon {
  background: var(--teal);
  color: var(--white);
}

.benefit-body h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.benefit-body p {
  font-size: .88rem;
  color: var(--text-light);
  margin-bottom: 12px;
  line-height: 1.6;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
  padding: 110px 0;
  background: var(--grey-bg);
  overflow: hidden;
}

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

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 28px;
}

.about-quote {
  border-left: 4px solid var(--teal);
  padding: 14px 20px;
  background: var(--white);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.about-quote p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.6;
}

.about-desc {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 36px;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px;
}

.about-signature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sig-group {
  display: flex;
  flex-direction: column;
}

.sig-name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
}

.sig-role {
  font-size: .78rem;
  color: var(--teal);
  font-weight: 600;
}

.sig-divider {
  font-size: 1.5rem;
  color: var(--grey-mid);
}

/* About Image */
.about-image {
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  inset: -16px -16px auto auto;
  width: 120px;
  height: 120px;
  background: var(--teal-light);
  border-radius: 50%;
  z-index: 0;
  opacity: .6;
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background: var(--navy);
  border-radius: 50%;
  opacity: .08;
  z-index: 0;
}

.about-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 620px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  transition: transform var(--tr-slow), box-shadow var(--tr-slow);
}

.about-image:hover img {
  transform: scale(1.04);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .18);
}

/* ============================================
   STATS BANNER
   ============================================ */
.stats-banner {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.stats-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 24px 16px;
}

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

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

.stat-label .fa-star {
  color: #ffd700;
  font-size: .8rem;
}

/* ============================================
   SERVICES / ESPECIALIDADES
   ============================================ */
.services-section {
  padding: 110px 0;
  background: var(--blue-pale);
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='0' cy='200' r='100' fill='%232ec4b6' fill-opacity='0.04'/%3E%3Ccircle cx='200' cy='0' r='80' fill='%230d1b3e' fill-opacity='0.03'/%3E%3C/svg%3E") no-repeat;
  background-size: cover;
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-mid);
  transition: all var(--tr-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--teal-light) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--tr-base);
  border-radius: inherit;
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.5rem;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  transition: background var(--tr-base), color var(--tr-base), transform var(--tr-base);
}

.service-card:hover .service-icon {
  background: var(--teal);
  color: var(--white);
  transform: scale(1.08);
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
  transition: color var(--tr-fast);
}

.service-card:hover h3 {
  color: var(--teal-dark);
}

.service-card p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.services-note {
  text-align: center;
  margin-top: 48px;
  font-size: .95rem;
  color: var(--text-body);
  position: relative;
  z-index: 1;
}

.services-note a {
  color: var(--teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--tr-fast);
}

.services-note a:hover {
  color: var(--teal-dark);
}

/* ============================================
   CTA BANNER (dark navy)
   ============================================ */
.cta-banner {
  padding: 100px 0;
  /* background: linear-gradient(135deg, var(--navy) 80%, var(--teal-dark) 20%); */
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46, 196, 182, .15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, .04) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.cta-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.cta-text>p {
  color: rgba(255, 255, 255, .75);
  margin-bottom: 32px;
  font-size: 1.02rem;
}

.cta-checks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .9);
  font-size: .95rem;
  font-weight: 500;
}

.cta-checks .fa-circle-check {
  color: var(--teal);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* CTA step cards */
.cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cta-step-card {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: background var(--tr-base), border-color var(--tr-base), transform var(--tr-base);
  position: relative;
}

.cta-step-card:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(46, 196, 182, .5);
  transform: translateY(-4px);
}

.cta-step-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, .08);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.cta-step-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(46, 196, 182, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 1.3rem;
  margin-bottom: 18px;
  transition: background var(--tr-fast);
}

.cta-step-card:hover .cta-step-icon {
  background: var(--teal);
  color: var(--white);
}

.cta-step-card h3 {
  font-size: .98rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-step-card p {
  font-size: .84rem;
  color: rgba(255, 255, 255, .65);
  margin-bottom: 16px;
  line-height: 1.6;
}

/* ============================================
   ABOUT SECTION — PALE BLUE BG
   ============================================ */
.about-section {
  padding: 110px 0;
  background: var(--blue-pale);
  overflow: hidden;
}

/* ============================================
   SERVICES SECTION — TEAL BG VARIANT
   ============================================ */
.services-section--teal {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 100%);
  position: relative;
}

.services-section--teal .section-header h2 {
  color: var(--white);
}

.services-section--teal .section-eyebrow.light {
  color: rgba(255, 255, 255, 0.9);
}

.services-section--teal .section-sub.light {
  color: rgba(255, 255, 255, 0.9);
}

.services-section--teal .services-note.light {
  color: var(--white);
}

.services-section--teal .services-note.light a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.services-section--teal .services-note.light a:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   SERVICES GRID — 4 COLUNAS
   ============================================ */
.services-grid--4 {
  grid-template-columns: repeat(4, 1fr) !important;
}

@media (max-width: 1024px) {
  .services-grid--4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .services-grid--4 {
    grid-template-columns: 1fr !important;
  }
}

.doctors-section {
  padding: 110px 0;
  background: var(--grey-bg);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

/* 2-col variant */
.doctors-grid--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 920px;
  margin-inline: auto;
  gap: 40px;
}

/* CRM / registro abaixo do nome */
.doctor-crm {
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: .05em;
  margin-top: -2px;
  margin-bottom: 6px;
}

.doctor-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--tr-base), box-shadow var(--tr-base);
  border: 1px solid var(--grey-mid);
}

.doctor-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.doctor-card--wide {
  grid-column: 3 / 4;
}

.doctor-photo {
  margin: 0;
  overflow: hidden;
}

.doctor-photo img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--tr-slow);
}

.doctor-card--wide .doctor-photo img {
  height: 280px;
  object-position: center;
}

/* Foto maior para o grid de 2 colunas */
.doctors-grid--2 .doctor-photo img {
  height: 480px;
}

.doctor-card:hover .doctor-photo img {
  transform: scale(1.05);
}

.doctor-info {
  padding: 28px;
}

.doctor-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.doctor-specialty {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}

.doctor-info p {
  font-size: .9rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-section {
  overflow: hidden;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 27, 62, .7), transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  opacity: 0;
  transition: opacity var(--tr-base);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ============================================
   INSURANCE / CONVÊNIOS
   ============================================ */
.insurance-section {
  padding: 90px 0;
  background: var(--white);
}

.insurance-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
}

.insurance-logo-item img {
  height: 55px;
  width: auto;
  filter: grayscale(1);
  opacity: .5;
  transition: filter var(--tr-base), opacity var(--tr-base), transform var(--tr-base);
}

.insurance-logo-item:hover img {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.08);
}

.insurance-particular {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border: 2px dashed var(--grey-mid);
  border-radius: var(--radius-md);
  color: var(--text-light);
  transition: border-color var(--tr-base), color var(--tr-base);
}

.insurance-particular:hover {
  border-color: var(--teal);
  color: var(--teal);
}

.insurance-particular i {
  font-size: 2rem;
}

.insurance-particular span {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ============================================
   CONTACT / AGENDAMENTO
   ============================================ */
.contact-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.06' fill-rule='evenodd'/%3E%3C/svg%3E");
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr .8fr;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Form */
.contact-form-wrapper {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-xl);
}

/* Popup de feedback do formulário */
.form-alert {
  position: absolute;
  z-index: 10;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: min(520px, calc(100% - 48px));
  margin: 0;
  padding: 14px 14px 14px 16px;
  border: 1px solid;
  border-radius: var(--radius-md);
  box-shadow: 0 14px 36px rgba(15, 35, 64, .22);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
  animation: formAlertIn .25s ease both;
}

.form-alert--error {
  color: #991b1b;
  background: #fff;
  border-color: rgba(220, 38, 38, .3);
}

.form-alert--success {
  color: #147d75;
  background: #fff;
  border-color: rgba(46, 196, 182, .45);
}

.form-alert__icon {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--white);
  font-size: .85rem;
}

.form-alert--error .form-alert__icon {
  background: #dc2626;
}

.form-alert--success .form-alert__icon {
  background: var(--teal);
}

.form-alert__close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: currentColor;
  background: transparent;
  cursor: pointer;
  opacity: .65;
  transition: opacity var(--tr-fast), background var(--tr-fast);
}

.form-alert__close:hover,
.form-alert__close:focus-visible {
  opacity: 1;
  background: rgba(15, 35, 64, .07);
  outline: none;
}

@keyframes formAlertIn {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 12px));
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.contact-form-wrapper h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-form-wrapper>p {
  font-size: .92rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Nome (3fr) + CPF (2fr) — nome ligeiramente maior */
.form-row--nome-cpf {
  grid-template-columns: 3fr 2fr;
}

/* Telefone + Convênio + Especialidade, com prioridade para o texto da especialidade */
.form-row--tel-esp-convenio {
  grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1.85fr);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: .84rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group label span {
  color: var(--teal);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-base);
  font-size: .92rem;
  color: var(--text-dark);
  background: var(--grey-bg);
  border: 1.5px solid var(--grey-mid);
  border-radius: 50px;
  padding: 14px 20px;
  width: 100%;
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast), background var(--tr-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-group textarea {
  border-radius: var(--radius-md);
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(46, 196, 182, .15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-privacy-notice {
  margin: -4px 0 16px;
  color: var(--text-light);
  font-size: .78rem;
  line-height: 1.5;
  text-align: center;
}

.form-privacy-notice a {
  color: var(--teal-dark);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Campo obrigatório não preenchido */
.form-group input.field-error,
.form-group select.field-error,
.form-group textarea.field-error {
  border-color: #dc2626;
  background: rgba(220, 38, 38, .04);
  box-shadow: 0 0 0 4px rgba(220, 38, 38, .12);
  animation: shakeField .4s ease;
}

@keyframes shakeField {

  0%,
  100% {
    transform: translateX(0);
  }

  20% {
    transform: translateX(-6px);
  }

  40% {
    transform: translateX(6px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(4px);
  }
}

/* Contact Info */
.contact-info {
  color: var(--white);
  padding-top: 12px;
}

.contact-info h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 32px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-list i {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .6);
  margin-top: 3px;
  flex-shrink: 0;
  width: 20px;
  text-align: center;
}

.contact-list strong {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 4px;
}

.contact-list span,
.contact-list a {
  font-size: .97rem;
  color: var(--white);
  font-weight: 500;
  transition: opacity var(--tr-fast);
}

.contact-list a:hover {
  opacity: .8;
}

.contact-social p {
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 16px;
}

/* Social buttons */
.social-links {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--tr-base);
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .2);
}

.social-btn:hover {
  background: var(--white);
  color: var(--teal);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}

/* ============================================
   MAP
   ============================================ */
.map-section {
  line-height: 0;
  overflow: hidden;
}

.map-section iframe {
  width: 100%;
  height: 460px;
  border: none;
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .75);
  padding-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
}

.footer-brand img {
  margin-bottom: 16px;
  /* logo mantém cores originais no footer */
}

.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-brand-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 0;
  color: rgba(255, 255, 255, .75);
}

.site-footer .footer-address-title {
  margin-top: 32px;
}

.footer-brand-address i {
  flex-shrink: 0;
  margin-top: 5px;
  color: var(--teal);
}

.footer-brand .social-btn {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .12);
}

.site-footer h4 {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 20px;
}

.footer-nav ul,
.footer-specialties ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: .9rem;
  color: rgba(255, 255, 255, .7);
  transition: color var(--tr-fast), padding-left var(--tr-fast);
}

.footer-nav a:hover {
  color: var(--teal);
  padding-left: 6px;
}

.footer-specialties li {
  font-size: .9rem;
  color: rgba(255, 255, 255, .6);
  position: relative;
  padding-left: 14px;
}

.footer-specialties li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--teal);
}

.footer-contact p {
  font-size: .88rem;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.footer-contact i {
  color: var(--teal);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact a {
  color: rgba(255, 255, 255, .75);
  transition: color var(--tr-fast);
}

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

.site-footer .footer-hours-title {
  margin-top: 48px;
}

.footer-hours {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .88rem;
  line-height: 1.5;
}

.footer-hours i {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--teal);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 24px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p {
  font-size: .82rem;
  color: rgba(255, 255, 255, .4);
}

.footer-bottom a {
  color: inherit;
  transition: color var(--tr-fast);
}

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

/* ============================================
   FLOATING ELEMENTS
   ============================================ */
/* WhatsApp Float */
.wa-float {
  position: fixed;
  left: 28px;
  bottom: 28px;
  z-index: 800;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 6px 24px rgba(37, 211, 102, .45);
  transition: transform var(--tr-base), box-shadow var(--tr-base);
}

.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 30px rgba(37, 211, 102, .55);
}

.wa-float-tooltip {
  position: absolute;
  left: 70px;
  background: var(--navy);
  color: var(--white);
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 50px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--tr-fast), transform var(--tr-fast);
  box-shadow: var(--shadow-md);
}

.wa-float:hover .wa-float-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* Back to top */
.btn-topo {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 800;
  width: 50px;
  height: 50px;
  background: var(--teal-light);
  color: var(--teal-dark);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-lg);
  transition: background var(--tr-fast), transform var(--tr-fast), opacity var(--tr-base);
  opacity: 0;
}

.btn-topo:not([hidden]) {
  opacity: 1;
}

.btn-topo i {
  -webkit-text-stroke: .6px currentColor;
}

.btn-topo:hover {
  background: var(--blue-pale);
  color: var(--navy);
  transform: translateY(-3px);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

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

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulseWa {

  0%,
  100% {
    box-shadow: 0 6px 24px rgba(37, 211, 102, .45);
  }

  50% {
    box-shadow: 0 6px 40px rgba(37, 211, 102, .7);
  }
}

@keyframes mapSkeleton {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.wa-float {
  animation: pulseWa 2.5s ease-in-out infinite;
}

.wa-float:hover {
  animation: none;
}

/* Scroll-triggered reveal */
[data-animate] {
  opacity: 0;
  will-change: opacity, transform;
}

[data-animate="fadeInUp"] {
  transform: translateY(28px);
}

[data-animate="fadeInLeft"] {
  transform: translateX(-28px);
}

[data-animate="fadeInRight"] {
  transform: translateX(28px);
}

[data-animate="scaleIn"] {
  transform: scale(0.93);
}

[data-animate].visible {
  animation-fill-mode: both;
  animation-duration: 0.75s;
  animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
}

[data-animate="fadeInUp"].visible {
  animation-name: fadeInUp;
}

[data-animate="fadeInLeft"].visible {
  animation-name: fadeInLeft;
}

[data-animate="fadeInRight"].visible {
  animation-name: fadeInRight;
}

[data-animate="scaleIn"].visible {
  animation-name: scaleIn;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================
   RESPONSIVE — 1200px
   ============================================ */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ============================================
   RESPONSIVE — 1024px
   ============================================ */
@media (max-width: 1100px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image {
    order: -1;
  }

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

  .cta-cards {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .doctor-card--wide {
    grid-column: 1 / -1;
  }

  .doctor-card--wide .doctor-photo img {
    height: 320px;
  }

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

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

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

  .contact-info {
    color: var(--white);
  }
}

/* ============================================
   RESPONSIVE — 768px  (Tablet/Mobile)
   ============================================ */
@media (max-width: 768px) {
  :root {
    --nav-h: 68px;
  }

  /* Navbar Mobile */
  .mobile-menu-btn {
    display: flex;
    position: relative;
    z-index: 1000;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h, 68px);
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100vh - var(--nav-h, 68px));
    background: #ffffff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 20px 24px 32px;
    gap: 0;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15);
    z-index: 2001;
    overflow-y: auto;
    border-bottom: 3px solid var(--teal);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links li {
    width: 100%;
    display: block;
  }

  .nav-link {
    display: flex;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    padding: 16px 8px;
    width: 100%;
    border-radius: 0;
    border-bottom: 1px solid var(--grey-mid);
    transition: color var(--tr-fast), padding-left var(--tr-fast);
  }

  .nav-link:hover,
  .nav-link.active {
    color: var(--teal);
    padding-left: 12px;
  }

  .nav-link::after {
    display: none;
  }

  .btn-nav {
    margin-top: 24px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px 24px;
    font-size: 1rem;
    border-radius: 50px;
  }

  /* Hero */
  .hero {
    min-height: 100svh;
    align-items: flex-end;
    padding-bottom: 60px;
  }

  .hero-inner {
    padding-top: 100px;
  }

  .hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  /* Benefits */
  .benefits-grid {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
  }

  .benefit-card {
    border-right: none;
    border-bottom: 1px solid var(--grey-mid);
  }

  .benefit-card:last-child {
    border-bottom: none;
  }

  /* About */
  .about-section {
    padding: 80px 0;
  }

  .about-image::before,
  .about-image::after {
    display: none;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Services */
  .services-section {
    padding: 80px 0;
  }

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

  /* CTA */
  .cta-cards {
    grid-template-columns: 1fr;
  }

  /* Doctors */
  .doctors-section {
    padding: 80px 0;
  }

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

  .doctors-grid--2 {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .doctor-card--wide {
    grid-column: 1;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Insurance */
  .insurance-logos {
    gap: 40px;
  }

  /* Contact */
  .contact-section {
    padding: 80px 0;
  }

  .contact-form-wrapper {
    padding: 32px 24px;
  }

  /* Formulário — stacks e reordena no mobile */
  .form-row,
  .form-row--nome-cpf {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  /* No mobile: Telefone, Convênio e Especialidade */
  .form-group--telefone {
    order: 1;
  }

  .form-group--convenio {
    order: 2;
  }

  .form-group--especialidade {
    order: 3;
  }

  /* Footer — colapsa para 1 coluna centralizada no mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand .social-links {
    justify-content: center;
  }

  .footer-brand .footer-brand-address {
    margin-bottom: 0;
  }

  /* Links Rápidos — 2 colunas no mobile */
  .footer-nav ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
    align-items: center;
    justify-items: center;
  }

  /* Contato — telefone e WhatsApp lado a lado */
  .footer-contact address {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-contact-phones {
    display: flex;
    flex-direction: row;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
  }

  .footer-contact-phones p {
    margin-bottom: 0;
  }

  .footer-contact p {
    justify-content: center;
  }

  .footer-contact .footer-hours {
    margin-bottom: 0;
  }

  /* Especialidades — 2 colunas (3 linhas + 2 linhas) no mobile */
  .footer-specialties ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
    justify-items: center;
    align-items: start;
  }

  .footer-specialties li {
    padding-left: 0;
  }

  .footer-specialties li::before {
    content: none;
  }

  .footer-specialties li {
    padding-left: 0;
    justify-content: center;
    width: 100%;
    text-align: center;
  }

  .footer-specialties li::before {
    position: static;
    margin-right: 6px;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .section-header {
    margin-bottom: 48px;
  }
}

/* ============================================
   RESPONSIVE — 480px
   ============================================ */
@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

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

  .hero-actions .btn {
    justify-content: center;
  }

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

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

  .insurance-logos {
    gap: 28px;
  }

  .contact-form-wrapper {
    padding: 28px 18px;
  }
}
