/* ============================================================
   ASTER ODONTOLOGIA - Estilos Principais
   Fontes: Signika (títulos) + Open Sans (corpo)
   Paleta: #328181 / #00888C / #5DC0F0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Signika:wght@300;400;500;600;700&family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

/* === RESET & BASE ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Open Sans', sans-serif;
  color: #414141;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* === DESIGN TOKENS =========================================== */
:root {
  --teal: #328181;
  --teal-dark: #00888C;
  --teal-light: #5DC0F0;
  --gradient: linear-gradient(180deg, #328181 0%, #5DC0F0 100%);
  --whatsapp: #25D366;
  --whatsapp-dark: #1da851;
  --text: #414141;
  --text-dark: #1C1C1C;
  --white: #FFFFFF;
  --bg-light: #F4FAFA;
  --max-w: 1200px;
  --nav-h: 74px;
  --radius: 0px;
  --shadow-btn: 0px 0px 10px 0px rgba(0,0,0,0.50);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* === CONTAINER =============================================== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

/* === TIPOGRAFIA ============================================== */
h1, h2, h3, h4 {
  font-family: 'Signika', sans-serif;
  line-height: 1.2;
}

.section-tag {
  display: inline-block;
  font-family: 'Signika', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}
.section-tag--white { color: rgba(255,255,255,0.7); }

.section-title {
  font-family: 'Signika', sans-serif;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 20px;
}
.section-title--white { color: var(--white); }
.section-title--center { text-align: center; }

.section-sub {
  font-size: 17px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 60ch;
}
.section-sub--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-sub--white { color: rgba(255,255,255,0.85); }

/* === BUTTONS ================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 38px;
  font-family: 'Open Sans', sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  border-radius: var(--radius);
  transition: var(--transition);
  box-shadow: var(--shadow-btn);
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }

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

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

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

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  box-shadow: none;
}
.btn--outline-white:hover { background: rgba(255,255,255,0.15); }

.btn--lg { font-size: 20px; padding: 22px 48px; }

.btn__icon { width: 24px; height: 24px; flex-shrink: 0; fill: currentColor; }

/* === NAV ===================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.nav--scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 24px rgba(0,0,0,0.09);
  backdrop-filter: blur(12px);
}

.nav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo { display: flex; align-items: center; }
.nav__logo-img { height: 46px; width: auto; transition: var(--transition); }
.nav__logo-img--color { display: none; }
.nav__logo-img--white { display: block; }
.nav--scrolled .nav__logo-img--color { display: block; }
.nav--scrolled .nav__logo-img--white { display: none; }

.nav__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__item { position: relative; }

.nav__link {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  transition: var(--transition);
  padding: 4px 0;
}
.nav__link:hover { color: var(--white); }
.nav--scrolled .nav__link { color: var(--text-dark); }
.nav--scrolled .nav__link:hover { color: var(--teal); }

.nav__link--cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 10px 22px;
  font-size: 14px;
}
.nav__link--cta:hover { background: var(--teal-dark) !important; }

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 280px;
  background: var(--white);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 200;
}
.nav__item:hover .nav__dropdown,
.nav__item:focus-within .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: var(--white);
  border-top: none;
}
.nav__dropdown a {
  display: block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid #f0f0f0;
  transition: var(--transition);
}
.nav__dropdown a:last-child { border-bottom: none; }
.nav__dropdown a:hover {
  background: var(--teal);
  color: var(--white);
  padding-left: 32px;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.nav--scrolled .nav__hamburger span { background: var(--text-dark); }
.nav__hamburger.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === HERO ==================================================== */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background-image: url('../images/bg-desktop-1a-dobra-1.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.40) 55%,
    rgba(0,0,0,0.15) 100%
  );
}

.hero__container {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 28px 60px;
  width: 100%;
}

.hero__content {
  max-width: 600px;
  animation: fadeInUp 0.9s ease both;
}

.hero__logo {
  height: 56px;
  width: auto;
  margin-bottom: 36px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}

.hero__title {
  font-family: 'Signika', sans-serif;
  font-size: clamp(26px, 4.5vw, 48px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
  margin-bottom: 20px;
}
.hero__title strong {
  font-weight: 700;
  color: var(--teal-light);
}

.hero__subtitle {
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 400;
  color: rgba(255,255,255,0.90);
  margin-bottom: 42px;
  line-height: 1.5;
}

.hero__word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  min-width: 140px;
}

.hero__rotating-word {
  display: inline-block;
  font-weight: 700;
  color: var(--white);
  animation: wordIn 0.4s cubic-bezier(0.4,0,0.2,1) both;
}

.hero__btns {
  display: flex;
  flex-direction: column;
  row-gap: 16px;
  width: 340px;
  max-width: 100%;
}
.hero__btns .btn {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  font-size: 18px;
  padding: 18px 24px;
}

/* === DIFERENCIAIS ============================================ */
.diferenciais {
  padding: 0;
  background: var(--white);
}

.diferenciais__strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #e8eded;
  border-bottom: 1px solid #e8eded;
}

