/* ==========================================================================
   O Código da Cura — folha de estilo (redesign 2026)
   Tema: azul & branco clínico — inspirado na capa do livro
   Display: Archivo Expanded (largo/moderno) · Serifa: Fraunces · Corpo: Inter
   ========================================================================== */

:root {
  /* Núcleo azul + branco */
  --navy:        #0a2647;   /* azul-marinho profundo (capa) */
  --navy-2:      #0b3b6f;   /* azul institucional */
  --navy-3:      #123f78;
  --blue:        #1e6fd9;   /* azul clínico vivo */
  --blue-light:  #4f97f3;
  --blue-soft:   #e8f1ff;   /* fundo azul suavíssimo */
  --blue-line:   #d3e3fb;

  /* Acento âmbar (detalhe da capa) — usado com muita parcimônia */
  --gold:        #e0a82e;
  --gold-dark:   #c68f1c;

  /* Superfícies claras */
  --paper:       #f6f9ff;   /* fundo geral */
  --white:       #ffffff;
  --surface:     #ffffff;

  /* Texto */
  --ink:         #0c1f38;   /* títulos escuros */
  --text:        #33445c;   /* corpo */
  --text-soft:   #5b6f88;
  --text-dim:    #8397ad;

  /* compat: aliases usados no HTML inline antigo */
  --teal:        #1e6fd9;
  --teal-light:  #4f97f3;
  --teal-dark:   #155bb5;
  --brass:       #e0a82e;

  --radius:      20px;
  --radius-sm:   14px;
  --radius-lg:   28px;
  --shadow:      0 24px 60px -28px rgba(10, 38, 71, .35);
  --shadow-sm:   0 12px 30px -18px rgba(10, 38, 71, .28);
  --shadow-blue: 0 20px 44px -20px rgba(30, 111, 217, .45);
  --maxw:        1200px;

  --font-display: 'Archivo Expanded', 'Archivo', system-ui, sans-serif;
  --font-serif:   'Fraunces', Georgia, serif;
  --font-body:    'Inter', 'Archivo', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--blue); color: #fff; padding: 10px 18px;
  border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* ---------- Tipografia ---------- */
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; }

/* Títulos "display" largos e modernos */
.hero-copy h1, .page-hero h1, .section-head h2,
.book-copy h1, .book-copy h2, .author-copy h1,
.article-head h1 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.05;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(224, 168, 46, .18);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }

