:root {
  --navy: #14233f;
  --navy-2: #0d1930;
  --gold: #c49a5a;
  --gold-soft: #e7d4b4;
  --cream: #f5f1e9;
  --paper: #fbfaf7;
  --ink: #182033;
  --muted: #6d7480;
  --line: rgba(20, 35, 63, .12);
  --shadow: 0 30px 80px rgba(13, 25, 48, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
small { display: inline-block; }
.shell { width: min(1180px, calc(100% - 44px)); margin: 0 auto; }

.demo-bar { background: #0c1629; color: rgba(255,255,255,.72); text-align: center; font-size: 11px; letter-spacing: .13em; text-transform: uppercase; padding: 9px 16px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251,250,247,.88); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(20,35,63,.07); }
.nav-wrap { height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.brand-mark { width: 38px; height: 38px; border-radius: 2px 14px 2px 14px; background: linear-gradient(145deg,#d7b06c,#a97835); display: grid; place-items: center; color: #fff; font-family: "Playfair Display", serif; font-size: 25px; font-weight: 600; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-family: "Playfair Display", serif; letter-spacing: .08em; color: var(--navy); font-size: 19px; }
.brand-copy small { font-size: 8px; color: var(--gold); letter-spacing: .32em; margin-top: 6px; }
.desktop-nav { display: flex; gap: 32px; font-size: 13px; color: #465064; }
.desktop-nav a { position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--gold); transition: .25s ease; }
.desktop-nav a:hover::after { right: 0; }
.nav-wrap > .btn { justify-self: end; }

.btn { display: inline-flex; align-items: center; justify-content: center; padding: 15px 22px; border-radius: 999px; background: var(--navy); color: white; font-weight: 600; font-size: 13px; letter-spacing: .02em; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; box-shadow: 0 12px 28px rgba(20,35,63,.15); }
.btn:hover { transform: translateY(-2px); background: #1c3158; box-shadow: 0 18px 35px rgba(20,35,63,.22); }
.btn-small { padding: 12px 18px; font-size: 12px; }

.hero { overflow: hidden; background: linear-gradient(135deg, #fbfaf7 0%, #f4efe5 100%); }
.hero-grid { min-height: 720px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; padding: 74px 0 86px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .17em; }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.eyebrow.light { color: var(--gold-soft); }
h1,h2 { font-family: "Playfair Display", serif; font-weight: 600; margin: 0; letter-spacing: -.035em; color: var(--navy); }
h1 { font-size: clamp(52px, 5.9vw, 80px); line-height: .99; margin-top: 26px; }
h1 em, h2 em { color: var(--gold); font-weight: 500; }
.hero-lead { max-width: 590px; color: #5f6878; font-size: 17px; line-height: 1.72; margin: 28px 0 30px; }
.hero-actions { display: flex; align-items: center; gap: 27px; }
.text-link { font-size: 13px; font-weight: 700; color: var(--navy); }
.text-link span { color: var(--gold); margin-left: 5px; }
.proof-row { display: flex; align-items: stretch; gap: 24px; margin-top: 47px; }
.proof-item { display: grid; grid-template-columns: auto auto; gap: 3px 9px; align-items: baseline; }
.proof-item small { grid-column: 1 / -1; color: #858b95; font-size: 10px; letter-spacing: .04em; }
.proof-num { font-family: "Playfair Display", serif; font-size: 27px; color: var(--navy); font-weight: 600; }
.proof-label { color: var(--navy); font-size: 12px; font-weight: 700; max-width: 100px; line-height: 1.2; }
.stars { color: var(--gold); font-size: 10px; letter-spacing: 2px; }
.proof-divider { width: 1px; background: var(--line); }

.hero-visual { position: relative; min-width: 0; }
.image-frame { position: relative; height: 560px; border-radius: 4px 90px 4px 90px; overflow: hidden; box-shadow: var(--shadow); }
.image-frame img { width: 100%; height: 100%; object-fit: cover; }
.gold-orbit { position: absolute; width: 170px; height: 170px; border: 1px solid rgba(196,154,90,.55); border-radius: 50%; right: -66px; top: -48px; }
.gold-orbit::before { content:""; position:absolute; inset: 26px; border: 1px solid rgba(196,154,90,.28); border-radius:50%; }

.intro-strip { background: var(--navy); color: white; }
.intro-grid { min-height: 200px; display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 40px; }
.quote-mark { font-family: "Playfair Display", serif; font-size: 92px; margin: 0; line-height: 1; color: var(--gold); }
.intro-text { font-family: "Playfair Display", serif; font-size: clamp(24px, 3vw, 37px); line-height: 1.28; max-width: 760px; margin: 0; color: #fff; }
.intro-text strong { color: var(--gold-soft); font-weight: 500; }
.intro-note { font-size: 10px; color: rgba(255,255,255,.55); letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; }

.section { padding: 118px 0; }
.section-head { display: grid; grid-template-columns: 1fr .65fr; gap: 80px; align-items: end; margin-bottom: 55px; }
h2 { font-size: clamp(42px, 5vw, 64px); line-height: 1.03; margin-top: 18px; }
.section-head > p { color: var(--muted); line-height: 1.75; margin: 0 0 6px; font-size: 15px; }
.service-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.service-card {
  position: relative;
  min-height: 330px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  appearance: none;
  width: 100%;
  border-radius: 0;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(20,35,63,.09);
  border-color: rgba(196,154,90,.65);
}
.service-card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.service-card.is-active {
  border-color: var(--gold);
  box-shadow: 0 14px 32px rgba(20,35,63,.12);
  background: #fff;
}
.service-card.featured { background: var(--navy); color: white; }
.service-card.featured.is-active {
  background: var(--navy);
  border-color: var(--gold-soft);
  box-shadow: 0 14px 32px rgba(13,25,48,.24);
}
.service-index { position: absolute; top: 25px; right: 24px; color: #aeb3bc; font-size: 10px; letter-spacing: .12em; }
.service-card.featured .service-index { color: rgba(255,255,255,.45); }
.service-icon { color: var(--gold); font-size: 36px; height: 70px; display: flex; align-items: center; }
.service-card h3 { font-family: "Playfair Display", serif; font-size: 25px; margin: 20px 0 13px; color: var(--navy); }
.service-card.featured h3 { color: white; }
.service-card p { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0; }
.service-card.featured p { color: rgba(255,255,255,.68); }
.service-more { position: absolute; left: 26px; bottom: 25px; font-size: 11px; font-weight: 700; color: var(--gold); transition: color 0.2s ease; }
.service-card:hover .service-more { color: #a77d3f; }
.service-card.featured:hover .service-more { color: var(--gold-soft); }

/* Painel de detalhes expandido logo abaixo da grade */
.treatment-detail-panel {
  margin-top: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  box-shadow: 0 16px 40px rgba(20,35,63,.07);
  transition: opacity 0.25s ease, transform 0.25s ease;
  opacity: 1;
  transform: translateY(0);
}
.treatment-detail-panel[hidden] {
  display: none;
}
.treatment-detail-panel.is-changing {
  opacity: 0;
  transform: translateY(3px);
}
.treatment-detail-inner {
  padding: 30px 34px;
}
.treatment-detail-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.treatment-detail-badge {
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.treatment-detail-close {
  background: none;
  border: 1px solid transparent;
  color: #8c93a0;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.treatment-detail-close:hover {
  color: var(--navy);
  border-color: var(--line);
}
.treatment-detail-close:focus-visible {
  outline: 2px solid var(--gold);
}
.treatment-detail-title {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  margin: 0 0 12px;
  color: var(--navy);
}
.treatment-detail-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  max-width: 820px;
  margin: 0 0 24px;
}
.treatment-detail-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.about { background: var(--cream); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 95px; align-items: center; }
.doctor-panel { min-height: 510px; position: relative; background: var(--navy); overflow: hidden; padding: 38px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow); }
.doctor-panel::before { content: ""; position: absolute; width: 500px; height: 500px; border: 1px solid rgba(231,212,180,.15); border-radius: 50%; top: -150px; right: -160px; }
.doctor-panel::after { content: ""; position: absolute; width: 320px; height: 320px; border: 1px solid rgba(231,212,180,.12); border-radius: 50%; top: -60px; right: -70px; }
.doctor-monogram { position: absolute; top: 55px; left: 55px; font-family: "Playfair Display", serif; font-size: 160px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(231,212,180,.3); letter-spacing: -.1em; }
.doctor-meta { position: relative; z-index: 2; display: flex; flex-direction: column; }
.doctor-meta span { color: var(--gold); font-size: 10px; letter-spacing: .16em; }
.doctor-meta strong { color: white; font-family: "Playfair Display", serif; font-size: 31px; margin: 5px 0; }
.doctor-meta small { color: rgba(255,255,255,.55); }
.doctor-tag { position: absolute; right: 25px; bottom: 38px; color: var(--gold-soft); font-size: 9px; letter-spacing: .13em; text-align: right; line-height: 1.6; }
.about-copy > p { color: var(--muted); font-size: 15px; line-height: 1.78; max-width: 620px; }
.credential-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.credential-row span { border: 1px solid rgba(20,35,63,.16); padding: 9px 13px; border-radius: 999px; font-size: 10px; color: #4d5667; text-transform: uppercase; letter-spacing: .08em; }

.reputation { background: var(--navy-2); color: white; }
.reputation-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; align-items: center; }
.reputation h2 { color: white; }
.reputation-copy p { color: rgba(255,255,255,.6); max-width: 600px; line-height: 1.75; }
.score-card { background: #fff; color: var(--navy); padding: 34px; max-width: 430px; width: 100%; justify-self: end; }
.score-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.score-top { display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: .13em; }
.gold { color: var(--gold); }
.score-card > strong { display: block; font-family: "Playfair Display", serif; font-size: 100px; line-height: .95; margin-top: 22px; }
.score-card > small { color: var(--muted); }
.score-source-label { font-size: 12px; color: var(--muted); }
.score-count-label { display: block; font-size: 11px; color: #8c93a0; margin-top: 4px; }
.score-line { height: 1px; background: var(--line); margin: 24px 0 20px; }

.review-rotator {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 155px;
}
.review-body {
  opacity: 1;
  transition: opacity 0.4s ease-in-out;
  display: flex;
  flex-direction: column;
}
.review-body.is-fading {
  opacity: 0;
}
.review-text {
  color: var(--muted);
  line-height: 1.65;
  font-size: 13px;
  margin: 0 0 14px 0;
}
.review-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.review-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--cream);
  border: 1px solid rgba(20, 35, 63, 0.08);
  flex-shrink: 0;
}
.review-author-info {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  font-size: 11px;
}
.review-author {
  font-weight: 600;
  color: var(--navy);
}
.review-author a {
  color: var(--navy);
  text-decoration: none;
}
.review-author a:hover {
  text-decoration: underline;
}
.review-time {
  color: #8c93a0;
  font-size: 10px;
}
.review-time:not(:empty)::before {
  content: "· ";
  color: #aeb3bc;
}
.review-maps-link {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.review-maps-link:hover {
  color: #a77d3f;
  text-decoration: underline;
}
.review-dots {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 8px;
}
.review-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(20, 35, 63, 0.18);
  transition: background 0.3s ease, transform 0.3s ease;
  display: inline-block;
}
.review-dots .dot.active {
  background: var(--navy);
  transform: scale(1.15);
}

@media (prefers-reduced-motion: reduce) {
  .review-body {
    transition: none !important;
  }
  .review-dots .dot {
    transition: none !important;
  }
}

.location-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 85px; align-items: stretch; }
.address-card { margin-top: 42px; padding-left: 22px; border-left: 2px solid var(--gold); display: flex; flex-direction: column; gap: 8px; }
.address-card span { color: var(--gold); font-size: 10px; letter-spacing: .15em; }
.address-card strong { color: var(--navy); font-size: 17px; line-height: 1.55; }
.address-card small { color: var(--muted); }
.contact-lines { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-lines a { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; }
.contact-lines span { font-size: 11px; color: var(--muted); }
.contact-lines strong { font-size: 12px; color: var(--navy); }
.map-card {
  min-height: 520px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  border-radius: 70px 4px 70px 4px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  border: 0;
}

.final-cta { background: linear-gradient(125deg,#14233f,#1d335b); color:white; padding: 100px 0; text-align:center; }
.final-inner { display:flex; flex-direction:column; align-items:center; }
.final-inner h2 { color:white; margin:20px 0 30px; }
.btn-light { background:#fff; color:var(--navy); box-shadow:none; }
.btn-light:hover { background:var(--gold-soft); color:var(--navy); }
.footer { padding: 38px 0; background:#0b1528; color:rgba(255,255,255,.52); }
.footer-grid { display:grid; grid-template-columns:auto 1fr auto; gap:45px; align-items:center; }
.footer-brand .brand-copy strong { color:#fff; }
.footer-grid p { margin:0; font-size:10px; line-height:1.5; text-align:center; }
.footer-grid > a:last-child { font-size:10px; color:var(--gold-soft); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .22s; }

@media (max-width: 980px) {
  .desktop-nav { display:none; }
  .nav-wrap { grid-template-columns: 1fr auto; }
  .hero-grid { grid-template-columns:1fr; gap:45px; min-height:auto; }
  .hero-copy { padding-top:20px; }
  .hero-visual { max-width:720px; }
  .image-frame { height:520px; }
  .service-grid { grid-template-columns:repeat(2,1fr); }
  .section-head,.about-grid,.reputation-grid,.location-grid { grid-template-columns:1fr; gap:50px; }
  .score-card { justify-self:start; }
  .intro-grid { grid-template-columns:50px 1fr; }
  .intro-note { display:none; }
}

@media (max-width: 640px) {
  .shell { width:min(100% - 30px, 1180px); }
  .demo-bar { font-size:9px; padding:8px 10px; }
  .site-header { position:relative; }
  .nav-wrap { height:72px; }
  .nav-wrap > .btn { display:none; }
  .brand-mark { width:34px; height:34px; font-size:22px; }
  .brand-copy strong { font-size:17px; }
  .hero-grid { padding:55px 0 65px; gap:35px; }
  h1 { font-size:51px; }
  h2 { font-size:42px; }
  .hero-lead { font-size:15px; }
  .hero-actions { align-items:flex-start; flex-direction:column; gap:17px; }
  .proof-row { gap:15px; }
  .proof-num { font-size:23px; }
  .image-frame { height:410px; border-radius:4px 55px 4px 55px; }
  .intro-grid { min-height:180px; grid-template-columns:35px 1fr; gap:16px; }
  .quote-mark { font-size:62px; }
  .intro-text { font-size:23px; }
  .section { padding:82px 0; }
  .section-head { gap:25px; margin-bottom:38px; }
  .service-grid { grid-template-columns:1fr; }
  .service-card { min-height:260px; }
  .treatment-detail-inner { padding: 24px 20px; }
  .treatment-detail-title { font-size: 24px; }
  .treatment-detail-desc { font-size: 13px; margin-bottom: 20px; }
  .doctor-panel { min-height:430px; padding:26px; }
  .doctor-monogram { font-size:125px; top:40px; left:34px; }
  .doctor-meta strong { font-size:25px; max-width:260px; }
  .doctor-tag { right:18px; bottom:30px; }
  .score-card { padding:28px; }
  .score-card > strong { font-size:82px; }
  .map-card { min-height:380px; border-radius:50px 4px 50px 4px; }
  .map-card iframe { min-height:380px; }
  .contact-lines a { flex-direction:column; gap:5px; }
  .final-cta { padding:80px 0; }
  .footer-grid { grid-template-columns:1fr; text-align:center; justify-items:center; gap:25px; }
}

/* V3 — refinamento institucional: menos linguagem de template/IA */
.context-label,
.cta-kicker {
  margin: 0;
  color: #7a684e;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  text-transform: none;
}
.cta-kicker { color: rgba(255,255,255,.66); }

/* Sem o padrão “traço + label em caixa alta”. Mantido apenas por compatibilidade. */
.eyebrow { gap: 0; letter-spacing: .02em; text-transform: none; font-size: 13px; font-weight: 500; }
.eyebrow::before { display: none; }

/* Botões mais institucionais e menos “pill/SaaS”. */
.btn {
  border-radius: 9px;
  padding: 14px 20px;
  letter-spacing: 0;
  box-shadow: 0 8px 20px rgba(20,35,63,.12);
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 11px 24px rgba(20,35,63,.16); }
.btn-small { border-radius: 8px; padding: 11px 17px; }
.btn-light { border-radius: 9px; }

/* Especialidades integradas à narrativa institucional */
.credential-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 0;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(20,35,63,.14);
}
.credential-row span {
  border: 0;
  border-radius: 0;
  padding: 0 13px;
  color: #586171;
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.credential-row span:first-child { padding-left: 0; }
.credential-row span + span { border-left: 1px solid rgba(20,35,63,.16); }

/* Dá espaço natural aos títulos que antes dependiam do eyebrow. */
.section-head h2,
.about-copy h2,
.reputation-copy h2,
.location-copy h2 { margin-top: 0; }
.final-inner h2 { margin-top: 18px; }

@media (max-width: 640px) {
  .context-label, .cta-kicker { font-size: 12px; }
  .credential-row { gap: 8px; }
  .credential-row span {
    padding: 6px 12px;
    border: 1px solid rgba(20,35,63,.12);
    border-radius: 999px;
    white-space: normal;
  }
  .credential-row span + span { border-left: 1px solid rgba(20,35,63,.12); }
  .credential-row span:first-child { padding-left: 12px; }
}