.diferenciais__item {
  padding: 52px 36px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-right: 1px solid #e8eded;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.diferenciais__item:last-child { border-right: none; }
.diferenciais__item:hover {
  box-shadow: 0 8px 32px rgba(0,136,140,0.10);
  transform: translateY(-3px);
}

.diferenciais__icon {
  width: 80px;
  height: 80px;
  background: rgba(0,136,140,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  color: var(--teal);
  transition: background 0.3s ease;
  flex-shrink: 0;
}
.diferenciais__item:hover .diferenciais__icon {
  background: rgba(0,136,140,0.16);
}
.diferenciais__icon svg {
  width: 38px;
  height: 38px;
}

.diferenciais__caption {
  flex: 1;
}
.diferenciais__caption h2 {
  font-family: 'Signika', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.diferenciais__caption p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.65;
}

/* === SOBRE A ASTER =========================================== */
.sobre {
  padding: 96px 0;
  background: var(--white);
}

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

.sobre__image-wrap {
  position: relative;
}
.sobre__image-wrap::before {
  content: '';
  position: absolute;
  inset: -16px 16px 16px -16px;
  background: var(--teal);
  opacity: 0.08;
  z-index: 0;
}
.sobre__image-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.sobre__content .section-tag { display: block; }
.sobre__body p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 16px;
}
.sobre__cro {
  margin: 28px 0 36px;
  padding: 20px 24px;
  background: var(--bg-light);
  border-left: 3px solid var(--teal);
  font-size: 14px;
  line-height: 1.8;
  color: var(--text);
}
.sobre__cro strong { color: var(--teal-dark); }

/* === REVIEWS BANNER ========================================== */
.reviews {
  padding: 72px 0;
  background: var(--gradient);
}

.reviews__inner {
  display: flex;
  align-items: center;
  gap: 56px;
}

.reviews__map-img {
  width: 264px;
  flex-shrink: 0;
}

.reviews__text { flex: 1; }
.reviews__text .section-title {
  color: var(--white);
  font-size: clamp(22px, 3.5vw, 38px);
  margin-bottom: 28px;
}

/* === SORRISOS / AVALIAÇÕES =================================== */
.sorrisos {
  padding: 96px 0;
  background: var(--bg-light);
}

.sorrisos__header {
  text-align: center;
  margin-bottom: 48px;
}

.sorrisos__reviews {
  max-width: 960px;
  margin: 0 auto;
}

.slider-wrap {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}

.slider-slide {
  min-width: calc(100% / var(--slides-visible, 4));
  padding: 0 8px;
  flex-shrink: 0;
}

.slider-slide img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 2px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.slider-slide img:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.18);
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.slider-btn {
  width: 46px;
  height: 46px;
  background: var(--teal);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border-radius: 50%;
}
.slider-btn:hover { background: var(--teal-dark); transform: scale(1.08); }
.slider-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }

.slider-dots {
  display: flex;
  gap: 6px;
}
.slider-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.slider-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  transition: var(--transition);
  flex-shrink: 0;
}
.slider-dot.is-active::before { background: var(--teal); transform: scale(1.3); }

/* === EQUIPE ================================================== */
.equipe {
  padding: 96px 0;
  background: var(--gradient);
}

.equipe__header {
  text-align: center;
  margin-bottom: 56px;
}

.equipe__grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.equipe__card {
  text-align: center;
  width: 280px;
  transition: var(--transition);
}
.equipe__card:hover {
  transform: translateY(-4px);
}

