:root {
  --navy: #0d2230;
  --navy-soft: #173443;
  --white: #ffffff;
  --offwhite: #f7f3ec;
  --offwhite-deep: #eee8df;
  --ink: #14232e;
  --text: #495b67;
  --muted: #72808a;
  --warm: #b8aea2;
  --line: rgba(13, 34, 48, .11);
  --line-light: rgba(255,255,255,.14);
  --shadow: 0 28px 80px rgba(10, 27, 39, .10);
  --shadow-soft: 0 18px 50px rgba(10, 27, 39, .07);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--offwhite);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}
::selection { background: rgba(23,52,67,.15); }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button { font: inherit; }
.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247,243,236,.90);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid rgba(13,34,48,.07);
}
.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(13,34,48,.18);
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.03em;
  color: var(--navy);
}
.brand-text strong, .brand-text small { display: block; }
.brand-text strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1;
}
.brand-text small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.main-menu { display: flex; align-items: center; gap: 28px; font-size: 13px; color: #536470; }
.main-menu a { transition: color .2s ease; }
.main-menu a:hover { color: var(--navy); }
.header-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(13,34,48,.12);
}
.menu-button { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 9px; }
.menu-button span { display: block; height: 1.5px; background: var(--navy); margin: 7px 0; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 88px;
  background:
    radial-gradient(circle at 83% 16%, rgba(255,255,255,.8), transparent 22%),
    linear-gradient(180deg, #fbf8f2 0%, var(--offwhite) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(13,34,48,.05);
  right: -190px;
  top: -160px;
}
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 72px; align-items: center; position: relative; z-index: 1; }
.kicker {
  display: inline-block;
  color: #85929a;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 600;
}
.kicker.dark { color: #6f7f89; }
.kicker.light { color: #c9d5dc; }
.hero h1,
.section h2,
.quote-inner blockquote,
.gallery-text-card h3,
.price-card h3,
.process-heading h2,
.faq-heading h2,
.appointment-card h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: -.045em;
}
.hero h1 {
  margin: 18px 0 24px;
  font-size: clamp(54px, 6.6vw, 88px);
  line-height: .93;
  max-width: 760px;
}
.hero-lead {
  margin: 0;
  max-width: 640px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 32px; }
.btn {
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: white; box-shadow: 0 14px 38px rgba(13,34,48,.15); }
.btn-ghost { background: rgba(255,255,255,.62); border-color: rgba(13,34,48,.12); color: var(--navy); }
.btn-light { background: var(--white); color: var(--navy); }
.hero-signature {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 510px;
}
.hero-signature span {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  font-style: italic;
  color: var(--navy);
}
.hero-signature small { color: var(--muted); }
.hero-image-wrap { position: relative; }
.hero-image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 34px 34px 110px 34px;
  box-shadow: var(--shadow);
  background: white;
  border: 1px solid rgba(13,34,48,.07);
}
.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 24px 24px 92px 24px;
  pointer-events: none;
}
.hero-image-frame img { aspect-ratio: 4 / 5; object-fit: cover; }
.hero-note {
  position: absolute;
  left: -44px;
  bottom: 28px;
  width: min(350px, 80%);
  background: rgba(255,255,255,.96);
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(13,34,48,.08);
}
.hero-note-rule { display: block; width: 42px; height: 1px; background: var(--navy); margin-bottom: 14px; }
.hero-note p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.25;
}

.intro-strip { padding: 0 0 24px; }
.intro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.intro-grid > div {
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(13,34,48,.08);
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: 0 10px 35px rgba(10,27,39,.04);
}
.intro-grid span { display: block; color: #96a1a8; font-size: 10px; letter-spacing: .14em; margin-bottom: 8px; }
.intro-grid strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; font-weight: 600; }
.intro-grid p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.section { padding: 96px 0; }
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.about-image { overflow: hidden; border-radius: var(--radius-xl); box-shadow: var(--shadow-soft); }
.about-image img { aspect-ratio: 4 / 5; object-fit: cover; }
.about-copy h2 { margin: 16px 0 22px; font-size: clamp(46px, 5.2vw, 67px); line-height: 1; }
.about-copy p { color: var(--text); margin: 0 0 14px; max-width: 670px; }
.about-copy .lead { font-size: 18px; color: #3e5260; }
.doctor-card {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--offwhite);
  border-radius: 18px;
  border: 1px solid var(--line);
}
.doctor-mark { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: white; font-family: "Cormorant Garamond", Georgia, serif; font-size: 18px; }
.doctor-card strong, .doctor-card span { display: block; }
.doctor-card strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; font-weight: 600; }
.doctor-card span { color: var(--muted); font-size: 12px; }

