:root {
  color-scheme: light;
  --ink: #241d15;
  --paper: #fdfbf7;
  --gold: #c8a66e;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
}

img {
  display: block;
  max-width: 100%;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
iframe:focus-visible {
  outline: 2px solid var(--gold) !important;
  outline-offset: 4px !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lead-form {
  margin: 0;
}

.lead-form input,
.lead-form textarea,
.lead-form button {
  min-height: 44px;
}

.lead-form [aria-invalid="true"] {
  border-bottom-color: #9d2e2e !important;
}

.form-privacy-note,
.form-status {
  margin: 0;
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.6;
}

.form-privacy-note {
  color: #665c4e;
  text-align: left;
}

.form-status {
  min-height: 19px;
  color: #7d2525;
}

.evaluation-steps {
  color: #f6f1e8;
  background: #241d15;
}

.evaluation-steps > div {
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 40px;
}

.evaluation-steps > div > span {
  color: #c8a66e;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.evaluation-steps h2 {
  max-width: 640px;
  margin: 20px 0 50px;
  font-size: clamp(36px, 5vw, 46px);
  font-weight: 200;
  line-height: 1.16;
}

.evaluation-steps h2 em,
.evaluation-steps h3 {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
}

.evaluation-steps h2 em {
  color: #d9bd8c;
}

.evaluation-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(200, 166, 110, 0.25);
}

.evaluation-steps article {
  padding: 34px;
  background: #2d251c;
}

.evaluation-steps strong {
  color: #c8a66e;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
}

.evaluation-steps h3 {
  margin: 14px 0 8px;
  font-size: 28px;
}

.evaluation-steps p {
  margin: 0;
  color: rgba(246, 241, 232, 0.76);
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 999px;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  color: #f6f1e8;
  border: 1px solid rgba(200, 166, 110, 0.58);
  border-radius: 50%;
  background: rgba(36, 29, 21, 0.42);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
  transition: transform 160ms ease, opacity 160ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.medical-disclaimer {
  padding: 18px 24px;
  color: #756957;
  background: #f6f1e8;
  border-top: 1px solid #e8decc;
  font-size: 11.5px;
  font-weight: 300;
  line-height: 1.7;
  text-align: center;
}

.medical-disclaimer p {
  max-width: 920px;
  margin: 0 auto;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  color: #fff;
  background: #246b45;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(20, 15, 10, 0.25);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.whatsapp-float:hover {
  color: #fff;
  background: #1c5938;
  transform: translateY(-1px);
}

.whatsapp-float svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.privacy-page main,
.not-found-page main {
  min-height: 70vh;
  padding: 150px 24px 90px;
  color: #4d4335;
  background: var(--paper);
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h1 {
  color: var(--ink);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 7vw, 68px);
  font-weight: 400;
  line-height: 1.05;
}

.legal-content h2 {
  margin-top: 34px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 400;
}

.legal-content p,
.legal-content li {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.85;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

footer a[href="politica-de-privacidade.html"] {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

section[style*="background:#fdfbf7"] [style*="color:#8a7d6c"],
section[style*="background:#f6f1e8"] [style*="color:#8a7d6c"] {
  color: #665c4e !important;
}

section[style*="background:#fdfbf7"] [style*="color:#a8824c"],
section[style*="background:#f6f1e8"] [style*="color:#a8824c"] {
  color: #76572f !important;
}

section[style*="background:#fdfbf7"] [style*="color:#c8a66e"],
section[style*="background:#f6f1e8"] [style*="color:#c8a66e"] {
  color: #76572f !important;
}

footer > div:last-child {
  color: rgba(246, 241, 232, 0.62) !important;
}

@media (min-width: 761px) and (max-width: 1100px) {
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"],
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 760px) {
  header {
    position: absolute !important;
  }

  .js .menu-toggle {
    display: flex;
    flex: 0 0 auto;
  }

  .js .site-nav {
    position: absolute;
    top: calc(100% + 4px);
    left: 16px;
    right: 16px;
    display: none !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: 0 !important;
    padding: 12px;
    background: rgba(36, 29, 21, 0.98);
    border: 1px solid rgba(200, 166, 110, 0.28);
    box-shadow: 0 18px 40px rgba(20, 15, 10, 0.28);
  }

  .js .site-nav.is-open {
    display: flex !important;
  }

  .js .site-nav a {
    padding: 13px 14px !important;
    border-bottom: 1px solid rgba(246, 241, 232, 0.1) !important;
    text-align: left;
  }

  .js .site-nav a:last-child {
    margin-top: 8px;
    border-bottom: 0 !important;
    text-align: center;
  }

  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns: repeat(4, 1fr)"],
  [style*="grid-template-columns:repeat(3,1fr)"],
  [style*="grid-template-columns: repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  .evaluation-steps > div {
    padding: 78px 20px;
  }

  .evaluation-steps-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 13px;
  }

  .whatsapp-float span {
    display: none;
  }
}

@media (max-width: 430px) {
  header > div > a > span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
