/* ==========================================================
   Dr. Henrique Figueiredo — Ortopedia Especializada
   Paleta: azul-marinho, dourado e tons claros
   ========================================================== */

:root {
  --navy-900: #0E1E3A;
  --navy-800: #15294B;
  --navy-700: #1B3358;
  --navy-500: #3A5278;
  --gold: #B8975A;
  --gold-deep: #8C6D35;
  --gold-soft: #D8C59D;
  --mist: #F3F5F8;
  --mist-2: #E9EDF2;
  --line: #DDE2EA;
  --ink: #1E2A3D;
  --muted: #5A6577;
  --white: #FFFFFF;
  --wa: #25D366;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(88px, 11vw, 152px);
  --radius: 6px;
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy-900);
  margin: 0;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(44px, 6.2vw, 84px); line-height: 1.02; }
h2 { font-size: clamp(34px, 4.2vw, 54px); line-height: 1.08; }
h3 { font-size: clamp(24px, 2.2vw, 29px); line-height: 1.2; font-weight: 600; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: 64ch; }
.lead { font-size: clamp(18px, 1.6vw, 20px); line-height: 1.7; color: var(--muted); }
.on-navy .lead, .on-navy p { color: rgba(255,255,255,.78); }
.on-navy h1, .on-navy h2, .on-navy h3 { color: var(--white); }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 200;
  background: var(--gold); color: var(--navy-900); padding: 10px 16px; border-radius: var(--radius);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 16px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .01em;
  text-decoration: none; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; flex: none; }
.btn-gold { background: var(--gold); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-navy { background: var(--navy-900); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn-line { border-color: var(--navy-900); color: var(--navy-900); }
.btn-line:hover { background: var(--navy-900); color: var(--white); }
.btn .wa-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; }
.btn .wa-dot svg { width: 13px; height: 13px; fill: #fff; }

.text-link {
  font-weight: 700; font-size: 15px; color: var(--navy-900); text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 3px; transition: color .2s, border-color .2s;
}
.text-link:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.on-navy .text-link { color: var(--gold-soft); border-color: rgba(216,197,157,.5); }
.on-navy .text-link:hover { color: var(--white); border-color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(14,30,58,.45); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 80px; width: auto; }

.nav { display: flex; align-items: center; gap: 36px; }
.nav-list { list-style: none; display: flex; align-items: center; gap: 30px; }
.nav-list > li { position: relative; }
.nav-list a, .nav-list .sub-toggle {
  font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--navy-900);
  text-decoration: none; background: none; border: 0; padding: 8px 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  position: relative;
}
.nav-list > li > a::after, .nav-list .sub-toggle::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current="page"]::after,
.nav-list .sub-toggle:hover::after, .nav-list .sub-toggle.is-current::after { transform: scaleX(1); }
.sub-toggle svg { width: 12px; height: 12px; transition: transform .2s; }
.has-sub.open .sub-toggle svg { transform: rotate(180deg); }

.submenu {
  list-style: none; position: absolute; top: calc(100% + 14px); left: -24px; min-width: 290px;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 24px 48px -24px rgba(14,30,58,.35);
  padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.has-sub.open .submenu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1025px) {
  .has-sub:hover .submenu { opacity: 1; visibility: visible; transform: none; }
}
.submenu a { display: block; padding: 11px 14px; border-radius: 6px; font-weight: 500; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--mist); }
.submenu a::after { display: none; }
.submenu .sub-all { color: var(--gold-deep); font-weight: 700; border-top: 1px solid var(--line); margin-top: 6px; border-radius: 0 0 6px 6px; padding-top: 14px; }

.menu-btn {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%;
  background: var(--white); align-items: center; justify-content: center; cursor: pointer; padding: 0;
}
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--navy-900); position: relative; transition: background .2s; }
.menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; background: var(--navy-900); transition: transform .25s, top .25s;
}
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--navy-900); color: var(--white);
  overflow-y: auto; padding: 28px var(--gutter) 120px;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.menu-open .drawer { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }
.drawer ul { list-style: none; }
.drawer > nav > ul > li { border-bottom: 1px solid rgba(255,255,255,.1); }
.drawer nav a { color: var(--white); text-decoration: none; display: block; }
.drawer .d-main { font-family: var(--serif); font-size: 32px; font-weight: 500; padding: 16px 0; line-height: 1.2; }
.drawer .d-sub { padding: 0 0 16px; }
.drawer .d-sub a { font-size: 16px; color: rgba(255,255,255,.75); padding: 9px 0 9px 18px; border-left: 1px solid rgba(216,197,157,.4); }
.drawer .d-sub a:hover, .drawer nav a[aria-current="page"] { color: var(--gold-soft); }
.drawer .d-cta { margin-top: 32px; display: grid; gap: 12px; }
.drawer .d-cta .btn { width: 100%; }
.drawer .d-meta { margin-top: 32px; font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.7; }

