/* ==========================================================================
   Delicare Odontologia — sistema de design
   Paleta derivada das cores originais da marca:
     rosé  #c0a19a (matiz 11°)  → escala 100…800
     lilás #d4b4cc (matiz 315°) → escala 100…800
   Os tons claros seguem sendo usados em preenchimentos; os escuros, em texto,
   para atender o contraste mínimo de 4.5:1 (WCAG AA).
   ========================================================================== */

@font-face {
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/quicksand-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Fallback com metricas ajustadas: evita o "pulo" do texto quando a Quicksand chega. */
@font-face {
  font-family: 'Quicksand Fallback';
  src: local('Arial'), local('Helvetica Neue'), local('Helvetica'), local('Liberation Sans');
  size-adjust: 103.6%;
  ascent-override: 96.5%;
  descent-override: 24.1%;
  line-gap-override: 0%;
}

:root {
  /* --- Rosé (matiz da marca) --- */
  --rose-50:   #fdf7f5;
  --rose-100:  #f6efed;
  --rose-200:  #e2d3d0;
  --rose-300:  #c8ada7;
  --rose-400:  #c0a19a;   /* cor original da marca — preenchimentos */
  --rose-500:  #a77b72;   /* texto grande (≥24px) */
  --rose-600:  #8d6259;   /* superfícies escuras (rodapé) */
  --rose-700:  #845b52;   /* texto pequeno — 5.8:1 no branco */

  /* --- Lilás (matiz da marca) --- */
  --lilac-100: #f4ecf1;
  --lilac-200: #e3cede;
  --lilac-400: #d4b4cc;   /* cor original da marca — botões */
  --lilac-600: #b884ab;
  --lilac-700: #884e7a;   /* texto — 6.1:1 no branco */

  /* --- Neutros --- */
  --ink:       #1a1a1a;
  --ink-soft:  #3d3d3d;
  --ink-mute:  #5f5f5f;
  --line:      #e7e2e0;
  --surface:   #f7f5f4;
  --white:     #fff;

  /* --- Tipografia --- */
  --font: 'Quicksand', 'Quicksand Fallback', -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --fs-display: clamp(2.25rem, 1.2rem + 4.4vw, 4rem);   /* 36 → 64 */
  --fs-h2:      clamp(1.75rem, 1.1rem + 2.6vw, 2.75rem); /* 28 → 44 */
  --fs-h3:      1.25rem;
  --fs-lead:    clamp(1.0625rem, 1rem + .4vw, 1.1875rem);
  --fs-body:    1.03125rem;
  --fs-sm:      .90625rem;
  --fs-eyebrow: .8125rem;

  /* --- Ritmo (escala 8pt) --- */
  --s-1: .25rem;  --s-2: .5rem;   --s-3: .75rem;  --s-4: 1rem;
  --s-6: 1.5rem;  --s-8: 2rem;    --s-10: 2.5rem; --s-12: 3rem;
  --s-16: 4rem;   --s-20: 5rem;   --s-24: 6rem;
  --section: clamp(3.5rem, 2rem + 6vw, 6rem);

  /* --- Formas e sombras --- */
  --r-sm: 6px;  --r-md: 10px;  --r-lg: 16px;  --r-full: 999px;
  --shadow-sm: 0 1px 2px rgba(56, 38, 34, .06), 0 2px 8px rgba(56, 38, 34, .05);
  --shadow-md: 0 4px 12px rgba(56, 38, 34, .08), 0 12px 28px rgba(56, 38, 34, .07);
  --shadow-lg: 0 8px 20px rgba(56, 38, 34, .10), 0 24px 48px rgba(56, 38, 34, .10);

  --header-h: 84px;
  --wrap: 1140px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--s-6)); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--ink-soft);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
p { margin: 0; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--s-6); }

