/* ============================================================
   Nunna Lumière — site institucional
   Identidade: revista 2026 v9 (verde petróleo, dourado, creme,
   serif editorial, Art Déco sutil)
   ============================================================ */

:root {
  --verde-900: #0a2827;
  --verde-800: #0d3230;
  --verde-700: #10403c;
  --verde-600: #16504a;
  --dourado: #c9a15e;
  --dourado-claro: #dab97e;
  --creme: #efe9db;
  --creme-suave: #e2dbc9;
  --texto-suave: #b8c4bd;
  --hairline: rgba(201, 161, 94, 0.35);
  --serif: "Playfair Display", "Times New Roman", serif;
  --body: "Lora", Georgia, serif;
  --sans: "Jost", "Avenir Next", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  background:
    radial-gradient(120% 90% at 50% 0%, var(--verde-700) 0%, var(--verde-800) 45%, var(--verde-900) 100%);
  color: var(--creme);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Moldura dourada fixa — assinatura da capa da revista */
.frame {
  position: fixed;
  inset: 14px;
  border: 1px solid var(--hairline);
  pointer-events: none;
  z-index: 60;
}
@media (max-width: 720px) { .frame { inset: 8px; } }

/* ============ Tipografia base ============ */
h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--creme); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.18; letter-spacing: 0.01em; }
h2 em, h1 em { font-style: italic; color: var(--dourado-claro); }

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 1.1rem;
}
.center { text-align: center; }
.lead { color: var(--creme-suave); font-size: 1.06rem; margin-top: 1.4rem; }
.footnote { color: var(--texto-suave); font-size: 0.88rem; margin-top: 1.6rem; }
.gold-italic { color: var(--dourado-claro); font-style: italic; font-size: 1rem; }

.goldquote {
  border-left: 1px solid var(--dourado);
  padding-left: 1.4rem;
  margin: 1.8rem 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--dourado-claro);
}

/* ============ Botões ============ */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.95rem 1.9rem;
  border-radius: 2px;
  transition: all 0.35s ease;
  text-align: center;
}
.btn-gold {
  background: linear-gradient(135deg, var(--dourado) 0%, var(--dourado-claro) 100%);
  color: var(--verde-900);
  box-shadow: 0 6px 24px rgba(201, 161, 94, 0.25);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(201, 161, 94, 0.4); }
.btn-ghost {
  border: 1px solid var(--hairline);
  color: var(--creme);
}
.btn-ghost:hover { border-color: var(--dourado); color: var(--dourado-claro); }
.btn-lg { padding: 1.15rem 2.6rem; font-size: 0.85rem; }

/* ============ Header ============ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(10, 40, 39, 0.92), rgba(10, 40, 39, 0.75));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(201, 161, 94, 0.15);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.brand-logo { height: 40px; width: auto; display: block; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--creme-suave);
  text-decoration: none;
  transition: color 0.25s;
}
.nav a:hover { color: var(--dourado-claro); }
.header-cta { padding: 0.65rem 1.3rem; font-size: 0.7rem; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 1px; background: var(--dourado); margin: 6px 0; transition: 0.3s; }

@media (max-width: 960px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--verde-900);
    flex-direction: column;
    padding: 1.6rem 2rem 2rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--hairline);
  }
  .nav.open { display: flex; }
  .nav-toggle { display: block; margin-left: auto; }
  .header-cta { display: none; }
}

/* ============ Hero ============ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 2rem 5rem;
  position: relative;
}
.hero-ornament img {
  width: clamp(150px, 22vw, 230px);
  height: auto;
  margin-bottom: 2.2rem;
  animation: floatIn 1.6s ease both;
}
.hero-title {
  font-size: clamp(2.1rem, 5.4vw, 3.9rem);
  line-height: 1.16;
  max-width: 880px;
  font-weight: 500;
}
.hero-sub {
  max-width: 620px;
  margin-top: 1.6rem;
  color: var(--creme-suave);
  font-size: 1.08rem;
}
.hero-actions { display: flex; gap: 1rem; margin-top: 2.6rem; flex-wrap: wrap; justify-content: center; }
.hero-tagline {
  margin-top: 4rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--texto-suave);
}
.hero-tagline span { color: var(--dourado); margin: 0 0.4rem; }

/* Hero reduzido para páginas internas (ex.: Quem Somos) */
.hero-compact { min-height: 58vh; padding-top: 11rem; }