.quote-section { background: var(--navy); color: white; padding: 86px 0; }
.quote-inner { text-align: center; max-width: 900px; }
.quote-symbol { display: block; color: #8799a4; font-family: "Cormorant Garamond", Georgia, serif; font-size: 78px; line-height: .5; }
.quote-inner blockquote { margin: 22px auto 18px; font-size: clamp(44px, 5.8vw, 72px); line-height: .98; max-width: 900px; }
.quote-caption { color: #aebdc6; font-size: 13px; letter-spacing: .04em; }

.services { background: var(--offwhite); }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading.centered { text-align: center; margin-inline: auto; }
.section-heading h2 { margin: 14px 0 16px; font-size: clamp(46px, 5.1vw, 66px); line-height: .98; }
.section-heading p { color: var(--muted); margin: 0; font-size: 17px; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  min-height: 275px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 40px rgba(10,27,39,.04);
}
.service-index { color: #96a2aa; font-size: 10px; letter-spacing: .16em; }
.service-card h3 { margin: auto 0 12px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 34px; font-weight: 600; }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }

.editorial-gallery { padding-top: 14px; background: var(--white); }
.gallery-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 18px; }
.gallery-large, .gallery-small img, .gallery-text-card { border-radius: 28px; overflow: hidden; }
.gallery-large { box-shadow: var(--shadow-soft); }
.gallery-large img { height: 100%; min-height: 650px; object-fit: cover; }
.gallery-small { display: grid; gap: 18px; }
.gallery-small img { min-height: 310px; object-fit: cover; box-shadow: var(--shadow-soft); }
.gallery-text-card {
  min-height: 310px;
  padding: 34px;
  background: var(--navy-soft);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.gallery-text-card h3 { margin: 13px 0 10px; font-size: 50px; line-height: .95; }
.gallery-text-card p { margin: 0; color: #c8d3da; max-width: 340px; }

.consultations { background: var(--offwhite-deep); }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 38px; }
.price-card {
  min-height: 440px;
  padding: 34px;
  border-radius: 28px;
  background: rgba(255,255,255,.75);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 14px 45px rgba(10,27,39,.05);
}
.price-card-dark { background: var(--navy); color: white; border-color: transparent; }
.price-kicker { color: #87969f; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; }
.price-card-dark .price-kicker { color: #aebdc6; }
.price-card h3 { margin: 24px 0 14px; font-size: 47px; line-height: .98; }
.price-card p { margin: 0; color: var(--muted); max-width: 460px; }
.price-card-dark p { color: #aebdc6; }
.price-bottom { padding-top: 30px; border-top: 1px solid var(--line); }
.price-card-dark .price-bottom { border-top-color: var(--line-light); }
.price-bottom strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 56px; font-weight: 500; line-height: 1; }
.price-bottom strong small { font-family: "Inter", sans-serif; font-size: 12px; font-weight: 600; margin-right: 4px; }
.price-bottom a { display: inline-flex; margin-top: 18px; font-size: 13px; font-weight: 600; padding-bottom: 3px; border-bottom: 1px solid currentColor; }
.fine-print { margin: 22px 0 0; text-align: center; color: #7f898f; font-size: 11px; }

.process { background: var(--white); }
.process-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 70px; align-items: start; }
.process-heading h2 { margin: 14px 0 0; font-size: clamp(44px, 4.8vw, 62px); line-height: .98; }
.process-list { border-top: 1px solid var(--line); }
.process-list article { display: grid; grid-template-columns: 64px 1fr; gap: 22px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.process-list article > span { color: #9ba5ab; font-size: 10px; letter-spacing: .15em; padding-top: 4px; }
.process-list h3 { margin: 0 0 6px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; font-weight: 600; }
.process-list p { margin: 0; color: var(--muted); }

.faq { background: var(--offwhite); }
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 70px; }
.faq-heading h2 { margin: 14px 0 16px; font-size: clamp(44px, 4.8vw, 62px); line-height: .98; }
.faq-heading p { margin: 0; color: var(--muted); }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; min-height: 82px; display: grid; grid-template-columns: 50px 1fr 24px; gap: 14px; align-items: center; cursor: pointer; font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; }
summary::-webkit-details-marker { display: none; }
summary span { color: #9aa5ac; font-family: "Inter", sans-serif; font-size: 10px; font-weight: 600; }
summary b { color: #7f909a; font-family: "Inter", sans-serif; font-size: 22px; font-weight: 400; transition: transform .2s ease; }
details[open] summary b { transform: rotate(45deg); }
details p { margin: -2px 0 28px 64px; color: var(--muted); }

.appointment { background: var(--white); }
.appointment-card {
  border-radius: 34px;
  background: var(--navy);
  color: white;
  padding: 54px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 66px;
  align-items: center;
  box-shadow: var(--shadow);
}
.appointment-card h2 { margin: 14px 0 18px; font-size: clamp(46px, 5vw, 66px); line-height: .96; }
.appointment-card p { margin: 0; color: #c3d0d7; max-width: 620px; }
.appointment-card small { display: block; margin-top: 20px; color: #8ea0ab; }
.appointment-contact {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  padding: 28px;
}
.appointment-contact > span { display: block; color: #aebdc6; font-size: 10px; text-transform: uppercase; letter-spacing: .17em; }
.appointment-contact > a:not(.btn) { display: block; margin: 14px 0 24px; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(25px, 3vw, 36px); line-height: 1.1; word-break: break-word; }

.footer { background: #091821; color: white; padding: 46px 0 26px; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 34px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-mark { color: white; border-color: rgba(255,255,255,.18); }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 21px; font-weight: 600; }
.footer-brand span { color: #8da0ac; font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; color: #a9bbc5; font-size: 12px; }
.footer-bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; gap: 20px; color: #728996; font-size: 10px; letter-spacing: .04em; text-transform: uppercase; }
.footer-bottom a { color: #9fb2bd; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1040px) {
  .hero-grid, .about-grid, .process-grid, .faq-grid, .appointment-card { grid-template-columns: 1fr; }
  .hero-grid { gap: 48px; }
  .hero-image-wrap { max-width: 720px; margin: 0 auto; }
  .hero-note { left: 20px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-large img { min-height: 540px; }
}

@media (max-width: 860px) {
  .shell { width: min(100% - 34px, 1180px); }
  .menu-button { display: block; }
  .main-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 82px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 24px 22px;
    background: rgba(247,243,236,.98);
    border-bottom: 1px solid var(--line);
  }
  .main-menu.open { display: flex; }
  .intro-grid, .pricing-grid { grid-template-columns: 1fr; }
  .appointment-card { padding: 34px; }
  .footer-main, .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 74px; }
  .main-menu { top: 74px; }
  .brand-text strong { font-size: 18px; }
  .hero { padding: 56px 0 64px; }
  .hero h1 { font-size: 48px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .hero-note { position: static; width: auto; margin-top: 14px; }
  .section { padding: 76px 0; }
  .about-copy h2, .section-heading h2, .process-heading h2, .faq-heading h2, .appointment-card h2 { font-size: 42px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 230px; }
  .gallery-large img { min-height: 400px; }
  .gallery-small img { min-height: 240px; }
  .gallery-text-card { min-height: 260px; }
  .gallery-text-card h3 { font-size: 43px; }
  .price-card { min-height: 380px; padding: 28px; }
  .price-card h3 { font-size: 40px; }
  .price-bottom strong { font-size: 50px; }
  summary { font-size: 20px; }
  .quote-inner blockquote { font-size: 44px; }
}

/* Enquadramento dos retratos enviados pelo médico. */
.hero-image-frame img, .about-image img { object-position: center top; }
.gallery-small img { aspect-ratio: 4 / 3; height: auto; object-position: center top; }
.gallery-large img { object-position: 50% 55%; }

/* Pagamento via Pix */
.pix-card { margin-top: 28px; padding: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; border: 1px solid var(--line); border-radius: 24px; background: var(--white); }
.pix-details h3 { margin: 0 0 6px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 30px; font-weight: 600; color: var(--navy); }
.pix-details p { margin: 0 0 5px; color: var(--text); font-size: 13px; }
.pix-details strong { font-size: clamp(17px, 4.5vw, 23px); color: var(--navy); user-select: all; overflow-wrap: anywhere; }
.pix-action { max-width: 100%; }
#copy-pix { cursor: pointer; }
#copy-pix:focus-visible { outline: 3px solid var(--navy-soft); outline-offset: 4px; }
.pix-status { margin: 8px 0 0; color: var(--text); font-size: 13px; max-width: 32ch; }
.pix-status:empty { display: none; }
@media (max-width: 640px) { .pix-action { width: 100%; } .pix-card { padding: 24px; } }
