@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --off-white: #f8f4ee;
  --ivory: #efe6da;
  --beige: #d8c8b6;
  --gold: #b99a5f;
  --graphite: #34312d;
  --taupe: #8f8175;
  --blush: #e9d3cc;
  --sage: #c7d1c2;
  --blue: #d7e1e6;
  --white: #fffdf9;
  --line: rgba(185, 154, 95, 0.28);
  --shadow: 0 24px 80px rgba(52, 49, 45, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--off-white);
  color: var(--graphite);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 82px;
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(248, 244, 238, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 1;
}

.brand-wordmark,
.footer-wordmark {
  display: inline-grid;
  gap: 2px;
  color: var(--gold);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-wordmark span,
.footer-wordmark span {
  font-size: clamp(24px, 2.4vw, 34px);
}

.brand-wordmark small,
.footer-wordmark small {
  color: var(--taupe);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.48em;
  line-height: 1;
}

.footer-wordmark {
  margin-bottom: 14px;
}

.footer-wordmark span {
  font-size: 36px;
}

.footer-wordmark small {
  color: rgba(248, 244, 238, 0.62);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
}

.nav a {
  color: var(--graphite);
}

.nav a:hover {
  color: var(--gold);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--graphite);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.button-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.button[href*="wa.me"] .button-icon {
  display: none;
}

.button[href*="wa.me"]::before,
.whatsapp-cta::before,
.lead-inline-form .button::before,
.lead-form .button::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.04 3.5a8.45 8.45 0 0 0-7.25 12.78L3.8 20.5l4.33-1.02a8.45 8.45 0 1 0 3.91-15.98Zm0 1.7a6.75 6.75 0 1 1 0 13.5 6.65 6.65 0 0 1-3.37-.92l-.3-.18-2.23.53.52-2.15-.2-.32a6.75 6.75 0 0 1 5.58-10.46Zm-2.48 3.42c-.17 0-.43.06-.66.32-.23.25-.86.84-.86 2.05 0 1.2.88 2.37 1 2.53.12.17 1.7 2.72 4.2 3.7 2.08.82 2.5.66 2.95.62.45-.04 1.45-.59 1.66-1.17.2-.57.2-1.06.14-1.17-.06-.1-.23-.17-.48-.3-.26-.13-1.5-.74-1.73-.82-.23-.09-.4-.13-.57.13-.17.25-.66.82-.8.98-.15.17-.3.19-.56.07-.25-.13-1.08-.4-2.06-1.27-.76-.68-1.28-1.52-1.43-1.78-.15-.25-.02-.39.11-.52.12-.12.26-.3.39-.45.13-.15.17-.25.26-.42.08-.17.04-.32-.02-.45-.07-.13-.57-1.38-.78-1.88-.2-.48-.41-.42-.57-.43h-.49Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12.04 3.5a8.45 8.45 0 0 0-7.25 12.78L3.8 20.5l4.33-1.02a8.45 8.45 0 1 0 3.91-15.98Zm0 1.7a6.75 6.75 0 1 1 0 13.5 6.65 6.65 0 0 1-3.37-.92l-.3-.18-2.23.53.52-2.15-.2-.32a6.75 6.75 0 0 1 5.58-10.46Zm-2.48 3.42c-.17 0-.43.06-.66.32-.23.25-.86.84-.86 2.05 0 1.2.88 2.37 1 2.53.12.17 1.7 2.72 4.2 3.7 2.08.82 2.5.66 2.95.62.45-.04 1.45-.59 1.66-1.17.2-.57.2-1.06.14-1.17-.06-.1-.23-.17-.48-.3-.26-.13-1.5-.74-1.73-.82-.23-.09-.4-.13-.57.13-.17.25-.66.82-.8.98-.15.17-.3.19-.56.07-.25-.13-1.08-.4-2.06-1.27-.76-.68-1.28-1.52-1.43-1.78-.15-.25-.02-.39.11-.52.12-.12.26-.3.39-.45.13-.15.17-.25.26-.42.08-.17.04-.32-.02-.45-.07-.13-.57-1.38-.78-1.88-.2-.48-.41-.42-.57-.43h-.49Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.button-primary {
  background: var(--graphite);
  color: var(--off-white);
}

.button-primary:hover {
  background: var(--gold);
}

.button-inverse {
  background: var(--gold);
  color: var(--graphite);
}

.button-inverse:hover {
  background: var(--off-white);
  color: var(--graphite);
}

.button-secondary {
  border-color: var(--gold);
  color: var(--graphite);
  background: rgba(255, 253, 249, 0.42);
}

.button-secondary:hover {
  background: var(--ivory);
}

.hero {
  min-height: min(820px, calc(100vh - 82px));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 72px);
}

.hero-copy {
  max-width: 640px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.02;
  margin: 0;
}

h1 {
  font-size: clamp(50px, 7vw, 86px);
}

h2 {
  font-size: clamp(38px, 5vw, 58px);
}

h3 {
  font-size: 31px;
}

.name-with-crm {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: baseline;
}

.profile-card h2.name-with-crm {
  font-size: clamp(38px, 3.8vw, 50px);
}

