/* ===== Dra. Anna Luisa Teles — design tokens ===== */
:root {
  --ivory: #F4EEE4;
  --white: #FFFCF8;
  --espresso: #241D19;
  --espresso-soft: #3A2F29;
  --wine: #6E2A35;
  --wine-deep: #551F27;
  --gold: #B99B6B;
  --blush: #E9D9CD;
  --line: rgba(36, 29, 25, 0.12);
  --line-on-dark: rgba(244, 238, 228, 0.16);

  --serif: "Fraunces", "Iowan Old Style", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--espresso);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0;
  color: var(--espresso);
}

h1 { font-size: clamp(2.4rem, 4.2vw, 3.8rem); font-weight: 460; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); letter-spacing: -0.005em; }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1rem; max-width: 62ch; }
a { color: inherit; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--wine);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  display: block;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn-primary { background: var(--wine); color: var(--white); }
.btn-primary:hover { background: var(--wine-deep); }
.btn-ghost { border-color: currentColor; color: var(--espresso); background: transparent; }
.btn-ghost:hover { background: var(--espresso); color: var(--ivory); }
.btn-ghost-light { border-color: var(--line-on-dark); color: var(--ivory); background: transparent; }
.btn-ghost-light:hover { background: var(--ivory); color: var(--espresso); }

/* ===== Header ===== */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 238, 228, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand {
  font-family: var(--serif);
  font-size: 1.15rem;
  text-decoration: none;
  color: var(--espresso);
  letter-spacing: 0.01em;
}
.brand span { color: var(--wine); }
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
  font-size: 0.94rem;
}
.nav-links a { text-decoration: none; color: var(--espresso-soft); }
.nav-links a:hover { color: var(--wine); }
.nav-cta { display: none; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-family: var(--sans);
  font-size: 0.95rem;
  cursor: pointer;
  color: var(--espresso);
}

@media (min-width: 861px) { .nav-cta { display: inline-flex; } }

@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 32px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
}

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  min-height: 78vh;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 32px;
  max-width: 640px;
  margin: 0 auto;
}
.hero-copy p.lede { font-size: 1.1rem; color: var(--espresso-soft); max-width: 46ch; }
.hero-cta { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.hero-img { position: relative; overflow: hidden; background: var(--espresso); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-img img { min-height: 320px; }
  .hero-copy { padding: 48px 28px; }
}

/* ===== Sections ===== */
section { padding: 96px 0; }
section.tight { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.dark {
  background: var(--espresso);
  color: var(--ivory);
}
.dark h1, .dark h2, .dark h3 { color: var(--ivory); }
.dark p { color: rgba(244, 238, 228, 0.78); }
.dark .eyebrow { color: var(--gold); }

.blush { background: var(--blush); }
.white { background: var(--white); }

/* ===== Grids ===== */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 860px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ===== Cards ===== */
.card-treatment {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  text-decoration: none;
  color: var(--espresso);
  gap: 24px;
}
.card-treatment:last-child { border-bottom: 1px solid var(--line); }
.card-treatment .num { font-family: var(--serif); font-size: 0.95rem; color: var(--gold); }
.card-treatment .name { font-family: var(--serif); font-size: 1.5rem; flex: 1; margin: 0 24px; }
.card-treatment .arrow { transition: transform .2s ease; }
.card-treatment:hover .arrow { transform: translateX(6px); }
.card-treatment:hover .name { color: var(--wine); }

@media (max-width: 640px) {
  .card-treatment { flex-wrap: wrap; }
  .card-treatment .name { margin: 6px 0; flex-basis: 100%; }
}

.value-item { padding: 26px 0; border-top: 1px solid var(--line-on-dark); }
.value-item h3 { margin-bottom: 8px; }
.value-item:last-child { border-bottom: 1px solid var(--line-on-dark); }

/* ===== Testimonials ===== */
.testimonial {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 30px;
  height: 100%;
}
.testimonial .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; font-size: 0.95rem; }
.testimonial p { font-size: 1rem; margin-bottom: 18px; color: var(--espresso-soft); }
.testimonial .who { font-family: var(--serif); font-size: 1.05rem; }

/* ===== Before / after ===== */
.ba-figure { margin: 0; }
.ba-figure img { border: 1px solid var(--line); }
.ba-figure figcaption { font-size: 0.85rem; color: var(--espresso-soft); margin-top: 10px; }

/* ===== FAQ ===== */
.faq-item { border-top: 1px solid var(--line); padding: 24px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { color: var(--espresso-soft); margin: 0; }

/* ===== CTA band ===== */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 560px; margin: 0 auto 20px; }
.cta-band .hero-cta { justify-content: center; }

/* ===== Section-to-section navigation buttons ===== */
.section-next {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.dark .section-next { border-top-color: var(--line-on-dark); }
footer.site {
  background: var(--espresso);
  color: rgba(244, 238, 228, 0.72);
  padding: 64px 0 32px;
  font-size: 0.92rem;
}
footer.site .grid-4 { margin-bottom: 48px; }
footer.site h3 { color: var(--ivory); font-size: 1rem; margin-bottom: 14px; }
footer.site a { text-decoration: none; color: rgba(244, 238, 228, 0.72); }
footer.site a:hover { color: var(--gold); }
footer.site ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-bottom {
  border-top: 1px solid var(--line-on-dark);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

/* ===== Page header (contato section) ===== */
.page-head {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
}
.page-head .eyebrow { margin-bottom: 14px; }

/* ===== Sobre section ===== */
.sobre-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: center;
}
.sobre-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
}
@media (max-width: 780px) {
  .sobre-grid { grid-template-columns: 1fr; }
  .sobre-photo { max-width: 280px; margin: 0 auto; }
}

/* ===== Treatment sub-cards (grouped within a category section) ===== */
.sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 44px;
}
.sub-card h3 { margin-bottom: 12px; }
.sub-card img {
  margin: 18px 0 8px;
  border: 1px solid var(--line);
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: var(--white);
}
.sub-card .quote {
  font-style: italic;
  color: var(--espresso-soft);
  font-size: 0.94rem;
  margin-top: 10px;
  padding-left: 14px;
  border-left: 2px solid var(--gold);
}
@media (max-width: 780px) {
  .sub-grid { grid-template-columns: 1fr; }
}
