/* IES Odontologia – refinamentos visuais leves + mapa (16/10/2026)
   Só acrescenta estilo; não altera textos nem a estrutura do site. */

::selection { background: rgba(14, 107, 132, .18); color: inherit; }
html { -webkit-tap-highlight-color: transparent; }

/* ---------- "Como podemos ajudar": ícone em selo suave + elevação ---------- */
a.group.rounded-2xl.bg-white.border-paper-line {
  box-shadow: 0 1px 2px rgba(7, 42, 53, .04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
a.group.rounded-2xl.bg-white.border-paper-line > img.h-10 {
  box-sizing: content-box;
  padding: 7px;
  border-radius: 14px;
  background: radial-gradient(circle at 50% 40%, #ffffff 0%, var(--color-paper-muted) 100%);
  box-shadow: inset 0 0 0 1px rgba(7, 42, 53, .06);
}
@media (hover: hover) {
  a.group.rounded-2xl.bg-white.border-paper-line:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -20px rgba(7, 42, 53, .35);
  }
}

/* ---------- Cards de tratamento e avaliações: sombra mais macia no hover ---------- */
@media (hover: hover) {
  a.group.rounded-\[1\.625rem\]:hover {
    box-shadow: 0 26px 48px -28px rgba(12, 52, 64, .42);
  }
}

/* ---------- Passos "Como funciona": anel suave nos números ---------- */
span.rounded-full.bg-brand.text-white.font-display.text-sm.font-extrabold {
  box-shadow: 0 0 0 6px rgba(14, 107, 132, .12);
}

/* ---------- Cartão de endereço com a mesma profundidade dos outros cards ---------- */
#localizacao .rounded-2xl.bg-white {
  box-shadow: 0 16px 36px -24px rgba(7, 42, 53, .28);
}

/* ---------- FAQ: pergunta aberta destacada ---------- */
button[aria-controls^="faq-panel-"] { transition: color .2s ease; }
button[aria-controls^="faq-panel-"][aria-expanded="true"] { color: var(--color-brand-text); }

/* =================================================================
   MAPA (OpenStreetMap + Leaflet)
   ================================================================= */
#localizacao .ies-map-host { box-shadow: 0 16px 36px -24px rgba(7, 42, 53, .28); }
.ies-map {
  position: absolute; inset: 0; z-index: 1;
  border-radius: inherit; overflow: hidden;
  background: #e8eef0;
  opacity: 0; transition: opacity .45s ease;
}
.ies-map.is-ready { opacity: 1; }
.ies-map .leaflet-container { font-family: var(--font-body, system-ui), system-ui, sans-serif; }
.ies-map .leaflet-tile-pane { filter: saturate(.85) contrast(.98); }
.ies-map .leaflet-control-zoom { border: 0 !important; box-shadow: 0 6px 18px -8px rgba(7, 42, 53, .45) !important; border-radius: 12px !important; overflow: hidden; }
.ies-map .leaflet-control-zoom a { width: 34px !important; height: 34px !important; line-height: 34px !important; color: var(--color-ink) !important; font-weight: 600; }
.ies-map .leaflet-control-attribution { font-size: 10px; background: rgba(255, 255, 255, .82) !important; border-top-left-radius: 8px; padding: 1px 6px !important; }
.ies-map .leaflet-control-attribution a { color: var(--color-brand-text); }

/* Pino da clínica */
.ies-pin { width: 0 !important; height: 0 !important; background: none; border: 0; }
.ies-pin-wrap { position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); pointer-events: none; }
.ies-pin-svg { display: block; width: 46px; height: 58px; filter: drop-shadow(0 10px 12px rgba(7, 42, 53, .35)); animation: ies-drop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.ies-pin-pulse {
  position: absolute; left: 50%; bottom: -9px; width: 26px; height: 12px; margin-left: -13px;
  border-radius: 50%; background: rgba(14, 107, 132, .35);
  animation: ies-pulse 2.4s ease-out infinite;
}
.ies-pin-label {
  position: absolute; left: 50%; bottom: 66px; transform: translateX(-50%);
  white-space: nowrap; background: #fff; color: var(--color-ink);
  border-radius: 12px; padding: 7px 12px 8px; text-align: center;
  box-shadow: 0 10px 26px -10px rgba(7, 42, 53, .45);
  font-family: var(--font-display), system-ui, sans-serif; font-weight: 800; font-size: 13px; line-height: 1.2;
  animation: ies-fade .5s .35s ease both;
}
.ies-pin-label small { display: block; font-family: var(--font-body, system-ui), system-ui, sans-serif; font-weight: 500; font-size: 11px; color: var(--color-muted); margin-top: 2px; }
.ies-pin-label:after {
  content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; margin-left: -5px;
  background: #fff; transform: rotate(45deg); border-radius: 2px;
}
.ies-map-route {
  position: absolute; left: 12px; bottom: 12px; z-index: 500;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--color-paper-dark); color: #fff; text-decoration: none;
  font-family: var(--font-display), system-ui, sans-serif; font-weight: 700; font-size: 12.5px;
  padding: 9px 14px; border-radius: 999px; box-shadow: 0 10px 22px -10px rgba(7, 42, 53, .6);
  transition: background-color .2s ease;
}
.ies-map-route:hover { background: var(--color-brand-dark); }
.ies-map-route svg { width: 14px; height: 14px; }
@media (max-width: 639px) { .ies-pin-label { font-size: 12px; padding: 6px 10px 7px; } }

@keyframes ies-pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes ies-drop { 0% { transform: translateY(-18px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes ies-fade { from { opacity: 0; transform: translate(-50%, 4px); } to { opacity: 1; transform: translate(-50%, 0); } }
@media (prefers-reduced-motion: reduce) {
  .ies-pin-svg, .ies-pin-label { animation: none; }
  .ies-pin-pulse { animation: none; opacity: .4; }
}

/* Mapa um pouco mais alto no celular para a etiqueta do pino respirar */
@media (max-width: 767px) { #localizacao .ies-map-host { height: 300px; } }