@keyframes floatIn {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

/* ============ Seções / layout ============ */
.section { padding: clamp(4.5rem, 9vw, 8rem) 2rem; max-width: 1240px; margin: 0 auto; }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.split-invert { grid-template-columns: 0.95fr 1.05fr; }
@media (max-width: 900px) {
  .split, .split-invert { grid-template-columns: 1fr; }
  .split-invert .split-media { order: -1; }
}

/* Imagens em arco — motivo Art Déco do espaço físico */
.arch img, .portrait img, .arch-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.arch, .portrait {
  position: relative;
  overflow: hidden;
  border-radius: 999px 999px 4px 4px;
  border: 1px solid var(--hairline);
  aspect-ratio: 4 / 5.4;
}
.portrait { border-radius: 4px; }
.arch-wide {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--hairline);
  aspect-ratio: 16 / 10.5;
}
.media-stack { display: grid; gap: 1.4rem; }
.media-tag {
  position: absolute;
  left: 1rem; bottom: 1rem;
  background: rgba(10, 40, 39, 0.85);
  border: 1px solid var(--hairline);
  color: var(--creme);
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
}

/* ============ Método (steps) ============ */
.steps { list-style: none; margin-top: 2.4rem; }
.steps li {
  display: flex;
  gap: 1.4rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(201, 161, 94, 0.18);
}
.steps li:last-child { border-bottom: none; }
.step-num {
  font-family: var(--serif);
  font-size: 1.7rem;
  color: var(--dourado);
  line-height: 1;
  min-width: 2.6rem;
}
.steps h3 { font-size: 1.08rem; font-weight: 600; font-family: var(--sans); letter-spacing: 0.02em; }
.steps p { color: var(--texto-suave); font-size: 0.95rem; margin-top: 0.3rem; }

/* ============ Planos ============ */
.freq-pill {
  width: fit-content;
  margin: 1.8rem auto 0;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.7rem 1.8rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--creme-suave);
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
  margin-top: 3.2rem;
  align-items: stretch;
}
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; } }
.plan {
  border: 1px solid rgba(201, 161, 94, 0.22);
  border-radius: 6px;
  padding: 2.4rem 2rem;
  display: flex;
  flex-direction: column;
  background: rgba(10, 40, 39, 0.45);
  position: relative;
  transition: transform 0.35s ease, border-color 0.35s ease;
}
.plan:hover { transform: translateY(-4px); border-color: var(--dourado); }
.plan-featured { background: rgba(22, 80, 74, 0.5); border-color: var(--dourado); }
.plan-gold { border-color: rgba(218, 185, 126, 0.55); }
.plan-badge {
  position: absolute;
  top: -0.85rem; left: 50%;
  transform: translateX(-50%);
  background: var(--dourado);
  color: var(--verde-900);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.42rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
}
.unit-new .plan-badge { position: static; transform: none; display: inline-block; margin-bottom: 1rem; }
.plan-name {
  font-size: 1.7rem;
  text-align: center;
  padding-bottom: 1.3rem;
  margin-bottom: 1.3rem;
  border-bottom: 1px solid rgba(201, 161, 94, 0.2);
}
.plan-gold .plan-name { color: var(--dourado-claro); }
.plan ul { list-style: none; flex: 1; }
.plan li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--creme-suave);
  font-size: 0.95rem;
}
.plan li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--dourado);
}
.plan-cta { margin-top: 1.8rem; }

/* ============ Clínica ============ */
.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.2rem; }
@media (max-width: 640px) { .two-lists { grid-template-columns: 1fr; } }
.list-title {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--dourado);
  padding-bottom: 0.8rem;
  margin-bottom: 0.9rem;
  border-bottom: 1px solid rgba(201, 161, 94, 0.25);
}
.dotlist { list-style: none; }
.dotlist li {
  padding: 0.42rem 0 0.42rem 1.3rem;
  position: relative;
  color: var(--creme-suave);
  font-size: 0.95rem;
}
.dotlist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.95rem;
  width: 6px; height: 6px;
  border: 1px solid var(--dourado);
  border-radius: 50%;
}

