/* Identidade institucional: azul oficial, branco e detalhes dourados. */
:root {
  color-scheme: light;
  --blue: #022A8C;
  --blue-deep: #061F5C;
  --blue-mid: #0D47A1;
  --blue-light: #EAF1FF;
  --gold: #D4AF37;
  --gold-deep: #B8860B;
  --gold-light: #F3D979;
  --gold-soft: #FFF8DF;
  --white: #FFFFFF;
  --paper: #F8FAFC;
  --ink: #14213D;
  --text: #14213D;
  --muted: #5F6B7A;
  --line: #D9E3F2;
  --shadow: 0 12px 32px rgb(6 31 92 / 7%);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  /* Compensação conservadora sem JS; o observador mede a altura real. */
  --header-height: 15rem;
}

* { box-sizing: border-box; }
html { scroll-padding-top: var(--header-height); scroll-behavior: smooth; }
:where([id], a, button) { scroll-margin-top: 1rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .3em; }
a, p, h1, h2, h3, dt, dd { overflow-wrap: anywhere; }
p, h1, h2, h3 { margin-top: 0; }
p { margin-bottom: 1.2rem; }
h1, h2 {
  color: var(--blue-deep);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: 1.1;
  text-wrap: balance;
}
h1 { font-size: clamp(2.55rem, 8.5vw, 4.85rem); }
h2 { margin-bottom: 1.5rem; font-size: clamp(2.15rem, 6vw, 3.45rem); }
h3 {
  margin-bottom: .7rem;
  color: var(--blue-deep);
  font-size: 1.15rem;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.4;
}
em { font-weight: inherit; }
address { font-style: normal; }
::selection { background: var(--gold-soft); color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue-mid); outline-offset: 5px; border-radius: 3px; }
main:focus { outline: none; }
.container { width: min(100% - 2.5rem, 1184px); margin-inline: auto; }
.section { padding-block: 4.5rem; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  z-index: 20;
  top: .75rem;
  left: .75rem;
  transform: translateY(-200%);
  padding: .8rem 1rem;
  background: var(--white);
  color: var(--blue-deep);
  border: 2px solid var(--blue);
  border-radius: 5px;
  font-weight: 600;
}
.skip-link:focus { transform: translateY(0); }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1.5rem;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 650;
  letter-spacing: .14em;
  line-height: 1.6;
  text-transform: uppercase;
}
.eyebrow-line { width: 32px; height: 2px; background: var(--gold); flex-shrink: 0; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 52px;
  max-width: 100%;
  padding: .9rem 1.45rem;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgb(2 42 140 / 10%);
  color: var(--white);
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.button:hover { background: var(--blue-deep); border-color: var(--blue-deep); box-shadow: 0 5px 16px rgb(6 31 92 / 15%); }
.button > span[aria-hidden] { font-size: 1.2rem; line-height: 1; flex-shrink: 0; }
.button-small { min-height: 46px; padding: .75rem 1.1rem; font-size: .8rem; gap: .75rem; }
.button-light { border-color: var(--gold-light); background: var(--gold-soft); color: var(--blue-deep); }
.button-light:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--blue-deep); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  min-height: 44px;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 650;
}
.text-link:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 16px rgb(6 31 92 / 6%);
}
.site-header::before { content: ""; display: block; height: 3px; background: var(--gold); }
@supports ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
  .site-header {
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}
.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: .8rem;
  padding-block: 1.15rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: .85rem;
  min-width: 0;
  max-width: 100%;
  color: var(--blue-deep);
  text-decoration: none;
}
.brand img {
  flex-shrink: 0;
  width: 44px;
  height: auto;
  aspect-ratio: 205 / 256;
  object-fit: contain;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 4px;
}
.brand-text { min-width: 0; line-height: 1.25; }
.brand-text strong { display: block; font: 400 1.25rem/1.15 var(--serif); letter-spacing: -.025em; }
.brand-text > span {
  display: block;
  margin-top: .35rem;
  color: var(--muted);
  font-size: .6rem;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: .25rem 1.15rem;
  min-width: 0;
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: .45rem;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue-deep);
  font-size: .85rem;
  font-weight: 550;
  text-decoration: none;
  transition: color 180ms ease;
}
.main-nav a:hover { color: var(--blue-mid); text-decoration: underline; text-decoration-color: var(--gold-deep); }
.header-contact { justify-self: start; margin: 0; }

