:root {
  --green: #394632;
  --green-dark: #263021;
  --green-soft: #eef1e9;
  --beige: #efe5d5;
  --beige-light: #fbf7ef;
  --gold: #b39a67;
  --text: #27251f;
  --muted: #746f65;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(38, 48, 33, .16);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--text);
  background: var(--beige-light);
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.section { padding: 92px 0; }
.section-soft { background: linear-gradient(135deg, var(--beige-light), var(--green-soft)); }
.section-green { background: var(--green); color: var(--white); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 239, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(57, 70, 50, .1);
}
.nav { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand img { width: 240px; height: auto; }
.menu { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; color: var(--green-dark); }
.menu a { position: relative; }
.menu a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--gold); transition: .25s; }
.menu a:hover::after { width: 100%; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--green);
  box-shadow: 0 14px 30px rgba(57, 70, 50, .2);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(57, 70, 50, .26); background: var(--green-dark); }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 13px; }
.btn-outline { background: transparent; color: var(--green); box-shadow: none; }
.btn-outline:hover { color: var(--white); }
.btn-light { background: var(--beige-light); color: var(--green-dark); border-color: var(--beige-light); }
.text-link { color: var(--green); font-weight: 700; border-bottom: 1px solid var(--gold); }
.section-green .text-link { color: var(--white); }

.hero { padding: 82px 0 96px; }
.hero-grid, .two-columns, .contact-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 70px; }
.hero-grid { align-items: start; }
.hero-copy, .hero-photo { align-self: start; }
.two-columns, .contact-grid { align-items: center; }
.eyebrow { display: inline-block; margin-bottom: 14px; color: var(--gold); text-transform: uppercase; letter-spacing: .18em; font-size: 12px; font-weight: 700; }
h1, h2, h3 { margin: 0; line-height: 1.06; color: var(--green-dark); }
h1, h2 { font-family: 'Cormorant Garamond', Georgia, serif; }
h1 { font-size: clamp(46px, 6vw, 78px); max-width: 680px; }
h2 { font-size: clamp(36px, 4vw, 58px); }
h3 { font-size: 22px; }
p { margin: 18px 0 0; color: var(--muted); }
.hero-copy { min-width: 0; }
.hero-copy p { max-width: 620px; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-photo { position: relative; aspect-ratio: 4 / 5; width: 100%; overflow: visible; }
.hero-photo > img { width: 100%; height: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; object-position: center 18%; }
.hero-card { position: absolute; left: -28px; bottom: 32px; display: flex; align-items: center; gap: 14px; max-width: 300px; padding: 16px 18px; border-radius: 22px; background: rgba(255,255,255,.93); box-shadow: var(--shadow); font-weight: 700; color: var(--green-dark); }
.hero-card img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.trust-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 42px; }
.trust-list div { background: rgba(255,255,255,.62); border: 1px solid rgba(57,70,50,.1); border-radius: 18px; padding: 18px; }
.trust-list strong { display: block; color: var(--green); }
.trust-list span { display: block; font-size: 13px; color: var(--muted); }

.image-stack { position: relative; aspect-ratio: 4 / 5; }
.main-img { width: 100%; height: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; object-position: center; }
.seal-card { position: absolute; right: -22px; bottom: 42px; background: var(--green); color: var(--beige-light); padding: 24px; border-radius: 24px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 30px; line-height: .95; box-shadow: var(--shadow); }
.content p { font-size: 16px; }
.check-list { padding: 0; margin: 28px 0; list-style: none; }
.check-list li { position: relative; padding-left: 32px; margin-bottom: 12px; color: var(--text); }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--green); font-weight: 800; }

.section-title { max-width: 760px; margin-bottom: 48px; }
.section-title.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-title h2 { color: var(--green-dark); }
.section-title p { color: var(--muted); }
.section-green h2, .section-green h3 { color: var(--white); }
.section-green p { color: rgba(255,255,255,.78); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 26px; padding: 30px; min-height: 220px; transition: transform .2s ease, background .2s ease; }
.card:hover { transform: translateY(-5px); background: rgba(255,255,255,.12); }
.card h3 { margin-bottom: 12px; }
.card p { margin: 0; }