@media (max-width: 1024px) {
  :root { --header-h: 72px; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .brand img { height: 56px; }
}
@media (min-width: 1025px) { .drawer { display: none; } }

/* ---------- Hero (home) ---------- */
.hero {
  background: var(--navy-900);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(1200px 600px at 85% 20%, rgba(58,82,120,.55), transparent 60%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px);
  align-items: center;
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(72px, 9vw, 128px);
}
.hero-kicker { font-size: 15px; font-weight: 600; color: var(--gold-soft); margin-bottom: 28px; letter-spacing: .01em; }
.motto { margin: 0 0 36px; }
.motto .line { display: block; color: var(--white); }
.motto .line + .line { margin-top: .14em; }
.motto .rule {
  display: block; height: 2px; background: var(--gold); margin-top: .16em;
  transform-origin: left center;
}
.motto .line:nth-child(1) .rule { width: 2.2ch; }
.motto .line:nth-child(2) .rule { width: 5.2ch; }
.motto .line:nth-child(3) .rule { width: 9.4ch; }
.hero-text .lead { max-width: 52ch; margin-bottom: 40px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { margin-top: 28px; font-size: 14px; color: rgba(255,255,255,.6); }

.hero-photo { position: relative; justify-self: end; width: 100%; max-width: 460px; }
.hero-photo picture { display: block; position: relative; z-index: 1; border-radius: 4px; overflow: hidden; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 12%; }
.hero-photo::after {
  content: ""; position: absolute; z-index: 0; inset: 22px -22px -22px 22px;
  border: 1px solid rgba(184,151,90,.7); border-radius: 4px;
}
.hero-badge {
  position: absolute; z-index: 2; left: -28px; bottom: 36px;
  background: var(--white); color: var(--navy-900); border-radius: 6px;
  padding: 16px 20px; box-shadow: 0 24px 40px -24px rgba(0,0,0,.5);
  font-size: 14px; line-height: 1.45; max-width: 240px;
}
.hero-badge strong { display: block; font-family: var(--serif); font-size: 21px; font-weight: 600; margin-bottom: 2px; }

@media (prefers-reduced-motion: no-preference) {
  .js .motto .line { opacity: 0; transform: translateY(14px); animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; }
  .js .motto .rule { transform: scaleX(0); animation: grow .9s cubic-bezier(.2,.7,.2,1) forwards; }
  .js .motto .line:nth-child(1), .js .motto .line:nth-child(1) .rule { animation-delay: .1s; }
  .js .motto .line:nth-child(2) { animation-delay: .35s; }
  .js .motto .line:nth-child(2) .rule { animation-delay: .55s; }
  .js .motto .line:nth-child(3) { animation-delay: .6s; }
  .js .motto .line:nth-child(3) .rule { animation-delay: .85s; }
  .js .motto .line:nth-child(1) .rule { animation-delay: .3s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes grow { to { transform: scaleX(1); } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { justify-self: start; max-width: 420px; margin: 8px 22px 22px 0; }
  .hero-badge { left: auto; right: -10px; bottom: 24px; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .hero-badge { position: relative; right: auto; bottom: auto; margin: -40px 0 0 16px; max-width: 260px; }
}

/* ---------- Credentials strip ---------- */
.creds { background: var(--mist); border-bottom: 1px solid var(--line); }
.creds-list {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  padding: 34px 0;
}
.creds-list li { padding: 4px 28px; border-left: 1px solid var(--line); font-size: 14px; line-height: 1.5; color: var(--muted); }
.creds-list li:first-child { border-left: 0; padding-left: 0; }
.creds-list strong { display: block; color: var(--navy-900); font-size: 15px; font-weight: 700; margin-bottom: 2px; }
@media (max-width: 900px) {
  .creds-list { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .creds-list li:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 520px) {
  .creds-list { grid-template-columns: 1fr; }
  .creds-list li { border-left: 0; padding-left: 0; }
}

/* ---------- Sections ---------- */
.section { padding: var(--section) 0; }
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy-900); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head p { color: var(--muted); max-width: 48ch; justify-self: end; }
.on-navy .section-head p { color: rgba(255,255,255,.72); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 20px; } .section-head p { justify-self: start; } }

/* Especialidades index list */
.spec-list { list-style: none; border-top: 1px solid var(--line); }
.spec-list li { border-bottom: 1px solid var(--line); }
.spec-row {
  display: grid; grid-template-columns: minmax(220px, 1fr) 1.4fr auto; gap: 40px; align-items: center;
  padding: 34px 8px; text-decoration: none; color: inherit; position: relative;
  transition: background-color .25s, padding .25s;
}
.spec-row h3, .spec-row h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 500; }
.spec-row p { color: var(--muted); margin: 0; max-width: 56ch; }
.spec-row .go {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; transition: background-color .25s, border-color .25s;
}
.spec-row .go svg { width: 18px; height: 18px; stroke: var(--navy-900); transition: stroke .25s; }
.spec-row:hover { background: var(--mist); padding-left: 24px; padding-right: 24px; }
.spec-row:hover .go { background: var(--navy-900); border-color: var(--navy-900); }
.spec-row:hover .go svg { stroke: var(--gold-soft); }
.section-mist .spec-row:hover { background: var(--white); }
@media (max-width: 760px) {
  .spec-row { grid-template-columns: 1fr auto; gap: 10px 20px; padding: 26px 0; }
  .spec-row p { grid-column: 1 / -1; grid-row: 2; }
  .spec-row:hover { padding-left: 0; padding-right: 0; background: none; }
}

/* Split blocks */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 120px); align-items: center; }
.split.reverse { grid-template-columns: 1.1fr .9fr; }
.split.reverse .split-media { order: 2; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 15%; border-radius: 4px; }
.split-body h2 { margin-bottom: 28px; }
.split-body .lead { margin-bottom: 1.1em; }
.split-body .actions { margin-top: 36px; display: flex; gap: 28px; flex-wrap: wrap; align-items: center; }
@media (max-width: 860px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .split-media { max-width: 460px; }
}

.signature { margin-top: 32px; height: 64px; width: auto; opacity: .9; }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.steps li { padding: 0 32px 0 0; position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold);
  font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--gold-soft);
  margin-bottom: 28px; background: var(--navy-900); position: relative; z-index: 1;
}
.steps li::after {
  content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 1px; background: rgba(184,151,90,.35);
}
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 24px; margin-bottom: 12px; }
.steps p { font-size: 15.5px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps li:nth-child(2)::after { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; row-gap: 36px; }
  .steps li { padding: 0 0 0 68px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li::after { left: 22px; top: 44px; bottom: -36px; right: auto; width: 1px; height: auto; }
  .steps li:nth-child(2)::after { display: block; }
}

/* Article cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.post-card {
  display: flex; flex-direction: column; padding: 34px 32px 38px 0; text-decoration: none; color: inherit;
  border-bottom: 1px solid var(--line);
}
.posts .post-card + .post-card { padding-left: 32px; border-left: 1px solid var(--line); }
.post-meta { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; display: flex; gap: 14px; flex-wrap: wrap; }
.post-meta .topic { color: var(--gold-deep); font-weight: 700; }
.post-card h3, .post-card h2 { font-size: 26px; font-weight: 600; margin-bottom: 14px; transition: color .2s; }
.post-card p { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }
.post-card .read { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--navy-900); display: inline-flex; gap: 8px; align-items: center; }
.post-card .read svg { width: 14px; height: 14px; stroke: currentColor; transition: transform .2s; }
.post-card:hover h3, .post-card:hover h2 { color: var(--navy-500); }
.post-card:hover .read svg { transform: translate(2px, -2px); }
@media (max-width: 900px) {
  .posts { grid-template-columns: 1fr; }
  .posts .post-card, .posts .post-card + .post-card { padding: 30px 0; border-left: 0; }
}

/* Contact / location */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: stretch; }
.contact-info h2 { margin-bottom: 24px; }
.contact-list { list-style: none; margin: 36px 0 40px; display: grid; gap: 22px; }
.contact-list li { display: grid; grid-template-columns: 26px 1fr; gap: 16px; align-items: start; }
.contact-list svg { width: 22px; height: 22px; stroke: var(--gold-deep); margin-top: 3px; }
.contact-list strong { display: block; color: var(--navy-900); font-weight: 700; }
.contact-list a { color: var(--navy-900); text-decoration-color: var(--gold); text-underline-offset: 3px; }
.map { border-radius: 6px; overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--mist-2); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: grayscale(.35) contrast(1.02); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .map, .map iframe { min-height: 320px; } }