/* Acentos de marca — tons escuros o bastante para leitura */
.c-rose  { color: var(--rose-500); }
.c-lilac { color: var(--lilac-600); }
.c-ink   { color: var(--ink); }
/* Em texto pequeno, os acentos usam o tom mais escuro */
p .c-rose, li .c-rose, .card .c-rose  { color: var(--rose-700); }
p .c-lilac, li .c-lilac { color: var(--lilac-700); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--white); padding: var(--s-3) var(--s-6); border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--rose-700); outline-offset: 3px; border-radius: var(--r-sm); }

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 48px; padding: var(--s-4) var(--s-10);
  border-radius: var(--r-full);
  font-size: var(--fs-sm); font-weight: 700; letter-spacing: .01em; line-height: 1;
  text-align: center; white-space: nowrap;
  transition: background-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--lilac-400); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--lilac-600); color: var(--white); box-shadow: var(--shadow-md); }

.btn-nav { background: var(--rose-700); color: var(--white); min-height: 44px; padding: var(--s-3) var(--s-8); }
.btn-nav:hover { background: var(--rose-600); box-shadow: var(--shadow-sm); }

.btn-light { background: var(--white); color: var(--rose-700); }
.btn-light:hover { background: var(--rose-100); }

/* --------------------------------------------------------------------------
   Cabeçalho
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h); background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 861px) and (prefers-reduced-motion: no-preference) {
  .site-header { background: rgba(255, 255, 255, .92); backdrop-filter: saturate(180%) blur(12px); }
}
.nav-phone {
  display: inline-flex; align-items: center; gap: var(--s-2); margin-right: var(--s-4);
  min-height: 44px; font-size: var(--fs-sm); font-weight: 700; color: var(--rose-700); white-space: nowrap;
}
.nav-phone svg { width: 16px; height: 16px; fill: currentColor; }
.nav-phone:hover { color: var(--rose-600); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: var(--s-6); }
.logo { display: flex; align-items: center; min-height: 44px; }
.logo img { width: 148px; height: auto; }

.nav { flex: 1; display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: var(--s-8); margin-inline: auto; }
.nav-list > li > a, .sub-toggle {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 44px; padding: var(--s-2) 0;
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink);
  position: relative; transition: color .2s var(--ease);
}
.nav-list > li > a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 14px; height: 2px;
  background: var(--rose-500); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-list > li > a:hover::after, .nav-list > li > a.is-current::after { transform: scaleX(1); }
.nav-list > li > a:hover, .sub-toggle:hover { color: var(--rose-700); }

.caret {
  width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px); transition: transform .25s var(--ease);
}
.has-sub:hover .caret, .sub-toggle[aria-expanded="true"] .caret { transform: rotate(-135deg) translate(-3px, -3px); }

.has-sub { position: relative; }
.sub-list {
  position: absolute; top: calc(100% + 10px); left: 50%; z-index: 10;
  min-width: 264px; padding: var(--s-2); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.has-sub:hover .sub-list, .has-sub:focus-within .sub-list, .sub-list.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub-list a {
  display: block; padding: var(--s-3) var(--s-4); border-radius: var(--r-sm);
  font-size: var(--fs-sm); font-weight: 500; color: var(--ink-soft);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}
.sub-list a:hover { background: var(--rose-100); color: var(--rose-700); }
.sub-list a.is-current { background: var(--rose-100); color: var(--rose-700); font-weight: 700; }

.nav-toggle { display: none; width: 48px; height: 48px; padding: 12px; border-radius: var(--r-sm); }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s var(--ease); }
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  margin-top: var(--header-h);
  background: url('../img/hero-delicare-odontologia-betim-1280.webp') center/cover no-repeat;
  min-height: 800px; display: flex; align-items: center; overflow: hidden;
}
@media (min-width: 1281px) { .hero { background-image: url('../img/hero-delicare-odontologia-betim.webp'); } }
.hero-mobile { display: none; }
.hero-kicker {
  display: block; margin-bottom: var(--s-4);
  font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--rose-700); line-height: 1.4;
}
.hero-inner { position: relative; display: flex; align-items: center; min-height: 800px; }
.hero-copy { max-width: 560px; position: relative; z-index: 2; }
.hero-title { font-size: var(--fs-display); line-height: 1.09; letter-spacing: -.02em; }
.hero-sub {
  margin: var(--s-6) 0 var(--s-8); max-width: 30ch;
  font-size: var(--fs-lead); line-height: 1.65; color: var(--ink-soft);
}
.hero-note {
  display: flex; align-items: center; gap: var(--s-3);
  margin-top: var(--s-6); font-size: var(--fs-sm); color: var(--ink-mute);
}
.hero-note svg { width: 18px; height: 18px; fill: var(--rose-500); flex: none; }

.hero-art { position: absolute; inset: 0; pointer-events: none; }
.hero-art .badge {
  position: absolute; width: 82px; height: 82px; border-radius: var(--r-md);
  filter: drop-shadow(0 10px 26px rgba(56, 38, 34, .14));
  animation: float 6s ease-in-out infinite;
}
.badge-1 { width: 89px; left: 54%; top: 25%; }
.badge-2 { left: 49%; top: 63%; animation-delay: .9s; }
.badge-3 { right: 10px; top: 24%; animation-delay: 1.8s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* --------------------------------------------------------------------------
   Faixa rolante
   -------------------------------------------------------------------------- */
