:root {
  --green: #465a3f;
  --green-deep: #2f3d2d;
  --sage: #6d785f;
  --sand: #d1b79b;
  --sand-light: #e5d0b8;
  --cream: #f8f1e9;
  --rose: #f1e7df;
  --white: #fffaf5;
  --ink: #2b3128;
  --shadow: 0 26px 70px rgba(55, 47, 35, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Optima, Candara, "Segoe UI", system-ui, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  color: var(--white);
  background: var(--green-deep);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(47, 61, 45, 0.88), rgba(47, 61, 45, 0.62) 52%, rgba(47, 61, 45, 0.28)),
    linear-gradient(180deg, rgba(31, 38, 29, 0.12), rgba(31, 38, 29, 0.38)),
    url("consultorio-hero.png") center 52% / cover;
  filter: saturate(0.82);
  transform: scale(1.02);
}

.hero-bg::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 30% 25%, rgba(229, 208, 184, 0.2), transparent 34%);
  backdrop-filter: blur(2px);
}

.site-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(780px, calc(100% - 40px));
  min-height: 54px;
  margin: 26px auto 0;
  padding: 7px 18px;
  border: 1px solid rgba(255, 250, 245, 0.68);
  border-radius: 999px;
  background: rgba(47, 61, 45, 0.28);
  box-shadow: 0 18px 48px rgba(23, 28, 21, 0.18);
  backdrop-filter: blur(18px);
}

.brand-mark {
  position: absolute;
  left: 18px;
  display: block;
  width: 38px;
  height: 38px;
  overflow: hidden;
  background: #d8bea3;
  border: 1px solid rgba(255, 250, 245, 0.72);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(23, 28, 21, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 52px);
  margin-left: 36px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0 128px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--sand-light);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero h1,
h2 {
  margin: 0;
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-weight: 500;
  line-height: 1.02;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(46px, 7vw, 82px);
}

.hero h1::first-line {
  font-weight: 400;
}

.hero p:not(.eyebrow) {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 250, 245, 0.88);
  font-size: clamp(17px, 1.8vw, 22px);
  line-height: 1.62;
}

.outline-button,
.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.outline-button {
  margin-top: 34px;
  color: var(--white);
  border: 1px solid rgba(255, 250, 245, 0.74);
}

.pill-button {
  color: var(--green);
  border: 1px solid rgba(70, 90, 63, 0.52);
  background: transparent;
}

.outline-button:hover,
.pill-button:hover {
  transform: translateY(-2px);
}

.treatments {
  position: relative;
  padding: 86px clamp(20px, 6vw, 96px) 76px;
  text-align: center;
  background:
    radial-gradient(circle at 92% 20%, rgba(209, 183, 155, 0.38), transparent 28%),
    linear-gradient(180deg, var(--white), #fbf6f0);
}

.seal {
  position: absolute;
  top: -80px;
  right: clamp(28px, 12vw, 190px);
  width: 160px;
  height: 160px;
  overflow: hidden;
  background: #d8bea3;
  border: 2px solid rgba(70, 90, 63, 0.26);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.seal img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.treatments .section-kicker,
.testimonials .section-kicker,
.about .section-kicker {
  color: var(--green);
}

.treatments h2,
.section-heading h2 {
  width: min(760px, 100%);
  margin: 0 auto;
  color: var(--green-deep);
  font-size: clamp(34px, 5vw, 54px);
}

.section-copy {
  width: min(760px, 100%);
  margin: 18px auto 0;
  color: #5b6354;
  font-size: 17px;
  line-height: 1.75;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(980px, 100%);
  margin: 52px auto 36px;
}

.treatment-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 330px;
  overflow: hidden;
  text-align: left;
  color: var(--white);
  border-radius: 8px;
  background: var(--green);
  box-shadow: 0 18px 36px rgba(55, 47, 35, 0.16);
}

.treatment-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, transparent 36%, rgba(47, 61, 45, 0.88)),
    var(--card-image) center / cover;
  transition: transform 240ms ease;
}

.treatment-card:hover::before {
  transform: scale(1.04);
}

.card-one {
  --card-image: url("avaliacao-odontologica-espelho.jpeg");
}

.card-two {
  --card-image: url("estetica-sorriso.jpeg");
}

.card-three {
  --card-image: url("cuidado-preventivo.jpeg");
}

.card-one::before {
  background-position: center 34%;
}

.card-two::before {
  background-position: center 38%;
}

.card-three::before {
  background-position: center 42%;
}

.treatment-card div {
  position: relative;
  padding: 24px;
}

.treatment-card h3 {
  margin: 0;
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
}

.treatment-card p {
  margin: 10px 0 0;
  color: rgba(255, 250, 245, 0.86);
  font-size: 14px;
  line-height: 1.55;
}

.trust-band {
  padding: 74px clamp(20px, 6vw, 96px) 86px;
  background: var(--rose);
}

.section-heading {
  width: min(980px, 100%);
  margin: 0 auto 38px;
}

.section-heading h2 {
  margin: 0;
}

.review-header,
.review-grid {
  width: min(980px, 100%);
  margin-inline: auto;
}

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 24px;
}

