/* =========================================================
   Clínica Parolari — estilos compartilhados
   ========================================================= */

:root{
  --navy: #00337e;
  --navy-soft: #2d4f74;
  --blue: #2f6690;
  --blue-dark: #204a6b;
  --teal: #3f8f7f;
  --bg-page: #ffffff;
  --bg-soft: #f5f6f8;
  --bg-soft-2: #e4eef4;
  --card-bg: #f3f6fd;
  --text-body: #4d5a68;
  --text-muted: #7c8a99;
  --whatsapp: #25d366;
  --whatsapp-dark: #1ea952;
  --leaf: #4a9285;
  --border-soft: #dbe6ee;
}

*{ box-sizing: border-box; }

body{
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-serif{
  font-family: "Lora", Georgia, "Times New Roman", serif;
}

a{ text-decoration: none; }

.text-navy{ color: var(--navy) !important; }
.text-blue{ color: var(--blue) !important; }
.text-muted-soft{ color: var(--text-muted) !important; }
.bg-soft{ background-color: var(--bg-soft); }
.bg-soft-2{ background-color: var(--bg-soft-2); }

/* ---------- Navbar ---------- */
.site-navbar{
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border-soft);
}
.brand-logo{
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: "Lora", serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.05;
  width: 150px;
}
.brand-logo svg{ flex-shrink: 0; }