.marquee {
  overflow: hidden; background: var(--rose-50);
  border-block: 1px solid var(--line); padding-block: var(--s-6);
}
.marquee-track { display: flex; align-items: center; gap: var(--s-16); white-space: nowrap; animation: slide 42s linear infinite; }
.marquee-item { display: inline-flex; align-items: center; gap: var(--s-4); }
.marquee-item img { width: 22px; height: 21px; opacity: .85; }
.marquee-item em {
  font-style: normal; font-size: var(--fs-sm); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; color: var(--rose-700);
}
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Cabeçalhos de seção
   -------------------------------------------------------------------------- */
.section-head { max-width: 46rem; margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; margin-bottom: var(--s-4);
  font-size: var(--fs-eyebrow); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--rose-700);
}
.eyebrow::after {
  content: ''; display: block; width: 32px; height: 2px; margin: var(--s-3) auto 0;
  background: var(--rose-400); border-radius: 2px;
}
.section-title { font-size: var(--fs-h2); line-height: 1.16; }
.section-sub { margin-top: var(--s-4); font-size: var(--fs-lead); line-height: 1.65; color: var(--ink-mute); }

/* --------------------------------------------------------------------------
   Procedimentos (carrossel)
   -------------------------------------------------------------------------- */
.procs { padding-block: var(--section); }
.carousel { position: relative; margin-top: var(--s-12); }
.car-viewport { overflow: hidden; padding-block: var(--s-2); }
.car-track { display: flex; gap: var(--s-6); transition: transform .5s var(--ease); }

.card { flex: 0 0 324px; max-width: 324px; display: flex; }
.card-link {
  display: flex; flex-direction: column; width: 100%;
  padding: var(--s-8) var(--s-6) var(--s-6);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.card-link:hover { border-color: var(--rose-300); box-shadow: var(--shadow-md); transform: translateY(-4px); }

.card-icon {
  width: 56px; height: 56px; object-fit: cover; border-radius: var(--r-full);
  margin-bottom: var(--s-6); box-shadow: 0 0 0 4px var(--rose-100);
}
.card-title { font-size: var(--fs-h3); line-height: 1.3; }
.card-sub {
  margin-top: var(--s-2);
  font-size: var(--fs-eyebrow); font-weight: 700; line-height: 1.5;
  letter-spacing: .08em; text-transform: uppercase; color: var(--rose-700);
}
.card-text {
  margin-top: var(--s-4); font-size: var(--fs-sm); line-height: 1.7; color: var(--ink-soft);
  display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.card-more {
  display: inline-flex; align-items: center; gap: var(--s-2);
  margin-top: auto; padding-top: var(--s-6);
  font-size: var(--fs-sm); font-weight: 700; color: var(--rose-700);
}
.card-more::after {
  content: ''; width: 7px; height: 7px;
  border-top: 2px solid currentColor; border-right: 2px solid currentColor;
  transform: rotate(45deg); transition: transform .2s var(--ease);
}
.card-link:hover .card-more::after { transform: rotate(45deg) translate(3px, -3px); }

.car-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 48px; height: 48px; border-radius: var(--r-full);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-md);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), opacity .2s var(--ease);
}
.car-prev { left: -24px; }
.car-next { right: -24px; }
.car-nav:hover:not([disabled]) { background: var(--rose-700); border-color: var(--rose-700); }
.car-nav:hover:not([disabled])::before { border-color: var(--white); }
.car-nav::before {
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 10px; height: 10px;
  border-top: 2px solid var(--ink); border-right: 2px solid var(--ink);
  transition: border-color .2s var(--ease);
}
.car-prev::before { transform: rotate(-135deg); margin-left: 20px; }
.car-next::before { transform: rotate(45deg); margin-right: 20px; }
.car-nav[disabled] { opacity: .3; cursor: default; box-shadow: none; }

