/* Multiclínica — layout v2 (Home + páginas internas) */

:root {
  --ink:        #0A1628;
  --paper:      #F6F3EE;
  --paper-2:    #EFEAE2;
  --line:       rgba(10,22,40,0.12);
  --teal-lum:   #3CC8BC;
  --ff-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --ff-text:    'Manrope', 'Inter', system-ui, sans-serif;
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
}

.hx { font-family: var(--ff-text); color: var(--ink); overflow-x: clip; }
:where(.hx) p { font-family: var(--ff-text); }
.hx-wrap { max-width: 1240px; margin: 0 auto; padding-inline: 36px; }

.hx-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-text); font-size: 12px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 22px;
}
.hx-kicker::before { content: ''; width: 28px; height: 2px; background: var(--gold); border-radius: 2px; }
.hx-kicker--light { color: var(--teal-lum); }

.hx-title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(2.1rem, 4.2vw, 3.5rem); line-height: 1.08;
  letter-spacing: -0.02em; color: var(--ink); text-wrap: balance;
}
.hx-title em { font-style: italic; color: var(--blue); }
.hx-title--light { color: #fff; }
.hx-title--light em { color: var(--gold-light); }

/* Buttons */
.hx-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px;
  font-family: var(--ff-text); font-size: 15px; font-weight: 700;
  transition: transform .35s var(--ease-out), background .3s, color .3s, box-shadow .35s, border-color .3s;
  white-space: nowrap;
}
.hx-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; transition: transform .35s var(--ease-out); }
.hx-btn:hover svg { transform: translateX(3px); }
.hx-btn--gold { background: var(--gold); color: var(--ink); }
.hx-btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(233,152,28,.6); }
.hx-btn--ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.28); }
.hx-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.hx-btn--ink { background: var(--ink); color: #fff; }
.hx-btn--ink:hover { background: var(--blue); transform: translateY(-2px); }
.hx-btn--line { color: var(--ink); border: 1.5px solid var(--line); }
.hx-btn--line:hover { border-color: var(--ink); }
.hx-btn .wa { width: 18px; height: 18px; fill: currentColor; stroke: none; }

/* ============ HERO ============ */
.hx-hero {
  position: relative; background: var(--ink); color: #fff;
  padding: 168px 0 0; isolation: isolate; overflow: hidden;
}
.hx-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 88% 30%, rgba(46,139,160,.38), transparent 60%),
    radial-gradient(45% 55% at 10% 100%, rgba(28,75,129,.55), transparent 70%);
}
.hx-hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 64px; align-items: end; }
.hx-hero-copy { padding-bottom: 120px; }
.hx-hero h1 {
  font-family: var(--ff-display); font-weight: 350;
  font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -0.03em;
  color: #fff; margin-bottom: 28px; text-wrap: balance;
}
.hx-hero h1 em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(100deg, var(--teal-lum) 0%, #8fd9ee 45%, var(--gold-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hx-hero-sub { font-size: 1.12rem; line-height: 1.7; color: rgba(255,255,255,.68); max-width: 520px; margin-bottom: 40px; }
.hx-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hx-hero-visual { position: relative; align-self: stretch; min-height: 560px; }
.hx-arch {
  position: absolute; inset: 0 0 0 8%;
  border-radius: 999px 999px 0 0; overflow: hidden;
  background: #122a45;
}
.hx-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; transform: scale(1.04); }
.hx-arch::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,22,40,.55), transparent 45%); }
.hx-leaf { position: absolute; top: 18px; left: -6px; width: 92px; z-index: 2; filter: drop-shadow(0 10px 24px rgba(0,0,0,.35)); }

.hx-float {
  position: absolute; z-index: 3; border-radius: 20px;
  background: rgba(255,255,255,.96); color: var(--ink);
  box-shadow: 0 24px 50px -18px rgba(0,0,0,.5);
}
.hx-float--years { left: -4%; bottom: 72px; padding: 20px 24px; display: flex; align-items: center; gap: 16px; }
.hx-float--years b { font-family: var(--ff-display); font-weight: 500; font-size: 3rem; line-height: 1; color: var(--blue); letter-spacing: -0.03em; }
.hx-float--years b sup { font-size: .5em; color: var(--gold); vertical-align: top; position: relative; top: .15em; }
.hx-float--years span { font-size: 13px; line-height: 1.35; font-weight: 600; color: #4a5568; }
.hx-float--spec { right: -10px; top: 38%; padding: 16px 18px; min-width: 210px; }
.hx-float--spec small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8a94a6; margin-bottom: 10px; }
.hx-float--spec ul { list-style: none; display: grid; gap: 7px; }
.hx-float--spec li { display: flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 600; }
.hx-float--spec li i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); flex-shrink: 0; }

/* ============ TRAJETÓRIA ============ */
.hx-story { background: var(--paper); padding: 130px 0 0; }
.hx-story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: center; }
.hx-story-media { position: relative; }
.hx-story-media .img {
  aspect-ratio: 4/5; max-width: 100%; border-radius: 32px; overflow: hidden;
  box-shadow: 0 40px 80px -40px rgba(10,22,40,.45);
}
.hx-story-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hx-story-media .stamp {
  position: absolute; right: -36px; bottom: 48px; width: 148px; height: 148px; border-radius: 50%;
  background: var(--gold); color: var(--ink); display: grid; place-items: center; text-align: center;
  box-shadow: 0 20px 40px -16px rgba(233,152,28,.7);
}
.hx-story-media .stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: hx-spin 22s linear infinite; }
.hx-story-media .stamp text { font-family: var(--ff-text); font-size: 10.5px; font-weight: 800; letter-spacing: .22em; fill: var(--ink); text-transform: uppercase; }
.hx-story-media .stamp b { display: grid; place-items: center; }
.hx-story-media .stamp .plus { position: static; width: 40px; height: 40px; fill: none; stroke: var(--ink); stroke-width: 1.6; animation: none; }
@keyframes hx-spin { to { transform: rotate(360deg); } }