.crm-inline {
  color: var(--gold);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.lead {
  margin: 24px 0 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  color: #574f48;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-image,
.image-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: var(--ivory);
  box-shadow: var(--shadow);
}

.hero-image img {
  height: min(660px, 72vh);
  object-fit: cover;
}

.section {
  padding: clamp(68px, 8vw, 116px) clamp(20px, 5vw, 72px);
}

.section.alt {
  background: var(--ivory);
}

.container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 44px;
}

.section-heading.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.kicker-line {
  width: 72px;
  height: 1px;
  margin-bottom: 24px;
  background: var(--gold);
}

.manifesto {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.manifesto p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  margin: 0;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  min-height: 100%;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
}

.procedure-card {
  overflow: hidden;
  padding: 0;
}

.procedure-card img {
  height: 245px;
  object-fit: cover;
}

.procedure-card .body {
  padding: 28px;
}

.card .number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.card p,
.split p,
.page-copy p {
  color: #60584f;
}

.journey-steps {
  counter-reset: journey;
}

.journey-steps .card {
  position: relative;
}

.journey-steps .card::before {
  counter-increment: journey;
  content: "0" counter(journey);
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 86px);
  align-items: center;
}

.feature-list {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
}

.feature-list div {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}

.profile-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
}

.profile-card img {
  height: 360px;
  object-fit: cover;
}

.profile-card-detailed img {
  height: 430px;
}

.featured-profile {
  border-color: rgba(185, 154, 95, 0.48);
  box-shadow: var(--shadow);
}

.doctor-photo {
  object-fit: cover;
}

.doctor-photo-edson {
  object-position: center top;
}

.doctor-photo-edson-hero {
  height: min(680px, 72vh);
  object-position: center top;
}

.profile-card .body {
  padding: 30px;
}

.specialty {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.cta-band {
  padding: clamp(46px, 7vw, 78px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: linear-gradient(120deg, rgba(255, 253, 249, 0.92), rgba(239, 230, 218, 0.92)), url("assets/images/brand-texture.png");
  background-size: cover;
  box-shadow: var(--shadow);
}

.page-hero {
  padding: clamp(70px, 9vw, 124px) clamp(20px, 5vw, 72px);
  background: linear-gradient(120deg, rgba(248, 244, 238, 0.9), rgba(239, 230, 218, 0.86)), url("assets/images/brand-texture.png");
  background-size: cover;
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  max-width: 940px;
}

.page-copy {
  max-width: 860px;
}

.lead-capture-bar {
  padding: 14px clamp(20px, 5vw, 72px);
  background: var(--graphite);
  color: var(--off-white);
}

.lead-capture-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1.48fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
}

.lead-capture-copy h2 {
  color: var(--gold);
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.1;
  text-transform: uppercase;
}

.lead-capture-copy p:not(.eyebrow) {
  margin: 12px 0 0;
  color: rgba(248, 244, 238, 0.72);
}

.lead-inline-form {
  grid-template-columns: 0.85fr 1fr auto;
  align-items: center;
  gap: 10px;
}

.lead-inline-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.lead-inline-form .button {
  min-height: 44px;
  padding-top: 11px;
  padding-bottom: 11px;
  white-space: nowrap;
}

.lead-inline-form input {
  min-height: 44px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.contact-panel-single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  color: var(--taupe);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border: 1px solid var(--beige);
  border-radius: 14px;
  background: var(--white);
  color: var(--graphite);
  font: inherit;
}

.form textarea {
  min-height: 130px;
  resize: vertical;
}

.lead-form {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.quote {
  margin: 34px 0;
  padding: 28px;
  border-left: 3px solid var(--gold);
  background: rgba(255, 253, 249, 0.58);
  color: #574f48;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.18;
}

.credential-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.credential-list div {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.credential-list div:last-child {
  border-bottom: 1px solid var(--line);
}

.credential-list span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.credential-list strong {
  display: block;
  color: var(--graphite);
  font-size: 16px;
  line-height: 1.45;
}

.credential-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.specialist-feature {
  align-items: start;
}

.site-footer {
  padding: 54px clamp(20px, 5vw, 72px);
  background: var(--graphite);
  color: var(--off-white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 34px;
}

.footer-nav {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-contact {
  align-content: start;
}

.site-footer a,
.site-footer p {
  color: rgba(248, 244, 238, 0.76);
}

.site-footer a:hover {
  color: var(--gold);
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(52, 49, 45, 0.92);
  color: var(--off-white);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.back-to-top:hover {
  background: var(--gold);
}

.legal {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(248, 244, 238, 0.16);
  color: rgba(248, 244, 238, 0.58);
  font-size: 13px;
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    gap: 14px 20px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav {
    order: 2;
    display: none;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 8px 0 4px;
  }

  .site-header.is-menu-open .nav {
    display: grid;
  }

  .nav a {
    padding: 10px 0;
  }

  .site-header > .button {
    display: none;
  }

  .hero,
  .split,
  .lead-capture-inner,
  .lead-inline-form,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .site-header {
    min-height: 72px;
  }

  .brand-wordmark span {
    font-size: 24px;
  }

  .brand-wordmark small {
    font-size: 8px;
    letter-spacing: 0.38em;
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .hero-image img,
  .profile-card img {
    height: 310px;
  }

  .name-with-crm {
    flex-wrap: wrap;
  }

  .doctor-photo-edson-hero {
    height: 440px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
