/* Ajustes do site estático — v15 (correções COFFITO / SEO / celular) */

/* Menu "Mais" e menu do celular */
#more-navigation[hidden], #mobile-navigation[hidden] { display: none !important; }
#mobile-navigation {
  position: fixed; top: 5rem; left: 0; right: 0; bottom: 0;
  max-height: none; overflow-y: auto; z-index: 60;
  background: #FFF9F6; box-shadow: 0 0 0 100vmax rgba(53, 71, 53, .35);
}
#mobile-navigation a { font-size: 1.05rem; }
html.menu-aberto, html.menu-aberto body { overflow: hidden; }

/* FAQ: respostas presentes no HTML */
.faq-answer { padding: 0 0 1rem; color: #454D44; font-size: .95rem; line-height: 1.7; }
[data-slot="accordion-content"][hidden] { display: none; }
[data-slot="accordion-trigger"][aria-expanded="true"] > svg { transform: rotate(180deg); }

/* Lightbox */
.lb-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(30, 36, 30, .6); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.lb-dialog { background: #FFF9F6; border: 1px solid #E9D8CF; border-radius: .75rem; width: 100%; max-width: min(920px, 94vw); max-height: 95dvh; overflow-y: auto; padding: 1rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .lb-dialog { padding: 1.5rem; } }
.lb-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.lb-nota { margin-top: .5rem; font-size: .875rem; color: #545B53; line-height: 1.5; }
.lb-fechar { flex-shrink: 0; border: 1px solid #E9D8CF; border-radius: 999px; padding: .5rem; color: #354735; background: transparent; cursor: pointer; }
.lb-img { margin: 0 auto; max-height: 66dvh; width: 100%; object-fit: contain; }
.lb-cta { display: inline-flex; justify-content: center; border-radius: 999px; background: #576D57; color: #fff; padding: .75rem 1.25rem; font-size: .875rem; font-weight: 500; }
.lb-cta:hover { background: #354735; }

/* WhatsApp flutuante: escondido sobre as setas do carrossel e enquanto o aviso de cookies aparece */
[data-whatsapp-float].wa-float-oculto, html.banner-cookies [data-whatsapp-float] { opacity: 0; visibility: hidden; pointer-events: none; }

/* Banner de cookies */
#cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 70; max-width: 40rem; margin: 0 auto; background: #FFF9F6; border: 1px solid #E9D8CF; border-radius: 1rem; box-shadow: 0 10px 30px rgba(53, 71, 53, .18); padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
#cookie-banner p { flex: 1 1 18rem; margin: 0; font-size: .875rem; line-height: 1.55; color: #354735; }
#cookie-banner a { text-decoration: underline; text-underline-offset: 3px; }
#cookie-banner .cb-acoes { display: flex; gap: .5rem; margin-left: auto; }
#cookie-banner button { border-radius: 999px; padding: .6rem 1.1rem; font-size: .875rem; font-weight: 500; cursor: pointer; }
#cookie-banner .cb-recusar { border: 1px solid #576D57; color: #354735; background: transparent; }
#cookie-banner .cb-aceitar { border: 1px solid #576D57; background: #576D57; color: #fff; }

/* Capa do celular: foto nova, recortada com a Dra. Luciane como foco */
@media (max-width: 639px) {
  .home-hero-mobile-photo picture { display: contents; }
  .home-hero-mobile-photo img { width: 100%; height: 100%; max-width: none; top: 0; left: 0; object-fit: cover; object-position: 50% 0%; }
  .home-hero-proof { margin-top: -4px; margin-bottom: 14px; font-size: .7rem !important; letter-spacing: .07em !important; }
}
.home-hero-proof { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #576D57; font-weight: 500; margin: -.5rem 0 1.5rem; }

/* Home: link "Ver todos os resultados" */
.btn-contorno { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid #576D57; border-radius: 999px; padding: .75rem 1.5rem; font-size: .875rem; font-weight: 500; color: #354735; }
.btn-contorno:hover { background: #576D57; color: #fff; }

/* Formação: item de largura total */
.formacao-full { grid-column: 1 / -1; }

/* Seção Fisioterapia pélvica (Saúde da Mulher) */
.pelvica-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .pelvica-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pelvica-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Links dentro dos textos do blog */
.link-texto { color: #576D57; text-decoration: underline; text-underline-offset: 4px; }
.link-texto:hover { color: #354735; }

/* Legibilidade: cinzas secundários mais escuros (contraste >= 4,5:1 em creme e rosé) */
.text-\[\#626A61\], .text-\[\#70776E\] { color: #545B53 !important; }
.text-\[\#354735\]\/65, .text-\[\#354735\]\/70, .text-\[\#354735\]\/75 { color: rgba(53, 71, 53, .9) !important; }
.text-\[\#C3CCC0\] { color: #E6ECE3 !important; }
.uppercase.tracking-wider.text-\[\#C98D82\] { color: #956158 !important; }

/* Legibilidade no celular: texto corrido com no mínimo 14 px */
@media (max-width: 767px) {
  main p.text-xs, main li.text-xs, main figcaption p.text-xs, main address, main .text-\[0\.7rem\], main .text-\[11px\],
  main p[class*="text-[0."], footer p, footer li, footer span, .home-hero-note, .home-hero-description { font-size: .875rem !important; line-height: 1.6; }
  .home-hero-credentials { font-size: .8rem !important; }
}

/* Blog: espaço extra no fim dos quadros para o botão flutuante não cobrir o texto */
.blog-post .prose > :last-child, .blog-post .rounded-2xl, .blog-post [class*="border-l-2"] { margin-bottom: 2.5rem; }
@media (max-width: 767px) { .blog-post main, body.blog-post #conteudo { padding-bottom: 5.5rem; } }

/* Rodapé: link de privacidade */
.rodape-legal a, .rodape-legal button { color: inherit; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* Política de privacidade */
.politica > div + div { margin-top: 2.25rem; }
.politica ul { list-style: disc; padding-left: 1.5rem; }
.politica li + li { margin-top: .5rem; }
.politica p + p { margin-top: .75rem; }
.politica button.link-texto { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

/* Home: endereço junto da seção da clínica */
.clinica-endereco { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid #E9D8CF; display: grid; gap: 2.5rem; }
@media (min-width: 1024px) { .clinica-endereco { grid-template-columns: 1fr .8fr; align-items: center; gap: 5rem; } }