/* CTA band */
.cta-band { background: var(--navy-900); color: var(--white); position: relative; overflow: hidden; }
.cta-band .wrap { display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); position: relative; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,.75); margin: 0; max-width: 54ch; }
.cta-band .mono { position: absolute; right: -40px; bottom: -60px; width: 360px; opacity: .05; pointer-events: none; }
@media (max-width: 760px) { .cta-band .wrap { grid-template-columns: 1fr; } .cta-band .btn { width: 100%; } }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--mist); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(64px, 8vw, 104px); }
.crumbs { list-style: none; padding: 0; margin-top: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); margin-bottom: clamp(36px, 5vw, 64px); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--gold); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy-900); }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.page-hero h1 { font-size: clamp(42px, 5.6vw, 76px); margin-bottom: 28px; }
.page-hero .lead { max-width: 56ch; }
.page-hero .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.page-hero-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 12%; border-radius: 4px; }
.page-hero-media { position: relative; max-width: 420px; justify-self: end; width: 100%; }
.page-hero-media::before { content: ""; position: absolute; left: -18px; top: 18px; width: 64px; height: 2px; background: var(--gold); }
@media (max-width: 860px) {
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-media { justify-self: start; max-width: 380px; }
  .page-hero .actions .btn { flex: 1 1 auto; }
}
.page-hero.simple .page-hero-grid { grid-template-columns: 1fr; }

/* Article-like content on specialty pages */
.content-grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(40px, 7vw, 112px); }
.toc { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }
.toc p { font-size: 14px; font-weight: 700; color: var(--navy-900); margin-bottom: 14px; }
.toc ul { list-style: none; border-left: 1px solid var(--line); }
.toc ul a { display: block; padding: 7px 0 7px 18px; font-size: 15px; color: var(--muted); text-decoration: none; margin-left: -1px; border-left: 1px solid transparent; }
.toc ul a:hover { color: var(--navy-900); border-color: var(--gold); }
.toc .btn { margin-top: 28px; width: 100%; }
@media (max-width: 960px) { .content-grid { grid-template-columns: 1fr; } .toc { display: none; } }