.accent { color: var(--blue); }
.accent-gold { color: var(--gold-dark); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-blue); }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-2px); box-shadow: 0 26px 50px -18px rgba(30,111,217,.6); }
.btn-ghost { background: transparent; color: var(--navy-2); border-color: var(--blue-line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.btn-whats { background: #25d366; color: #05341a; }
.btn-whats:hover { background: #2ee875; transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(37,211,102,.5); }
.btn-nav { padding: 10px 20px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--blue-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { height: 42px; width: auto; display: block; flex-shrink: 0; }
.brand-footer .brand-logo { height: 36px; }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav a:not(.btn) {
  padding: 9px 15px; font-size: 15px; font-weight: 500; color: var(--text-soft);
  border-radius: 999px; transition: color .2s, background .2s;
}
.primary-nav a:not(.btn):hover { color: var(--navy-2); background: var(--blue-soft); }
.btn-nav { margin-left: 10px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 96px 0 84px; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(45% 42% at 82% 12%, rgba(30,111,217,.10), transparent 70%),
    radial-gradient(38% 40% at 8% 6%, rgba(224,168,46,.08), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center;
}
.hero-copy h1 { font-size: clamp(2.7rem, 5.6vw, 4.7rem); margin: 10px 0 24px; color: var(--ink); }
.hero-copy h1 .accent { color: var(--blue); }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.22rem); color: var(--text); max-width: 46ch; }
.lead strong { color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 42px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  border-top: 1px solid var(--blue-line); padding-top: 28px;
}
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.9rem); color: var(--navy-2); line-height: 1; }
.hero-stats dd { font-size: 13px; color: var(--text-soft); margin-top: 6px; max-width: 17ch; }

/* Foto de campanha (arte do livro) — cartão elegante, reto e limpo */
.hero-book { position: relative; display: grid; place-items: center; }
.book-cover {
  position: relative; z-index: 1;
  width: 100%; max-width: 430px;
  border-radius: var(--radius);
  border: 1px solid var(--blue-line);
  box-shadow: var(--shadow);
  transition: transform .4s ease, box-shadow .4s ease;
}
.hero-book .book-cover:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -30px rgba(10,38,71,.5); }
.book-shadow {
  position: absolute; width: 78%; height: 82%; background: var(--blue);
  filter: blur(90px); opacity: .16; border-radius: 40px; z-index: 0;
}

/* ---------- Cartões de destaque ---------- */
.features { padding: 4px 0 44px; position: relative; z-index: 2; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--blue-line);
  border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-card:hover { transform: translateY(-5px); border-color: rgba(30,111,217,.4); box-shadow: var(--shadow); }
.feature-ico {
  font-size: 26px; display: grid; place-items: center; width: 54px; height: 54px;
  border-radius: 14px; background: var(--blue-soft); margin-bottom: 16px;
}
.feature-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.feature-card p { font-size: 14px; color: var(--text-soft); }

/* ---------- Casca de seção ---------- */
.section { padding: 96px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 58px; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-bottom: 16px; color: var(--ink); }
.section-sub { color: var(--text-soft); font-size: 1.1rem; }

/* ---------- Método ---------- */
.method { background: linear-gradient(180deg, var(--paper) 0%, var(--blue-soft) 100%); }
.method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.method-step {
  position: relative; list-style: none;
  background: var(--surface); border: 1px solid var(--blue-line);
  border-radius: var(--radius); padding: 30px 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.method-step:hover { transform: translateY(-5px); border-color: rgba(30,111,217,.45); box-shadow: var(--shadow); }
.step-n {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 13px; background: var(--navy-2); color: #fff;
  font-family: var(--font-display); font-size: 19px; font-weight: 800; margin-bottom: 18px;
}
.method-step h3 { font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.method-step p { font-size: 14px; color: var(--text-soft); }
.method-cta {
  background: var(--navy); border-color: var(--navy);
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
}
.method-cta h3, .method-cta p { color: #fff; }
.method-cta p { opacity: .82; }
.method-cta .btn { background: var(--gold); color: var(--navy); margin-top: 6px; }
.method-cta .btn:hover { background: #f0bd4a; transform: translateY(-2px); }

/* ---------- Livro ---------- */
.book-section { background: var(--white); border-top: 1px solid var(--blue-line); border-bottom: 1px solid var(--blue-line); }
.book-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.book-visual { position: relative; display: grid; place-items: center; }
.book-visual .book-cover { max-width: 460px; }
.book-visual .book-cover:hover { transform: translateY(-6px); }
.book-shadow-2 { opacity: .14; }
.book-copy h1, .book-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-bottom: 18px; color: var(--ink); }
.book-benefits { list-style: none; margin: 30px 0; display: grid; gap: 18px; }
.book-benefits li { display: flex; gap: 16px; align-items: flex-start; }
.bico { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); display: grid; place-items: center; font-size: 22px; }
.book-benefits h4 { font-family: var(--font-body); font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.book-benefits p { font-size: 14px; color: var(--text-soft); }
.book-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }

/* ---------- Serviços ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
  position: relative; background: var(--surface); border: 1px solid var(--blue-line);
  border-radius: var(--radius); padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(30,111,217,.5); box-shadow: var(--shadow); }
.svc-ico {
  font-size: 26px; display: grid; place-items: center; width: 58px; height: 58px;
  border-radius: 15px; background: var(--blue-soft); margin-bottom: 18px;
}
.service-card h3 { font-size: 20px; margin-bottom: 10px; color: var(--ink); }
.service-card p { font-size: 14.5px; color: var(--text-soft); margin-bottom: 12px; }
.svc-arrow { position: absolute; right: 26px; bottom: 24px; color: var(--blue); font-size: 22px; opacity: 0; transform: translateX(-6px); transition: .25s; }
.service-card:hover .svc-arrow { opacity: 1; transform: translateX(0); }

/* ---------- Autor ---------- */
.author { background: linear-gradient(180deg, var(--blue-soft) 0%, var(--paper) 100%); }
.author-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: center; }
.author-photo img { border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--blue-line); width: 100%; }
.author-copy h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin-bottom: 16px; color: var(--ink); }
.author-copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 16px; color: var(--ink); }
.author-copy p { margin-bottom: 14px; color: var(--text); }
.author-roles { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0 32px; }
.author-roles li { background: var(--surface); border: 1px solid var(--blue-line); border-radius: var(--radius-sm); padding: 15px 17px; font-size: 14px; color: var(--text-soft); box-shadow: var(--shadow-sm); }
.author-roles strong { display: block; color: var(--navy-2); font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 3px; letter-spacing: -.01em; }