.protocol .product-photo { aspect-ratio: 4 / 5; }
.protocol .product-photo img { width: 100%; height: 100%; border-radius: var(--radius); box-shadow: var(--shadow); object-fit: cover; object-position: center; }
.mini-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 34px; }
.mini-list span { padding: 10px 14px; border: 1px solid rgba(57,70,50,.16); border-radius: 999px; color: var(--green); background: #fff; font-weight: 700; font-size: 13px; }

.clinic-gallery { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; }
.clinic-gallery img { width: 100%; height: 430px; object-fit: cover; border-radius: 26px; box-shadow: 0 18px 40px rgba(38,48,33,.12); }
.clinic-gallery img:nth-child(2) { margin-top: 38px; }

.social-proof { padding: 70px 0; background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.social-box { display: flex; align-items: center; justify-content: space-between; gap: 34px; color: var(--white); }
.social-box h2 { color: var(--white); max-width: 720px; }
.social-box p { color: rgba(255,255,255,.78); max-width: 790px; }

.contact-grid { align-items: stretch; }
.contact-card, .address-card { border-radius: var(--radius); padding: 44px; background: var(--white); box-shadow: 0 18px 50px rgba(38,48,33,.1); }
.address-card { background: var(--green-soft); }
.address-card h3 { color: var(--green-dark); margin-bottom: 14px; }
.address-card hr { border: 0; border-top: 1px solid rgba(57,70,50,.15); margin: 30px 0; }
.small { font-size: 13px; }

.footer { padding: 42px 0; background: var(--green-dark); color: rgba(255,255,255,.75); text-align: center; }
.footer img { width: 260px; margin: 0 auto 18px; filter: none; opacity: 1; background: #fff; padding: 6px 10px; border-radius: 4px; }
.footer p { margin: 8px 0 0; color: rgba(255,255,255,.72); font-size: 13px; }

.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: inline-flex; align-items: center; justify-content: center; padding: 14px 20px; border-radius: 999px; background: #25d366; color: #fff; font-size: 14px; font-weight: 800; box-shadow: 0 16px 32px rgba(0,0,0,.22); }

@media (max-width: 980px) {
  .menu { display: none; }
  .brand img { width: 210px; }
  .hero-grid, .two-columns, .contact-grid { grid-template-columns: 1fr; gap: 42px; }
  .reverse-mobile .content { order: 2; }
  .reverse-mobile .product-photo { order: 1; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-list { grid-template-columns: 1fr; }
  .hero-card, .seal-card { left: 18px; right: 18px; bottom: 18px; }
  .clinic-gallery { grid-template-columns: 1fr; }
  .clinic-gallery img { height: 360px; }
  .clinic-gallery img:nth-child(2) { margin-top: 0; }
  .social-box { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 26px, 1160px); }
  .section { padding: 64px 0; }
  .nav { height: 76px; }
  .brand img { width: 170px; }
  .nav .btn-small { display: none; }
  h1 { font-size: 43px; }
  h2 { font-size: 36px; }
  .hero { padding-top: 58px; }
  .hero-actions .btn { width: 100%; }
  .cards-grid { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .contact-card, .address-card { padding: 30px; }
  .whatsapp-float { right: 14px; bottom: 14px; }
}


/* Links dentro dos cards de procedimentos */
.card-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--beige-light);
  font-weight: 800;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.48);
}
.card-link:hover { border-color: var(--beige-light); }

/* Antes e Depois */
.results { position: relative; }
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.result-card {
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(57,70,50,.10);
  box-shadow: 0 18px 44px rgba(38,48,33,.10);
}
.result-image-wrap {
  background: #f5efe5;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.result-card img {
  width: 100%;
  height: 430px;
  object-fit: contain;
}
.result-card figcaption {
  padding: 20px 22px 24px;
}
.result-card strong {
  display: block;
  color: var(--green-dark);
  font-size: 17px;
}
.result-card span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.section-cta {
  margin: 42px auto 0;
  max-width: 760px;
  text-align: center;
  padding: 32px;
  border-radius: 28px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(57,70,50,.10);
  box-shadow: 0 16px 44px rgba(38,48,33,.10);
}
.section-cta p {
  margin: 0 0 18px;
  color: var(--green-dark);
  font-weight: 700;
}
.section-cta span {
  display: block;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12px;
}

/* Mapa */
.map-frame {
  margin-top: 26px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(57,70,50,.14);
  box-shadow: 0 16px 34px rgba(38,48,33,.10);
  background: var(--beige-light);
}
.map-frame iframe {
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

/* Páginas internas de procedimentos */
.breadcrumb {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--green);
  font-weight: 800;
  font-size: 13px;
}
.service-hero { padding: 82px 0 92px; }
.service-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.service-hero p { max-width: 760px; font-size: 17px; }
.service-card-aside {
  padding: 38px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(57,70,50,.10);
  box-shadow: var(--shadow);
}
.service-card-aside h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 24px;
  line-height: 1.25;
  margin-bottom: 20px;
}
.service-content-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 64px;
  align-items: start;
}
.service-results {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.service-results img {
  width: 100%;
  height: 470px;
  object-fit: contain;
  background: #f5efe5;
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(38,48,33,.10);
}
.service-highlight {
  padding: 34px;
  border-radius: var(--radius);
  background: var(--green-soft);
  box-shadow: 0 18px 44px rgba(38,48,33,.08);
}
.service-highlight p { margin: 0; }
.result-note { margin-top: 18px; }
.service-cta { padding: 70px 0; }

@media (max-width: 980px) {
  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .service-hero-grid, .service-content-grid { grid-template-columns: 1fr; gap: 42px; }
  .service-results img { height: 420px; }
}

@media (max-width: 640px) {
  .results-grid { grid-template-columns: 1fr; }
  .result-image-wrap { min-height: 320px; }
  .result-card img { height: 390px; }
  .section-cta { padding: 26px 20px; }
  .map-frame iframe { height: 230px; }
  .service-results { grid-template-columns: 1fr; }
  .service-results img { height: 390px; }
  .service-card-aside { padding: 28px; }
}


/* Mapa carregado sob demanda para melhorar PageSpeed */
.lazy-map {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.map-load {
  border: 1px solid rgba(57,70,50,.18);
  background: var(--white);
  color: var(--green-dark);
  font: inherit;
  font-weight: 800;
  padding: 14px 20px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(38,48,33,.08);
}
.map-load:hover { background: var(--beige-light); }


/* V5 - links, página 404/privacidade e tracking sem alterar o visual principal */
.social-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-light-outline {
  background: transparent;
  color: var(--beige-light);
  border-color: rgba(255,255,255,.55);
  box-shadow: none;
}
.btn-light-outline:hover {
  background: var(--beige-light);
  color: var(--green-dark);
}
.result-image-link {
  display: block;
  color: inherit;
}
.result-image-link img {
  transition: transform .28s ease, filter .28s ease;
}
.result-image-link:hover img {
  transform: scale(1.015);
  filter: saturate(1.04);
}
.result-image-link:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}
.service-results-single {
  grid-template-columns: 1fr;
  margin-top: 20px;
}
.service-results-single img {
  max-height: 620px;
  object-fit: contain;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 14px 0 2px;
  font-size: 13px;
  font-weight: 700;
}
.footer-links a {
  color: rgba(255,255,255,.86);
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.footer-links a:hover {
  color: var(--white);
  border-color: var(--beige-light);
}
.legal-page {
  min-height: 70vh;
}
.legal-card {
  max-width: 900px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(57,70,50,.10);
  border-radius: var(--radius);
  padding: 52px;
  box-shadow: var(--shadow);
}
.legal-card h1 {
  max-width: 760px;
}
.legal-card h2 {
  margin-top: 34px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 22px;
  line-height: 1.25;
}
.legal-actions {
  margin-top: 28px;
}
@media (max-width: 980px) {
  .social-actions { width: 100%; }
}
@media (max-width: 640px) {
  .legal-card { padding: 30px 22px; }
  .social-actions .btn { width: 100%; }
}
