/**
 * CEDIG — fallbacks de marca + neutralização de estilos do WordPress
 * (cores, botões, links e textos alinhados ao HTML estático).
 * Complementa o Tailwind CDN na landing.
 */
body.cedig-landing {
  --cedig-anthracite: #414042;
  --cedig-champagne: #c5b38b;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
  color: var(--cedig-anthracite) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.cedig-landing .font-serif {
  font-family: "Cormorant Garamond", Georgia, serif !important;
}

/* Links “botão” e CTAs — sem sublinhado azul padrão */
body.cedig-landing header a,
body.cedig-landing main a[class*="rounded-"],
body.cedig-landing main a[class*="inline-flex"],
body.cedig-landing footer a[class*="rounded-"],
body.cedig-landing footer a.inline-flex {
  text-decoration: none !important;
}

/* ——— Cores de texto CEDIG ——— */
body.cedig-landing .text-cedig-anthracite {
  color: var(--cedig-anthracite) !important;
}
body.cedig-landing .text-cedig-anthracite\/80 {
  color: rgba(65, 64, 66, 0.8) !important;
}
body.cedig-landing .text-cedig-anthracite\/75 {
  color: rgba(65, 64, 66, 0.75) !important;
}
body.cedig-landing .text-cedig-anthracite\/70 {
  color: rgba(65, 64, 66, 0.7) !important;
}
body.cedig-landing .text-cedig-anthracite\/65 {
  color: rgba(65, 64, 66, 0.65) !important;
}
body.cedig-landing .text-cedig-anthracite\/60 {
  color: rgba(65, 64, 66, 0.6) !important;
}
body.cedig-landing .text-cedig-anthracite\/55 {
  color: rgba(65, 64, 66, 0.55) !important;
}
body.cedig-landing .text-cedig-anthracite\/50 {
  color: rgba(65, 64, 66, 0.5) !important;
}
body.cedig-landing .text-cedig-anthracite\/45 {
  color: rgba(65, 64, 66, 0.45) !important;
}
body.cedig-landing .text-cedig-anthracite\/85 {
  color: rgba(65, 64, 66, 0.85) !important;
}

body.cedig-landing .text-cedig-champagne {
  color: var(--cedig-champagne) !important;
}

body.cedig-landing .text-white {
  color: #fff !important;
}

body.cedig-landing .text-stone-300 {
  color: #d6d3d1 !important;
}

/* ——— Fundos ——— */
body.cedig-landing .bg-cedig-anthracite {
  background-color: var(--cedig-anthracite) !important;
}
body.cedig-landing .bg-cedig-champagne {
  background-color: var(--cedig-champagne) !important;
}
body.cedig-landing .bg-cedig-champagne\/10 {
  background-color: rgba(197, 179, 139, 0.1) !important;
}
body.cedig-landing .bg-cedig-champagne\/20 {
  background-color: rgba(197, 179, 139, 0.2) !important;
}
body.cedig-landing .bg-cedig-champagne\/10 {
  background-color: rgba(197, 179, 139, 0.1) !important;
}

/* ——— Bordas / anéis ——— */
body.cedig-landing .border-cedig-champagne\/20 {
  border-color: rgba(197, 179, 139, 0.2) !important;
}
body.cedig-landing .border-cedig-champagne\/30 {
  border-color: rgba(197, 179, 139, 0.3) !important;
}
body.cedig-landing .border-cedig-champagne\/40 {
  border-color: rgba(197, 179, 139, 0.4) !important;
}
body.cedig-landing .border-cedig-champagne\/50 {
  border-color: rgba(197, 179, 139, 0.5) !important;
}
body.cedig-landing .border-cedig-champagne\/60 {
  border-color: rgba(197, 179, 139, 0.6) !important;
}

/* ——— Hover (classes Tailwind escapadas) ——— */
body.cedig-landing .hover\:text-cedig-champagne:hover {
  color: var(--cedig-champagne) !important;
}
body.cedig-landing .hover\:bg-cedig-champagne:hover {
  background-color: var(--cedig-champagne) !important;
}
body.cedig-landing .hover\:text-cedig-anthracite:hover {
  color: var(--cedig-anthracite) !important;
}
body.cedig-landing .hover\:text-white:hover {
  color: #fff !important;
}
body.cedig-landing .hover\:border-cedig-champagne:hover {
  border-color: var(--cedig-champagne) !important;
}
body.cedig-landing .hover\:border-cedig-champagne\/40:hover {
  border-color: rgba(197, 179, 139, 0.4) !important;
}
body.cedig-landing .hover\:bg-cedig-champagne\/10:hover {
  background-color: rgba(197, 179, 139, 0.1) !important;
}
body.cedig-landing .hover\:bg-white:hover {
  background-color: #fff !important;
}
body.cedig-landing .hover\:underline:hover {
  text-decoration: underline !important;
}
body.cedig-landing .hover\:opacity-95:hover {
  opacity: 0.95 !important;
}

/* Cards exames — group-hover ícone */
body.cedig-landing .group:hover .group-hover\:bg-cedig-champagne {
  background-color: var(--cedig-champagne) !important;
}
body.cedig-landing .group:hover .group-hover\:text-white {
  color: #fff !important;
}

/* Botão primário (ant + branco) */
body.cedig-landing a.bg-cedig-anthracite.text-white,
body.cedig-landing a.bg-cedig-anthracite {
  background-color: var(--cedig-anthracite) !important;
  color: #fff !important;
}

/* CTA strip — texto champagne sobre antracite */
body.cedig-landing .bg-cedig-anthracite .text-cedig-champagne {
  color: var(--cedig-champagne) !important;
}
body.cedig-landing .bg-cedig-anthracite a.text-cedig-anthracite {
  color: var(--cedig-anthracite) !important;
}

/* Estrelas avaliações (fill currentColor) */
body.cedig-landing .text-cedig-champagne svg {
  color: var(--cedig-champagne);
}

/* Footer — links telefone / WhatsApp herdavam cor do tema */
body.cedig-landing footer a.text-cedig-champagne,
body.cedig-landing footer .text-cedig-champagne {
  color: var(--cedig-champagne) !important;
}
body.cedig-landing footer a.font-medium.text-cedig-anthracite\/80 {
  color: rgba(65, 64, 66, 0.8) !important;
}

/* WordPress troca emoji por <img class="emoji"> — sem isso herdam width:100% e explodem no card */
body.cedig-landing #avaliacoes img.emoji,
body.cedig-landing #avaliacoes img.wp-smiley,
body.cedig-landing .cedig-review-slide blockquote img.emoji,
body.cedig-landing .cedig-review-slide blockquote img.wp-smiley {
  width: 1em !important;
  max-width: 1.25em !important;
  height: 1em !important;
  max-height: 1.25em !important;
  margin: 0 0.04em !important;
  display: inline !important;
  vertical-align: -0.125em !important;
  box-shadow: none !important;
}

/* Depoimentos: respiro entre texto e qualquer linha seguinte */
body.cedig-landing .cedig-review-slide blockquote {
  margin-bottom: 0 !important;
}
body.cedig-landing .cedig-review-slide blockquote p {
  margin-bottom: 0 !important;
  line-height: 1.65 !important;
}

/* Nossa clínica: espaço entre texto introdutório e galeria (core WP pode anular mt-12) */
body.cedig-landing #clinica ul.cedig-gallery {
  margin-top: 3rem !important;
}
@media (min-width: 768px) {
  body.cedig-landing #clinica ul.cedig-gallery {
    margin-top: 4rem !important;
  }
}