.review-header strong,
.review-header span {
  display: block;
}

.review-header strong {
  color: var(--green-deep);
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
}

.review-header span {
  margin-top: 6px;
  color: #68705f;
  font-size: 14px;
}

.google-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 22px;
  color: var(--green);
  border: 1px solid rgba(70, 90, 63, 0.46);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  min-height: 245px;
  padding: 26px;
  background: var(--white);
  border: 1px solid rgba(70, 90, 63, 0.16);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(55, 47, 35, 0.1);
}

.review-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(70, 90, 63, 0.12);
}

.review-top strong,
.review-top small {
  display: block;
}

.review-top strong {
  color: var(--green-deep);
  font-size: 15px;
}

.review-top small {
  margin-top: 3px;
  color: #5f6759;
  font-size: 12px;
}

.google-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  background: #fff;
  border: 1px solid rgba(70, 90, 63, 0.12);
  border-radius: 50%;
}

.google-mark img {
  display: block;
  width: 18px;
  height: 18px;
}

.stars {
  margin-top: 20px;
  color: #f4b400;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.review-card p {
  margin: 18px 0 0;
  color: #4f574a;
  font-size: 15px;
  line-height: 1.7;
}

.review-card p strong {
  color: #333934;
  font-weight: 800;
}

.about {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(320px, 1fr);
  align-items: center;
  gap: clamp(32px, 7vw, 94px);
  min-height: 650px;
  padding: 72px clamp(20px, 7vw, 118px);
  overflow: hidden;
  background: var(--white);
}

.about-copy h2 {
  color: var(--green-deep);
  font-size: clamp(34px, 5vw, 56px);
}

.about-copy p {
  max-width: 560px;
  margin: 20px 0 0;
  color: #576150;
  font-size: 16px;
  line-height: 1.78;
}

.compact {
  margin-top: 30px;
}

.about-portrait {
  position: relative;
  min-height: 520px;
}

.signature-bg {
  position: absolute;
  right: -84px;
  bottom: -32px;
  color: rgba(70, 90, 63, 0.14);
  font-family: "Snell Roundhand", "Brush Script MT", cursive;
  font-size: clamp(130px, 22vw, 290px);
  line-height: 0.8;
  white-space: nowrap;
}

.about-portrait img {
  position: absolute;
  right: 16%;
  bottom: 0;
  width: min(390px, 80%);
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.name-tag {
  position: absolute;
  right: 8%;
  bottom: 120px;
  width: 190px;
  padding: 18px;
  color: var(--white);
  background: rgba(70, 90, 63, 0.82);
  border: 1px solid rgba(255, 250, 245, 0.28);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.name-tag strong,
.name-tag span {
  display: block;
}

.name-tag strong {
  font-family: Didot, "Bodoni 72", Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.05;
}

.name-tag span {
  margin-top: 8px;
  color: rgba(255, 250, 245, 0.78);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.contact-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  padding: 86px clamp(20px, 7vw, 118px);
  background-color: #d8bea3;
  background-image: url("fundo-ultimo-bloco-unico.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.contact-hero::before {
  display: none;
}

.contact-panel {
  position: relative;
  z-index: 1;
  width: min(430px, 100%);
  margin-left: auto;
  padding: 38px;
  color: var(--white);
  background: rgba(70, 90, 63, 0.82);
  border: 1px solid rgba(255, 250, 245, 0.24);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.contact-panel h2 {
  color: var(--white);
  font-size: clamp(34px, 5vw, 52px);
}

address {
  margin: 22px 0 0;
  font-style: normal;
  color: rgba(255, 250, 245, 0.88);
  font-size: 17px;
  line-height: 1.75;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.contact-list a {
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 250, 245, 0.28);
  color: var(--sand-light);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(20px, 6vw, 84px);
  color: var(--sand-light);
  background: var(--green-deep);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

@media (max-width: 900px) {
  .hero-content {
    padding-top: 86px;
  }

  .treatment-grid,
  .review-grid,
  .about {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    min-height: 620px;
  }

  .about-portrait img {
    right: 50%;
    transform: translateX(50%);
    width: min(430px, 86%);
  }

  .name-tag {
    right: 10%;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 680px;
  }

  .site-header {
    justify-content: flex-start;
    width: calc(100% - 28px);
    overflow-x: auto;
  }

  .brand-mark {
    position: static;
    flex: 0 0 auto;
  }

  .nav {
    justify-content: flex-start;
    gap: 18px;
    margin-left: 12px;
    min-width: max-content;
    font-size: 11px;
  }

  .hero-content {
    width: calc(100% - 34px);
    padding: 84px 0 96px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .seal {
    right: 22px;
    width: 124px;
    height: 124px;
  }

  .treatments {
    padding-top: 74px;
  }

  .treatment-card {
    min-height: 310px;
  }

  .review-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .trust-band,
  .about,
  .contact-hero {
    padding-inline: 18px;
  }

  .about-portrait {
    min-height: 560px;
  }

  .contact-panel {
    padding: 28px 24px;
  }

  footer {
    line-height: 1.7;
  }
}
