/* ===================================================================
   pages.css — componentes de páginas internas
   Carregar depois de /styles.css nas páginas: área de atuação,
   perfil de equipe, blog (índice + artigo).
   Reaproveita os tokens de cor/tipografia definidos em :root no styles.css.
=================================================================== */

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 128px 0 18px;
  font-size: .84rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.breadcrumb a { color: var(--navy); font-weight: 600; }
.breadcrumb a:hover { color: #b78460; }
.breadcrumb span[aria-hidden] { color: var(--muted); }
.breadcrumb .current { color: var(--muted); }

/* ---------- Hero de página interna ---------- */
.page-hero {
  position: relative;
  background: var(--navy-deep);
  color: #fff;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .34;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,31,51,.98) 0%, rgba(8,31,51,.92) 42%, rgba(8,31,51,.72) 100%);
}
.page-hero-content { position: relative; z-index: 1; padding: 10px 0 78px; max-width: 760px; }
.page-hero-content .eyebrow { margin-bottom: 16px; }
.page-hero-content h1 { font-size: clamp(2.4rem, 4.4vw, 3.6rem); line-height: 1.08; margin-bottom: 20px; }
.page-hero-lead { font-size: 1.1rem; color: rgba(255,255,255,.86); max-width: 620px; }
.page-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ---------- Bloco de introdução (duas colunas) ---------- */
.intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 54px; align-items: start; padding: 90px 0 20px; }
.intro-grid .eyebrow { margin-bottom: 14px; }
.intro-grid h2 { font-size: clamp(2rem, 3.2vw, 2.7rem); line-height: 1.15; }
.intro-copy { padding-top: 6px; color: var(--muted); }
.intro-copy p { margin: 0 0 16px; }
.intro-copy p:last-child { margin-bottom: 0; }