.block + .block { margin-top: clamp(64px, 8vw, 104px); }
.block > h2 { margin-bottom: 28px; }
.block .measure > p { font-size: 17.5px; }

.cond-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); margin-top: 8px; }
.cond-list li { padding: 20px 24px 20px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.cond-list li:nth-child(even) { padding-left: 24px; padding-right: 0; border-left: 1px solid var(--line); }
.cond-list strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy-900); margin-bottom: 4px; }
.cond-list span { font-size: 15px; color: var(--muted); }
@media (max-width: 680px) {
  .cond-list { grid-template-columns: 1fr; }
  .cond-list li:nth-child(even) { padding-left: 0; border-left: 0; }
}

.approach { list-style: none; display: grid; gap: 0; margin-top: 8px; }
.approach li { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 26px 0; border-top: 1px solid var(--line); }
.approach li:last-child { border-bottom: 1px solid var(--line); }
.approach h3 { font-size: 23px; }
.approach p { color: var(--muted); margin: 0; }
@media (max-width: 680px) { .approach li { grid-template-columns: 1fr; gap: 8px; } }

.note {
  margin-top: 36px; padding: 22px 26px; background: var(--mist); border-left: 2px solid var(--gold);
  font-size: 15px; color: var(--muted); border-radius: 0 6px 6px 0;
}

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative;
  font-family: var(--serif); font-size: 23px; font-weight: 600; color: var(--navy-900); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; margin-top: -9px;
  border-right: 1.5px solid var(--gold-deep); border-bottom: 1.5px solid var(--gold-deep);
  transform: rotate(45deg); transition: transform .25s, margin-top .25s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq .answer { padding: 0 48px 26px 0; color: var(--muted); max-width: 70ch; }

/* Related links */
.related { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.related a { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--navy-900); font-weight: 600; }
.related a span { font-weight: 500; color: var(--muted); font-size: 14px; flex: none; }
.related a:hover { color: var(--gold-deep); }

/* Other specialties pills */
.others { display: flex; flex-wrap: wrap; gap: 12px; }
.others a {
  text-decoration: none; padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: 15px; color: var(--navy-900); background: var(--white); transition: border-color .2s, background-color .2s;
}
.others a:hover { border-color: var(--gold); background: var(--mist); }

/* ---------- Sobre ---------- */
.timeline { list-style: none; position: relative; margin-top: 12px; }
.timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 32px; padding: 0 0 44px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 150px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); transform: translateX(-4px); margin-left: 16px; z-index: 1; }
.timeline li::after { content: ""; position: absolute; left: 166px; top: 14px; bottom: -10px; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline .year { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--gold-deep); line-height: 1.2; }
.timeline .tl-body { padding-left: 32px; }
.timeline h3 { font-size: 25px; margin-bottom: 6px; }
.timeline p { color: var(--muted); margin: 0; }
@media (max-width: 640px) {
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 28px; }
  .timeline li::before { left: 0; margin-left: 0; transform: none; }
  .timeline li::after { left: 4px; }
  .timeline .tl-body { padding-left: 0; }
}

.registry { width: 100%; border-collapse: collapse; font-size: 16px; }
.registry th, .registry td { text-align: left; padding: 18px 16px 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); vertical-align: top; }
.registry th { font-weight: 500; color: rgba(255,255,255,.65); width: 46%; }
.registry td { color: var(--white); font-weight: 700; }
@media (max-width: 560px) { .registry th, .registry td { display: block; width: 100%; padding: 4px 0; border: 0; } .registry tr { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); } }

.quals { list-style: none; columns: 2; column-gap: 56px; }
.quals li { break-inside: avoid; padding: 16px 0 16px 26px; border-bottom: 1px solid var(--line); position: relative; line-height: 1.5; }
.quals li::before { content: ""; position: absolute; left: 0; top: 26px; width: 12px; height: 1px; background: var(--gold); }
@media (max-width: 760px) { .quals { columns: 1; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 56px); }
.values h3 { font-size: 26px; margin-bottom: 12px; padding-top: 22px; border-top: 2px solid var(--gold); }
.values p { color: var(--muted); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

/* ---------- Blog ---------- */
.featured {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  text-decoration: none; color: inherit; padding-bottom: clamp(56px, 7vw, 88px); border-bottom: 1px solid var(--line);
}
.featured h2 { font-size: clamp(34px, 4.4vw, 58px); margin: 14px 0 22px; transition: color .2s; }
.featured:hover h2 { color: var(--navy-500); }
.featured .lead { margin-bottom: 30px; }
.featured-art {
  background: var(--navy-900); border-radius: 6px; aspect-ratio: 5 / 4; position: relative; overflow: hidden;
  display: flex; align-items: flex-end; padding: 32px;
}
.featured-art img.mono { position: absolute; right: -10%; top: -6%; width: 78%; opacity: .12; }
.featured-art span { position: relative; color: var(--gold-soft); font-family: var(--serif); font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } .featured-art { aspect-ratio: 16 / 9; order: -1; } }

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: clamp(48px, 6vw, 72px) 0 36px; }
.filters button {
  font-family: var(--sans); font-size: 14.5px; font-weight: 600; color: var(--navy-900);
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s;
}
.filters button:hover { border-color: var(--gold); }
.filters button[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.filters .count { opacity: .6; font-weight: 500; margin-left: 4px; }

.blog-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; }
.blog-list li[hidden] { display: none; }
.blog-list .post-card { padding: 30px 0 34px; height: 100%; }
@media (max-width: 760px) { .blog-list { grid-template-columns: 1fr; } }
.blog-empty { color: var(--muted); padding: 24px 0; }