.equipe__photo-wrap {
  width: 100%;
  margin: 0 auto 20px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid rgba(255,255,255,0.3);
  transition: var(--transition);
}
.equipe__card:hover .equipe__photo-wrap {
  border-color: rgba(255,255,255,0.7);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.equipe__photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.equipe__name {
  font-family: 'Signika', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.equipe__role {
  font-size: 12px;
  color: rgba(255,255,255,0.78);
  line-height: 1.4;
}

/* === ESPECIALIDADES ========================================== */
.especialidades {
  padding: 96px 0;
  background: var(--white);
}

.especialidades__header {
  text-align: center;
  margin-bottom: 56px;
}

.especialidades__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.espec-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px 24px;
  text-align: center;
  border: 1px solid #E5EEEE;
  background: var(--white);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.espec-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.espec-card:hover {
  border-color: var(--teal);
  transform: translateY(-5px);
  box-shadow: 0 8px 28px rgba(50,129,129,0.15);
}
.espec-card:hover::before { transform: scaleX(1); }

.espec-card__img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 14px;
  transition: transform 0.3s ease;
}
.espec-card:hover .espec-card__img { transform: scale(1.1); }

.espec-card__name {
  font-family: 'Signika', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-dark);
  line-height: 1.35;
}

/* === NOSSA CLINICA =========================================== */
.clinica {
  padding: 96px 0;
  background: var(--bg-light);
}

.clinica__header {
  text-align: center;
  margin-bottom: 56px;
}

.clinica__mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 260px;
  gap: 10px;
}

.clinica__mosaic-item {
  overflow: hidden;
  cursor: pointer;
}
.clinica__mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.clinica__mosaic-item:hover img { transform: scale(1.04); }

.clinica__mosaic-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 1;
}
.clinica__mosaic-item:nth-child(4) {
  grid-column: span 2;
  grid-row: span 1;
}

/* === CONTATO ================================================= */
.contato {
  padding: 96px 0;
  background: var(--gradient);
}

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

.contato__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contato__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  color: var(--white);
}

.contato__icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contato__icon svg {
  width: 22px;
  height: 22px;
  fill: var(--white);
}

.contato__item-text strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 2px;
}
.contato__item-text span {
  font-size: 15px;
  opacity: 0.85;
}

.contato__cta-side { text-align: center; }
.contato__cta-side .section-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 400;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.contato__cta-side .section-sub {
  margin: 0 auto 36px;
}

/* === FOOTER ================================================== */
.footer {
  background: #111818;
  padding: 64px 0 36px;
  color: rgba(255,255,255,0.65);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 56px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 28px;
}

.footer__logo {
  height: 48px;
  margin-bottom: 20px;
}

.footer__brand p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 4px;
}

.footer__dev {
  margin-top: 20px;
  font-size: 12px;
  opacity: 0.45;
}

.footer__links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 40px;
}
.footer__links-grid a {
  font-size: 14px;
  transition: var(--transition);
  display: block;
  padding: 3px 0;
}
.footer__links-grid a:hover { color: var(--teal-light); }

.footer__col h3 {
  font-family: 'Signika', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.5;
}
.footer__contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--teal-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  opacity: 0.45;
}

/* === FLOATING WHATSAPP ======================================= */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 62px;
  height: 62px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  z-index: 999;
  transition: var(--transition);
  cursor: pointer;
}
.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 32px rgba(37,211,102,0.4);
}
.wa-float svg { width: 34px; height: 34px; fill: var(--white); }

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

@keyframes wordIn {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes wordOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-100%); }
}

.hero__rotating-word.is-leaving {
  animation: wordOut 0.25s ease forwards;
}
.hero__rotating-word.is-entering {
  animation: wordIn 0.3s cubic-bezier(0.4,0,0.2,1) both;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero__content { animation: none !important; }
}

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

/* Slider - usa largura em pixels setada pelo JS, sem % para evitar
   bug de resolução de % contra altura do viewport em flex containers */
.slider-wrap { overflow: hidden; width: 100%; }
.slider-track { width: 100%; }
.slider-dots { flex-wrap: wrap; justify-content: center; }

