:root {
  --ink: #38261d;
  --muted: #70645b;
  --paper: #ffffff;
  --surface: #ffffff;
  --brown: #613719;
  --champagne: #f1e3c9;
  --gold: #805d28;
  --gold-light: #e8cca0;
  --warm-white: #faf6ee;
  --line: rgba(97, 55, 25, 0.18);
  --shadow: 0 24px 70px rgba(56, 38, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

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: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.site-header--overlay {
  position: absolute;
  inset: 0 0 auto;
  justify-content: flex-end;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
}

.site-header--overlay .main-nav a {
  color: var(--ink);
}

@media (min-width: 761px) {
  .home-page .hero {
    padding-top: 104px;
  }
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: white;
  background: var(--brown);
  border-radius: 50%;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--ink);
  background: var(--champagne);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 650px;
  display: grid;
  align-items: center;
  padding: 64px clamp(18px, 5vw, 72px);
  overflow: hidden;
  color: var(--ink);
  background: var(--warm-white) url("../images/home-fundo-organico.png") center / 100% 100% no-repeat;
}

.hero-media {
  position: absolute;
  top: 82px;
  right: clamp(18px, 5vw, 72px);
  bottom: 0;
  width: min(48%, 520px);
  background: url("../images/mariana-home-transparente.png") right bottom / auto 100% no-repeat;
  /* Mirror only the photo; fit its full height instead of cropping the body. */
  transform: scaleX(-1);
}

.hero-content {
  position: relative;
  width: 48%;
  max-width: 640px;
}

.hero h1 {
  font-size: 3.6rem;
  line-height: 1.08;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--gold);
}