/* ---------- Contato ---------- */
.contact { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 60px; align-items: start; }
.contact-copy h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 16px; color: var(--ink); font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; }
.contact-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; color: var(--ink); }
.contact-points { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.contact-points li { color: var(--text-soft); font-size: 15px; }

.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  background: var(--paper); border: 1px solid var(--blue-line);
  border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm);
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15px; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--blue-line);
  border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(30,111,217,.14);
}
.field select { appearance: none; cursor: pointer; }
.field textarea { resize: vertical; }
.form-note { font-size: 12.5px; color: var(--text-dim); text-align: center; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy); color: #cfe0f5; padding: 48px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer .brand-logo { filter: brightness(0) invert(1); opacity: .95; }
.footer-copy { font-size: 13.5px; color: #8fa8c6; }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { font-size: 14px; color: #b8cae4; }
.footer-nav a:hover { color: #fff; }

/* ---------- WhatsApp flutuante ---------- */
.whats-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #05341a;
  display: grid; place-items: center; font-size: 26px;
  box-shadow: 0 14px 32px -10px rgba(37,211,102,.6); transition: transform .2s;
}
.whats-float:hover { transform: scale(1.09); }

/* ---------- Revelar ao rolar ---------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ==========================================================================
   Banners transparentes atrás do texto
   ========================================================================== */
.hero-banner, .page-hero-banner {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: .38;
  pointer-events: none;
}
/* Véu branco-azulado por cima da foto: leve no topo, forte na base,
   garantindo leitura do texto sem apagar a imagem. */
.hero-banner::after, .page-hero-banner::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(246,249,255,.28) 0%,
      rgba(246,249,255,.60) 55%,
      rgba(246,249,255,.90) 88%,
      var(--paper) 100%);
}
.hero .container, .page-hero .container { position: relative; z-index: 2; }

/* Banner também nas seções Autor e Contato (que não usam .page-hero) */
.section.author, .section.contact { position: relative; overflow: hidden; }
.section.author > .container, .section.contact > .container { position: relative; z-index: 2; }
/* Nessas seções a área é alta: concentra a foto no topo e dissolve antes do conteúdo */
.section.author .page-hero-banner, .section.contact .page-hero-banner { opacity: .34; }
.section.author .page-hero-banner::after, .section.contact .page-hero-banner::after {
  background:
    linear-gradient(180deg,
      rgba(246,249,255,.30) 0%,
      rgba(246,249,255,.72) 42%,
      rgba(246,249,255,.94) 70%,
      var(--paper) 100%);
}

/* ==========================================================================
   Páginas internas — subheader, blog e artigos
   ========================================================================== */
.page-hero { position: relative; padding: 84px 0 60px; overflow: hidden; background: var(--blue-soft); }
.page-hero .hero-glow { position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(48% 60% at 78% 0%, rgba(30,111,217,.10), transparent 70%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); margin: 12px 0 18px; color: var(--ink); }
.page-hero .lead { max-width: 54ch; }

/* Breadcrumbs */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--text-dim); margin-bottom: 22px; font-family: var(--font-body); }
.crumbs a { color: var(--text-soft); }
.crumbs a:hover { color: var(--blue); }
.crumbs span.sep { opacity: .5; }
.crumbs span.current { color: var(--blue); }