.site-navbar .nav-link{
  color: #01377c;
  font-weight: 500;
  padding: .5rem 1rem;
  position: relative;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active{
  color: #4e71b3;
  font-weight: 600;
}
.site-navbar .nav-link.active::after{
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0;
  height: 2px;
  background: #4e71b3;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn-pill{
  border-radius: 50rem;
  padding: .65rem 1.4rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: none;
}
.btn-blue{
  background: var(--blue);
  color: #fff;
}
.btn-blue:hover{ background: var(--blue-dark); color: #fff; }

.btn-navy{
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover{ background: var(--navy-soft); color: #fff; }

.btn-whatsapp{
  background: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover{ background: var(--whatsapp-dark); color: #fff; }

.btn-whatsapp-circle{
  background: var(--whatsapp);
  color: #fff;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.btn-whatsapp-circle:hover{ background: var(--whatsapp-dark); color: #fff; }

.floating-whatsapp{
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1030;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--whatsapp);
  color: #fff;
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(20, 80, 55, .24);
  transition: transform .2s ease, background-color .2s ease;
}
.floating-whatsapp:hover{
  background: var(--whatsapp-dark);
  color: #fff;
  transform: translateY(-3px);
}

/* ---------- Decorative blobs / leaves ---------- */
.decor-wrap{ position: relative; overflow: hidden; background-image: url('../img/background.jpg'); background-repeat: no-repeat; background-position: top; background: cover; }
.decor-svg{
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

/* ---------- Photo placeholders ---------- */
.photo-frame{
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, #dce8ef 0%, #c8dbe6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.photo-frame.portrait{ aspect-ratio: 3 / 4; }
.photo-frame .frame-icon{ opacity: .55; }
.photo-frame .frame-label{
  position: absolute;
  bottom: .75rem;
  left: 0; right: 0;
  text-align: center;
  font-size: .72rem;
  color: var(--blue-dark);
  opacity: .55;
  letter-spacing: .02em;
}

/* ---------- Specialty icon tiles ---------- */
.specialty-tile{
  background: var(--card-bg);
  border-radius: 18px;
  padding: 1.5rem 1rem 1.25rem;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid var(--border-soft);
}
.specialty-tile:hover{
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(28,58,94,.08);
}
.specialty-tile svg{ width: 46px; height: 46px; }
.specialty-tile i{ font-size: 2.9rem; color: var(--blue); }
.specialty-tile .tile-label{
  margin-top: .85rem;
  font-weight: 600;
  color: var(--navy);
  font-size: .95rem;
}

/* ---------- Blog banner ---------- */
.blog-banner{
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-left: 4px solid var(--teal);
  border-radius: 14px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(28,58,94,.06);
}
.blog-banner-icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-soft-2);
  color: var(--blue);
}
.blog-banner-content{ flex: 1; }
.blog-banner-title{
  color: var(--navy);
  font-family: "Lora", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 600;
}
.blog-banner-text{
  color: var(--text-muted);
  font-size: .85rem;
}
.blog-banner-link{
  flex-shrink: 0;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 600;
}
.blog-banner-link:hover{ color: var(--blue-dark); }

/* ---------- Blog page ---------- */
.blog-intro{
  background-color: var(--bg-soft);
}
.blog-intro h1{
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
}
.blog-lead{
  max-width: 620px;
  color: var(--text-muted);
  font-size: 1.08rem;
}
.blog-card{
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(28,58,94,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.blog-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(28,58,94,.1);
}
.blog-card-image{
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.blog-card-body{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.4rem 1.35rem 1.5rem;
}
.blog-card-category{
  color: var(--teal);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.blog-card h2{
  color: var(--navy);
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: .75rem;
}
.blog-card p:not(.blog-card-category){
  font-size: .92rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.blog-link{
  margin-top: auto;
  color: var(--blue);
  font-size: .92rem;
  font-weight: 600;
}
.blog-link:hover{ color: var(--blue-dark); }
.blog-cta h2{ font-size: clamp(1.45rem, 3vw, 2rem); }

/* ---------- Blog article ---------- */
.article-header{ background-color: var(--bg-soft); }
.article-header h1{
  max-width: 820px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 600;
  line-height: 1.2;
}
.article-breadcrumb{
  display: flex;
  align-items: center;
  gap: .65rem;
  color: var(--text-muted);
  font-size: .85rem;
}
.article-breadcrumb a{ color: var(--blue); }
.article-lead{
  max-width: 720px;
  color: var(--text-muted);
  font-size: 1.12rem;
  line-height: 1.7;
}
.article-byline{ color: var(--text-muted); font-size: .88rem; }
.article-layout{
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 280px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  justify-content: center;
}
.article-content{ min-width: 0; }
.article-image{
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2rem;
}
.article-content p{
  color: var(--text-body);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
}
.article-content .article-intro{
  color: var(--navy-soft);
  font-family: "Lora", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.75;
}
.article-content h2{
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 2.3rem 0 .8rem;
}
.article-note{
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: 1rem 1.1rem;
  margin: 2rem 0;
  border-left: 3px solid var(--teal);
  background: var(--bg-soft);
}
.article-note i{ color: var(--teal); margin-top: .3rem; }
.article-note p{ margin: 0; font-size: .92rem; }
.article-source{
  margin: 2rem 0 1.5rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--border-soft);
  border-left: 3px solid var(--blue);
  background: #fff;
  font-size: .9rem;
  line-height: 1.65;
}
.article-source p{ margin-bottom: .5rem; font-size: .9rem; }
.article-source .article-source-label{
  margin-bottom: .35rem;
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.article-source a{
  display: inline-flex;
  align-items: baseline;
  gap: .4rem;
  color: var(--blue);
  font-weight: 600;
}
.article-source a:hover{ color: var(--blue-dark); text-decoration: underline; }
.article-source a:focus-visible{ outline: 2px solid var(--blue); outline-offset: 3px; }
.article-source a i{ font-size: .75em; }
.article-back-link{ color: var(--blue); font-size: .92rem; font-weight: 600; }
.article-back-link:hover{ color: var(--blue-dark); }
.article-aside{
  position: sticky;
  top: 2rem;
  padding: 1.35rem;
  border-top: 3px solid var(--teal);
  background: var(--bg-soft);
}
.article-aside h2{
  color: var(--navy);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
}
.article-aside > p:not(.eyebrow){ font-size: .9rem; line-height: 1.65; }

@media (max-width: 767.98px){
  .article-layout{ grid-template-columns: minmax(0, 1fr); }
  .article-aside{ position: static; }
}

/* ---------- Rating badge ---------- */
.rating-badge{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--bg-soft);
  border-radius: 14px;
  padding: .6rem 1.1rem;
  font-size: .85rem;
}
.rating-badge .stars{ color: #f4b400; letter-spacing: 1px; }
.rating-badge .g-label{ font-weight: 600; color: var(--text-body); }

/* ---------- Quote block ---------- */
.quote-block{
  font-family: "Lora", serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--navy-soft);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}
.quote-mark{
  font-family: Georgia, serif;
  font-size: 3rem;
  color: var(--border-soft);
  line-height: 1;
}

/* ---------- Credential / attend cards ---------- */
.credential-item{
  text-align: center;
  padding: 1rem .5rem;
}
.credential-item .cred-icon{
  width: 52px; height: 52px;
  margin: 0 auto .6rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft);
  border-radius: 14px;
  color: var(--blue);
}
.credential-item .cred-label{
  font-size: .85rem;
  font-weight: 500;
  color: var(--navy);
}

.eyebrow{
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-muted);
}

.attend-card{
  background: var(--navy);
  color: #fff;
  border-radius: 16px;
  padding: 1.1rem 1.25rem;
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  height: 100%;
}
.attend-card .attend-icon{
  width: 38px; height: 38px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.15);
  border-radius: 10px;
}
.attend-card h3{
  font-family: "Inter", sans-serif;
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: .15rem;
}
.attend-card p{
  font-size: .82rem;
  color: rgba(255,255,255,.8);
  margin: 0;
}

/* ---------- Especialidades page: alternating rows ---------- */
.spec-row{
  padding: 3rem 0;
}
.spec-row .spec-icon{
  width: 112px; height: 112px;
  display: flex; align-items: center; justify-content: center;
  background: #f5f7fc;
  border-radius: 14px;
  color: var(--blue);
  margin-bottom: 1rem;
}
.spec-row .spec-icon img{
  width: 88px;
  height: 88px;
  object-fit: contain;
}
.spec-row h3{
  color: var(--navy);
  font-size: 1.35rem;
  margin-bottom: .6rem;
}
.spec-row h3 .spec-sub{
  font-family: "Inter", sans-serif;
  font-size: .95rem;
  font-weight: 400;
  color: var(--text-muted);
  display: block;
  margin-top: .15rem;
}
.spec-row p{ margin-bottom: .75rem; }
.spec-row .spec-link{
  color: var(--blue);
  font-weight: 600;
  font-size: .92rem;
}
.spec-row .spec-link:hover{ color: var(--blue-dark); }

.specialty-modal{
  border: 0;
  border-radius: 18px;
}
.specialty-modal .modal-title{
  color: var(--navy);
  font-size: 1.45rem;
}
.specialty-modal .modal-body{
  color: var(--text-body);
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid var(--border-soft);
  padding: 1.5rem 0;
  font-size: .85rem;
  color: var(--text-muted);
}
.site-footer .footer-item{
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.site-footer .social-icon{
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-footer .social-icon:hover{ background: var(--blue); color: #fff; }
.footer-bottom{
  border-top: 1px solid var(--border-soft);
  text-align: center;
  padding-top: 1rem;
  margin-top: 1rem;
  font-size: .78rem;
}

/* ---------- Section paddings ---------- */
.section-pad{ padding: 4.5rem 0; }
@media (max-width: 767.98px){
  .section-pad{ padding: 3rem 0; }
  .spec-row{ padding: 2rem 0; }
  .quote-block{ font-size: 1.05rem; }
  .blog-banner{ align-items: flex-start; flex-wrap: wrap; }
  .blog-banner-link{ margin-left: 3.75rem; }
}

.lead-hero{
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.3;
  font-weight: 600;
}