/* ---------- Grid de tópicos / benefícios ---------- */
.topics-section { padding: 30px 0 90px; }
.topics-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.topic-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 30px 28px;
  border: 1px solid var(--line);
}
.topic-card .topic-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: #fff; color: #b78460;
  border: 1px solid var(--line);
  margin-bottom: 20px;
}
.topic-card h3 { font-size: 1.2rem; margin: 0 0 10px; }
.topic-card p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Cuidado / aviso informativo ---------- */
.notice-box {
  margin: 0 0 90px;
  padding: 30px 34px;
  border-radius: var(--radius);
  background: #fbf6f1;
  border: 1px solid rgba(183,132,96,.28);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
.notice-box .notice-icon { color: #b78460; margin-top: 2px; }
.notice-box h3 { font-size: 1.05rem; margin: 0 0 6px; }
.notice-box p { margin: 0; color: var(--muted); font-size: .94rem; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--paper); padding: 90px 0; }
.faq-heading { max-width: 640px; margin-bottom: 44px; }
.faq-list { max-width: 820px; display: grid; gap: 14px; }
.faq-item { background: #fff; border-radius: 14px; border: 1px solid var(--line); overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-family: "DM Sans", sans-serif; font-size: 1.02rem; font-weight: 600; color: var(--ink);
}
.faq-question .faq-plus { flex-shrink: 0; width: 22px; height: 22px; position: relative; color: #b78460; }
.faq-question .faq-plus::before, .faq-question .faq-plus::after {
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
}
.faq-question .faq-plus::before { top: 50%; left: 0; width: 100%; height: 2px; transform: translateY(-50%); }
.faq-question .faq-plus::after { left: 50%; top: 0; height: 100%; width: 2px; transform: translateX(-50%); transition: transform .2s ease; }
.faq-item.open .faq-question .faq-plus::after { transform: translateX(-50%) scaleY(0); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner { padding: 0 26px 24px; color: var(--muted); font-size: .96rem; }

/* ---------- CTA de área (reaproveita cta-band, variação com fundo claro) ---------- */
.area-cta { background: var(--paper); padding: 0 0 90px; }
.area-cta-card {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 56px clamp(28px, 5vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.area-cta-card h2 { font-size: 1.9rem; margin-bottom: 6px; }
.area-cta-card p { margin: 0; color: rgba(255,255,255,.78); max-width: 480px; }

/* ---------- Perfil de equipe ---------- */
.profile-hero { background: var(--navy-deep); color: #fff; }
.profile-hero-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: center; padding: 10px 0 80px; }
.profile-photo { border-radius: 18px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.35); aspect-ratio: 4/4.6; }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-info .eyebrow { margin-bottom: 14px; }
.profile-info h1 { font-size: clamp(2.4rem, 4vw, 3.3rem); margin-bottom: 10px; }
.profile-role { font-size: 1.1rem; color: var(--gold); margin: 0 0 18px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.profile-tags span { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); font-size: .82rem; color: rgba(255,255,255,.88); }
.profile-oab { font-size: .88rem; color: rgba(255,255,255,.65); margin-bottom: 28px; }

.profile-bio { padding: 90px 0; }
.profile-bio-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 54px; }
.profile-bio-grid .eyebrow { margin-bottom: 14px; }
.profile-bio-copy { color: var(--muted); max-width: 640px; }
.profile-bio-copy p { margin: 0 0 16px; }
.profile-bio-copy p:last-child { margin-bottom: 0; }

/* ---------- Blog: índice ---------- */
.blog-hero { padding: 128px 0 50px; }
.blog-hero .eyebrow { margin-bottom: 16px; }
.blog-hero h1 { font-size: clamp(2.4rem, 4vw, 3.4rem); max-width: 720px; }
.blog-filter { display: flex; flex-wrap: wrap; gap: 10px; padding-bottom: 50px; }
.blog-filter a {
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); font-size: .88rem; font-weight: 600; color: var(--navy);
}
.blog-filter a.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding-bottom: 100px; }

/* ---------- Blog: artigo ---------- */
.article-hero { padding: 128px 0 50px; max-width: 800px; }
.article-hero .eyebrow { margin-bottom: 16px; }
.article-hero h1 { font-size: clamp(2.2rem, 4vw, 3.1rem); line-height: 1.15; margin-bottom: 20px; }
.article-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .9rem; }
.article-cover { height: 340px; border-radius: var(--radius); margin-bottom: 10px; }
.article-body { max-width: 720px; padding: 50px 0 40px; color: var(--ink); font-size: 1.05rem; line-height: 1.75; }
.article-body h2 { font-size: 1.55rem; margin: 44px 0 16px; }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.2rem; margin: 32px 0 12px; }
.article-body p { margin: 0 0 20px; }
.article-body ul, .article-body ol { margin: 0 0 20px; padding-left: 22px; color: var(--ink); }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--ink); }
.article-disclaimer {
  max-width: 720px; margin: 10px 0 60px; padding: 22px 26px; border-radius: 14px;
  background: var(--paper); border: 1px solid var(--line); color: var(--muted); font-size: .88rem;
}
.article-author {
  max-width: 720px; display: flex; align-items: center; gap: 16px; padding: 26px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 60px;
}
.article-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.article-author strong { display: block; font-size: 1rem; }
.article-author span { display: block; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.related-section { background: var(--paper); padding: 80px 0 90px; }
.related-heading { margin-bottom: 36px; }

/* ---------- Tag de categoria (compatível com o padrão usado no blog ao vivo) ---------- */
.tag, .content-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .66rem;
  font-weight: 700;
  padding: 6px 9px;
  border-radius: 3px;
  background: #e7cbb6;
  color: var(--navy);
}

/* ---------- Responsivo ---------- */
@media (max-width: 1020px) {
  .intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .profile-hero-grid { grid-template-columns: 1fr; }
  .profile-photo { max-width: 340px; }
  .profile-bio-grid { grid-template-columns: 1fr; gap: 24px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .area-cta-card { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 680px) {
  .breadcrumb { padding-top: 112px; }
  .page-hero-content { padding-bottom: 56px; }
  .topics-grid, .blog-grid { grid-template-columns: 1fr; }
  .notice-box { grid-template-columns: 1fr; padding: 24px; }
  .article-cover { height: 220px; }
  .area-cta-card .btn { width: 100%; }
}