.car-dots { display: flex; flex-wrap: wrap; justify-content: center; margin-top: var(--s-6); min-height: 44px; }
/* O ponto mede 8px, mas o alvo de toque ocupa 44px de altura via padding. */
.car-dot {
  flex: none; box-sizing: content-box;
  width: 8px; height: 8px; padding: 18px 12px; border: 0; border-radius: var(--r-full);
  background: var(--rose-200); background-clip: content-box;
  transition: background-color .25s var(--ease), width .25s var(--ease);
}
.car-dot:hover { background: var(--rose-300); background-clip: content-box; }
.car-dot.is-active { width: 28px; background: var(--rose-500); background-clip: content-box; }

/* --------------------------------------------------------------------------
   Equipe
   -------------------------------------------------------------------------- */
.team { padding-block: var(--section); background: var(--rose-50); }
.tabs { display: grid; grid-template-columns: 264px 1fr; gap: var(--s-12); margin-top: var(--s-12); }
.tabs-list { display: flex; flex-direction: column; gap: var(--s-2); }
.tab {
  min-height: 52px; padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md); text-align: left;
  font-size: var(--fs-sm); font-weight: 600; line-height: 1.4;
  background: var(--white); color: var(--ink-soft); border: 1px solid var(--line);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.tab:hover { border-color: var(--rose-300); color: var(--rose-700); }
.tab[aria-selected="true"] { background: var(--rose-700); border-color: var(--rose-700); color: var(--white); }

.tabs-panels { display: flex; align-items: center; }
.panel {
  display: flex; align-items: center; gap: var(--s-12); width: 100%;
  padding: var(--s-10); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  animation: fade-in .35s var(--ease);
}
.panel[hidden] { display: none; }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.panel-photo { position: relative; flex: none; width: 184px; height: 184px; }
.panel-photo .portrait {
  position: relative; z-index: 2; width: 184px; height: 184px;
  border-radius: var(--r-lg); object-fit: cover;
}
.panel-photo .mask { position: absolute; z-index: 1; width: 104px; height: 104px; right: -26px; bottom: -22px; }

.panel-info { min-width: 0; }
.panel-name { font-size: 1.5rem; }
.panel-role {
  margin-top: var(--s-2); font-size: var(--fs-eyebrow); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--rose-700);
}
.panel-lines { margin-top: var(--s-4); font-size: var(--fs-sm); line-height: 1.8; color: var(--ink-mute); }
.panel-ig {
  display: inline-flex; align-items: center; gap: var(--s-2);
  min-height: 44px; margin-top: var(--s-4);
  font-size: var(--fs-sm); font-weight: 700; color: var(--rose-700);
}
.panel-ig svg { width: 20px; height: 20px; fill: currentColor; }
.panel-ig:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --------------------------------------------------------------------------
   Galeria da clínica
   -------------------------------------------------------------------------- */