/* ============ Especialidades ============ */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
  margin-top: 3rem;
}
@media (max-width: 1024px) { .spec-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .spec-grid { grid-template-columns: 1fr; } }
.spec {
  border: 1px solid rgba(201, 161, 94, 0.18);
  border-radius: 4px;
  padding: 1.8rem 1.5rem;
  background: rgba(10, 40, 39, 0.35);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.spec:hover { border-color: var(--dourado); transform: translateY(-3px); }
.spec h3 { font-size: 1.15rem; margin-bottom: 0.6rem; color: var(--dourado-claro); }
.spec p { color: var(--texto-suave); font-size: 0.9rem; line-height: 1.6; }

/* ============ Equipe ============ */
.role {
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-top: 0.7rem;
}

.socia-bio { font-size: 0.93rem; margin-top: 0.4rem; }

/* ============ Unidades ============ */
.units {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: 3rem;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 800px) { .units { grid-template-columns: 1fr; } }
.unit {
  border: 1px solid rgba(201, 161, 94, 0.25);
  border-radius: 6px;
  padding: 2.6rem 2.2rem;
  text-align: center;
  background: rgba(10, 40, 39, 0.45);
}
.unit-new { border-color: var(--dourado); background: rgba(22, 80, 74, 0.45); }
.unit h3 { font-size: 1.5rem; margin-bottom: 0.9rem; }
.unit-address { color: var(--creme-suave); font-size: 0.98rem; }
.unit-phone {
  font-family: var(--sans);
  letter-spacing: 0.12em;
  color: var(--dourado-claro);
  margin: 0.7rem 0 1.6rem;
}
.unit-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
}
.unit-actions .btn { min-width: 230px; }

/* ============ FAQ ============ */
.faq-list { max-width: 780px; margin: 3rem auto 0; }
.faq-list details {
  border-bottom: 1px solid rgba(201, 161, 94, 0.2);
  padding: 0.4rem 0;
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  padding: 1.1rem 2.4rem 1.1rem 0;
  position: relative;
  transition: color 0.25s;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0.3rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--dourado);
  transition: transform 0.3s ease;
}
.faq-list details[open] summary { color: var(--dourado-claro); }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { color: var(--creme-suave); font-size: 0.98rem; padding: 0 0 1.4rem; max-width: 700px; }

/* ============ CTA final ============ */
.cta-final { padding-bottom: clamp(5rem, 10vw, 9rem); }
.cta-card {
  text-align: center;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  padding: clamp(3rem, 7vw, 5.5rem) 2rem;
  background:
    radial-gradient(80% 100% at 50% 0%, rgba(22, 80, 74, 0.55) 0%, rgba(10, 40, 39, 0.3) 100%);
  position: relative;
  overflow: hidden;
}
.cta-emblem { width: 90px; height: auto; margin-bottom: 1.6rem; opacity: 0.9; }
.cta-card .lead { max-width: 640px; margin-left: auto; margin-right: auto; }
.cta-card .btn { margin-top: 2.4rem; }

/* ============ Footer ============ */
.footer {
  border-top: 1px solid rgba(201, 161, 94, 0.2);
  padding: 4rem 2rem 3rem;
  text-align: center;
  background: var(--verde-900);
}
.footer-logo { height: 52px; width: auto; opacity: 0.95; }
.footer-tagline {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--texto-suave);
  margin-top: 1rem;
}
.footer-tagline span { color: var(--dourado); margin: 0 0.35rem; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 880px;
  margin: 2.8rem auto 0;
}
@media (max-width: 720px) { .footer-cols { grid-template-columns: 1fr; gap: 1.6rem; } }
.footer-cols h4 {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--dourado);
  margin-bottom: 0.6rem;
}
.footer-cols p { color: var(--texto-suave); font-size: 0.9rem; }
.footer-cols a { color: var(--creme-suave); text-decoration: none; }
.footer-cols a:hover { color: var(--dourado-claro); }
.footer-copy { margin-top: 3rem; color: rgba(184, 196, 189, 0.55); font-size: 0.8rem; }

/* ============ WhatsApp flutuante ============ */
.wa-float {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 55;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dourado) 0%, var(--dourado-claro) 100%);
  color: var(--verde-900);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s ease;
}
.wa-float:hover { transform: scale(1.08); }