/* ---------- Legal ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(28px, 3vw, 36px); margin: 56px 0 18px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 1.2em; margin-bottom: 1.1em; }
.prose li { margin-bottom: .4em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid rgba(184,151,90,.35); background: var(--navy-900); color: rgba(255,255,255,.72); font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 48px; padding-top: clamp(72px, 8vw, 104px); padding-bottom: 56px; }
.footer-brand img { width: 240px; height: auto; margin-bottom: 24px; }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { font-family: var(--sans); font-size: 14px; font-weight: 700; color: var(--gold-soft); margin-bottom: 18px; letter-spacing: .02em; }
.site-footer ul { list-style: none; display: grid; gap: 10px; }
.site-footer a { color: rgba(255,255,255,.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; transition: border-color .2s; }
.social a:hover { border-color: var(--gold-soft); }
.social svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.12); padding-top: 28px; padding-bottom: 40px; font-size: 13px; line-height: 1.75; color: rgba(255,255,255,.55); display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-legal p { margin: 0; max-width: 80ch; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 40px; } .site-footer { padding-bottom: 72px; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--navy-900); color: var(--white); text-decoration: none;
  padding: 8px 20px 8px 8px; border-radius: 999px; border: 1px solid rgba(184,151,90,.6);
  box-shadow: 0 18px 36px -14px rgba(14,30,58,.6);
  font-weight: 700; font-size: 15px; transition: transform .2s, background-color .2s;
}
.wa-float:hover { background: var(--navy-700); transform: translateY(-2px); }
.wa-float .wa-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; flex: none; }
.wa-float .wa-icon svg { width: 24px; height: 24px; fill: #fff; }
.menu-open .wa-float { display: none; }
@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: 16px; padding: 6px; }
  .wa-float .wa-label { display: none; }
  .wa-float .wa-icon { width: 54px; height: 54px; }
  .wa-float .wa-icon svg { width: 28px; height: 28px; }
}

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: var(--section) 0; }
.notfound h1 { margin-bottom: 18px; }
.notfound p { color: var(--muted); margin: 0 auto 32px; max-width: 46ch; }

.mt-l { margin-top: clamp(48px, 6vw, 72px); }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Thumbnails ---------- */
.post-thumb { display: block; margin-bottom: 22px; border-radius: 4px; overflow: hidden; aspect-ratio: 2 / 1; background: var(--mist-2); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.post-card:hover .post-thumb img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .post-card:hover .post-thumb img { transform: none; } }
.featured-img { border-radius: 6px; overflow: hidden; aspect-ratio: 2 / 1; background: var(--mist-2); }
.featured-img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .featured-img { order: -1; } }

/* ---------- Article page ---------- */
.post-head { background: var(--mist); border-bottom: 1px solid var(--line); }
.post-head .wrap { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(120px, 14vw, 180px); }
.post-head-inner { max-width: 820px; margin: 0 auto; }
.post-head .crumbs { max-width: 820px; margin-left: auto; margin-right: auto; }
.post-head .crumbs li:last-child { display: none; }
.post-head .crumbs li:nth-last-child(2)::after { content: ""; }
.post-head .post-meta a.topic { text-decoration: none; }
.post-head h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.06; margin: 4px 0 28px; }
.byline { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); margin: 0; }
.byline img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 18%; }
.byline a { color: var(--navy-900); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--gold); }
.post-cover { max-width: 980px; margin: calc(-1 * clamp(88px, 11vw, 140px)) auto 0; border-radius: 6px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(14,30,58,.55); }
.post-cover img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.post-body { max-width: 720px; margin: clamp(48px, 6vw, 72px) auto 0; font-size: 18px; line-height: 1.8; }
.post-body > p:first-child { font-size: 21px; line-height: 1.65; color: var(--navy-800); }
.post-body p { margin: 0 0 1.25em; }
.post-body h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.15; margin: 1.9em 0 .6em; }
.post-body .lede-label { margin-bottom: .5em; color: var(--navy-900); }
.post-body ul, .post-body ol { margin: 0 0 1.4em; padding-left: 0; list-style: none; }
.post-body li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--line); line-height: 1.6; }
.post-body li:last-child { border-bottom: 0; }
.post-body ul li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 1px; background: var(--gold); }
.post-body ol { counter-reset: li; }
.post-body ol li { counter-increment: li; }
.post-body ol li::before { content: counter(li); position: absolute; left: 0; top: 8px; font-family: var(--serif); font-weight: 600; font-size: 20px; color: var(--gold-deep); line-height: 1.3; }
.post-body a { color: var(--navy-900); text-decoration-color: var(--gold); text-underline-offset: 3px; font-weight: 600; }
.post-body a:hover { color: var(--gold-deep); }
.post-body figure { margin: 2em 0; }
.post-body figure img { width: 100%; border-radius: 4px; aspect-ratio: 2 / 1; object-fit: cover; }
.post-body figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.post-author {
  max-width: 720px; margin: clamp(56px, 7vw, 80px) auto 0; padding: 28px; border: 1px solid var(--line); border-radius: 8px;
  display: grid; grid-template-columns: 96px 1fr; gap: 24px; align-items: start; background: var(--white);
}
.post-author img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center 16%; }
.post-author .pa-name { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--navy-900); margin: 0 0 6px; line-height: 1.2; }
.post-author p { color: var(--muted); font-size: 15.5px; }
.pa-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin-top: 18px; }
@media (max-width: 560px) { .post-author { grid-template-columns: 1fr; } .pa-actions .btn { width: 100%; } }
.post-disclaimer { max-width: 720px; margin: 24px auto clamp(72px, 9vw, 112px); font-size: 13.5px; color: var(--muted); }