.clinic { padding-block: var(--section) 0; }
.gallery { margin-top: var(--s-12); display: flex; flex-direction: column; gap: var(--s-6); }
.gal-row { overflow: hidden; }
.gal-track { display: flex; gap: var(--s-6); width: max-content; }
.gal-track img { width: 440px; height: 296px; object-fit: cover; border-radius: var(--r-lg); }
.gal-left  .gal-track { animation: gal-l 80s linear infinite; }
.gal-right .gal-track { animation: gal-r 80s linear infinite; }
@keyframes gal-l { from { transform: translateX(0); }    to { transform: translateX(-50%); } }
@keyframes gal-r { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* --------------------------------------------------------------------------
   Chamada final
   -------------------------------------------------------------------------- */
.cta { margin-top: var(--section); padding-block: var(--section); background: var(--lilac-100); }
.cta-inner { display: grid; grid-template-columns: 1fr 424px; align-items: center; gap: var(--s-16); }
.cta-copy .eyebrow, .cta-copy .section-title { text-align: left; }
.cta-copy .section-head { margin-inline: 0; text-align: left; max-width: none; }
.eyebrow-left.eyebrow::after { margin-inline: 0; }
.cta-text { margin: var(--s-4) 0 var(--s-8); font-size: var(--fs-lead); line-height: 1.7; color: var(--ink-soft); }
.cta-media img { width: 100%; border-radius: var(--r-lg); }

.cta-chat { margin-top: var(--s-8); display: flex; flex-direction: column; gap: var(--s-3); max-width: 30rem; }
.bubble {
  position: relative; padding: var(--s-3) var(--s-4);
  font-size: var(--fs-sm); line-height: 1.5; border-radius: var(--r-md);
}
.bubble-a, .bubble-c { align-self: flex-start; background: var(--white); border: 1px solid var(--line); color: var(--ink-soft); }
.bubble-b { align-self: flex-end; background: var(--rose-700); color: var(--white); }

/* --------------------------------------------------------------------------
   Localização
   -------------------------------------------------------------------------- */
.local { padding-block: var(--section); }
.local-grid { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: var(--s-6); align-items: stretch; margin-top: var(--s-12); }
.local-info { padding: var(--s-8); background: var(--rose-50); border: 1px solid var(--rose-200); border-radius: var(--r-lg); }
.local-title { font-size: 1.125rem; margin-bottom: var(--s-4); }
.local-address { font-style: normal; font-size: var(--fs-sm); line-height: 1.7; color: var(--ink-soft); }
.local-address strong { color: var(--ink); }
.local-contacts { display: grid; gap: var(--s-3); margin-top: var(--s-6); }
.local-contacts li { display: flex; align-items: flex-start; gap: var(--s-3); font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.5; }
.local-contacts svg { width: 18px; height: 18px; flex: none; fill: var(--rose-500); margin-top: 2px; }
.local-contacts a { font-weight: 600; color: var(--rose-700); }
.local-contacts a:hover { text-decoration: underline; text-underline-offset: 3px; }
.local-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-8); }
.local-actions .btn { padding-inline: var(--s-8); }
.btn-outline { background: transparent; color: var(--rose-700); box-shadow: inset 0 0 0 2px var(--rose-300); }
.btn-outline:hover { background: var(--white); box-shadow: inset 0 0 0 2px var(--rose-500); }

