/*
Theme Name: EFFLUA
Theme URI: https://clinicaefflua.com.br/
Author: Clínica EFFLUA
Author URI: https://clinicaefflua.com.br/
Description: Tema editorial para a Clínica EFFLUA — cuidado médico integrado, saúde metabólica e longevidade. Layout moderno, tipografia serif e paleta sage + clay. Conteúdo editável via Aparência → Personalizar.
Version: 1.6
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: efflua
Tags: medical, clinic, editorial, longevity, wellness
*/

/* WordPress required base styles */

.alignleft  { float: left;  margin-right: 1em; }
.alignright { float: right; margin-left: 1em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px);
  height: 1px; width: 1px; overflow: hidden;
  position: absolute !important;
}

/* ============================================
   AJUSTES VISUAIS PERSONALIZADOS - EFFLUA
   ============================================ */

/* CTA dual buttons */
.cta-actions-dual .btn-primary { padding-right: 56px !important; }
.cta-actions-dual .arrow { top: 50% !important; transform: translateY(-50%); right: 22px !important; }

/* Politica de Privacidade */
.legal { padding-top: 240px !important; }
@media (max-width: 720px) {
  .legal { padding-top: 180px !important; }
}

/* Fotos equipe - todas */
.member-photo {
  background-size: cover !important;
  background-position: center top !important;
  background-color: transparent !important;
}
.member-photo::after {
  display: none !important;
}

/* === AJUSTE foto JPG do Dr. Guerryman (DSC01373) === */
/* Seletor por atributo: pega especificamente a foto que contém DSC01373 no style */
div.member-photo[style*="DSC01373"] {
  background-position: center 30% !important;
}

/* Fotos unidades */
.location-img {
  aspect-ratio: 3/4 !important;
  background-size: cover !important;
  background-color: transparent !important;
}
.location-img-vinhedo { background-position: center bottom !important; }
.location-img-jundiai { background-position: center center !important; }
.locations-grid { align-items: start; }
@media (max-width: 800px) {
  .location-img { aspect-ratio: 4/5 !important; }
}

/* Logo header */
.nav img, .nav a img, nav.nav img, nav.nav a img,
.nav .nav-logo, .nav .nav-logo img, .nav .nav-logo a, .nav .nav-logo a img {
  height: 60px !important;
  max-height: 60px !important;
  width: auto !important;
  max-width: 200px !important;
  object-fit: contain !important;
}
@media (max-width: 720px) {
  .nav img, .nav a img, nav.nav img, nav.nav a img,
  .nav .nav-logo, .nav .nav-logo img, .nav .nav-logo a, .nav .nav-logo a img {
    height: 48px !important;
    max-height: 48px !important;
    max-width: 170px !important;
  }
}

/* Logo footer */
.footer-brand-img {
  filter: none !important;
  background: #ffffff;
  padding: 16px 24px;
  border-radius: 6px;
  width: 220px;
  max-width: 100%;
  height: auto;
  opacity: 1;
}

/* === FIX hero: imagens com tag img (novo padrão) === */
.hero-visual .hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.hero-visual .hero-img picture {
  display: block;
  width: 100%;
  height: 100%;
}

/* Esconde gradiente peach quando imagem está carregada (compatibilidade) */
.hero-visual .hero-img[style*="background-image"]::before,
.hero-visual picture::before {
  display: none !important;
}

/* === Equipe: força TODOS os cards em círculo perfeito === */
.team .member-photo {
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  background-position: center top !important;
  background-size: cover !important;
}
/* Reforço pro card do Guerryman (DSC01373) */
.team .member-photo[style*="DSC01373"] {
  background-position: center 25% !important;
}

/* === Diretor Técnico no rodapé === */
.footer-responsible {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.78;
  margin-bottom: 12px;
}
.footer-responsible strong {
  font-weight: 500;
  opacity: 0.92;
}

/* =========================================
   AREA PAGES
========================================= */

.area-page {
  background: #f5f3ef;
}

.area-wrap {
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
}

.area-hero {
  padding: 220px 0 120px;
  position: relative;
}

.area-title {
  font-size: clamp(52px, 7vw, 110px);
  line-height: .95;
  letter-spacing: -0.04em;
  max-width: 980px;
  margin-bottom: 32px;
}

.area-sub {
  max-width: 760px;
  font-size: 20px;
  line-height: 1.7;
  opacity: .72;
}

.area-actions {
  margin-top: 42px;
}

.area-content {
  padding: 80px 0 140px;
}

.area-block {
  margin-bottom: 120px;
}

.area-block-title {
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.area-block-text p {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.9;
  opacity: .82;
  margin-bottom: 24px;
}

.area-steps {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 42px;
  margin-top: 50px;
}

.area-step {
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 26px;
}

.area-step-num {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .45;
  margin-bottom: 14px;
}

.area-step-title {
  font-size: 32px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.area-step-desc {
  font-size: 17px;
  line-height: 1.8;
  opacity: .75;
}

.area-faq {
  border-top: 1px solid rgba(0,0,0,.08);
}

.area-faq-item {
  padding: 36px 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.area-faq-q {
  font-size: 32px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.area-faq-a {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.8;
  opacity: .76;
}

.area-final-cta {
  padding: 140px 0;
  text-align: center;
}

.area-final-cta .cta-title {
  max-width: 820px;
  margin: 0 auto 24px;
}

.area-final-cta .cta-sub {
  max-width: 620px;
  margin: 0 auto 40px;
}

@media (max-width: 900px) {

  .area-wrap {
    width: min(100% - 40px, 100%);
  }

  .area-hero {
    padding: 180px 0 100px;
  }

  .area-title {
    font-size: 54px;
  }

  .area-sub {
    font-size: 18px;
  }

  .area-steps {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .area-step-title,
  .area-faq-q {
    font-size: 28px;
  }

}

.area-title {
  font-size: clamp(48px, 5.6vw, 88px);
  line-height: 0.98;
  max-width: 940px;
}

.area-hero {
  padding: 210px var(--pad) 105px;
}

.area-content {
  padding-top: 95px;
}

.area-title {
  font-size: clamp(46px, 5.2vw, 82px);
  line-height: 1;
}

/* Refinamento final das páginas de áreas de cuidado */
.area-title {
  font-size: clamp(46px, 5.2vw, 82px);
  line-height: 1;
}