/* ===== Estilos compartilhados dos artigos — Dr. Alex Daoud ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ice: #f3f7f7;
  --white: #ffffff;
  --ink: #0f2429;
  --slate: #46606a;
  --teal: #0b5e66;
  --teal-deep: #093f45;
  --mist: #d9e6e7;
  --wa: #25d366;
  --radius: 14px;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Instrument Sans', sans-serif;
  background: var(--ice);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--teal); color: var(--white); }

h1, h2, h3 { font-family: 'Bricolage Grotesque', sans-serif; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px;
  background: rgba(243,247,247,.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--mist);
}
.nav-logo { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.nav-logo span { color: var(--teal); }
.nav-link { font-size: .88rem; font-weight: 500; color: var(--slate); text-decoration: none; transition: color .25s; }
.nav-link:hover { color: var(--teal); }
.nav-cta {
  background: var(--teal); color: var(--white); text-decoration: none;
  padding: 10px 20px; border-radius: 100px; font-size: .84rem; font-weight: 600;
  transition: background .25s;
}
.nav-cta:hover { background: var(--teal-deep); }

/* CONTAINER */
.article-wrap { max-width: 760px; margin: 0 auto; padding: 40px 24px 80px; }

/* Breadcrumb */
.breadcrumb { font-size: .82rem; color: var(--slate); margin-bottom: 24px; }
.breadcrumb a { color: var(--teal); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* Cabeçalho do artigo */
.article-mark { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--teal); margin-bottom: 14px; }
.article-title { font-size: clamp(2rem, 5vw, 2.9rem); font-weight: 700; margin-bottom: 20px; }
.article-lead { font-size: 1.15rem; color: var(--slate); margin-bottom: 28px; }

/* Caixa de autoria */
.author {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; margin-bottom: 8px;
  background: var(--white); border: 1px solid var(--mist); border-radius: 12px;
}
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal-deep); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 1.05rem;
}
.author-name { font-weight: 600; font-size: .95rem; }
.author-meta { font-size: .8rem; color: var(--slate); }

/* Índice do blog (/artigos/) */
.blog-head { max-width: 620px; margin-bottom: 40px; }
.blog-head .article-mark { margin-bottom: 10px; }
.blog-head h1 { font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 700; margin-bottom: 12px; }
.blog-head p { color: var(--slate); font-size: 1.05rem; }
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.blog-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--mist); border-radius: 14px; overflow: hidden;
  background: var(--white); text-decoration: none; color: inherit;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.blog-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 12px 28px rgba(9,63,69,.08); }
.blog-card img { width: 100%; height: auto; display: block; aspect-ratio: 1200/630; object-fit: cover; }
.blog-card__body { padding: 20px 22px 24px; }
.blog-card__cat { font-size: .78rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: .04em; }
.blog-card__title { font-family: 'Bricolage Grotesque', sans-serif; font-size: 1.2rem; font-weight: 600; color: var(--ink); margin: 8px 0 10px; line-height: 1.25; }
.blog-card__excerpt { font-size: .92rem; color: var(--slate); }
.blog-card__more { display: inline-block; margin-top: 14px; font-size: .85rem; font-weight: 600; color: var(--teal); }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

/* Capa */
.article-cover { margin: 24px 0 8px; }
.article-cover img { width: 100%; height: auto; border-radius: 14px; display: block; }

/* Referências */
.refs { margin-top: 40px; }
.refs h2 { font-size: 1.1rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--teal); margin-bottom: 12px; }
.refs ul { list-style: none; margin: 0; }
.refs li { margin-bottom: 8px; font-size: .9rem; color: var(--slate); }
.refs a { color: var(--teal); word-break: break-word; }

/* Conteúdo */
.article-body { margin-top: 36px; }
.article-body h2 { font-size: 1.6rem; font-weight: 600; margin: 40px 0 14px; }
.article-body h3 { font-size: 1.2rem; font-weight: 600; margin: 28px 0 10px; }
.article-body p { margin-bottom: 18px; color: #22383e; }
.article-body strong { color: var(--ink); font-weight: 600; }
.article-body ul, .article-body ol { margin: 0 0 18px 22px; }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--teal); }

/* Callout */
.callout {
  background: var(--white); border-left: 4px solid var(--teal);
  border-radius: 10px; padding: 18px 20px; margin: 26px 0; font-size: .98rem; color: var(--slate);
}

/* FAQ */
.faq { margin-top: 44px; }
.faq h2 { margin-bottom: 8px; }
.faq details {
  background: var(--white); border: 1px solid var(--mist); border-radius: 12px;
  padding: 4px 20px; margin-bottom: 12px;
}
.faq summary {
  font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; font-size: 1.02rem;
  cursor: pointer; padding: 14px 0; list-style: none; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--teal); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 16px; color: var(--slate); margin: 0; }

/* CTA */
.cta-block {
  margin-top: 48px; background: var(--teal-deep); border-radius: var(--radius);
  padding: 40px 34px; text-align: center;
}
.cta-block h2 { color: var(--white); font-size: 1.6rem; margin-bottom: 10px; }
.cta-block p { color: rgba(255,255,255,.7); margin-bottom: 24px; font-size: 1rem; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa); color: #fff; text-decoration: none;
  padding: 16px 30px; border-radius: 100px; font-weight: 600; font-size: .95rem;
  transition: background .25s;
}
.btn-wa:hover { background: #1fb958; }
.btn-wa svg { width: 20px; height: 20px; fill: #fff; }

/* Leia também */
.readtoo { margin-top: 44px; border-top: 1px solid var(--mist); padding-top: 28px; }
.readtoo h2 { font-size: 1.1rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--teal); margin-bottom: 14px; }
.readtoo ul { list-style: none; margin: 0; }
.readtoo li { margin-bottom: 10px; }
.readtoo a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1.02rem; }
.readtoo a:hover { color: var(--teal); text-decoration: underline; }

/* Box de autor (E-E-A-T) */
.author-bio {
  display: flex; gap: 18px; align-items: flex-start;
  margin-top: 40px; padding: 24px;
  background: var(--white); border: 1px solid var(--mist); border-radius: 14px;
}
.author-bio .author-avatar { width: 60px; height: 60px; font-size: 1.3rem; }
.author-bio h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.author-bio .author-role { font-size: .82rem; color: var(--teal); font-weight: 600; margin-bottom: 8px; }
.author-bio p { font-size: .92rem; color: var(--slate); margin: 0; line-height: 1.6; }
.author-bio a { color: var(--teal); }

/* Tags */
.tags { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tags .tags-label { font-size: .78rem; font-weight: 600; color: var(--slate); text-transform: uppercase; letter-spacing: .05em; margin-right: 4px; }
.tags span.tag { font-size: .8rem; color: var(--teal-deep); background: var(--mist); padding: 5px 12px; border-radius: 100px; }

/* Aviso médico */
.disclaimer { margin-top: 32px; font-size: .82rem; color: var(--slate); border-top: 1px solid var(--mist); padding-top: 20px; }

/* FOOTER */
footer { background: var(--ink); color: rgba(255,255,255,.55); padding: 40px 24px; }
.footer-inner { max-width: 760px; margin: 0 auto; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .8rem; }
.footer-brand { font-family: 'Bricolage Grotesque', sans-serif; font-weight: 600; color: var(--white); font-size: 1rem; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 56px; height: 56px; background: var(--wa); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,.4); text-decoration: none;
}
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

@media (max-width: 620px) {
  nav { padding: 12px 18px; }
  .article-wrap { padding: 28px 18px 64px; }
  .footer-inner { flex-direction: column; }
}