.map { position: relative; min-height: 340px; display: flex; flex-direction: column; }
.map-open {
  position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s-3);
  width: 100%; min-height: 300px; padding: var(--s-8) var(--s-6);
  background: linear-gradient(160deg, var(--rose-100), var(--lilac-100)); text-align: center;
}
.map-open::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(var(--rose-200) 1px, transparent 1px); background-size: 18px 18px; opacity: .35; pointer-events: none; }
.map-pin { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-full); background: var(--white); box-shadow: var(--shadow-md); }
.map-pin svg { width: 28px; height: 28px; fill: var(--rose-700); }
.map-text { position: relative; z-index: 1; font-size: var(--fs-sm); font-weight: 600; color: var(--ink); line-height: 1.5; }
.map-label { position: relative; z-index: 1; margin-top: var(--s-2); padding: var(--s-3) var(--s-6); border-radius: var(--r-full); background: var(--rose-700); color: var(--white); font-size: var(--fs-sm); font-weight: 700; transition: background-color .2s var(--ease); }
.map-open:hover .map-label { background: var(--rose-600); }
.map-link { display: block; padding: var(--s-3); text-align: center; font-size: var(--fs-eyebrow); font-weight: 700; color: var(--rose-700); background: var(--white); border-top: 1px solid var(--line); }
.map-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.video, .map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.video-play { position: relative; display: block; width: 100%; padding: 0; }
.video-play img { width: 100%; height: 340px; object-fit: cover; }
.video-play::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26, 26, 26, 0) 40%, rgba(26, 26, 26, .3));
  transition: opacity .25s var(--ease);
}
.video-play:hover::after { opacity: .6; }
.video-icon {
  position: absolute; inset: 0; margin: auto; z-index: 2; width: 72px; height: 72px;
  border-radius: var(--r-full); background: var(--white); box-shadow: var(--shadow-lg);
  transition: transform .25s var(--ease);
}
.video-play:hover .video-icon { transform: scale(1.08); }
.video-icon::before {
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 0; height: 0; margin-left: 30px;
  border-left: 19px solid var(--rose-700);
  border-top: 12px solid transparent; border-bottom: 12px solid transparent;
}
.video iframe { display: block; width: 100%; height: 340px; border: 0; }
.map iframe { display: block; width: 100%; flex: 1; min-height: 340px; border: 0; }

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */
.site-footer { background: var(--rose-600); color: var(--white); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: var(--s-12); align-items: center; padding-block: var(--s-16); }
.footer-brand a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-brand img { width: 232px; height: auto; }
.footer-slogan { margin-top: var(--s-4); font-size: var(--fs-lead); font-weight: 500; color: rgba(255, 255, 255, .92); }
.footer-address { margin-top: var(--s-4); font-style: normal; font-size: var(--fs-sm); line-height: 1.7; color: rgba(255, 255, 255, .9); }
.footer-address a { font-weight: 700; color: var(--white); }
.footer-address a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-contact { display: flex; flex-direction: column; align-items: center; gap: var(--s-4); }
.footer-cnpj { max-width: 34ch; text-align: center; font-size: var(--fs-eyebrow); line-height: 1.6; color: rgba(255, 255, 255, .88); }
.socials { display: flex; gap: var(--s-3); }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: var(--r-full); background: rgba(255, 255, 255, .16);
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.socials a:hover { background: rgba(255, 255, 255, .32); transform: translateY(-2px); }
.socials svg { width: 19px; height: 19px; fill: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .22); padding-block: var(--s-6);
  font-size: var(--fs-sm); text-align: center; color: rgba(255, 255, 255, .88);
}

/* --------------------------------------------------------------------------
   Páginas de procedimento
   -------------------------------------------------------------------------- */
.proc-hero {
  margin-top: var(--header-h); padding-block: var(--s-20);
  background: var(--rose-50); border-bottom: 1px solid var(--line);
}
.proc-hero .container { max-width: 46rem; text-align: center; }
.proc-hero h1 { font-size: var(--fs-h2); }
.proc-hero .proc-sub { margin-top: var(--s-4); font-size: var(--fs-lead); font-weight: 500; color: var(--rose-700); }

.breadcrumb { display: flex; justify-content: center; gap: var(--s-2); margin-bottom: var(--s-6); font-size: var(--fs-eyebrow); color: var(--ink-mute); }
.breadcrumb a { font-weight: 600; color: var(--rose-700); }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span { color: var(--ink-mute); }