.hero {
  padding-block: 3rem;
  background: var(--paper);
  background: linear-gradient(110deg, var(--white) 10%, var(--paper) 60%, var(--blue-light) 100%);
}
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.hero-copy { min-width: 0; }
.hero-copy h1 { max-width: 650px; margin-bottom: 1.5rem; }
.hero-copy h1 em { color: var(--blue); }
.hero-description { max-width: 470px; margin-bottom: 1.9rem; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.hero-location { margin: 1.3rem 0 0; color: var(--muted); font-size: .74rem; letter-spacing: .08em; }
.hero-location span { margin-inline: .5rem; color: var(--gold-deep); }
.hero-art {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 420px;
  height: 300px;
  margin-inline: auto;
  overflow: hidden;
  background: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 110px 110px 12px 12px;
  box-shadow: 0 16px 36px rgb(6 31 92 / 12%);
  color: var(--white);
}
.art-topline, .art-bottomline {
  position: absolute;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  left: 1.5rem;
  right: 1.5rem;
  color: var(--gold-light);
  font-size: .5rem;
  font-weight: 600;
  letter-spacing: .12em;
  line-height: 1.6;
}
.art-topline {
  top: 2.4rem;
  left: 2.5rem;
  right: 2.5rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid #6D6B65;
  border-bottom-color: rgb(243 217 121 / 42%);
}
.art-topline > span:last-child { font-size: 1.2rem; font-weight: 400; line-height: 1; }
.art-bottomline { bottom: .9rem; font-size: .43rem; }
.art-arch {
  position: absolute;
  z-index: 2;
  top: 22%;
  left: 26%;
  width: 48%;
  height: 50%;
  display: grid;
  place-items: center;
  background: var(--blue);
  border: 1px solid #7D7552;
  border-color: rgb(243 217 121 / 45%);
  border-radius: 72px 72px 6px 6px;
  box-shadow: 10px 10px 0 rgb(6 31 92 / 25%);
  padding: .65rem;
}
.art-arch img, .hero-brand-logo {
  width: 100%;
  height: 100%;
  aspect-ratio: 1080 / 1350;
  object-fit: contain;
  object-position: center;
  background: var(--blue);
}
.art-orbit {
  position: absolute;
  z-index: 1;
  width: 86%;
  height: 58%;
  left: 7%;
  top: 21%;
  border: 1px solid #38568B;
  border-color: rgb(243 217 121 / 18%);
  border-radius: 50%;
  pointer-events: none;
}
.orbit-one { transform: rotate(32deg); }
.orbit-two { transform: rotate(-32deg); }
.art-caption {
  position: absolute;
  z-index: 3;
  bottom: 2.35rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.art-caption-line { width: 24px; height: 1px; background: var(--gold); flex-shrink: 0; }
.art-caption p { margin: 0; color: var(--white); font: 1.03rem/1.25 var(--serif); letter-spacing: -.02em; }

.principles { background: var(--white); border-block: 1px solid var(--line); }
.principles-list { display: grid; margin-block: 0; padding-block: 1rem; padding-left: 0; list-style: none; }
.principles-list li { display: flex; align-items: center; gap: .85rem; padding-block: .65rem; color: var(--blue-deep); font-size: .85rem; }
.principle-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  background: var(--gold-soft);
  border-radius: 50%;
  color: var(--blue);
  font-size: 1.35rem;
}
.about { background: var(--white); }
.about-grid { display: grid; gap: 1rem; }
.about h2 { max-width: 510px; }
.about-copy { max-width: 540px; color: var(--muted); }
.about-copy strong { color: var(--blue-deep); font-weight: 650; }
.about-copy .text-link { margin-top: .4rem; }
.treatments { background: var(--blue-light); }
.section-heading { display: grid; align-items: end; gap: 1rem; margin-bottom: 2.5rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 390px; margin: 0; color: var(--muted); font-size: .95rem; }
.treatment-grid { display: grid; gap: 1.2rem; }
.treatment-card {
  min-width: 0;
  min-height: 245px;
  padding: 1.6rem;
  background: var(--white);
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: border-color 180ms ease;
}
.treatment-card:hover { border-color: #ACBEDF; border-top-color: var(--gold-deep); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.7rem; }
.card-top svg { width: 35px; height: 35px; stroke: var(--blue); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.card-top > span { padding: .2rem .55rem; background: var(--gold-soft); border-radius: 4px; color: var(--blue-deep); font-size: .7rem; letter-spacing: .08em; }
.treatment-card p { max-width: 420px; margin-bottom: 0; color: var(--muted); font-size: .92rem; line-height: 1.8; }
.process { background: var(--paper); }
.steps { display: grid; gap: 2rem; padding: 0; margin: 3rem 0 0; list-style: none; }
.steps li { min-width: 0; padding-top: 1.5rem; border-top: 2px solid var(--gold); }
.step-number { display: block; margin-bottom: 1.15rem; color: var(--blue); font: 2.15rem/1 var(--serif); }
.steps p { margin-bottom: 0; color: var(--muted); font-size: .92rem; line-height: 1.8; }

.contact {
  background: var(--blue-deep);
  background: linear-gradient(120deg, var(--blue-deep), var(--blue));
  border-top: 3px solid var(--gold);
  color: var(--white);
}
.contact h2 { color: var(--white); }
.contact-grid { display: grid; gap: 3rem; }
.contact .eyebrow { color: var(--gold-light); }
.contact-copy > p:not(.eyebrow) { max-width: 450px; color: var(--blue-light); }
.contact-copy .button { margin-top: .7rem; }
.contact-copy > .contact-note { margin: 1.15rem 0 0; font-size: .75rem; line-height: 1.7; }
.contact :focus-visible { outline-color: var(--gold-light); }
.contact-details { border-top: 1px solid #6E81AC; padding-top: 1.7rem; }
.contact-details dl { display: grid; gap: 1.8rem; margin: 0; }
.contact-details dt { margin-bottom: .5rem; color: var(--blue-light); font-size: .71rem; letter-spacing: .11em; text-transform: uppercase; }
.contact-details dd { margin: 0; color: var(--white); font-size: 1rem; }
.contact-details a { display: inline-block; padding-block: .3rem; text-decoration-color: var(--gold-light); }
.contact-details a:hover { text-decoration-thickness: 2px; }
.contact-details address { line-height: 1.8; }

.site-footer { padding-block: 2.5rem 1.5rem; background: var(--white); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.site-footer .brand img { width: 40px; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; color: var(--blue-deep); font-size: .82rem; }
.footer-links a:hover { color: var(--blue); text-decoration-thickness: 2px; }
.business-details { padding-block: 1.5rem; color: var(--muted); font-size: .76rem; line-height: 1.9; }
.business-details p { margin-bottom: .35rem; }
.business-details strong { color: var(--ink); font-weight: 600; }
.business-separator { margin-inline: .6rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; border-top: 1px solid var(--line); padding-top: 1.3rem; color: var(--muted); font-size: .73rem; }
.footer-bottom p { margin-bottom: 0; }

.privacy-main { padding-block: 3rem 4.5rem; background: var(--paper); }
.privacy-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
.privacy-intro { min-width: 0; position: static; }
.privacy-intro > .text-link { margin-bottom: 2.5rem; }
.privacy-intro h1 { font-size: clamp(2.55rem, 7vw, 4.15rem); }
.privacy-intro > p:not(.eyebrow) { max-width: 400px; color: var(--muted); }
.privacy-intro .privacy-updated { margin-top: 1.5rem; font-size: .85rem; }
.privacy-content { min-width: 0; border-top: 2px solid var(--gold); padding-top: 2rem; }
.privacy-content section + section { margin-top: 2.25rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.privacy-content h2 { margin-bottom: 1rem; font: 650 1.15rem/1.45 var(--sans); letter-spacing: -.02em; }
.privacy-content p, .privacy-content ul, .privacy-content address { color: var(--text); font-size: .96rem; line-height: 1.85; }
.privacy-content ul { margin: 0 0 1.2rem; padding-left: 1.25rem; }
.privacy-content li + li { margin-top: .45rem; }
.privacy-content a { color: var(--blue); }
.privacy-content a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }
.privacy-contact { margin: 1.5rem 0 0; padding: 1.35rem; background: var(--blue-light); border: 1px solid var(--line); border-radius: 8px; }
.privacy-contact > div + div { margin-top: 1rem; }
.privacy-contact dt { color: var(--muted); font-size: .82rem; }
.privacy-contact dd { margin: .25rem 0 0; }

/* Sem JavaScript ou observador, todo conteúdo continua disponível. */
.reveal { opacity: 1; transform: none; }
.reveal.reveal-visible, .reveal:focus-within { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .reveal { transition: opacity 520ms ease, transform 520ms ease; }
  .reveal.reveal-pending { opacity: 0; transform: translateY(12px); transition: none; }
  .reveal.reveal-visible, .reveal.reveal-pending:focus-within { opacity: 1; transform: none; }
}

@media (min-width: 560px) {
  .container { width: min(100% - 4rem, 1184px); }
  .header-inner { gap: .65rem; }
  .main-nav { gap: .25rem 2rem; }
  .hero-art { height: 320px; }
  .treatment-grid, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-details dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .address-detail { grid-column: 1 / -1; }
}

@media (min-width: 800px) {
  .section { padding-block: 5.75rem; }
  .hero { padding-block: 4rem; }
  .hero-grid { grid-template-columns: 1.13fr 1fr; gap: 2.5rem; }
  .hero h1 { font-size: clamp(3.15rem, 5.35vw, 4.85rem); }
  .hero-art { height: 450px; max-width: 480px; border-radius: 170px 170px 12px 12px; }
  .art-topline { top: 3.8rem; left: 2.8rem; right: 2.8rem; font-size: .54rem; padding-bottom: .65rem; }
  .art-bottomline { bottom: 1.4rem; left: 2rem; right: 2rem; font-size: .47rem; }
  .art-arch { top: 24%; left: 23%; width: 54%; height: 48%; padding: .9rem; border-radius: 100px 100px 6px 6px; }
  .art-caption { bottom: 3.25rem; left: 2rem; gap: .9rem; }
  .art-caption p { font-size: 1.25rem; }
  .principles-list { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 1.3rem; }
  .principles-list li { justify-content: center; padding-inline: 1rem; font-size: .8rem; }
  .principles-list li + li { border-left: 1px solid var(--line); }
  .about-grid, .section-heading { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
  .about-copy { padding-top: 2.65rem; }
  .treatment-card { padding: 1.8rem; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; }
  .steps h3 { font-size: 1rem; }
  .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
  .contact-details { align-self: center; border-top: 0; border-left: 1px solid #6E81AC; padding: .5rem 0 .5rem 2rem; }
  .contact-details dl { grid-template-columns: minmax(0, 1fr); }
  .privacy-main { padding-block: 4rem 6rem; }
}

@media (min-width: 1000px) {
  .privacy-layout { grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); gap: 3rem; }
  .privacy-intro { align-self: start; }
  .privacy-intro h1 { font-size: clamp(2.55rem, 4vw, 3.35rem); }
  .privacy-content { max-width: 76ch; border-top: 0; border-left: 1px solid var(--line); padding: .5rem 0 0 2.5rem; }
}

@media (min-width: 1000px) and (min-height: 600px) {
  .privacy-intro { position: sticky; top: calc(var(--header-height) + 1.5rem); }
  /* Sem espaço para o painel inteiro, a leitura usa a rolagem normal. */
  .privacy-intro.privacy-sticky-unavailable { position: static; }
}

@media (min-width: 1100px) {
  :root { --header-height: 6.5rem; }
  .header-inner { grid-template-columns: max-content minmax(0, 1fr) max-content; min-height: 100px; gap: 2rem; padding-block: 1rem; }
  .main-nav { justify-content: center; gap: 1.6rem; border-top: 0; padding-top: 0; }
  .header-contact { justify-self: end; }
  .hero-grid { gap: 4.5rem; }
  .hero-art { height: 540px; border-radius: 200px 200px 12px 12px; }
  .art-topline { top: 4.8rem; left: 3rem; right: 3rem; }
  .art-arch { top: 24%; height: 49%; }
  .art-caption { left: 2.5rem; bottom: 3.7rem; }
  .art-caption p { font-size: 1.4rem; }
  .art-bottomline { left: 2.5rem; right: 2.5rem; }
  .principles-list li { font-size: .85rem; }
  .about-grid, .section-heading { gap: 4rem; }
  .contact-grid { gap: 5rem; }
  .contact-details { padding-left: 3rem; }
  .contact-details dl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.3rem; }
  .privacy-layout { gap: 4.5rem; }
  .privacy-content { padding-left: 3rem; }
}

@media (max-width: 399px) {
  .header-inner { gap: .65rem; }
  .main-nav { gap: .25rem .85rem; }
  .main-nav a { font-size: .8rem; }
  .header-contact, .hero-copy > .button { width: 100%; }
  .hero-art { height: 280px; }
  .art-topline { top: 2.1rem; left: 2.4rem; right: 2.4rem; letter-spacing: .08em; }
  .art-bottomline { left: 1.25rem; right: 1.25rem; gap: .5rem; letter-spacing: .07em; }
  .art-caption { left: 1.25rem; bottom: 2.2rem; }
  .art-caption p { font-size: .98rem; }
  .hero .eyebrow { font-size: .65rem; letter-spacing: .1em; }
  .treatment-card { padding: 1.4rem; }
  .business-separator { margin-inline: .3rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; transform: none !important; }
  .reveal, .reveal.reveal-pending, .reveal.reveal-visible { opacity: 1 !important; transform: none !important; }
  .skip-link:not(:focus) { top: -10rem; }
  .skip-link:focus { top: .75rem; }
}