/* Pílulas de filtro do blog */
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.pill {
  border: 1.5px solid var(--blue-line); background: var(--white); color: var(--text-soft);
  padding: 9px 17px; border-radius: 999px; font-size: 14px; font-weight: 500; cursor: pointer;
  font-family: var(--font-body); transition: .2s;
}
.pill:hover { border-color: var(--blue); color: var(--blue); }
.pill.active { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.pill .count { opacity: .7; font-size: 12px; margin-left: 6px; }

/* Grade de artigos */
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--blue-line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s; height: 100%;
}
.post-card:hover { transform: translateY(-6px); border-color: rgba(30,111,217,.5); box-shadow: var(--shadow); }
.post-tag {
  display: inline-block; align-self: flex-start; font-family: var(--font-body);
  font-size: 11px; letter-spacing: .07em; text-transform: uppercase; font-weight: 700;
  color: var(--blue); background: var(--blue-soft);
  padding: 5px 12px; border-radius: 999px; margin-bottom: 16px;
}
.post-card h3 { font-size: 20px; line-height: 1.28; margin-bottom: 10px; color: var(--ink); font-family: var(--font-serif); font-weight: 600; }
.post-card:hover h3 { color: var(--blue); }
.post-card p { font-size: 14.5px; color: var(--text-soft); flex: 1; }
.post-meta { display: flex; gap: 14px; margin-top: 18px; font-size: 12px; color: var(--text-dim); font-family: var(--font-body); }

/* Artigo */
.article-wrap { display: grid; grid-template-columns: 1fr 240px; gap: 52px; align-items: start; max-width: 1040px; margin: 0 auto; }
.article-body { min-width: 0; }
.article-body h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(1.55rem, 2.6vw, 2.05rem); margin: 44px 0 14px; color: var(--ink); }
.article-body h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.35rem; margin: 30px 0 10px; color: var(--ink); }
.article-body p { margin-bottom: 18px; color: var(--text); font-size: 1.08rem; line-height: 1.8; }
.article-body ul { margin: 0 0 20px; padding-left: 4px; list-style: none; }
.article-body li { position: relative; padding-left: 22px; margin-bottom: 9px; color: var(--text); }
.article-body li::before { content: ''; position: absolute; left: 0; top: 12px; width: 9px; height: 2px; background: var(--blue); }
.article-body blockquote {
  margin: 28px 0; padding: 6px 0 6px 26px; border-left: 3px solid var(--gold);
  font-family: var(--font-serif); font-style: italic; font-size: 1.32rem; color: var(--ink);
}
.article-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(30,111,217,.35); }
.article-body a:hover { text-decoration-color: var(--blue); }
.article-body strong { color: var(--ink); font-weight: 700; }

/* TOC lateral */
.toc { position: sticky; top: 100px; font-size: 14px; }
.toc-title { font-family: var(--font-body); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; font-weight: 700; }
.toc ul { list-style: none; border-left: 2px solid var(--blue-line); }
.toc li a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; color: var(--text-dim); border-left: 2px solid transparent; transition: .2s; line-height: 1.4; }
.toc li a:hover, .toc li a.active { color: var(--blue); border-color: var(--blue); }
.toc li.lvl3 a { padding-left: 28px; font-size: 13px; }

/* Cabeçalho do artigo */
.article-head { max-width: 800px; margin: 0 auto 36px; }
.article-head .post-tag { font-size: 12px; }
.article-head h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; margin: 14px 0 18px; color: var(--ink); }
.article-head .excerpt { font-size: 1.2rem; color: var(--text-soft); line-height: 1.6; }
.article-head .meta-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--blue-line); font-size: 13px; color: var(--text-dim); font-family: var(--font-body); }
.article-head .meta-row .author-name { color: var(--ink); font-weight: 700; }

/* Caixa CTA no artigo */
.article-cta { margin: 48px 0 10px; background: var(--blue-soft); border: 1px solid var(--blue-line); border-radius: var(--radius); padding: 30px; }
.article-cta .eyebrow { margin-bottom: 10px; }
.article-cta h3 { font-size: 1.5rem; margin-bottom: 8px; color: var(--ink); }
.article-cta p { color: var(--text-soft); margin-bottom: 16px; }