.proc-body { padding-block: var(--s-16); }
/* Coluna de leitura em ~70 caracteres por linha. */
.proc-body .container { max-width: 38rem; }
/* Galerias e caixas visuais extrapolam a coluna de texto. */
.proc-body .proc-gallery,
.proc-body .proc-cta {
  width: min(46rem, 100% + 8rem);
  margin-inline: calc((100% - min(46rem, 100% + 8rem)) / 2);
}
.proc-body > .container > * + * { margin-top: var(--s-6); }
.proc-body h2 {
  margin-top: var(--s-16); padding-top: var(--s-8);
  border-top: 1px solid var(--line); font-size: 1.75rem; line-height: 1.25;
}
.proc-body h3 { margin-top: var(--s-10); font-size: 1.3125rem; color: var(--ink); }
.proc-body h4 { margin-top: var(--s-6); font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--rose-700); }
.proc-body p { font-size: var(--fs-body); line-height: 1.8; color: var(--ink-soft); }
.proc-body p + p, .proc-body p + ul, .proc-body ul + p, .proc-body h3 + p, .proc-body h4 + ul { margin-top: var(--s-4); }
.proc-body strong { color: var(--ink); font-weight: 700; }
.proc-body ul { display: grid; gap: var(--s-3); margin-top: var(--s-4); }
.proc-body ul li { position: relative; padding-left: var(--s-8); font-size: var(--fs-body); line-height: 1.7; }
.proc-body ul li::before {
  content: ''; position: absolute; left: 0; top: .58em; width: 16px; height: 16px;
  border-radius: var(--r-full); background: var(--lilac-200);
  box-shadow: inset 0 0 0 2px var(--lilac-400);
}

.proc-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--s-4); margin-top: var(--s-10); }
.proc-gallery img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.proc-gallery.is-single { display: block; }
.proc-gallery.is-single img { width: min(100%, var(--img-w, 36rem)); height: auto; margin-inline: auto; }

.proc-cta {
  margin-top: var(--s-12); padding: var(--s-10);
  background: var(--rose-50); border: 1px solid var(--rose-200); border-radius: var(--r-lg);
  text-align: center;
}
.proc-cta p { margin-top: var(--s-3); font-size: var(--fs-sm); color: var(--ink-mute); }
.proc-cta p.proc-cta-title { margin-top: 0; font-size: 1.375rem; line-height: 1.3; color: var(--ink); }
.proc-cta-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s-4); margin-top: var(--s-6); }
.proc-cta-tel { font-size: var(--fs-sm); font-weight: 700; color: var(--rose-700); }
.proc-cta-tel:hover { text-decoration: underline; text-underline-offset: 3px; }