/* ---------- Links (bio) page ---------- */
.links-page { background: var(--navy-900); color: var(--white); min-height: 100vh; }
.links-page::before { content: ""; position: fixed; inset: 0; background: radial-gradient(900px 500px at 50% 0%, rgba(58,82,120,.55), transparent 65%); pointer-events: none; }
.links-wrap { position: relative; max-width: 460px; margin: 0 auto; padding: 56px 20px 48px; text-align: center; }
.links-photo { width: 128px; height: 128px; border-radius: 50%; object-fit: cover; object-position: center 14%; margin: 0 auto 22px; border: 2px solid var(--gold); }
.links-logo { width: 250px; margin: 0 auto 12px; }
.links-motto { font-family: var(--serif); font-size: 22px; color: var(--gold-soft); margin: 0 0 32px; }
.links-list { display: grid; gap: 12px; }
.lk { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: var(--white); text-decoration: none; font-weight: 700; font-size: 15.5px; transition: border-color .2s, background-color .2s; }
.lk:hover { border-color: var(--gold-soft); background: rgba(255,255,255,.04); }
.lk-main { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.lk-main:hover { background: var(--gold-soft); }
.lk .wa-dot { width: 24px; height: 24px; border-radius: 50%; background: var(--wa); display: grid; place-items: center; }
.lk .wa-dot svg { width: 14px; height: 14px; fill: #fff; }
.links-social { justify-content: center; margin-top: 32px; }
.links-social a { color: var(--white); }
.links-legal { font-size: 12.5px; color: rgba(255,255,255,.5); margin-top: 28px; letter-spacing: .02em; }

/* ---------- Signature ---------- */
.signature { display: block; height: 78px; width: auto; margin-top: 32px; opacity: 1; }
.signature.sig-sm { height: 64px; margin-top: 28px; }
.post-sign { max-width: 720px; margin: 8px auto 0; }
.post-sign .signature { margin-top: 0; height: 84px; }
.footer-sign { display: flex; align-items: center; gap: 16px; }
.footer-sign img { height: 44px; width: auto; opacity: .85; }
.links-sign { height: 72px; width: auto; margin: 36px auto 0; display: block; opacity: .9; }
.cta-band .mono { opacity: .07; width: 300px; right: 2%; bottom: -30px; }

/* ---------- Symptoms ---------- */
.symptoms { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; border-top: 1px solid var(--line); }
.symptoms li { border-bottom: 1px solid var(--line); }
.symptoms a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; text-decoration: none; color: var(--navy-900); font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.25; transition: color .2s; }
.symptoms svg { width: 18px; height: 18px; stroke: var(--gold-deep); flex: none; transition: transform .2s; }
.symptoms a:hover { color: var(--gold-deep); }
.symptoms a:hover svg { transform: translateX(4px); }
@media (max-width: 960px) { .symptoms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .symptoms { grid-template-columns: 1fr; } .symptoms a { font-size: 20px; padding: 18px 0; } }
.posts-2 { grid-template-columns: 1fr 1fr; }
.posts.posts-2 .post-card:nth-child(odd) { padding-left: 0; border-left: 0; }
.posts.posts-2 .post-card:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
.posts.posts-2 .post-card h3 { font-size: 23px; }
@media (max-width: 900px) { .posts-2 { grid-template-columns: 1fr; } .posts.posts-2 .post-card:nth-child(even) { padding-left: 0; border-left: 0; } }
.featured[hidden] { display: none; }

/* ---------- Review pass ---------- */
.posts { column-gap: 48px; }
.posts .post-card, .posts .post-card + .post-card { padding: 34px 0 38px; border-left: 0; }
.posts.posts-2 .post-card:nth-child(even), .posts.posts-2 .post-card:nth-child(odd) { padding-left: 0; border-left: 0; }
.blog-list { grid-template-columns: repeat(3, 1fr); column-gap: 40px; }
.blog-list .post-card h2 { font-size: 23px; }
@media (max-width: 1000px) { .blog-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-list { grid-template-columns: 1fr; } }
.featured { grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hero-photo::after { display: none; } .hero-photo { margin-right: 0; } }
.hero-text .lead { color: rgba(255,255,255,.82); }
.post-body .post-update { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 2em; }

/* =========================================================
   v5 — enquadramento moderno das fotos e novos blocos
   ========================================================= */
:root { --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }

/* Hero: foto sangrando até a borda direita */
.hero .hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 0;
  padding: 0; min-height: min(760px, calc(100vh - var(--header-h))); align-items: stretch;
}
.hero .hero-text { padding: clamp(64px, 8vw, 112px) clamp(32px, 5vw, 72px) clamp(72px, 8vw, 112px) var(--edge); align-self: center; position: relative; z-index: 2; }
.hero-media { position: relative; min-height: 520px; overflow: hidden; }
.hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-900) 0%, rgba(14,30,58,.55) 14%, rgba(14,30,58,0) 42%), linear-gradient(0deg, rgba(14,30,58,.35), rgba(14,30,58,0) 30%); pointer-events: none; }
.hero-photo, .hero-badge, .hero-note { display: none; }
.hero-name { margin: 0 0 22px; display: grid; gap: 6px; }
.hero-name strong { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; color: var(--white); line-height: 1.2; }
.hero-name span { font-size: 14px; font-weight: 600; color: var(--gold-soft); letter-spacing: .01em; }
.hero .motto { margin-bottom: 30px; }
@media (max-width: 900px) {
  .hero .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { order: -1; min-height: 0; aspect-ratio: 4 / 3.4; }
  .hero-media::after { background: linear-gradient(0deg, var(--navy-900) 0%, rgba(14,30,58,.4) 22%, rgba(14,30,58,0) 50%); }
  .hero .hero-text { padding: 8px var(--gutter) 64px; }
}