/* --- 1100px --- */
@media (max-width: 1100px) {
  .especialidades__grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- 900px --- */
@media (max-width: 900px) {
  .sobre__grid { grid-template-columns: 1fr; gap: 48px; }
  .reviews__inner { flex-direction: column; text-align: center; gap: 36px; }
  .reviews__map-img { width: 180px; }
  .contato__grid { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .especialidades__grid { grid-template-columns: repeat(3, 1fr); }
  .clinica__mosaic { grid-template-rows: 220px 220px; }
}

/* --- 768px (Breakpoint Mobile Principal) --- */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  /* Container */
  .container { padding: 0 20px; }

  /* Padding das seções reduzido */
  .sobre { padding: 64px 0; }
  .reviews { padding: 56px 0; }
  .sorrisos { padding: 64px 0; }
  .equipe { padding: 64px 0; }
  .especialidades { padding: 64px 0; }
  .clinica { padding: 64px 0; }
  .contato { padding: 64px 0; }
  .footer { padding: 48px 0 28px; }

  /* Nav Mobile */
  .nav__hamburger { display: flex; }
  .nav__menu {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 0;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 999;
  }
  .nav__menu.is-open { display: flex; }
  .nav__item { width: 100%; }
  .nav__link {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark) !important;
    font-size: 17px;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav__link--cta {
    background: var(--teal) !important;
    color: var(--white) !important;
    text-align: center;
    margin: 16px 20px 4px;
    width: calc(100% - 40px);
    border-bottom: none !important;
    padding: 14px 20px !important;
  }
  .nav__dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: #f8fafa;
    min-width: 0;
  }
  .nav__dropdown::before { display: none; }
  .nav__dropdown a { padding-left: 40px; font-size: 15px; }

  /* Hero */
  .hero {
    background-image: url('../images/bg-mobile-1a-dobra.jpg');
    background-position: center right;
    min-height: 85dvh;
  }
  .hero__title { font-size: clamp(30px, 8vw, 40px); }
  .hero__subtitle { font-size: clamp(17px, 4.5vw, 20px); }
  .hero__word-wrap { min-width: 90px; }
  .hero__logo { height: 48px; }

  /* Botões */
  .btn { white-space: normal; line-height: 1.3; }
  .btn--lg { font-size: 16px; padding: 18px 24px; }

  /* Diferenciais */
  .diferenciais__strip { grid-template-columns: 1fr; }
  .diferenciais__item { border-right: none; border-bottom: 1px solid #e8eded; padding: 40px 28px 36px; }
  .diferenciais__item:last-child { border-bottom: none; }

  /* Sobre - remove pseudo-element que pode causar overflow */
  .sobre__image-wrap::before { display: none; }

  /* Slider - largura setada via JS em pixels; fallback CSS */
  .slider-slide { width: 100% !important; min-width: 100% !important; }
  .slider-slide img { height: 220px; }
  .slider-dots { gap: 0; }
  .slider-dot { width: 44px; height: 44px; }
  .slider-dot::before { width: 6px; height: 6px; }

  /* Equipe */
  .equipe__grid { gap: 20px; }
  .equipe__card { width: 220px; }
  .equipe__name { font-size: 14px; }
  .equipe__role { font-size: 12px; }

  /* Especialidades */
  .especialidades__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .espec-card { padding: 20px 12px 16px; }
  .espec-card__img { width: 60px; height: 60px; }
  .espec-card__name { font-size: 12px; }

  /* Clínica */
  .clinica__mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px 180px;
  }
  .clinica__mosaic-item:nth-child(1) { grid-column: span 2; }
  .clinica__mosaic-item:nth-child(4) { grid-column: span 1; }

  /* Footer */
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__links-grid { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .footer__logo { height: 40px; }
}

/* --- 480px --- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .sobre, .sorrisos, .equipe, .especialidades, .clinica, .contato { padding: 52px 0; }

  .hero__title { font-size: 28px; }
  .hero__subtitle { font-size: 17px; }
  .hero__logo { height: 40px; }
  .hero__container { padding-bottom: 48px; }

  .especialidades__grid { gap: 8px; }
  .espec-card { padding: 16px 8px 14px; }
  .espec-card__img { width: 52px; height: 52px; }

  .clinica__mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 180px);
  }
  .clinica__mosaic-item:nth-child(1),
  .clinica__mosaic-item:nth-child(4) { grid-column: span 1; }

  .equipe__card { width: 160px; }

  .footer__links-grid { grid-template-columns: 1fr 1fr; gap: 8px 16px; }

  .wa-float { width: 52px; height: 52px; bottom: 20px; right: 16px; }
  .wa-float svg { width: 28px; height: 28px; }
}