/* FAQ */
.faq { max-width: 800px; margin: 52px auto 0; }
.faq h2 { font-family: var(--font-serif); font-weight: 600; font-size: 1.9rem; margin-bottom: 20px; color: var(--ink); }
.faq-item { border: 1px solid var(--blue-line); border-radius: 14px; margin-bottom: 12px; overflow: hidden; background: var(--surface); box-shadow: var(--shadow-sm); }
.faq-q { width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 20px 22px; display: flex; justify-content: space-between; gap: 16px; align-items: center;
  font-family: var(--font-serif); font-size: 1.15rem; color: var(--ink); }
.faq-q .ico { flex-shrink: 0; width: 27px; height: 27px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; font-size: 18px; transition: transform .2s; }
.faq-item.open .faq-q .ico { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a p { padding: 0 22px 20px; color: var(--text-soft); line-height: 1.7; }

/* Relacionados */
.related { margin-top: 72px; border-top: 1px solid var(--blue-line); padding-top: 42px; }
.related h2 { font-family: var(--font-serif); font-weight: 600; font-size: 1.7rem; margin-bottom: 24px; color: var(--ink); }

/* Consultoria — problema/solução */
.problem-band { background: var(--white); border-top: 1px solid var(--blue-line); border-bottom: 1px solid var(--blue-line); }
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.problem-grid h2 { font-family: var(--font-display); font-weight: 800; letter-spacing: -.02em; color: var(--ink); font-size: clamp(1.7rem,3vw,2.4rem); }
.problem-list { list-style: none; display: grid; gap: 12px; }
.problem-list li { display: flex; gap: 12px; background: var(--paper); border: 1px solid rgba(214,69,69,.22); border-radius: 12px; padding: 15px 18px; color: var(--text-soft); font-size: 14.5px; }
.problem-list li::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: #d64545; margin-top: 7px; }

/* Método detalhado (página) */
.method-detail { display: grid; gap: 16px; max-width: 920px; margin: 0 auto; }
.md-card { background: var(--surface); border: 1px solid var(--blue-line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-sm); }
.md-card .step-n { margin-bottom: 16px; }
.md-card h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; font-size: 1.5rem; margin-bottom: 10px; color: var(--ink); }
.md-card > p { color: var(--text-soft); margin-bottom: 16px; }
.md-steps { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.md-steps li { display: flex; gap: 10px; background: var(--blue-soft); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; color: var(--text-soft); }
.md-steps li::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-top: 7px; }

/* Livro — capítulos */
.chapters { list-style: none; }
.chapters li { display: flex; gap: 16px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--blue-line); }
.chapters .cn { font-family: var(--font-display); font-weight: 700; color: var(--blue); font-size: 15px; }
.chapters .ct { font-family: var(--font-serif); font-size: 1.15rem; color: var(--ink); }

/* Ícones sociais */
.social-links { display: flex; align-items: center; gap: 10px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: #cfe0f5; transition: background .2s, color .2s, transform .2s, border-color .2s;
}
.social-links a:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); }
.social-links svg { width: 18px; height: 18px; fill: currentColor; }
.footer-social { margin-left: 4px; }

/* Faixas CTA de fundo azul (inline no HTML usam var(--teal)/var(--navy)) */

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-book { order: -1; }
  .hero-book .book-cover { max-width: 360px; transform: none; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .book-grid, .author-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .book-visual { max-width: 330px; margin: 0 auto; }
  .author-photo { max-width: 400px; margin: 0 auto; }
}

@media (max-width: 900px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .article-wrap { grid-template-columns: 1fr; }
  .toc { display: none; }
  .problem-grid, .md-steps { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .primary-nav {
    position: fixed; inset: 74px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--blue-line);
    padding: 12px 24px 28px; transform: translateY(-120%); transition: transform .3s ease;
    max-height: calc(100dvh - 74px); overflow-y: auto;
    box-shadow: var(--shadow);
  }
  .primary-nav.open { transform: translateY(0); }
  .primary-nav a:not(.btn) { padding: 15px 6px; font-size: 18px; border-bottom: 1px solid var(--blue-line); border-radius: 0; }
  .btn-nav { margin: 16px 0 0; }
  .contact-form { grid-template-columns: 1fr; padding: 26px; }
  .hero-stats { gap: 14px; }
  .author-roles { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .article-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .feature-grid, .method-grid, .service-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0; }
}