.proc-team { margin-top: var(--s-10); padding: var(--s-6); background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.proc-body .proc-team-title { margin: 0 0 var(--s-4); padding: 0; border: 0; font-size: var(--fs-eyebrow); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rose-700); }
.proc-team-list { display: grid; gap: var(--s-4); }
.proc-team-card { display: flex; align-items: center; gap: var(--s-4); padding: 0; }
.proc-team-card::before { display: none; }
.proc-team-card img { width: 72px; height: 72px; border-radius: var(--r-full); object-fit: cover; flex: none; box-shadow: 0 0 0 4px var(--rose-100); }
.proc-body .proc-team-name { margin: 0; font-size: 1.0625rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.proc-body .proc-team-role { margin: 2px 0 0; font-size: var(--fs-sm); color: var(--ink-soft); line-height: 1.4; }
.proc-body .proc-team-cro { margin: 2px 0 0; font-size: var(--fs-eyebrow); color: var(--ink-mute); }
.proc-team-ig { display: inline-block; margin-top: 4px; font-size: var(--fs-eyebrow); font-weight: 700; color: var(--rose-700); }

.proc-related { margin-top: var(--s-12); padding-top: var(--s-8); border-top: 1px solid var(--line); }
.proc-body .proc-related-title { margin: 0 0 var(--s-4); padding: 0; border: 0; font-size: 1.125rem; }
.proc-related-list { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.proc-related-list li { padding: 0; }
.proc-related-list li::before { display: none; }
.proc-related-list a { display: inline-block; padding: var(--s-2) var(--s-4); border: 1px solid var(--line); border-radius: var(--r-full); font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft); transition: border-color .2s var(--ease), color .2s var(--ease); }
.proc-related-list a:hover { border-color: var(--rose-300); color: var(--rose-700); }

/* --------------------------------------------------------------------------
   Responsivo
   -------------------------------------------------------------------------- */
@media (max-width: 1220px) {
  .car-prev { left: 4px; }
  .car-next { right: 4px; }
  .cta-inner { grid-template-columns: 1fr 360px; gap: var(--s-10); }
}

@media (max-width: 1024px) {
  .tabs { grid-template-columns: 1fr; gap: var(--s-8); }
  .tabs-list { flex-direction: row; overflow-x: auto; gap: var(--s-2); padding-bottom: var(--s-2); scrollbar-width: thin; }
  .tab { flex: 0 0 auto; white-space: nowrap; text-align: center; }
  .panel { padding: var(--s-8); gap: var(--s-8); }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-media { max-width: 424px; }
  .local-grid { grid-template-columns: 1fr 1fr; }
  .local-info { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch;
    background: var(--white); padding: var(--s-4) var(--s-6) var(--s-8);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .nav-list > li > a, .sub-toggle {
    width: 100%; min-height: 52px; justify-content: space-between;
    border-bottom: 1px solid var(--line); font-size: 1rem;
  }
  .nav-list > li > a::after { display: none; }
  .sub-list {
    position: static; opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; border-radius: 0; padding: 0;
    max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
  }
  .sub-list.is-open { max-height: 640px; }
  .sub-list a { min-height: 48px; display: flex; align-items: center; padding-left: var(--s-6); border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-phone { margin: var(--s-4) 0 0; justify-content: center; }
  .btn-nav { margin-top: var(--s-3); align-self: stretch; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: var(--s-8); }
  .footer-brand { text-align: center; }
  .footer-brand img { margin-inline: auto; }
}

@media (max-width: 767px) {
  .hero { min-height: 0; background-image: url('../img/hero-delicare-odontologia-betim-960.webp'); background-position: 100% 50%; display: block; }
  .hero-inner { min-height: 0; display: block; padding-block: var(--s-12) var(--s-10); }
  .hero-copy { max-width: 100%; }
  .hero-sub { max-width: 100%; }
  .hero-art { position: relative; inset: auto; margin-top: var(--s-10); }
  .hero-mobile { display: block; width: 100%; max-width: 335px; }
  .hero-mobile img { width: 100%; height: auto; }
  .hero-art .badge { width: 66px; height: 66px; }
  .badge-1 { width: 82px; height: 76px; left: 0; top: 16%; }
  .badge-2 { left: 5%; top: 80%; }
  .badge-3 { left: auto; right: 4%; top: 36%; }

  .btn { width: 100%; max-width: 340px; }
  .btn-light { width: auto; }
  .btn-nav { width: 100%; max-width: none; }

  .marquee-track { gap: var(--s-10); }
  .card { flex-basis: min(80vw, 320px); max-width: min(80vw, 320px); }
  .car-nav { display: none; }
  .panel { flex-direction: column; text-align: center; gap: var(--s-10); padding: var(--s-8) var(--s-6); }
  .panel-photo .mask { right: -16px; bottom: -16px; }
  .gal-track img { width: 260px; height: 176px; }
  .cta-chat { margin-inline: auto; }
  .proc-body h2 { font-size: 1.5rem; margin-top: var(--s-12); }
  .proc-cta { padding: var(--s-8) var(--s-6); }
  .local-grid { grid-template-columns: 1fr; }
  .video-play img, .video iframe, .map iframe { height: 260px; }
  .map { min-height: 0; }
  .map-open { min-height: 220px; }
  .proc-cta-actions { flex-direction: column; }
}

.is-offscreen .marquee-track, .is-offscreen .gal-track, .is-offscreen .badge { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
