/* =========================================================
   Dra. Patricia Rodrigues — Estética Avançada
   Faithful conversion of the Claude Design source
   (Clinica Dra Patricia.dc.html). Palette in OKLCH.
   ========================================================= */

:root {
  /* Neutrals */
  --bg:            oklch(98% 0.008 80);
  --bg-alt:        oklch(97% 0.008 85);
  --bg-soft:       oklch(96% 0.01 85);
  --card:          oklch(99% 0.005 85);
  --ink:           oklch(24% 0.02 80);
  --ink-soft:      oklch(38% 0.02 80);
  --ink-mute:      oklch(42% 0.02 80);
  --line:          oklch(88% 0.01 82);

  /* Darks */
  --dark:          oklch(18% 0.015 80);
  --dark-2:        oklch(20% 0.015 80);
  --dark-3:        oklch(25% 0.015 80);
  --dark-line:     oklch(35% 0.02 80);
  --footer:        oklch(14% 0.012 80);
  --on-dark:       oklch(97% 0.01 85);
  --on-dark-mute:  oklch(75% 0.02 80);

  /* Gold accent */
  --gold:          oklch(70% 0.13 80);
  --gold-soft:     oklch(80% 0.12 82);
  --gold-deep:     oklch(60% 0.13 80);
  --gold-mid:      oklch(50% 0.13 80);
  --gold-tint:     oklch(94% 0.03 82);

  --nav-h: 60px;
  --maxw: 1200px;

  --serif:  'Cormorant Garamond', Georgia, serif;
  --sans:   'Montserrat', system-ui, -apple-system, sans-serif;
  --script: 'Parisienne', cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gold-soft); color: oklch(20% 0.02 80); }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 4px;
  font-size: 13px;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease, color .2s ease;
  text-align: center;
}
.btn-gold {
  background: var(--gold);
  color: oklch(20% 0.02 80);
  font-weight: 600;
}
.btn-gold:hover {
  background: var(--gold-soft);
  box-shadow: 0 8px 24px oklch(70% 0.13 80 / .35);
  transform: translateY(-2px);
}
.btn-ghost {
  border: 1.5px solid var(--on-dark);
  color: var(--on-dark);
}
.btn-ghost:hover {
  background: oklch(97% 0.01 85 / .12);
  transform: translateY(-2px);
}

/* ---------- Image placeholders ---------- */
/* Replace any placeholder by adding a background image:
   e.g. <div class="img-slot" style="--h:320px; background-image:url('images/foto.jpg')">
   The label auto-hides when a background image is present. */