.hx-story-copy .hx-title { margin-bottom: 30px; }
.hx-story-copy p { font-size: 1.04rem; line-height: 1.8; color: #4a5568; margin-bottom: 18px; max-width: 580px; }
.hx-story-copy p b { color: var(--ink); font-weight: 700; }
.hx-story-copy .hx-btn { margin-top: 16px; }

.hx-stats {
  margin-top: 110px; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.hx-stat { padding: 40px 28px 56px; border-right: 1px solid var(--line); }
.hx-stat:first-child { padding-left: 0; }
.hx-stat:last-child { border-right: 0; }
.hx-stat-num { font-family: var(--ff-display); font-weight: 350; font-size: clamp(3rem, 5.6vw, 4.8rem); line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.hx-stat-num > span:not(.count) { color: var(--gold); }
.hx-stat-label { margin-top: 12px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6b7588; }

/* ============ DIFERENCIAIS ============ */
.hx-why { background: #fff; padding: 130px 0; }
.hx-why-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: start; }
.hx-why-head { position: sticky; top: 120px; }
.hx-why-head p { margin-top: 24px; font-size: 1.05rem; line-height: 1.8; color: #4a5568; max-width: 440px; }
.hx-why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; list-style: none; counter-reset: why; }
.hx-why-list li {
  counter-increment: why; position: relative;
  padding: 30px 0 34px; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start;
}
.hx-why-list li::before {
  content: counter(why, decimal-leading-zero);
  font-family: var(--ff-display); font-style: italic; font-size: 1.1rem; color: var(--gold); padding-top: 3px;
}
.hx-why-list li::after { content: ''; position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--blue); transition: width .6s var(--ease-out); }
.hx-why-list li:hover::after { width: 100%; }
.hx-why-list h3 { font-family: var(--ff-display); font-weight: 400; font-size: 1.45rem; line-height: 1.25; color: var(--ink); letter-spacing: -0.01em; }

/* ============ SERVIÇOS ============ */
.hx-services { background: var(--ink); color: #fff; padding: 130px 0; position: relative; overflow: hidden; }
.hx-services::before { content: ''; position: absolute; width: 700px; height: 700px; right: -260px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(46,139,160,.25), transparent 65%); }
.hx-sec-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 60px; position: relative; }
.hx-bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 20px; position: relative; }
.hx-card {
  position: relative; display: flex; flex-direction: column; border-radius: 28px; padding: 34px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); color: #fff; min-height: 290px;
  transition: transform .5s var(--ease-out), background .4s, border-color .4s; overflow: hidden;
}
.hx-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); }
.hx-card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: auto; }
.hx-card-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(255,255,255,.08); }
.hx-card-icon svg { width: 26px; height: 26px; stroke: var(--teal-lum); fill: none; }
.hx-card-go {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.22); transition: background .35s, transform .5s var(--ease-out), border-color .35s;
}
.hx-card-go svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2.2; }
.hx-card:hover .hx-card-go { background: var(--gold); border-color: var(--gold); transform: rotate(45deg); }
.hx-card:hover .hx-card-go svg { stroke: var(--ink); }
.hx-card h3 { font-family: var(--ff-display); font-weight: 400; font-size: 1.85rem; line-height: 1.1; letter-spacing: -0.02em; margin: 48px 0 12px; color: #fff; }
.hx-card p { font-size: .97rem; line-height: 1.65; color: rgba(255,255,255,.64); }

.hx-card--feature { grid-row: span 2; background: linear-gradient(160deg, #1C4B81 0%, #133763 55%, #0f2c50 100%); border-color: transparent; padding: 40px; }
.hx-card--feature:hover { background: linear-gradient(160deg, #22579a 0%, #173f70 55%, #11315a 100%); }
.hx-card--feature .hx-card-icon { background: var(--gold); }
.hx-card--feature .hx-card-icon svg { stroke: var(--ink); }
.hx-card--feature h3 { font-size: clamp(2.2rem, 3.4vw, 3rem); margin-top: 0; }
.hx-card--feature .hx-card-body { margin-top: auto; position: relative; z-index: 1; }
.hx-card--feature p { color: rgba(255,255,255,.78); font-size: 1.05rem; max-width: 380px; }
.hx-card--feature .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hx-card--feature .tags span { font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 7px 13px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; }
.hx-card--feature .figure { position: absolute; right: -40px; top: 90px; width: 62%; max-width: 300px; opacity: .22; transition: transform .8s var(--ease-out), opacity .5s; }
.hx-card--feature:hover .figure { transform: translateY(-10px) rotate(-4deg); opacity: .32; }

.hx-card--wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 32px; min-height: 0; }
.hx-card--wide .hx-card-top { margin: 0; align-self: flex-start; }
.hx-card--wide h3 { margin-top: 0; }
.hx-card--wide .hx-card-body { flex: 1; }
.hx-card--wide .hx-card-go { flex-shrink: 0; }

.hx-services-foot { margin-top: 44px; text-align: center; position: relative; }

/* ============ HUMANIZADO + CONTATO ============ */
.hx-care { background: var(--paper); padding: 130px 0; }
.hx-care-head { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; margin-bottom: 64px; }
.hx-care-heart { width: 112px; height: 112px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; }
.hx-care-heart svg { width: 48px; height: 48px; stroke: var(--ink); fill: none; stroke-width: 1.4; animation: hx-beat 2.4s ease-in-out infinite; }
@keyframes hx-beat { 0%,100% { transform: scale(1); } 12% { transform: scale(1.12); } 24% { transform: scale(1); } 36% { transform: scale(1.08); } }
.hx-care-head h2 { font-family: var(--ff-display); font-weight: 350; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 1.02; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.hx-care-head h2 em { font-style: italic; color: var(--blue); }

.hx-care-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 0; border-radius: 36px; overflow: hidden; background: var(--ink); }
.hx-care-photo { position: relative; min-height: 460px; background: var(--paper-2); overflow: hidden; }
.hx-care-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hx-care-box { padding: 64px 64px 60px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.hx-care-box p { font-size: 1.08rem; line-height: 1.8; color: rgba(255,255,255,.72); margin-bottom: 18px; }
.hx-care-box p b { color: #fff; }
.hx-care-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* ============ GLOSSÁRIO ============ */
.hx-learn { background: #fff; padding: 130px 0; }
.hx-learn .hx-sec-head .hx-title em { color: var(--blue); }
.hx-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hx-post {
  position: relative; display: flex; flex-direction: column; min-height: 380px;
  padding: 34px; border-radius: 28px; background: var(--paper);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background .3s; color: var(--ink);
}
.hx-post:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(10,22,40,.35); background: #fff; }
.hx-post-meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.hx-post-tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; padding: 7px 13px; border-radius: 999px; background: color-mix(in srgb, var(--c) 14%, transparent); color: var(--c); }
.hx-post-num { font-family: var(--ff-display); font-style: italic; font-size: 1.1rem; color: #9aa3b2; }
.hx-post h3 { font-family: var(--ff-display); font-weight: 400; font-size: 1.7rem; line-height: 1.18; letter-spacing: -0.015em; margin-bottom: 16px; color: var(--ink); }
.hx-post p { font-size: .98rem; line-height: 1.7; color: #525f7a; }
.hx-post-link { margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 14.5px; border-top: 1px solid var(--line); }
.hx-post-link svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .4s var(--ease-out); }
.hx-post:hover .hx-post-link { color: var(--blue); }
.hx-post:hover .hx-post-link svg { transform: translateX(5px); }

/* ============ CTA FINAL ============ */
.hx-cta-sec { background: #fff; padding: 0 0 110px; }
.hx-cta {
  position: relative; overflow: hidden; border-radius: 40px; padding: 88px 72px;
  background: linear-gradient(120deg, var(--ink) 0%, #12325a 55%, #1b6f86 120%); color: #fff;
  display: grid; grid-template-columns: 1.3fr auto; gap: 48px; align-items: center;
}
.hx-cta-leaf { position: absolute; right: -40px; top: -60px; width: 340px; opacity: .14; pointer-events: none; }
.hx-cta h2 { font-family: var(--ff-display); font-weight: 350; font-size: clamp(2.2rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -0.03em; color: #fff; margin-bottom: 20px; }
.hx-cta h2 em { font-style: italic; color: var(--gold-light); }
.hx-cta p { color: rgba(255,255,255,.7); font-size: 1.08rem; line-height: 1.7; max-width: 560px; }
.hx-cta-actions { display: flex; flex-direction: column; gap: 12px; position: relative; }
.hx-cta-actions .hx-btn { justify-content: center; }

/* ============ REVEAL ============ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hx-story-media .stamp svg, .hx-care-heart svg { animation: none; }
}

/* navbar sobre o hero escuro — mais discreta no topo */
.hx-dark-top .navbar:not(.scrolled) .navbar-wrap { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.hx-dark-top .navbar .navbar-wrap { border-bottom: 1px solid rgba(255,255,255,.06); }

/* ============ RESPONSIVO ============ */
@media (max-width: 1100px) {
  .hx-hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hx-hero-copy { padding-bottom: 56px; }
  .hx-hero-visual { min-height: 480px; max-width: 620px; width: 100%; margin: 0 auto; }
  .hx-arch { inset: 0 6%; }
  .hx-float--years { left: 0; }
  .hx-float--spec { right: 0; }
  .hx-story-grid, .hx-why-grid { grid-template-columns: 1fr; gap: 64px; }
  .hx-story-media { max-width: 520px; }
  .hx-why-head { position: static; }
  .hx-bento { grid-template-columns: 1fr 1fr; }
  .hx-card--feature { grid-row: auto; grid-column: span 2; }
  .hx-care-grid { grid-template-columns: 1fr; }
  .hx-posts { grid-template-columns: 1fr 1fr; }
  .hx-cta { grid-template-columns: 1fr; padding: 72px 48px; }
  .hx-cta-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .hx-wrap { padding-inline: 20px; }
  .hx-hero { padding-top: 120px; }
  .hx-hero-sub { font-size: 1rem; }
  .hx-hero-visual { min-height: 400px; }
  .hx-leaf { width: 64px; }
  .hx-float--years { bottom: 28px; padding: 14px 18px; }
  .hx-float--years b { font-size: 2.3rem; }
  .hx-float--spec { top: 26%; min-width: 0; padding: 12px 14px; }
  .hx-float--spec li { font-size: 12.5px; }
  .hx-story, .hx-why, .hx-services, .hx-care, .hx-learn { padding-block: 84px; }
  .hx-story { padding-bottom: 0; }
  .hx-story-media .stamp { right: 12px; bottom: -40px; width: 118px; height: 118px; }
  .hx-story-media .stamp .plus { width: 32px; height: 32px; }
  .hx-stats { grid-template-columns: 1fr 1fr; margin-top: 90px; }
  .hx-stat { padding: 28px 16px 36px; border-bottom: 1px solid var(--line); }
  .hx-stat:nth-child(odd) { padding-left: 0; }
  .hx-stat:nth-child(2n) { border-right: 0; }
  .hx-stat:nth-child(n+3) { border-bottom: 0; }
  .hx-why-list { grid-template-columns: 1fr; }
  .hx-why-list h3 { font-size: 1.3rem; }
  .hx-sec-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
  .hx-bento { grid-template-columns: 1fr; }
  .hx-card--feature, .hx-card--wide { grid-column: auto; }
  .hx-card--wide { flex-direction: column; align-items: stretch; gap: 0; }
  .hx-card--wide .hx-card-top { flex-direction: row; align-items: center; }
  .hx-card--wide h3 { margin-top: 32px; }
  .hx-card--wide .hx-card-go { position: absolute; top: 28px; right: 28px; }
  .hx-card, .hx-card--feature { padding: 28px; min-height: 0; }
  .hx-care-head { grid-template-columns: 1fr; gap: 24px; }
  .hx-care-heart { width: 80px; height: 80px; }
  .hx-care-heart svg { width: 34px; height: 34px; }
  .hx-care-photo { min-height: 300px; }
  .hx-care-box { padding: 40px 26px; }
  .hx-care-actions .hx-btn, .hx-cta-actions .hx-btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .hx-posts { grid-template-columns: 1fr; }
  .hx-post { min-height: 0; padding: 28px; }
  .hx-cta { padding: 56px 26px; border-radius: 28px; }
  .hx-btn { padding: 15px 22px; }
}

/* =====================================================================
   PÁGINAS INTERNAS (v2)
   ===================================================================== */
:where(.hx) :is(h1, h2, h3, h4) { font-family: var(--ff-display); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }

/* ---------- Hero das páginas ---------- */
.pg-hero { position: relative; background: var(--ink); color: #fff; padding: 176px 0 104px; isolation: isolate; overflow: hidden; }
.pg-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(55% 80% at 92% 20%, rgba(46,139,160,.34), transparent 60%),
    radial-gradient(40% 60% at 0% 100%, rgba(28,75,129,.5), transparent 70%);
}
.pg-hero--compact { padding: 160px 0 84px; }
.pg-hero--overlap { padding-bottom: 170px; }
.pg-hero-leaf { position: absolute; right: -50px; bottom: -90px; width: 380px; opacity: .06; z-index: -1; pointer-events: none; }
.pg-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.pg-hero-grid--solo { grid-template-columns: minmax(0, 940px); }
.pg-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.5); margin-bottom: 34px; }
.pg-crumbs a { color: rgba(255,255,255,.82); transition: color .3s; }
.pg-crumbs a:hover { color: var(--gold-light); }
.pg-crumbs .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.pg-hero h1 { font-weight: 350; font-size: clamp(2.4rem, 5vw, 4.3rem); line-height: 1.04; letter-spacing: -0.03em; color: #fff; }
.pg-hero--compact h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); }
.pg-hero h1 em {
  font-style: italic; font-weight: 400;
  background: linear-gradient(100deg, var(--teal-lum) 0%, #8fd9ee 45%, var(--gold-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pg-lead { margin-top: 28px; font-size: 1.14rem; line-height: 1.75; color: rgba(255,255,255,.7); max-width: 660px; }
.pg-hero-note { margin-top: 34px; padding: 22px 26px; border-left: 2px solid var(--gold); background: rgba(255,255,255,.045); border-radius: 0 18px 18px 0; max-width: 580px; }
.pg-hero-note small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-lum); margin-bottom: 8px; }
.pg-hero-note p { color: rgba(255,255,255,.8); line-height: 1.7; }
.pg-hero-figure { position: relative; justify-self: end; width: 100%; max-width: 420px; padding: 34px; border-radius: 999px 999px 36px 36px; background: linear-gradient(170deg, #ffffff 0%, #e6edf4 100%); box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); }
.pg-hero-figure::before { content: ''; position: absolute; inset: -14px; border-radius: inherit; border: 1px solid rgba(255,255,255,.14); pointer-events: none; }
.pg-hero-figure img { position: relative; width: 100%; }
/* mesma geometria do oval de medico-do-trabalho-multiclinica.png (400x500, oval em 14,29 → 382,461) */
.pg-hero-figure img.is-oval { display: block; width: 92%; aspect-ratio: 368 / 432; margin: 7.25% 4.5% 9.75% 3.5%; object-fit: cover; border-radius: 50%; }
.pg-chip { display: inline-flex; margin-top: 26px; font-size: 13px; font-weight: 700; letter-spacing: .03em; padding: 8px 15px; border-radius: 999px; background: rgba(60,200,188,.14); color: var(--teal-lum); }

/* ---------- Seções e texto ---------- */
.pg-sec { padding: 120px 0; background: #fff; position: relative; }
.pg-sec--paper { background: var(--paper); }
.pg-sec--flush { padding-top: 0; }
.pg-sec--ink { background: var(--ink); color: #fff; overflow: hidden; }
.pg-sec--ink::before { content: ''; position: absolute; width: 720px; height: 720px; left: -300px; bottom: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(46,139,160,.22), transparent 65%); pointer-events: none; }
.pg-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; align-items: start; }
.pg-split--center { align-items: center; }
.pg-sticky { position: sticky; top: 120px; }
.pg-prose p { font-size: 1.05rem; line-height: 1.85; color: #4a5568; margin-bottom: 18px; }
.pg-prose p:last-child { margin-bottom: 0; }
.pg-prose b, .pg-prose strong { color: var(--ink); font-weight: 700; }
.pg-subhead { font-family: var(--ff-display); font-style: italic; font-size: 1.5rem !important; line-height: 1.3 !important; color: var(--blue) !important; margin: 32px 0 12px !important; }
.pg-kicker-gap { margin-top: 40px; }

/* ---------- Sobre ---------- */
.pg-media-soft { position: relative; border-radius: 36px; background: linear-gradient(160deg, #e9eef4, #dce5ee); padding: 56px; display: grid; place-items: center; overflow: hidden; }
.pg-media-soft img { position: relative; width: 100%; max-width: 420px; }
.pg-media-soft svg { position: absolute; width: 60%; right: -12%; top: -8%; opacity: .1; }
.pg-pillars { list-style: none; counter-reset: pil; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin-top: 26px; }
.pg-pillars li { counter-increment: pil; display: flex; gap: 14px; padding: 20px 0 22px; border-top: 1px solid var(--line); font-family: var(--ff-display); font-size: 1.22rem; line-height: 1.3; color: var(--ink); }
.pg-pillars li::before { content: counter(pil, decimal-leading-zero); font-style: italic; font-size: 1rem; color: var(--gold); padding-top: 3px; }

.pg-quote { max-width: 1000px; margin: 0 auto; text-align: center; }
.pg-quote blockquote { font-family: var(--ff-display); font-weight: 350; font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.38; letter-spacing: -0.015em; color: var(--ink); }
.pg-quote blockquote::before { content: '“'; display: block; font-size: 6rem; line-height: .6; font-style: italic; color: var(--gold); margin-bottom: 20px; }
.pg-quote > p { margin-top: 30px; font-size: 1.05rem; color: #4a5568; }
.pg-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; text-align: left; }
.pg-trio > div { display: flex; align-items: center; gap: 18px; padding: 28px 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out); }
.pg-trio > div:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(10,22,40,.35); }
.pg-trio i { width: 56px; height: 56px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.pg-trio svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.8; }
.pg-trio h3 { font-size: 1.22rem; line-height: 1.25; color: var(--ink); }

.pg-bento3 { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-areas: "a b" "c b"; gap: 20px; }
.pg-bento3 > * { border-radius: 30px; overflow: hidden; position: relative; }
.pg-b-a { grid-area: a; background: linear-gradient(160deg, #1C4B81, #12345f); color: #fff; padding: 48px; }
.pg-b-a .hx-kicker { color: var(--teal-lum); }
.pg-b-a h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.08; color: #fff; margin-bottom: 18px; }
.pg-b-a p { color: rgba(255,255,255,.78); line-height: 1.75; max-width: 520px; position: relative; }
.pg-b-a p b { color: #fff; }
.pg-b-a > svg { position: absolute; right: -30px; bottom: -50px; width: 190px; opacity: .12; }
.pg-b-c { grid-area: c; min-height: 340px; }
.pg-b-c img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; position: absolute; inset: 0; }
.pg-b-b { grid-area: b; background: var(--gold); color: var(--ink); padding: 48px; display: flex; flex-direction: column; }
.pg-b-b h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.08; color: var(--ink); margin-bottom: 28px; }
.pg-b-b .note { margin-top: auto; padding-top: 26px; font-size: .95rem; line-height: 1.65; color: rgba(10,22,40,.78); }

.pg-checks { list-style: none; }
.pg-checks li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 17px 0; border-top: 1px solid rgba(10,22,40,.18); font-weight: 600; line-height: 1.55; color: var(--ink); }
.pg-checks li::before {
  content: ''; width: 24px; height: 24px; border-radius: 50%; margin-top: 1px;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pg-checks--light li { border-top-color: var(--line); font-size: 1.04rem; padding: 21px 0; }
.pg-checks--light li:last-child { border-bottom: 1px solid var(--line); }
.pg-checks--light li::before { background-color: var(--gold); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A1628' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"); }

.pg-beliefs-head { position: relative; margin-bottom: 56px; }
.pg-beliefs { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: stretch; position: relative; }
.pg-mv { display: grid; grid-template-rows: 1fr 1fr; gap: 20px; }
.pg-mv article, .pg-values { background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1); border-radius: 26px; padding: 34px; }
.pg-mv i, .pg-values i { width: 50px; height: 50px; border-radius: 15px; background: rgba(60,200,188,.14); display: grid; place-items: center; margin-bottom: 22px; }
.pg-mv svg, .pg-values i svg { width: 22px; height: 22px; stroke: var(--teal-lum); fill: none; stroke-width: 1.8; }
.pg-mv h3, .pg-values h3 { font-size: 1.8rem; color: #fff; margin-bottom: 12px; }
.pg-mv p { color: rgba(255,255,255,.7); line-height: 1.75; }
.pg-values { padding-bottom: 14px; }
.pg-values ol { list-style: none; counter-reset: val; }
.pg-values li { counter-increment: val; display: grid; grid-template-columns: 46px 1fr; gap: 8px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.68); line-height: 1.65; }
.pg-values li::before { content: counter(val, decimal-leading-zero); font-family: var(--ff-display); font-style: italic; color: var(--gold-light); padding-top: 2px; }
.pg-values li b { display: block; font-family: var(--ff-display); font-weight: 400; font-size: 1.25rem; color: #fff; margin-bottom: 3px; }

/* ---------- Serviços (lista) ---------- */
.pg-svc-list { border-bottom: 1px solid var(--line); }
.pg-svc-row { display: grid; grid-template-columns: 64px 1fr 170px 58px; gap: 36px; align-items: center; padding: 44px 28px; border-top: 1px solid var(--line); color: var(--ink); border-radius: 28px; transition: background .4s; }
.pg-svc-row + .pg-svc-row { border-radius: 28px; }
.pg-svc-row:hover { background: var(--paper); }
.pg-svc-num { align-self: start; padding-top: 6px; font-family: var(--ff-display); font-style: italic; font-size: 1.3rem; color: var(--gold); }
.pg-svc-tag { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.pg-svc-row h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.04; letter-spacing: -0.025em; color: var(--ink); margin-bottom: 14px; }
.pg-svc-row p { color: #4a5568; line-height: 1.7; max-width: 640px; }
.pg-svc-img { width: 170px; aspect-ratio: 1; overflow: hidden; border-radius: 62% 38% 55% 45% / 48% 58% 42% 52%; background: var(--paper-2); box-shadow: 0 0 0 8px rgba(28,75,129,.06), 0 24px 44px -22px rgba(28,75,129,.55); transition: transform .7s var(--ease-out), border-radius .7s var(--ease-out); }
.pg-svc-img img { width: 100%; height: 100%; object-fit: cover; }
.pg-svc-row:hover .pg-svc-img { border-radius: 45% 55% 42% 58% / 58% 44% 56% 42%; }
.pg-svc-row:hover .pg-svc-img { transform: rotate(-5deg) scale(1.06); }
.pg-svc-go { width: 58px; height: 58px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background .35s, border-color .35s, transform .5s var(--ease-out); }
.pg-svc-go svg { width: 20px; height: 20px; stroke: var(--ink); fill: none; stroke-width: 2; }
.pg-svc-row:hover .pg-svc-go { background: var(--ink); border-color: var(--ink); transform: rotate(45deg); }
.pg-svc-row:hover .pg-svc-go svg { stroke: #fff; }

/* ---------- Serviço (detalhe) ---------- */
.pg-lede { font-family: var(--ff-display); font-weight: 350; font-size: clamp(1.55rem, 2.5vw, 2.05rem); line-height: 1.35; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 26px; }
.pg-svc-body .hx-btn { margin-top: 30px; }
.pg-list-label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8a94a6; margin-bottom: 10px; }
.pg-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.pg-gallery img { width: 100%; background: var(--paper); border-radius: 26px; }
.pg-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pg-group { background: var(--paper); border-radius: 26px; padding: 30px; transition: transform .5s var(--ease-out), background .3s; }
.pg-group:hover { transform: translateY(-4px); background: var(--paper-2); }
.pg-group h3 { font-size: 1.5rem; line-height: 1.15; color: var(--ink); margin-bottom: 14px; }
.pg-group ul { list-style: none; }
.pg-group li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .98rem; color: #3d4a5e; }
.pg-group li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.pg-others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; }
.pg-others .hx-card h3 { margin-top: 56px; }

/* ---------- Glossário (índice) ---------- */
.pg-gloss { padding-top: 0; }
.pg-gsearch { position: relative; z-index: 5; margin-top: -84px; margin-bottom: 64px; background: #fff; border-radius: 30px; padding: 40px 44px; box-shadow: 0 40px 90px -40px rgba(10,22,40,.4); display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; }
.pg-gsearch > *, .pg-hero-grid > *, .pg-split > *, .pg-term > * { min-width: 0; }
.pg-gsearch .hx-kicker { margin-bottom: 14px; }
.pg-gsearch h2 { font-size: clamp(1.7rem, 2.6vw, 2.1rem); line-height: 1.1; color: var(--ink); }
.pg-gsearch p { margin-top: 8px; color: #525f7a; line-height: 1.6; }
.pg-search { display: flex; align-items: center; gap: 8px; padding: 7px 7px 7px 20px; border-radius: 999px; background: var(--paper); border: 1.5px solid transparent; transition: border-color .3s, background .3s; }
.pg-search:focus-within { border-color: var(--blue); background: #fff; }
.pg-search > svg { width: 20px; height: 20px; stroke: #8a94a6; fill: none; stroke-width: 2; flex-shrink: 0; }
.pg-search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 6px; font: 600 1rem var(--ff-text); color: var(--ink); outline: none; }
.pg-search .hx-btn { border: 0; cursor: pointer; padding: 14px 24px; }

.pg-gloss .alpha-nav { position: sticky; top: 86px; z-index: 4; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 10px; margin: 0 0 40px; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 22px; }
.pg-gloss .alpha-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; font: 700 14px var(--ff-text); color: #c0c6d0; cursor: default; transition: background .25s, color .25s; }
.pg-gloss .alpha-btn.has-content { color: var(--ink); cursor: pointer; border: 0; }
.pg-gloss .alpha-btn.has-content:hover, .pg-gloss .alpha-btn.active { background: var(--ink); color: #fff; }
.pg-gloss .glossario-letter { display: grid; grid-template-columns: 130px 1fr; column-gap: 40px; padding: 36px 0; margin: 0; border-top: 1px solid var(--line); scroll-margin-top: 170px; }
.pg-gloss .letter-heading { grid-column: 1; grid-row: 1 / span 40; align-self: start; position: sticky; top: 170px; display: block; margin: 0; padding: 0; border: 0; background: none; font-family: var(--ff-display); font-style: italic; font-weight: 400; font-size: 5.2rem; line-height: .9; color: var(--gold); }
.pg-gloss .letter-heading::after { display: none; }
.pg-gloss .glossario-term { grid-column: 2; display: grid; grid-template-columns: 250px 1fr 46px; gap: 28px; align-items: start; margin: 0 -24px; padding: 24px; border: 0; border-radius: 22px; background: transparent; box-shadow: none; transition: background .3s; }
.pg-gloss a.glossario-term:hover { background: var(--paper); transform: none; box-shadow: none; padding: 24px; }
.pg-gloss .term-name { font-family: var(--ff-display); font-size: 1.65rem; line-height: 1.12; color: var(--ink); }
.pg-gloss a.glossario-term:hover .term-name { color: var(--blue); }
.pg-gloss .term-tag { display: inline-block; margin-top: 10px; font-family: var(--ff-text); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: none; padding: 5px 11px; border-radius: 999px; background: rgba(28,75,129,.09); color: var(--blue); border: 0; }
.pg-gloss .term-def { margin: 0; font-size: .99rem; line-height: 1.72; color: #525f7a; }
.pg-gloss a.glossario-term .term-arrow { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; opacity: 1; transform: none; transition: background .3s, border-color .3s; }
.pg-gloss .term-arrow svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; }
.pg-gloss a.glossario-term:hover .term-arrow { background: var(--ink); border-color: var(--ink); transform: none; }
.pg-gloss a.glossario-term:hover .term-arrow svg { stroke: #fff; }

/* ---------- Glossário (termo) ---------- */
.pg-term { display: grid; grid-template-columns: 1.4fr .8fr; gap: 64px; align-items: start; }
.pg-term--solo { grid-template-columns: minmax(0, 900px); }
.pg-def { font-family: var(--ff-display); font-weight: 350; font-size: clamp(1.6rem, 2.9vw, 2.35rem); line-height: 1.38; letter-spacing: -0.015em; color: var(--ink); }
.pg-def::before { content: '“'; display: block; font-size: 5.5rem; line-height: .55; font-style: italic; color: var(--gold); margin-bottom: 16px; }
.pg-term-aside { position: sticky; top: 120px; background: var(--ink); color: #fff; border-radius: 30px; padding: 38px; overflow: hidden; }
.pg-term-aside p { color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 26px; font-size: 1.04rem; }
.pg-term-aside strong { color: #fff; }
.pg-term-aside .hx-btn { white-space: normal; }
.pg-related { margin-top: 100px; }
.pg-related-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 30px; }
.pg-related-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.08; color: var(--ink); }
.pg-related-head h2 em { font-style: italic; color: var(--blue); }
.pg-rel-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pg-rel { display: flex; flex-direction: column; gap: 14px; min-height: 180px; padding: 28px; border-radius: 24px; background: var(--paper); color: var(--ink); transition: background .35s, transform .5s var(--ease-out); }
.pg-rel:hover { background: var(--ink); transform: translateY(-4px); }
.pg-rel b { font-family: var(--ff-display); font-weight: 400; font-size: 1.55rem; line-height: 1.1; transition: color .35s; }
.pg-rel span { align-self: flex-start; font-size: 11.5px; font-weight: 700; letter-spacing: .03em; padding: 5px 11px; border-radius: 999px; background: rgba(28,75,129,.09); color: var(--blue); transition: background .35s, color .35s; }
.pg-rel svg { margin-top: auto; align-self: flex-end; width: 22px; height: 22px; stroke: var(--ink); fill: none; stroke-width: 2; transition: stroke .35s, transform .4s var(--ease-out); }
.pg-rel:hover b { color: #fff; }
.pg-rel:hover span { background: rgba(60,200,188,.16); color: var(--teal-lum); }
.pg-rel:hover svg { stroke: var(--gold); transform: translateX(4px); }
.pg-back { margin-top: 64px; }

/* ---------- Cidades ---------- */
.pg-states { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; margin-bottom: 72px; }
.pg-states > div > p { margin-top: 18px; font-size: 1.05rem; color: #4a5568; line-height: 1.7; }
.pg-states-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pg-state { padding: 30px 26px; border-radius: 26px; background: var(--paper); }
.pg-state strong { display: block; font-family: var(--ff-display); font-weight: 350; font-size: 3.8rem; line-height: 1; letter-spacing: -0.03em; color: var(--blue); margin-bottom: 16px; }
.pg-state span { font-weight: 700; color: var(--ink); }
.pg-state:first-child { background: var(--ink); }
.pg-state:first-child strong { color: var(--gold-light); }
.pg-state:first-child span { color: #fff; }
.pg-cities { border: 1px solid var(--line); border-radius: 30px; overflow: hidden; background: #fff; }
.pg-cities-bar { display: flex; align-items: center; gap: 14px; padding: 20px 30px; background: var(--paper); border-bottom: 1px solid var(--line); }
.pg-cities-bar svg { width: 22px; height: 22px; stroke: #8a94a6; fill: none; stroke-width: 2; flex-shrink: 0; }
.pg-cities-bar input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 0; font: 600 1.05rem var(--ff-text); color: var(--ink); outline: none; }
.pg-cities .cidades-tabela { width: 100%; border: 0; border-radius: 0; border-collapse: collapse; background: #fff; }
.pg-cities .cidades-tabela thead th { text-align: left; padding: 16px 30px; background: #fff; border-bottom: 1px solid var(--line); font-family: var(--ff-text); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8a94a6; }
.pg-cities .cidades-tabela tbody td { padding: 22px 30px; border-top: 1px solid var(--line); vertical-align: middle; font-size: 1rem; color: var(--ink); transition: background .25s; }
.pg-cities .cidades-tabela tbody tr:first-child td { border-top: 0; }
.pg-cities .cidades-tabela tbody tr:hover td { background: #fbfaf7; }
.pg-cities .cidade-nome { font-family: var(--ff-display); font-size: 1.4rem !important; }
.pg-cities .cidade-badge { font-family: var(--ff-text); font-size: 11.5px; font-weight: 700; letter-spacing: .02em; color: #9a5b00; background: rgba(233,152,28,.16); padding: 5px 11px; border-radius: 999px; margin-left: 12px; vertical-align: middle; }
.pg-cities .cidade-uf { font-weight: 700; color: #6b7588 !important; }
.pg-cities .cidade-acao { text-align: right; }
.pg-cities .cidade-acao a { font-weight: 700; color: var(--blue); transition: color .25s; }
.pg-cities .cidade-acao a:hover { color: #b86e00; }
.pg-cities .cidade-empty { margin: 0; padding: 28px 30px; color: #4a5568; line-height: 1.7; border-top: 1px solid var(--line); }
.pg-cities .cidade-empty a { color: var(--blue); font-weight: 700; }

/* ---------- Contato ---------- */
.pg-contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: stretch; }
.pg-contact-info { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 32px; padding: 50px; }
.pg-contact-info > svg { position: absolute; right: -60px; top: -70px; width: 260px; opacity: .06; }
.pg-contact-info h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: 1.05; color: #fff; margin-bottom: 14px; }
.pg-contact-info > p { color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 28px; max-width: 460px; }
.pg-citem { display: grid; grid-template-columns: 50px 1fr; gap: 18px; align-items: start; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); }
.pg-citem i { width: 50px; height: 50px; border-radius: 15px; background: rgba(60,200,188,.14); display: grid; place-items: center; }
.pg-citem svg { width: 21px; height: 21px; stroke: var(--teal-lum); fill: none; stroke-width: 1.8; }
.pg-citem h4 { font-family: var(--ff-text); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 6px; }
.pg-citem p, .pg-citem a { color: #fff; font-size: 1.03rem; font-weight: 600; line-height: 1.6; }
.pg-citem a { transition: color .25s; }
.pg-citem a:hover { color: var(--gold-light); }
.pg-form { background: #fff; border-radius: 32px; padding: 50px; border: 1px solid var(--line); }
.pg-form h3 { font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.08; color: var(--ink); margin-bottom: 10px; }
.pg-form .sub { color: #525f7a; margin-bottom: 30px; line-height: 1.6; }
.pg-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pg-field { display: flex; flex-direction: column; gap: 8px; }
.pg-field--full { grid-column: 1 / -1; }
.pg-field label { font-size: 13px; font-weight: 700; color: var(--ink); }
.pg-field input, .pg-field select, .pg-field textarea { width: 100%; font: 500 1rem var(--ff-text); color: var(--ink); background: var(--paper); border: 1.5px solid transparent; border-radius: 14px; padding: 14px 16px; outline: none; transition: border-color .25s, background .25s; }
.pg-field input:focus, .pg-field select:focus, .pg-field textarea:focus { border-color: var(--blue); background: #fff; }
.pg-field textarea { min-height: 140px; resize: vertical; }
.pg-form .hx-btn { width: 100%; justify-content: center; margin-top: 24px; }
.pg-form .fine { margin-top: 12px; text-align: center; font-size: 12.5px; color: #8a94a6; }
.pg-map { margin-top: 24px; height: 420px; border-radius: 32px; overflow: hidden; background: var(--paper-2); }
.pg-map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Mapa do site ---------- */
.pg-sitemap { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 20px; align-items: start; }
.pg-smcol { background: var(--paper); border-radius: 28px; padding: 36px; }
.pg-smcol h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 1.9rem; color: var(--ink); }
.pg-smcol h2 small { font-family: var(--ff-text); font-size: 13px; font-weight: 700; color: #b86e00; }
.pg-smcol ul { list-style: none; margin-top: 20px; }
.pg-smcol li { break-inside: avoid; }
.pg-smcol li a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); transition: color .25s, padding .3s var(--ease-out); }
.pg-smcol li a::after { content: '→'; color: transparent; transition: color .25s; }
.pg-smcol li a:hover { color: var(--blue); padding-left: 6px; }
.pg-smcol li a:hover::after { color: var(--gold); }
.pg-smcol--wide ul { columns: 2; column-gap: 36px; }

/* ---------- Política de privacidade ---------- */
.pg-legal { display: grid; grid-template-columns: 270px 1fr; gap: 80px; align-items: start; }
.pg-toc { position: sticky; top: 120px; padding-left: 22px; border-left: 1px solid var(--line); }
.pg-toc small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.pg-toc ol { list-style: none; }
.pg-toc a { display: block; padding: 7px 0; font-size: 14px; font-weight: 600; line-height: 1.4; color: #6b7588; transition: color .25s; }
.pg-toc a:hover { color: var(--ink); }
.pg-doc { max-width: 780px; }
.pg-doc .legal-intro { font-family: var(--ff-display); font-weight: 350; font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.45; color: var(--ink); margin: 0 0 20px; padding: 0 0 40px; background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.pg-doc h2 { font-size: clamp(1.6rem, 2.4vw, 2rem); line-height: 1.15; color: var(--ink); margin: 52px 0 16px; scroll-margin-top: 110px; }
.pg-doc p { font-size: 1.03rem; line-height: 1.85; color: #4a5568; margin-bottom: 16px; }
.pg-doc strong { color: var(--ink); }
.pg-doc em { font-style: italic; }
.pg-doc a { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pg-doc ul { list-style: none; margin: 0 0 20px; padding: 0; }
.pg-doc li { position: relative; padding: 11px 0 11px 28px; margin: 0; border-top: 1px solid var(--line); line-height: 1.7; color: #4a5568; }
.pg-doc li::before { content: ''; position: absolute; left: 4px; top: 22px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.pg-doc .legal-updated { margin-top: 52px; font-size: .92rem; font-weight: 600; color: #8a94a6; }

/* ---------- CTA logo após seção colorida ---------- */
:is(.pg-sec--ink, .pg-sec--paper, .hx-services, .hx-care) + .hx-cta-sec { padding-top: 110px; }

/* ---------- Responsivo (páginas) ---------- */
@media (max-width: 1100px) {
  .pg-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .pg-hero-figure { justify-self: start; max-width: 320px; }
  .pg-split, .pg-beliefs, .pg-states, .pg-contact, .pg-term, .pg-legal { grid-template-columns: 1fr; gap: 52px; }
  .pg-sticky, .pg-term-aside, .pg-toc { position: static; }
  .pg-media-soft { max-width: 560px; }
  .pg-rel-grid, .pg-others { grid-template-columns: 1fr 1fr; }
  .pg-sitemap { grid-template-columns: 1fr 1fr; }
  .pg-smcol--wide { grid-column: 1 / -1; }
  .pg-svc-row { grid-template-columns: 48px 1fr 120px 52px; gap: 24px; }
  .pg-svc-img { width: 120px; }
  .pg-gsearch { grid-template-columns: 1fr; gap: 24px; }
  .pg-toc { display: none; }
}
@media (max-width: 768px) {
  .pg-hero { padding: 130px 0 72px; }
  .pg-hero--compact { padding: 124px 0 60px; }
  .pg-hero--compact h1 { font-size: clamp(2rem, 9vw, 2.6rem); overflow-wrap: break-word; }
  .pg-hero--overlap { padding-bottom: 130px; }
  .pg-crumbs { margin-bottom: 24px; font-size: 13px; }
  .pg-lead { font-size: 1.02rem; }
  .pg-hero-figure { max-width: 230px; }
  .pg-sec { padding-block: 80px; }
  .pg-sec--flush { padding-top: 0; }
  :is(.pg-sec--ink, .pg-sec--paper, .hx-services, .hx-care) + .hx-cta-sec { padding-top: 72px; }
  .pg-beliefs-head { margin-bottom: 36px; }
  .pg-media-soft { padding: 36px; border-radius: 28px; }
  .pg-pillars, .pg-trio, .pg-mv, .pg-groups, .pg-fields, .pg-rel-grid, .pg-others, .pg-sitemap { grid-template-columns: 1fr; }
  .pg-bento3 { grid-template-columns: 1fr; grid-template-areas: "a" "b" "c"; }
  .pg-b-a, .pg-b-b { padding: 32px 26px; }
  .pg-b-c { min-height: 260px; }
  .pg-mv article, .pg-values { padding: 28px 24px; }
  .pg-svc-row { grid-template-columns: 1fr 72px; gap: 18px; padding: 32px 0; border-radius: 0; }
  .pg-svc-row:hover { background: transparent; }
  .pg-svc-num, .pg-svc-go { display: none; }
  .pg-svc-img { width: 72px; align-self: start; }
  .pg-group { padding: 26px 22px; }
  .pg-gsearch { margin-top: -64px; padding: 28px 22px; border-radius: 24px; }
  .pg-search { padding-left: 14px; }
  .pg-search .hx-btn { padding: 12px 18px; }
  .pg-gloss .alpha-nav { top: 72px; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; border-radius: 18px; padding: 8px; }
  .pg-gloss .alpha-btn { flex-shrink: 0; width: 34px; height: 34px; }
  .pg-gloss .glossario-letter { grid-template-columns: 1fr; padding: 28px 0 8px; scroll-margin-top: 140px; }
  .pg-gloss .letter-heading { grid-row: auto; position: static; font-size: 3.4rem; margin-bottom: 6px; }
  .pg-gloss .glossario-term { grid-column: 1; grid-template-columns: 1fr; gap: 10px; margin: 0; padding: 20px 0; border-radius: 0; border-top: 1px solid var(--line); }
  .pg-gloss a.glossario-term:hover { background: transparent; }
  .pg-gloss a.glossario-term .term-arrow { display: none; }
  .pg-term-aside { padding: 30px 24px; }
  .pg-related { margin-top: 64px; }
  .pg-related-head { flex-direction: column; align-items: flex-start; }
  .pg-rel { min-height: 0; }
  .pg-states-cards { gap: 10px; }
  .pg-state { padding: 20px 14px; border-radius: 20px; }
  .pg-state strong { font-size: 2.4rem; margin-bottom: 10px; }
  .pg-state span { font-size: .85rem; }
  .pg-cities { border-radius: 24px; }
  .pg-cities-bar { padding: 16px 20px; }
  .pg-cities .cidades-tabela thead { display: none; }
  .pg-cities .cidades-tabela tbody tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 20px; border-top: 1px solid var(--line); }
  .pg-cities .cidades-tabela tbody tr:first-child { border-top: 0; }
  .pg-cities .cidades-tabela tbody td { display: block; padding: 0; border: 0; }
  .pg-cities .cidade-acao { grid-column: 1 / -1; text-align: left; margin-top: 10px; }
  .pg-cities .cidade-badge { display: table; margin: 8px 0 0; }
  .pg-cities .cidade-empty { padding: 22px 20px; }
  .pg-contact-info, .pg-form { padding: 32px 22px; border-radius: 26px; }
  .pg-map { height: 320px; border-radius: 26px; }
  .pg-smcol { padding: 28px 22px; }
  .pg-smcol--wide ul { columns: 1; }
  .pg-quote blockquote::before { font-size: 4.2rem; }
}