/* ============================================================
   Seções claras — ritmo editorial (verde ↔ creme)
   Aplicar .section-light: fundo creme full-bleed via ::before
   ============================================================ */
:root {
  --creme-bg: #f2eee3;
  --escuro-titulo: #123734;
  --escuro-texto: #3d544e;
  --escuro-suave: #6a7d75;
  --dourado-escuro: #a87f42;
  --hairline-escura: rgba(168, 127, 66, 0.4);
}

.section-light { position: relative; }
.section-light::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  background:
    radial-gradient(90% 70% at 50% 0%, #f7f4ea 0%, var(--creme-bg) 60%, #ece6d6 100%);
  z-index: -1;
}

.section-light h2,
.section-light h3 { color: var(--escuro-titulo); }
.section-light h2 em { color: var(--dourado-escuro); }
.section-light .eyebrow { color: var(--dourado-escuro); }
.section-light .lead { color: var(--escuro-texto); }
.section-light .footnote { color: var(--escuro-suave); }
.section-light .gold-italic { color: var(--dourado-escuro); }
.section-light .goldquote { color: var(--dourado-escuro); border-left-color: var(--dourado-escuro); }
.section-light .list-title { color: var(--dourado-escuro); border-bottom-color: var(--hairline-escura); }
.section-light .dotlist li { color: var(--escuro-texto); }
.section-light .dotlist li::before { border-color: var(--dourado-escuro); }
.section-light .role { color: var(--dourado-escuro); }
.section-light .socia-bio { color: var(--escuro-texto); }

.section-light .btn-ghost { border-color: var(--hairline-escura); color: var(--escuro-titulo); }
.section-light .btn-ghost:hover { border-color: var(--dourado-escuro); color: var(--dourado-escuro); }

.section-light .freq-pill { border-color: var(--hairline-escura); color: var(--escuro-texto); }

/* Cards de plano em fundo claro; o destaque (Equilíbrio) permanece verde */
.section-light .plan {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--hairline-escura);
}
.section-light .plan li { color: var(--escuro-texto); }
.section-light .plan li::before { color: var(--dourado-escuro); }
.section-light .plan-name { color: var(--escuro-titulo); border-bottom-color: var(--hairline-escura); }
.section-light .plan-featured {
  background: linear-gradient(160deg, var(--verde-700) 0%, var(--verde-800) 100%);
  border-color: var(--dourado);
}
.section-light .plan-featured li { color: var(--creme-suave); }
.section-light .plan-featured li::before { color: var(--dourado); }
.section-light .plan-featured .plan-name { color: var(--creme); border-bottom-color: rgba(201, 161, 94, 0.3); }
.section-light .plan-gold .plan-name { color: var(--dourado-escuro); }

/* Grade de especialidades em claro */
.section-light .spec {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--hairline-escura);
}
.section-light .spec h3 { color: var(--dourado-escuro); }
.section-light .spec p { color: var(--escuro-texto); }

/* Cards de unidade em claro; a nova (Centro) permanece verde em destaque */
.section-light .unit {
  background: rgba(255, 255, 255, 0.75);
  border-color: var(--hairline-escura);
}
.section-light .unit-address { color: var(--escuro-texto); }
.section-light .unit-phone { color: var(--dourado-escuro); }
.section-light .unit-new {
  background: linear-gradient(160deg, var(--verde-700) 0%, var(--verde-800) 100%);
  border-color: var(--dourado);
}
.section-light .unit-new h3 { color: var(--creme); }
.section-light .unit-new .unit-address { color: var(--creme-suave); }
.section-light .unit-new .unit-phone { color: var(--dourado-claro); }
.section-light .unit-new .btn-ghost { border-color: var(--hairline); color: var(--creme); }
.section-light .unit-new .btn-ghost:hover { border-color: var(--dourado); color: var(--dourado-claro); }

/* Passos do método em claro (usado na variação de layout) */
.section-light .steps li { border-bottom-color: var(--hairline-escura); }
.section-light .steps h3 { color: var(--escuro-titulo); }
.section-light .steps p { color: var(--escuro-suave); }
.section-light .step-num { color: var(--dourado-escuro); }

/* ============ Reveal on scroll ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-ornament img { animation: none; }
}