.img-slot {
  width: 100%;
  height: var(--h, 240px);
  border-radius: 6px;
  background-color: var(--gold-tint);
  background-image:
    linear-gradient(135deg, oklch(92% 0.03 82) 0%, oklch(88% 0.04 84) 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-slot::after {
  content: attr(data-label);
  font-size: 12px;
  letter-spacing: .5px;
  color: oklch(45% 0.05 80);
  text-align: center;
  padding: 0 18px;
  max-width: 85%;
  line-height: 1.5;
}
.img-slot[style*="background-image:url"]::after,
.img-slot[style*="background-image: url"]::after { content: ""; }

/* =========================================================
   NAVBAR
   ========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex: none;
}
.brand-mark {
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 13px;
  color: var(--gold-soft);
  letter-spacing: 1px;
}
.brand-name {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 1px;
  color: oklch(95% 0.01 80);
  font-weight: 500;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
}
.nav-links a {
  font-size: 10.5px;
  letter-spacing: .5px;
  color: oklch(85% 0.02 80);
  text-decoration: none;
  cursor: pointer;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold-soft); }
.nav-links a.active {
  color: var(--gold-soft);
  border-bottom-color: var(--gold-soft);
}
.nav-social {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.nav-social > a {
  color: oklch(85% 0.02 80);
  display: flex;
  transition: color .2s;
}
.nav-social > a:hover { color: var(--gold-soft); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px; height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: oklch(90% 0.02 80);
  transition: transform .25s, opacity .25s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   PAGE HEADERS (shared, non-home)
   ========================================================= */
.page-header {
  background: var(--dark);
  padding: 70px 48px 60px;
  text-align: center;
}
.page-header h1 {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 500;
  color: var(--on-dark);
  margin: 0;
}
.page-header p {
  font-size: 15px;
  color: var(--on-dark-mute);
  margin: 12px 0 0;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold-deep);
  font-weight: 600;
}
.section-title {
  text-align: center;
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  margin: 0;
}
.section-title-light {
  text-align: center;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  color: var(--on-dark);
  margin: 0 0 50px;
}
.section-sub {
  text-align: center;
  font-size: 14px;
  color: var(--ink-mute);
  margin: 10px 0 0;
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 720px;
  background: linear-gradient(115deg,
    oklch(58% 0.09 82) 0%,
    oklch(72% 0.07 84) 32%,
    oklch(93% 0.015 85) 62%,
    oklch(97% 0.008 85) 100%);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.hero-text {
  flex: 0 0 56%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 0 60px 64px;
  position: relative;
  z-index: 2;
}
.hero-title {
  font-family: var(--serif);
  font-size: 78px;
  line-height: 1.02;
  color: oklch(99% 0.005 85);
  font-weight: 500;
  letter-spacing: 1px;
  margin: 0;
}
.hero-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--on-dark);
  margin: 32px 0 0;
  max-width: 480px;
}
.hero-signature {
  font-family: var(--script);
  font-size: 30px;
  color: var(--on-dark);
  margin: 22px 0 0;
}
.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-media {
  flex: 0 0 44%;
  position: relative;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg,  oklch(90% 0.015 85 / .5) 0 1px, transparent 1px 70px),
    repeating-linear-gradient(90deg, oklch(90% 0.015 85 / .5) 0 1px, transparent 1px 70px);
  z-index: 1;
}
.hero-media .img-slot {
  position: absolute; inset: 0;
  height: 100%;
  border-radius: 0;
  background-image: none;
  background-color: transparent;
  z-index: 2;
}
.hero-media .img-slot::after { color: oklch(35% 0.04 80); }

/* =========================================================
   INTRO + PILLARS
   ========================================================= */
.intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 90px 32px 70px;
}
.intro-title {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  margin: 16px 0 0;
  line-height: 1.3;
}
.intro-lead {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 22px 0 0;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: var(--maxw);
  margin: 0 auto 100px;
  padding: 0 32px;
}
.pillar {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.pillar:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px oklch(60% 0.05 80 / .16);
  border-color: var(--gold-soft);
}
.pillar-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--gold-tint);
}
.pillar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.pillar:hover .pillar-image img { transform: scale(1.04); }
.pillar-body { padding: 30px 32px 36px; }
.pillar-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold-tint);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-mid);
  font-family: var(--serif);
  font-size: 20px;
}
.pillar-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  margin: 20px 0 0;
}
.pillar-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-mute);
  margin: 10px 0 0;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  background: var(--dark-2);
  padding: 90px 32px;
}
.testimonial-widget {
  max-width: var(--maxw);
  margin: 0 auto;
  background: var(--card);
  border-radius: 12px;
  padding: 28px 12px;
}

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta-banner {
  text-align: center;
  padding: 90px 32px;
  background: var(--bg-alt);
}
.cta-title {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 500;
  margin: 0;
}
.cta-sub {
  font-size: 15px;
  color: var(--ink-mute);
  margin: 14px 0 30px;
}

/* =========================================================
   TRATAMENTOS
   ========================================================= */
.treatments {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 32px;
  display: flex;
  flex-direction: column;
  gap: 70px;
}
.treatment {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.treatment.reverse { grid-template-columns: 1.1fr 0.9fr; }
.treatment-body h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  margin: 12px 0 0;
}
.treatment-body > p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 12px 0 0;
}
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: oklch(30% 0.02 80);
}
.feature-list li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}