/* Cabeçalho das páginas internas com foto sangrando */
.bleed-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); border-bottom: 1px solid var(--line); background: var(--mist); }
.bleed-hero .ph-text { padding: clamp(40px, 5vw, 64px) clamp(32px, 5vw, 80px) clamp(64px, 8vw, 104px) var(--edge); align-self: center; }
.bleed-hero h1 { font-size: clamp(40px, 5vw, 68px); margin-bottom: 18px; text-wrap: balance; }
.bleed-hero .ph-sub { font-size: 14px; font-weight: 700; color: var(--gold-deep); margin: 0 0 16px; }
.bleed-hero .lead { max-width: 52ch; }
.bleed-hero .actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.ph-media { position: relative; min-height: 480px; overflow: hidden; }
.ph-media picture, .ph-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph-media img { object-fit: cover; }
.ph-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(243,245,248,.9) 0%, rgba(243,245,248,0) 22%); pointer-events: none; }
@media (max-width: 860px) {
  .bleed-hero { grid-template-columns: 1fr; }
  .ph-media { order: -1; min-height: 0; aspect-ratio: 4 / 3; }
  .ph-media::after { background: linear-gradient(0deg, rgba(243,245,248,1) 0%, rgba(243,245,248,0) 28%); }
  .bleed-hero .ph-text { padding: 8px var(--gutter) 56px; }
  .bleed-hero .actions .btn { flex: 1 1 auto; }
}

/* Retratos nas seções */
.split-media.portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: var(--navy-900); }
.split-media.portrait picture, .split-media.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; }
.split-media.portrait img { object-fit: cover; aspect-ratio: auto; border-radius: 0; }
.split-media.portrait::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold); }

/* Frases de destaque */
.pull { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; color: var(--navy-900); font-weight: 500; border-left: 2px solid var(--gold); padding: 4px 0 4px 22px; margin: 28px 0; max-width: 40ch; }
.on-navy .pull { color: var(--white); }
.lead-p { font-size: 20px; color: var(--navy-800); font-weight: 500; }

/* Princípios */
.principles h3 { font-size: 23px; }
.principles-close { margin-top: 48px; font-family: var(--serif); font-size: clamp(22px, 2.4vw, 30px); color: var(--gold-soft); }
.on-navy p.principles-close { color: var(--gold-soft); }

/* Manifesto */
.manifesto-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.manifesto-inner h2 { margin-bottom: 24px; text-wrap: balance; }
.manifesto-inner .lead { color: var(--navy-800); }
.manifesto-inner p { color: var(--muted); }
.manifesto-motto { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 40px); color: var(--navy-900) !important; margin: 36px 0 8px; }
.manifesto-inner .sig-block { justify-content: center; text-align: left; }

/* Bloco de assinatura com registros */
.sig-block { display: flex; align-items: center; gap: 22px; margin-top: 32px; }
.sig-block .signature { margin: 0; height: 84px; }
.sig-block p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--muted); border-left: 1px solid var(--line); padding-left: 22px; }
.sig-block strong { display: block; color: var(--navy-900); font-size: 15px; }