.page-hero .eyebrow {
  color: var(--gold-light);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  font-size: 4rem;
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 3rem;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.contact-form .btn {
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary {
  color: white;
  background: var(--brown);
}

.btn.primary:hover {
  background: #432511;
}

.btn.ghost {
  color: var(--brown);
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.68);
}

.btn.ghost:hover {
  background: var(--champagne);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.section {
  padding: clamp(62px, 8vw, 110px) clamp(18px, 5vw, 72px);
}

.section.compact {
  padding-top: 28px;
  padding-bottom: 28px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metrics div {
  padding: 28px;
  background: var(--surface);
}

.metrics strong {
  display: block;
  color: var(--gold);
  font-size: 3rem;
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-weight: 700;
}

.split,
.credentials {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.lead-copy,
.story-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--brown);
  font-weight: 800;
  border-bottom: 2px solid currentColor;
}

.treatments-section {
  background: var(--warm-white) url("../images/home-fundo-organico.png") center / cover no-repeat;
}

.treatments-section h2 {
  margin-bottom: 42px;
  color: #a6792e;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.treatments-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 36px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(56, 38, 29, 0.14);
}

.treatments-panel ul {
  display: grid;
  align-content: start;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.treatments-panel li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-width: 0;
  color: var(--brown);
  font-size: 1.16rem;
  line-height: 1.35;
}

.treatments-panel li::before {
  flex: 0 0 auto;
  color: #b9832d;
  content: "\2727";
  font-size: 1.4rem;
  line-height: 1;
}

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

.contact-preview {
  padding-top: 0;
  padding-bottom: 0;
  background: linear-gradient(180deg, #ffffff 0%, #eeeae5 100%);
}

.contact-preview-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  max-width: 1320px;
  margin: 0 auto;
}

.contact-preview-content {
  padding: 82px 0 90px;
}

.contact-preview h2 {
  color: var(--brown);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 3rem;
  font-weight: 400;
}

.contact-preview-intro {
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 1.12rem;
}

.contact-preview-details {
  display: grid;
  gap: 18px;
  max-width: 500px;
  margin: 0 0 34px;
}

.contact-preview-details div {
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

.contact-preview-details dt {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-preview-details dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 1.24rem;
  overflow-wrap: anywhere;
}

.contact-preview-button:disabled {
  opacity: 1;
  background: var(--brown);
  cursor: default;
}

.article-card,
.expertise-grid article {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 36px rgba(56, 38, 29, 0.08);
}

.article-card div,
.expertise-grid article {
  padding: 24px;
}

.article-card p,
.expertise-grid p,
.credential-list span,
.notice p {
  color: var(--muted);
}

.quote-section {
  background: var(--brown);
  color: white;
}

blockquote {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

blockquote p {
  font-size: 3rem;
  line-height: 1.12;
}

blockquote cite {
  color: var(--gold-light);
  font-style: normal;
  font-weight: 800;
}

.page-hero {
  min-height: 440px;
  display: grid;
  align-items: end;
  padding: clamp(84px, 12vw, 150px) clamp(18px, 5vw, 72px) clamp(52px, 8vw, 90px);
  color: white;
  background-size: cover;
  background-position: center;
}

.page-hero > div {
  max-width: 880px;
}

.about-hero {
  background-image: linear-gradient(90deg, rgba(56, 38, 29, 0.88), rgba(97, 55, 25, 0.3)), url("https://images.unsplash.com/photo-1559757148-5c350d0d3c56?auto=format&fit=crop&w=1800&q=82");
}

.experience-hero {
  background-image: linear-gradient(90deg, rgba(56, 38, 29, 0.88), rgba(97, 55, 25, 0.3)), url("https://images.unsplash.com/photo-1579154204601-01588f351e67?auto=format&fit=crop&w=1800&q=82");
}

.care-hero {
  background-image: linear-gradient(90deg, rgba(56, 38, 29, 0.88), rgba(97, 55, 25, 0.3)), url("https://images.unsplash.com/photo-1530026405186-ed1f139313f8?auto=format&fit=crop&w=1800&q=82");
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.portrait-wrap img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.timeline-section {
  background: #ffffff;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline article {
  padding: 22px;
  border-left: 4px solid var(--gold);
  background: var(--warm-white);
  border-radius: 8px;
}

.timeline span,
.article-card span {
  color: var(--gold);
  font-weight: 900;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.expertise-grid ul {
  margin: 18px 0 0;
  padding-left: 19px;
  color: var(--muted);
}

.credentials {
  background: var(--champagne);
}

.credential-list {
  display: grid;
  gap: 14px;
}

.credential-list p {
  margin: 0;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.credential-list strong,
.credential-list span {
  display: block;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.article-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.notice {
  max-width: 960px;
  margin: 0 auto;
  padding-top: 34px;
}

.notice h2 {
  color: var(--gold);
}

.contact-page {
  min-height: calc(100vh - 86px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.8fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: center;
  padding: clamp(60px, 8vw, 110px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(250, 246, 238, 0.97), rgba(250, 246, 238, 0.88)),
    url("https://images.unsplash.com/photo-1584982751601-97dcc096659c?auto=format&fit=crop&w=1800&q=82") center / cover;
}

.contact-intro h1 {
  color: var(--ink);
}

.contact-intro > p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.1rem;
}

.contact-details {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-details p {
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-details strong,
.contact-details span {
  display: block;
}

.contact-details span {
  color: var(--muted);
}

.contact-form {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-form label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 16px;
  padding: 13px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--warm-white);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form.sent {
  border-color: var(--gold);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: white;
  background: #38261d;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  color: var(--gold-light);
  font-weight: 900;
}

@media (max-width: 960px) {
  .contact-preview-inner {
    gap: 24px;
  }

  .treatments-panel {
    gap: 24px;
    padding: 28px;
  }

  .treatments-panel li {
    font-size: 1rem;
  }

  .timeline,
  .expertise-grid,
  .article-grid,
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .split,
  .credentials,
  .story-layout,
  .contact-page {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 590px;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2,
  blockquote p {
    font-size: 2.4rem;
  }
}

@media (max-width: 760px) {
  .contact-preview-inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-preview-content {
    padding: 68px 0;
  }

  .contact-preview h2 {
    font-size: 2.5rem;
  }

  .treatments-section h2 {
    margin-bottom: 28px;
    font-size: 2rem;
  }

  .treatments-panel {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 24px;
  }

  .site-header {
    align-items: flex-start;
  }

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

  .main-nav {
    position: absolute;
    top: 78px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .site-header--overlay .main-nav {
    top: 68px;
    left: auto;
    width: min(320px, calc(100% - 36px));
  }

  .main-nav a {
    border-radius: 8px;
  }

  .page-hero {
    min-height: 560px;
  }

  .hero {
    min-height: 540px;
    padding: 88px 20px 36px;
  }

  .hero-media {
    top: 88px;
    right: 0;
    bottom: auto;
    width: 44%;
    height: auto;
    aspect-ratio: 2 / 3;
    mask-image: linear-gradient(to bottom, black 85%, transparent);
  }

  .hero-content {
    width: 56%;
    max-width: none;
    padding: 0;
    background: transparent;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.12;
    margin-bottom: 16px;
    overflow-wrap: anywhere;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
    margin-top: 20px;
  }

  .hero-actions .btn {
    padding: 10px 8px;
    font-size: 0.85rem;
    text-align: center;
  }

  .btn.ghost {
    margin-left: 0;
  }

  .timeline,
  .expertise-grid,
  .article-grid,
  .metrics {
    grid-template-columns: 1fr;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 460px) {
  .brand {
    min-width: auto;
  }

  .brand strong {
    font-size: 0.95rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.9rem;
  }

  blockquote p {
    font-size: 1.8rem;
  }

  .hero {
    min-height: 560px;
    align-items: start;
    padding: 88px 14px 28px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero .eyebrow {
    font-size: 0.65rem;
    line-height: 1.5;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 0.875rem;
  }

  .hero-actions .btn {
    font-size: 0.78rem;
  }

  .section,
  .contact-page {
    padding-left: 16px;
    padding-right: 16px;
  }
}