.before-after {
  background: var(--bg-soft);
  padding: 80px 32px;
}
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 44px auto 0;
}
.ba-card {
  background: var(--card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 0;
}
.ba-card .img-slot { border-radius: 0; }
.img-slot-portrait { aspect-ratio: 4 / 5; height: auto; }
.ba-card figcaption {
  padding: 16px 18px;
  font-size: 13px;
  color: var(--ink-soft);
}

.center-cta { text-align: center; padding: 70px 32px; }
.center-cta.pad-bottom { padding: 20px 32px 90px; }

/* =========================================================
   PROCEDIMENTOS
   ========================================================= */
.cards-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 80px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.proc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px 28px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.proc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px oklch(60% 0.05 80 / .15);
  border-color: var(--gold-soft);
}
.tag {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--gold-deep);
  font-weight: 600;
}
.proc-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin: 10px 0 0;
}
.proc-card p {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.65;
  margin: 10px 0 0;
}

/* =========================================================
   TECNOLOGIAS
   ========================================================= */
.tech-list {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.tech-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.tech-row:last-child { border-bottom: none; padding-bottom: 0; }
.tech-row .img-slot { width: 160px; }
.tech-row h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  margin: 0;
}
.tech-row p {
  font-size: 14px;
  color: var(--ink-mute);
  line-height: 1.7;
  margin: 8px 0 0;
}

/* =========================================================
   A CLÍNICA
   ========================================================= */
.about {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 90px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-body h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 500;
  margin: 14px 0 0;
}
.about-body > p {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.8;
  margin: 18px 0 0;
}
.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 34px;
}
.value h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--gold-mid);
  margin: 0;
}
.value p {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 6px 0 0;
  line-height: 1.6;
}

/* FAQ */
.faq {
  background: var(--bg-soft);
  padding: 90px 32px;
}
.faq-list {
  max-width: 800px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}
.faq-item summary {
  padding: 20px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  color: var(--gold-deep);
  font-size: 20px;
  flex: none;
  margin-left: 16px;
  position: relative;
  width: 16px; height: 16px;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold-deep);
  transition: transform .25s ease, opacity .25s ease;
}
.faq-icon::before { top: 7px; left: 0; width: 16px; height: 2px; }
.faq-icon::after  { top: 0; left: 7px; width: 2px; height: 16px; }
.faq-item[open] .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-answer {
  padding: 0 26px 22px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* =========================================================
   CONTATO
   ========================================================= */
.contact {
  max-width: 1100px;
  margin: 0 auto;
  padding: 90px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-info h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin: 0;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 30px 0;
}
.contact-label {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold-deep);
  font-weight: 600;
}
.contact-item a,
.contact-value {
  font-size: 17px;
  color: oklch(28% 0.02 80);
  text-decoration: none;
  display: inline-block;
  margin-top: 4px;
}
.contact-item a:hover { color: var(--gold-mid); }

/* =========================================================
   FOOTER + FLOAT
   ========================================================= */
.footer {
  background: var(--footer);
  color: oklch(70% 0.02 80);
  padding: 40px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  flex-wrap: wrap;
}
.footer-tag { letter-spacing: 1px; }

.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  z-index: 200;
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .hero { min-height: auto; flex-direction: column; }
  .hero-text { flex: none; padding: 56px 32px; }
  .hero-title { font-size: 60px; }
  .hero-media { flex: none; height: 360px; }
  .treatment,
  .treatment.reverse { grid-template-columns: 1fr; gap: 28px; }
  .treatment.reverse .img-slot { order: -1; }
  .about,
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    background: var(--dark);
    padding: 8px 0 18px;
    gap: 0;
    box-shadow: 0 12px 24px rgba(0,0,0,.35);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    font-size: 12px;
    border-bottom: none;
  }
  .nav-links a.active { border-bottom: none; background: oklch(24% 0.02 80); }
  .nav-toggle { display: flex; }
  .navbar { position: sticky; }

  .pillars { grid-template-columns: 1fr; margin-bottom: 70px; }
  .cards-grid { grid-template-columns: 1fr; }
  .tech-row { grid-template-columns: 1fr; gap: 18px; }
  .tech-row .img-slot { width: 100%; }
  .feature-list { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }

  .hero-title { font-size: 46px; }
  .intro-title { font-size: 30px; }
  .page-header h1 { font-size: 36px; }
  .section-title-light { font-size: 28px; }

  .footer { flex-direction: column; text-align: center; }
}

@media (max-width: 440px) {
  .brand-name { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
}