/* Listas */
.cond-list.simple li strong { font-size: 20px; margin: 0; }
.cond-list.simple li { padding-top: 16px; padding-bottom: 16px; }
.narrow { max-width: 1040px; }
.two-col-text { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); margin-top: 28px; }
.two-col-text .lead { color: var(--navy-800); }
@media (max-width: 860px) { .two-col-text { grid-template-columns: 1fr; gap: 8px; } }
.timeline.compact li { grid-template-columns: 120px 1fr; padding-bottom: 32px; }
.timeline.compact li::before { left: 120px; }
.timeline.compact li::after { left: 136px; }
.timeline.compact .year { font-size: 20px; }
.timeline.compact h3 { font-size: 21px; }
@media (max-width: 640px) { .timeline.compact li { grid-template-columns: 1fr; } .timeline.compact li::before { left: 0; } .timeline.compact li::after { left: 4px; } }
.sub-h { font-size: 26px; margin: 56px 0 20px; }
.socs { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.socs li { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 20px 18px; }
.socs strong { display: block; font-family: var(--serif); font-size: 26px; color: var(--navy-900); line-height: 1.1; margin-bottom: 6px; }
.socs span { font-size: 13.5px; color: var(--muted); line-height: 1.45; display: block; }
@media (max-width: 1000px) { .socs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .socs { grid-template-columns: 1fr 1fr; } }
.registry.light th, .registry.light td { border-bottom: 1px solid var(--line); }
.registry.light th { color: var(--muted); }
.registry.light td { color: var(--navy-900); }
@media (max-width: 560px) { .registry.light tr { border-bottom: 1px solid var(--line); } }
@media (max-width: 520px) { .sig-block { flex-direction: column; align-items: flex-start; } .sig-block p { border-left: 0; padding-left: 0; } .manifesto-inner .sig-block { align-items: center; text-align: center; } }
.hero .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.hero .motto { font-size: clamp(44px, 5.2vw, 76px); }
@media (max-width: 900px) { .hero .hero-grid { grid-template-columns: 1fr; } }
.hero-media::after { background: linear-gradient(90deg, var(--navy-900) 0%, rgba(14,30,58,.78) 16%, rgba(14,30,58,.3) 36%, rgba(14,30,58,0) 58%), linear-gradient(0deg, rgba(14,30,58,.35), rgba(14,30,58,0) 30%); }
@media (max-width: 900px) { .hero-media::after { background: linear-gradient(0deg, var(--navy-900) 0%, rgba(14,30,58,.4) 22%, rgba(14,30,58,0) 50%); } }

/* =========================================================
   v6 — imagens integradas ao texto
   ========================================================= */
/* Retratos acompanham o texto (sticky) e não ficam isolados */
.split { align-items: start; }
.split-media.portrait { position: sticky; top: calc(var(--header-h) + 28px); max-width: 460px; width: 100%; justify-self: center; box-shadow: 0 30px 60px -36px rgba(14,30,58,.55); }
.split.reverse .split-media.portrait { justify-self: center; }
.portrait-tag {
  position: absolute; left: 14px; right: 14px; bottom: 18px; z-index: 2;
  display: grid; gap: 2px; padding: 12px 16px; border-radius: 6px;
  background: rgba(14,30,58,.62); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(216,197,157,.35); color: var(--white);
}
.portrait-tag strong { font-family: var(--serif); font-size: 20px; font-weight: 600; line-height: 1.2; }
.portrait-tag small { font-size: 12px; color: var(--gold-soft); letter-spacing: .02em; }
.split-body > h2:first-child { margin-top: 0; }
@media (max-width: 860px) {
  .split { gap: 28px; }
  .split-media.portrait { position: relative; top: auto; max-width: none; aspect-ratio: 5 / 4; }
  .split-media.portrait img { object-position: center 18% !important; }
}

/* Artigos: capa na largura do texto e imagens ao lado do texto */
.post-cover { max-width: 760px; }
.post-body { max-width: 760px; }
.post-body::after { content: ""; display: block; clear: both; }
.post-body ul, .post-body ol { display: flow-root; }
.post-body h2 { clear: right; }
.post-body figure img { border-radius: 6px; }
@media (min-width: 900px) {
  .post-body figure { float: right; width: 44%; margin: 6px 0 18px 36px; }
  .post-body figure img { aspect-ratio: 4 / 3.2; box-shadow: 0 24px 48px -32px rgba(14,30,58,.5); }
  .post-body figcaption { font-size: 13px; }
}
.post-sign, .post-author, .post-disclaimer { max-width: 760px; }
/* imagens de topo mais contidas em tablet e celular */
@media (max-width: 900px) {
  .hero-media { aspect-ratio: 5 / 4; max-height: 480px; }
}
@media (max-width: 860px) {
  .ph-media { aspect-ratio: 16 / 10; max-height: 380px; }
  .split-media.portrait { aspect-ratio: 16 / 13; max-height: 460px; }
}
