/* =========================================================
   Consultório Dentário Dra Hilay Carvalho — estilos
   ========================================================= */

:root {
  --teal: #1A9BB0;
  --teal-dark: #0E4F5C;
  --teal-soft: #D6EEF2;
  --sky: #CFE3EC;
  --ink: #111111;
  --muted: #8A8F94;
  --faint: #C9CDD1;
  --line: #E7EAEC;
  --bg: #FFFFFF;
  --bg-soft: #F5F7F8;

  --radius-lg: 32px;
  --radius: 24px;
  --radius-sm: 16px;
  --pill: 999px;

  --shadow-sm: 0 2px 10px rgba(17, 17, 17, .04);
  --shadow: 0 18px 50px -18px rgba(14, 79, 92, .22);
  --shadow-lg: 0 30px 80px -24px rgba(14, 79, 92, .35);

  --gutter: clamp(20px, 4.2vw, 64px);
  --hero-gap: clamp(10px, 1.4vw, 20px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
figure { margin: 0; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg { width: 1em; height: 1em; flex-shrink: 0; }
::selection { background: var(--teal); color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }

/* ---------- Tipografia ---------- */
.h2 {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -.035em;
}
.tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: 13px;
  color: var(--ink);
  background: #fff;
  margin-bottom: 22px;
}

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 19px; letter-spacing: -.02em; color: #fff; }
.logo__icon { width: 24px; height: 24px; }
.logo--dark { color: var(--ink); }
.logo--dark .logo__icon { color: var(--teal); }

/* ---------- Botões ---------- */
.btn {
  --h: 52px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: var(--h);
  padding: 0 7px 0 22px;
  border-radius: var(--pill);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
  will-change: transform;
}
.btn:not(:has(.btn__circle)) { padding: 0 24px; }
.btn--sm { --h: 42px; font-size: 14px; }
.btn--white { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn--white:hover { box-shadow: 0 10px 30px -10px rgba(0,0,0,.35); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-dark); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--teal-dark); }
.btn--outline { border: 1px solid var(--line); background: #fff; }
.btn--outline:hover { border-color: var(--ink); }

.btn__circle {
  display: grid;
  place-items: center;
  width: calc(var(--h) - 12px);
  height: calc(var(--h) - 12px);
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  overflow: hidden;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.btn__circle svg { width: 18px; height: 18px; transition: transform .45s var(--ease); }
.btn__circle--white { background: #fff; color: var(--teal); }
.btn:hover .btn__circle { background: var(--teal-dark); color: #fff; }
.btn--dark:hover .btn__circle { background: #fff; color: var(--teal-dark); }
.btn--teal:hover .btn__circle--white { background: #fff; color: var(--teal-dark); }
.btn:hover .btn__circle svg { animation: arrow-slide .5s var(--ease); }
@keyframes arrow-slide {
  0% { transform: translateX(0); }
  45% { transform: translateX(140%); }
  46% { transform: translateX(-140%); }
  100% { transform: translateX(0); }
}

/* ---------- Glass ---------- */
.glass {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .22);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  color: #fff;
}

/* =========================================================
   PRELOADER
   ========================================================= */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background: var(--bg);
}
.preloader__inner { display: grid; justify-items: center; gap: 22px; }
.preloader .logo { font-size: 22px; }
.preloader__bar { width: 180px; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; width: 100%; background: var(--teal); transform-origin: left; transform: scaleX(0); }
.no-js .preloader { display: none; }

/* =========================================================
   CURSOR
   ========================================================= */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 300;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--teal);
  pointer-events: none;
  opacity: 0;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s var(--ease), border-color .35s, opacity .3s;
  border: 1.5px solid transparent;
}
.cursor.is-visible { opacity: 1; }
.cursor.is-hover { width: 54px; height: 54px; margin: -27px 0 0 -27px; background: rgba(26, 155, 176, .14); border-color: var(--teal); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
  position: fixed;
  top: calc(var(--hero-gap) + 18px);
  left: calc(var(--hero-gap) + clamp(16px, 2.4vw, 32px));
  right: calc(var(--hero-gap) + clamp(16px, 2.4vw, 32px));
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 10px 10px 14px;
  border-radius: var(--pill);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), top .5s var(--ease), left .5s var(--ease), right .5s var(--ease), border-color .5s;
  border: 1px solid transparent;
}
.nav__menu { display: flex; gap: 6px; }
.nav__pill {
  padding: 9px 16px;
  border-radius: var(--pill);
  font-size: 13.5px;
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.nav__pill:hover { background: rgba(255,255,255,.26); color: #fff; }
.nav__pill.is-active { background: #fff; color: var(--ink); border-color: #fff; }

.nav__burger { display: none; width: 46px; height: 46px; border-radius: 50%; background: #fff; position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 1.6px; background: var(--ink); transition: transform .45s var(--ease), top .45s var(--ease); }
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 26px; }
.menu-open .nav__burger span:first-child { top: 22.5px; transform: rotate(45deg); }
.menu-open .nav__burger span:last-child { top: 22.5px; transform: rotate(-45deg); }

/* Navbar depois da hero */
.nav.is-scrolled {
  top: 12px;
  left: max(12px, calc(50% - 640px));
  right: max(12px, calc(50% - 640px));
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-color: rgba(17,17,17,.06);
  box-shadow: 0 10px 40px -18px rgba(14,79,92,.28);
}
.nav.is-scrolled .logo { color: var(--ink); }
.nav.is-scrolled .logo__icon { color: var(--teal); }
.nav.is-scrolled .nav__pill { color: var(--ink); background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav.is-scrolled .nav__pill:hover { background: var(--bg-soft); }
.nav.is-scrolled .nav__pill.is-active { background: var(--ink); color: #fff; }
.nav.is-scrolled .nav__cta { background: var(--teal); color: #fff; }
.nav.is-scrolled .nav__burger { background: var(--bg-soft); }
.menu-open .nav .logo { color: var(--ink); }
.menu-open .nav .logo__icon { color: var(--teal); }

/* =========================================================
   MENU MOBILE
   ========================================================= */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 120px var(--gutter) 40px;
  background: #fff;
  clip-path: circle(0% at calc(100% - 45px) 45px);
  visibility: hidden;
}
.mobile-menu__links { display: grid; gap: 4px; }
.mobile-menu__links a { display: block; overflow: hidden; font-size: clamp(38px, 11vw, 64px); font-weight: 500; letter-spacing: -.04em; line-height: 1.15; }
.mobile-menu__links a span { display: inline-block; }
.mobile-menu__foot { display: grid; gap: 10px; color: var(--muted); }
.mobile-menu__foot .btn { justify-self: start; margin-top: 12px; }

/* =========================================================
   1. HERO
   ========================================================= */
.hero-wrap { padding: var(--hero-gap); }
.hero {
  position: relative;
  min-height: calc(100vh - var(--hero-gap) * 2);
  min-height: calc(100svh - var(--hero-gap) * 2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: #fff;
  background: var(--teal-dark) url("../assets/img/hero-poster.jpg") center / cover no-repeat;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 0 clamp(20px, 3vw, 44px);
  transform-origin: 50% 0;
  will-change: transform;
  isolation: isolate;
}
.hero__media { position: absolute; inset: -8% 0 0; z-index: -2; }
.hero__video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.32) 38%, rgba(0,0,0,0) 70%),
    linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 62%, rgba(0,0,0,.45) 100%);
}

.hero__content { align-self: center; padding-top: 110px; padding-bottom: clamp(200px, 30vh, 280px); max-width: 760px; }
.hero__title {
  font-size: clamp(42px, min(6.2vw, 10vh), 96px);
  white-space: nowrap;
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -.045em;
  margin-bottom: 26px;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--indent { padding-left: 1.45em; }
.hero__sub { max-width: 400px; font-size: 14.5px; line-height: 1.65; color: rgba(255,255,255,.82); margin-bottom: 30px; }

/* Card flutuante */
.hero-card {
  position: absolute;
  left: clamp(20px, 3vw, 44px);
  bottom: 86px;
  width: 228px;
  padding: 8px 8px 12px;
  border-radius: 20px;
  transition: transform .5s var(--ease), background .4s;
}
.hero-card:hover { background: rgba(255,255,255,.2); transform: translateY(-4px); }
.hero-card::before { /* pequeno “puxador” como na referência */
  content: ""; position: absolute; top: -9px; left: 16px;
  width: 42px; height: 5px; border-radius: 5px; background: rgba(255,255,255,.55);
}
.hero-card__thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; }
.hero-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.hero-card__thumb:hover img { transform: scale(1.08); }
.hero-card__play {
  position: absolute; inset: 0; margin: auto;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.28); border: 1px solid rgba(255,255,255,.5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: #fff;
}
.hero-card__play svg { width: 16px; height: 16px; margin-left: 2px; }
.hero-card__text { font-size: 14px; line-height: 1.35; margin: 12px 6px 10px; min-height: 2.7em; }
.hero-card__foot { display: flex; justify-content: space-between; align-items: center; margin: 0 6px; font-size: 12.5px; }
.hero-card__arrow { width: 16px; height: 16px; opacity: .8; }

.rating { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; }
.rating svg { color: #F5B82E; width: 14px; height: 14px; }
.rating em { font-style: normal; opacity: .75; }
.rating--dark em { color: var(--muted); opacity: 1; }

/* Chips */
.hero__chips {
  position: absolute;
  right: clamp(20px, 3vw, 44px);
  bottom: 96px;
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px;
  max-width: 400px;
}
.chip {
  display: inline-block;
  padding: 9px 16px;
  border-radius: var(--pill);
  font-size: 13px;
  white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.chip:hover, .chip.is-light { background: #fff; color: var(--ink); border-color: #fff; }

/* Barra inferior */
.hero__bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 0 26px;
  font-size: 12.5px;
  color: rgba(255,255,255,.85);
}
.hero__bar-left { position: relative; padding-top: 0; }
.hero__bar::before {
  content: ""; position: absolute; top: 0; left: 0; width: 30%; height: 1px; background: rgba(255,255,255,.35);
}
.hero__pager { display: inline-flex; align-items: center; gap: 16px; }
.hero__pager button { opacity: .7; font-size: 12.5px; transition: opacity .3s; }
.hero__pager button:hover { opacity: 1; }
.hero__pager strong { font-weight: 500; color: #fff; }
.hero__scroll { justify-self: end; margin-right: 70px; }
.hero__scroll:hover { color: #fff; }

/* =========================================================
   2. PROCESSO
   ========================================================= */
.process { padding-top: 28px; padding-bottom: 20px; }
.process__row { display: flex; align-items: center; gap: 10px; font-size: 13px; white-space: nowrap; }
.process__ticks {
  flex: 1;
  min-width: 20px;
  height: 14px;
  background: repeating-linear-gradient(90deg, #C5CACE 0 1px, transparent 1px 4px);
  transform-origin: left center;
}
.process__step { color: var(--ink); }

/* =========================================================
   3. SOBRE NÓS
   ========================================================= */
.about {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 40px;
  padding-top: clamp(70px, 9vw, 120px);
  padding-bottom: clamp(60px, 8vw, 100px);
}
.about__photos { display: flex; gap: 12px; margin-top: 36px; }
.about__photo { width: 88px; aspect-ratio: 5 / 6; border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text {
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -.03em;
  padding-top: 50px;
}
.about__text .word { color: var(--faint); }
.about__text .word.is-static { color: var(--ink); }
.no-js .about__text .word { color: var(--ink); }

/* =========================================================
   4. ESTATÍSTICAS
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
  padding-bottom: clamp(90px, 11vw, 150px);
}
.stats__label { font-size: 13px; color: var(--ink); margin-bottom: 26px; }
.stats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stat strong { display: block; font-size: clamp(40px, 4.2vw, 60px); font-weight: 500; letter-spacing: -.04em; line-height: 1; margin-bottom: 14px; }
.stat strong sup { font-size: .45em; vertical-align: super; color: var(--teal); }
.stat > span { font-size: 13px; color: var(--muted); }
.stats__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1; width: 100%; justify-self: end; max-width: 360px; }

.parallax { overflow: hidden; }
.parallax img { width: 100%; height: 118%; object-fit: cover; will-change: transform; }

/* =========================================================
   5. SERVIÇOS
   ========================================================= */
.services { background: var(--bg-soft); padding: clamp(80px, 10vw, 130px) 0; border-radius: var(--radius-lg); margin: 0 var(--hero-gap); }
.section-head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 48px; }
.services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-card {
  display: flex; flex-direction: column;
  padding: 26px 24px 24px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card__icon {
  display: grid; place-items: center;
  width: 50px; height: 50px; border-radius: 16px;
  background: var(--teal-soft); color: var(--teal-dark);
  margin-bottom: 34px;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card:hover .service-card__icon { background: var(--teal); color: #fff; }
.service-card h3 { font-size: 18px; font-weight: 500; letter-spacing: -.02em; margin-bottom: 8px; }
.service-card p { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 22px; }
.service-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: var(--teal-dark); }
.service-card__link svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.service-card__link:hover svg { transform: translateX(5px); }

/* =========================================================
   6 + 7. DESTAQUE + DOUTORA
   ========================================================= */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  padding-top: clamp(90px, 11vw, 150px);
  padding-bottom: clamp(90px, 11vw, 150px);
}
.feature__left { display: flex; flex-direction: column; align-items: flex-start; }
.feature__left .h2 { max-width: 480px; }
.feature__text { max-width: 420px; font-size: 14.5px; color: var(--muted); margin-top: 20px; }

.doctor { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: auto; padding-top: 70px; width: 100%; }
.doctor__photo { position: relative; border-radius: var(--radius); background: var(--sky); aspect-ratio: 4 / 5; }
.doctor__photo img { object-position: center top; }
.doctor__avatar {
  position: absolute; top: 12px; right: 12px;
  width: 58px; height: 64px; border-radius: 12px; overflow: hidden;
  border: 2px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow-sm);
}
.doctor__avatar img { width: 100%; height: 100%; object-fit: cover; }
.doctor__info { display: flex; flex-direction: column; align-items: flex-start; padding-top: 6px; }
.doctor__info h3 { font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; letter-spacing: -.03em; }
.doctor__role { font-size: 13px; color: var(--muted); margin: 4px 0 18px; }
.doctor__bio { font-size: 14px; color: var(--muted); margin: auto 0 22px; padding-top: 30px; }

.feature__right { position: relative; }
.feature__img { border-radius: var(--radius-lg); height: 100%; min-height: 560px; background: var(--bg-soft); }
.metrics {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  padding: 22px 22px 20px;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.metrics__row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.metrics__sep { width: 1px; background: var(--line); }
.metrics__right { text-align: right; }
.metrics__label { font-size: 11.5px; line-height: 1.35; color: var(--muted); margin-bottom: 10px; }
.metrics__value { font-size: 30px; font-weight: 500; letter-spacing: -.03em; line-height: 1; }
.metrics__value small { font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.metrics__progress-head { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-bottom: 10px; }
.metrics__progress-head strong { color: var(--ink); font-weight: 500; }
.segments { display: flex; gap: 3px; height: 26px; }
.segments i { flex: 1; border-radius: 3px; background: #E3F1F4; transform-origin: bottom; }
.segments i.is-on { background: linear-gradient(180deg, #33B6CB, var(--teal)); }

/* =========================================================
   8. TESTEMUNHOS
   ========================================================= */
.testimonials { padding-bottom: clamp(90px, 11vw, 140px); overflow: hidden; }
.testimonials__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 40px; }
.arrows { display: flex; gap: 10px; }
.arrow {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line);
  transition: transform .4s var(--ease), background .3s, border-color .3s;
}
.arrow svg { width: 18px; height: 18px; }
.arrow:hover { transform: scale(1.08); border-color: var(--ink); }
.arrow--teal { background: var(--teal); border-color: var(--teal); color: #fff; }
.arrow--teal:hover { background: var(--teal-dark); border-color: var(--teal-dark); }

.carousel { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: max(var(--gutter), calc((100vw - 1360px) / 2 + var(--gutter))); }
.carousel::-webkit-scrollbar { display: none; }
.carousel__track {
  display: flex; gap: 16px;
  padding-inline: max(var(--gutter), calc((100vw - 1360px) / 2 + var(--gutter)));
  width: max-content;
  padding-bottom: 20px;
}
.t-stat, .t-card { scroll-snap-align: start; flex-shrink: 0; }
.t-stat {
  width: 260px;
  display: flex; flex-direction: column;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.t-stat__value { font-size: 52px; font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.t-stat__label { font-size: 12.5px; color: var(--muted); margin-top: 10px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 170px; margin-top: auto; padding-top: 30px; }
.bars__col { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 8px; }
.bars__col span { width: 100%; height: calc(var(--h) * 100%); border-radius: 999px; background: #CDEAF0; transform-origin: bottom; }
.bars__col.is-active span { background: linear-gradient(180deg, #45C1D4, var(--teal)); }
.bars__col em { font-style: normal; font-size: 11px; color: var(--muted); }

.t-card {
  width: 340px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.t-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.t-card__img { aspect-ratio: 16 / 11; overflow: hidden; margin: 8px; border-radius: 18px; }
.t-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.t-card:hover .t-card__img img { transform: scale(1.06); }
.t-card__body { padding: 12px 22px 24px; }
.stars { color: #F5B82E; font-size: 14px; letter-spacing: 2px; margin-bottom: 10px; }
.t-card__body p { font-size: 15px; line-height: 1.5; letter-spacing: -.01em; margin-bottom: 16px; }
.t-card__name { font-size: 13px; font-weight: 500; }
.t-card__name em { font-style: normal; font-weight: 400; color: var(--muted); }

/* =========================================================
   9. BLOG
   ========================================================= */
.blog { padding-bottom: clamp(90px, 11vw, 140px); }
.blog__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post {
  display: flex; flex-direction: column;
  padding: 8px 8px 20px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s;
}
.post:hover { transform: translateY(-8px); box-shadow: var(--shadow); background: #fff; }
.post__img { position: relative; aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post__img img { transform: scale(1.06); }
.post__tag {
  position: absolute; top: 12px; left: 12px;
  padding: 5px 11px; border-radius: var(--pill);
  font-size: 11.5px; background: rgba(255,255,255,.85);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.post__meta { display: flex; justify-content: space-between; align-items: center; margin: 16px 12px 12px; font-size: 11.5px; color: var(--muted); }
.post__author { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 500; }
.post__author img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.post__author em { display: block; font-style: normal; font-weight: 400; color: var(--muted); }
.post h3 { font-size: 17px; font-weight: 500; line-height: 1.3; letter-spacing: -.02em; margin: 0 12px 16px; }
.post__more { margin: auto 12px 0; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; align-self: flex-start; }
.post__more svg { width: 15px; height: 15px; color: var(--teal); transition: transform .4s var(--ease); }
.post__more:hover svg { transform: translateX(4px); }

/* =========================================================
   10. CONTACTO
   ========================================================= */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(30px, 5vw, 80px);
  padding-bottom: clamp(90px, 11vw, 140px);
}
.contact__left { display: flex; flex-direction: column; align-items: flex-start; }
.contact__list { display: grid; gap: 18px; margin: 40px 0 36px; width: 100%; }
.contact__list li { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--teal-soft); color: var(--teal-dark); flex-shrink: 0; }
.contact__icon svg { width: 20px; height: 20px; }
.contact__list small { display: block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.contact__list p { font-size: 15.5px; line-height: 1.45; }
.contact__list a:hover { color: var(--teal); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.contact__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; background: var(--bg-soft); box-shadow: var(--shadow-sm); }
.contact__map iframe { width: 100%; height: 100%; min-height: 460px; border: 0; filter: grayscale(.35) contrast(1.05); }

/* =========================================================
   11. FOOTER
   ========================================================= */
.footer { position: relative; background: var(--bg-soft); border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; padding-top: clamp(70px, 9vw, 110px); }
.footer__top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; position: relative; z-index: 1; }
.footer__news > p { font-size: 14px; color: var(--muted); max-width: 320px; margin: 22px 0 18px; }
.newsletter {
  display: flex; align-items: center; gap: 10px;
  max-width: 420px;
  padding: 6px 6px 6px 18px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--pill);
  transition: border-color .3s, box-shadow .3s;
}
.newsletter:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(26,155,176,.12); }
.newsletter > svg { color: var(--muted); width: 18px; height: 18px; }
.newsletter input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 14px; background: transparent; color: var(--ink); }
.newsletter__msg { font-size: 13px; color: var(--teal-dark); margin-top: 10px; min-height: 1.4em; }

.footer__contact { display: flex; flex-direction: column; align-items: flex-start; }
.footer__contact small { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.footer__big { font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; letter-spacing: -.03em; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1.5px; margin: 10px 0 6px; transition: color .3s; }
.footer__big:hover { color: var(--teal); }
.footer__ig { font-size: 15px; color: var(--muted); }
.footer__ig:hover { color: var(--teal); }
.footer__follow { margin-top: 26px; }
.socials { display: flex; gap: 8px; margin-top: 10px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--line); transition: background .3s, color .3s, transform .4s var(--ease); }
.socials a svg { width: 18px; height: 18px; }
.socials a:hover { background: var(--teal); color: #fff; border-color: var(--teal); transform: translateY(-3px); }

.footer__giant {
  position: relative;
  text-align: center;
  line-height: .78;
  margin-top: clamp(20px, 4vw, 60px);
  pointer-events: none;
  user-select: none;
}
.footer__giant span {
  display: inline-block;
  font-size: clamp(120px, 30vw, 460px);
  font-weight: 600;
  letter-spacing: -.07em;
  color: #E6EAEC;
  will-change: transform;
}
.footer__bottom {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 20px; padding-bottom: 26px;
  font-size: 12px; color: var(--muted);
  border-top: 1px solid rgba(17,17,17,.06);
}
.footer__bottom div { display: flex; gap: 22px; }
.footer__bottom a:hover { color: var(--ink); }

/* =========================================================
   WHATSAPP FLUTUANTE
   ========================================================= */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  display: grid; place-items: center;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7);
  transition: transform .4s var(--ease);
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float::before, .wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulse 2.4s var(--ease) infinite;
}
.wa-float::after { animation-delay: 1.2s; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { transform: scale(1); opacity: .7; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* =========================================================
   MODAL
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .4s var(--ease), visibility .4s; }
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 30, 36, .6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.modal__box {
  position: relative;
  width: min(760px, 100%);
  max-height: 88vh; overflow: auto;
  background: #fff; border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  transform: translateY(30px) scale(.97);
  transition: transform .5s var(--ease);
}
.modal.is-open .modal__box { transform: none; }
.modal--video .modal__box { width: min(1000px, 100%); padding: 0; background: #000; overflow: hidden; }
.modal--video video { width: 100%; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft); font-size: 22px; line-height: 1; }
.modal__content h3 { font-size: clamp(24px, 3vw, 34px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; margin-bottom: 18px; }
.modal__content p { color: #4a4f54; margin-bottom: 14px; }
.modal__content strong { color: var(--ink); font-weight: 600; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav__pill { padding: 8px 12px; }
}

@media (max-width: 920px) {
  .nav__menu, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .nav { padding: 8px 8px 8px 14px; }

  .hero__content { padding-bottom: 150px; }
  .hero-card { display: none; }
  .hero__chips {
    left: 0; right: 0; bottom: 78px; max-width: none;
    flex-wrap: nowrap; justify-content: flex-start;
    overflow-x: auto; scrollbar-width: none;
    padding-inline: clamp(20px, 3vw, 44px);
  }
  .hero__chips::-webkit-scrollbar { display: none; }

  .about, .stats, .feature, .contact, .footer__top { grid-template-columns: 1fr; }
  .about__text { padding-top: 0; }
  .stats__img { justify-self: start; max-width: 420px; }
  .feature__img { min-height: 520px; }
  .doctor { padding-top: 50px; }
  .blog__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --radius-lg: 24px; --radius: 20px; }
  .hero__title { white-space: normal; font-size: clamp(40px, 12vw, 56px); }
  .hero__title .line--indent { padding-left: .9em; }
  .hero__scroll { display: none; }
  .hero__bar { grid-template-columns: 1fr; }
  .hero__bar { grid-template-columns: 1fr auto; }
  .hero__pager { display: none; }
  .hero__bar::before { width: 45%; }

  .process__row { overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .process__row::-webkit-scrollbar { display: none; }
  .process__ticks { min-width: 36px; }

  .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 32px; }
  .services__grid, .blog__grid { grid-template-columns: 1fr; }
  .services { margin: 0; border-radius: var(--radius-lg); }
  .doctor { grid-template-columns: 1fr; }
  .doctor__photo { max-width: 360px; }
  .doctor__bio { padding-top: 16px; }
  .feature__img { min-height: 460px; }
  .metrics { left: 12px; right: 12px; bottom: 12px; padding: 18px; }
  .metrics__value { font-size: 26px; }
  .testimonials__head, .blog__head { flex-direction: column; align-items: flex-start; }
  .t-card { width: 82vw; max-width: 340px; }
  .t-stat { width: 72vw; max-width: 260px; }
  .contact__map, .contact__map iframe { min-height: 340px; }
  .footer__bottom { flex-direction: column; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}

/* =========================================================
   MOVIMENTO REDUZIDO
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .about__text .word { color: var(--ink); }
  .parallax img { height: 100%; }
}
