/* ===========================================================
   Clinica Nucleo da Face — design system
   Inspiracao: editorial premium + clinicas estetica top-tier
   - Tipografia: Fraunces (display) + Inter Tight (sans)
   - Paleta: cream + forest sage + champagne bronze
   - Mobile-first, motion-reduced friendly, 60fps
   =========================================================== */

:root {
  /* Cores ------------------------------------------------- */
  --bg:           #f7f3ec;
  --bg-deep:      #ece5d8;
  --bg-card:      #ffffff;
  --bg-dark:      #14181f;
  --bg-dark-2:    #1c2129;

  --ink:          #14181f;
  --ink-soft:     #4a4f5a;
  --ink-mute:     #898a85;
  --ink-faint:    #b9b6ad;
  --ink-on-dark:  #f3ede1;

  --accent:       #2c4536;     /* forest sage */
  --accent-deep:  #1d2e24;
  --accent-warm:  #a07847;     /* bronze */
  --accent-soft:  #d9c9b3;     /* champagne */
  --line:         rgba(20, 24, 31, 0.08);
  --line-strong:  rgba(20, 24, 31, 0.16);
  --line-on-dark: rgba(243, 237, 225, 0.14);

  --whatsapp:     #25d366;
  --whatsapp-d:   #1ea756;

  /* Tipografia -------------------------------------------- */
  --display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:    "Inter Tight", "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Motion ------------------------------------------------ */
  --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:    cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.32, 0.64, 1);

  /* Layout ------------------------------------------------ */
  --max:    1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* ============================================================
   Reset + base
============================================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

::selection { background: var(--accent); color: var(--ink-on-dark); }

/* ============================================================
   Tipografia
============================================================ */
.display, h1, h2, h3 {
  font-family: var(--display);
  font-weight: 380;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--ink);
  font-feature-settings: "ss01", "ss02";
  font-variation-settings: "opsz" 144, "SOFT" 30;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  font-weight: 360;
}
h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 380;
  line-height: 1.08;
}
h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 420;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.italic { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* ============================================================
   Layout primitives
============================================================ */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { padding: clamp(4rem, 10vw, 8rem) 0; position: relative; }
section.tight { padding: clamp(3rem, 6vw, 5rem) 0; }
section.deep { background: var(--bg-deep); }
section.dark { background: var(--bg-dark); color: var(--ink-on-dark); }
section.dark h1, section.dark h2, section.dark h3 { color: #fff; }
section.dark .lead, section.dark p { color: rgba(243, 237, 225, 0.78); }
section.dark .eyebrow { color: var(--accent-soft); }
section.dark .eyebrow::before { background: var(--accent-soft); }

/* ============================================================
   Header
============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  overflow: visible;
  background: rgba(247, 243, 236, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), padding 0.3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 243, 236, 0.92);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.4rem;
  transition: padding-block 0.3s var(--ease);
}
.site-header.scrolled .container { padding-block: 1rem; }

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: var(--display);
  font-weight: 420;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand .mark {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  flex: 0 0 26px;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s var(--ease-spring);
}
.brand .mark::after {
  content: "LZ";
  font-family: var(--sans);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--bg);
}
.brand:hover .mark { transform: rotate(180deg); }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name strong { font-weight: 420; font-size: 1.15rem; letter-spacing: -0.02em; }
.brand-name span {
  font-family: var(--sans);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  margin-top: 0.3rem;
}

.nav {
  display: none;
  align-items: center;
  gap: 2.4rem;
}
@media (min-width: 880px) { .nav { display: flex; } }

/* ---------- Mobile hamburger ---------- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
@media (max-width: 879px) { .menu-toggle { display: flex; } }
.menu-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  transform-origin: center;
}
.menu-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav dropdown */
body.nav-open .nav {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--bg);
  z-index: 99;
  padding: 0.5rem clamp(1rem, 5vw, 2rem) 1.25rem;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(20,24,31,0.08);
}
body.nav-open .nav a {
  padding-block: 0.8rem;
  font-size: 1.05rem;
  width: 100%;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
body.nav-open .nav a:last-child { border-bottom: none; }

/* Show WhatsApp CTA on all sizes */
@media (max-width: 719px) { .header-cta { display: none; } }
.nav a {
  font-size: 0.94rem;
  color: var(--ink-soft);
  position: relative;
  padding-block: 0.3rem;
}
.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.header-cta {
  display: none;
}
@media (min-width: 720px) { .header-cta { display: inline-flex; } }

/* ============================================================
   Buttons
============================================================ */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--bg);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), color 0.3s var(--ease);
  isolation: isolate;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-deep);
  transform: translateY(101%);
  transition: transform 0.5s var(--ease-out);
  z-index: -1;
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translateY(0); }

.btn .arrow {
  display: inline-block;
  transition: transform 0.4s var(--ease);
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-whatsapp {
  --btn-bg: var(--whatsapp);
  --btn-fg: #fff;
  box-shadow: 0 10px 30px -10px rgba(37, 211, 102, 0.5);
}
.btn-whatsapp::after { background: var(--whatsapp-d); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost::after { background: var(--ink); }
.btn-ghost:hover { color: var(--bg); }
.dark .btn-ghost {
  --btn-fg: var(--ink-on-dark);
  border-color: var(--line-on-dark);
}
.dark .btn-ghost::after { background: var(--bg); }
.dark .btn-ghost:hover { color: var(--ink); }

.btn-sm { padding: 0.65rem 1.2rem; font-size: 0.88rem; }

/* ============================================================
   Hero
============================================================ */
.hero {
  padding: clamp(4rem, 10vw, 9rem) 0 clamp(3rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.4fr 1fr; align-items: end; }
}

.hero h1 {
  margin-bottom: 1.6rem;
}
.hero h1 .accent-italic {
  font-style: italic;
  color: var(--accent);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero .lead { margin-bottom: 2.2rem; }
.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.hero-side dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem 1.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.hero-side dt {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  align-self: center;
}
.hero-side dd { font-size: 0.95rem; color: var(--ink); }

/* Hero floating ornament */
.hero-ornament {
  position: absolute;
  top: -10%;
  right: -15%;
  width: 60vw;
  max-width: 700px;
  aspect-ratio: 1;
  background: radial-gradient(circle at 30% 30%, var(--accent-soft) 0%, transparent 60%);
  filter: blur(60px);
  opacity: 0.6;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
  animation: floaty 18s ease-in-out infinite;
}
.hero-ornament.b {
  top: 40%;
  left: -10%;
  right: auto;
  width: 35vw;
  background: radial-gradient(circle at 60% 60%, var(--accent) 0%, transparent 60%);
  opacity: 0.18;
  animation-delay: -8s;
}
.hero > .container { position: relative; z-index: 1; }

@keyframes floaty {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.04); opacity: 0.45; }
}

/* ============================================================
   Marquee — credenciais
============================================================ */
.marquee {
  border-block: 1px solid var(--line);
  padding: 1.4rem 0;
  overflow: hidden;
  background: var(--bg);
}
.marquee-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-track > * {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink-mute);
  white-space: nowrap;
  font-variation-settings: "opsz" 144, "SOFT" 80;
}
.marquee-track > *::after {
  content: "✦";
  margin-left: 4rem;
  color: var(--accent-warm);
  font-style: normal;
}
.marquee-track > *:last-child::after { content: ""; margin: 0; }

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   Section header
============================================================ */
.section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  align-items: end;
}
@media (min-width: 880px) {
  .section-head { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.section-head .head-meta { display: flex; flex-direction: column; gap: 1rem; }
.section-head h2 { max-width: 14ch; }
.section-head .head-text { max-width: 48ch; color: var(--ink-soft); font-size: 1.05rem; }

/* ============================================================
   Procedimentos — grid
============================================================ */
.proc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
@media (min-width: 700px) { .proc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .proc-grid { grid-template-columns: repeat(3, 1fr); } }

.proc-card {
  background: var(--bg-card);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
  min-height: 260px;
  isolation: isolate;
  overflow: hidden;
}
.proc-card .num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-mute);
  letter-spacing: 0.1em;
}
.proc-card h3 {
  margin-top: 0.3rem;
  transition: color 0.4s var(--ease);
}
.proc-card p {
  color: var(--ink-soft);
  font-size: 0.96rem;
  flex: 1;
  margin: 0;
  transition: color 0.4s var(--ease);
}
.proc-card .arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.5rem;
  transition: color 0.4s var(--ease), gap 0.4s var(--ease);
}
.proc-card .arrow svg { width: 16px; transition: transform 0.4s var(--ease); }

.proc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--bg-dark);
  transform: translateY(101%);
  transition: transform 0.6s var(--ease-out);
  z-index: -1;
}
.proc-card:hover::before { transform: translateY(0); }
.proc-card:hover { color: var(--ink-on-dark); }
.proc-card:hover h3 { color: #fff; }
.proc-card:hover p { color: rgba(243, 237, 225, 0.7); }
.proc-card:hover .arrow { color: var(--accent-soft); gap: 0.8rem; }
.proc-card:hover .arrow svg { transform: translateX(4px); }
.proc-card:hover .num { color: var(--accent-soft); }

/* ============================================================
   Sobre — split
============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; } }

.split-image {
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--accent) 100%);
  border-radius: 14px;
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
}
.split-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.3), transparent 50%);
}
.split-image .quote {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  color: rgba(255,255,255,0.95);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.3;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}

.credentials {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
}
.credentials li {
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: baseline;
}
.credentials li strong {
  font-family: var(--display);
  font-style: italic;
  font-weight: 420;
  font-size: 1.05rem;
  color: var(--ink);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.credentials li span { color: var(--ink-soft); font-size: 0.94rem; }

/* ============================================================
   Process steps
============================================================ */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  counter-reset: step;
}
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }

.step {
  position: relative;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line-on-dark);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -1px;
  left: 0;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--accent-soft);
  padding-top: 1rem;
}
.step h3 {
  color: #fff;
  margin-bottom: 0.8rem;
  margin-top: 1.5rem;
}
.step p { color: rgba(243, 237, 225, 0.7); font-size: 0.96rem; }

/* ============================================================
   FAQ
============================================================ */
.faq {
  max-width: 780px;
  margin-inline: auto;
}
.faq details {
  border-top: 1px solid var(--line-strong);
  padding: 1.5rem 0;
  transition: padding 0.3s var(--ease);
}
.faq details:last-of-type { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-weight: 420;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  position: relative;
  transition: background 0.3s var(--ease), transform 0.4s var(--ease-spring);
}
.faq summary .icon::before, .faq summary .icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq summary .icon::before { width: 12px; height: 1.5px; }
.faq summary .icon::after { width: 1.5px; height: 12px; transition: transform 0.3s var(--ease); transform: translate(-50%, -50%); }
.faq details[open] summary .icon { background: var(--ink); }
.faq details[open] summary .icon::before { background: var(--bg); }
.faq details[open] summary .icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq details p {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  max-width: 70ch;
  animation: faqOpen 0.4s var(--ease-out);
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   CTA banner final
============================================================ */
.cta-final {
  text-align: center;
  padding-block: clamp(5rem, 12vw, 9rem);
}
.cta-final h2 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: 1.5rem;
}
.cta-final h2 .italic { color: var(--accent-soft); }
.cta-final p { max-width: 50ch; margin: 0 auto 2.5rem; }
.cta-final .cta-row { justify-content: center; }

/* ============================================================
   Clínica — galeria de fotos
============================================================ */
.clinic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}
.clinic-img {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
}
.clinic-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.clinic-img:hover img { transform: scale(1.03); }

@media (min-width: 900px) {
  .clinic-grid { grid-template-columns: repeat(4, 1fr); }
}

.clinic-address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* ============================================================
   Footer
============================================================ */
.site-footer {
  background: var(--bg);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-grid h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  margin-bottom: 1rem;
}
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: 0.6rem; }
.footer-grid a { color: var(--ink-soft); font-size: 0.96rem; }
.footer-grid a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--ink-mute);
}
.footer-bottom a { color: var(--ink-mute); }
.footer-bottom a:hover { color: var(--ink); }

/* ============================================================
   LP — pagina de procedimento (article)
============================================================ */
.lp-hero {
  padding: clamp(4rem, 9vw, 7rem) 0 clamp(2.5rem, 5vw, 4rem);
  position: relative;
  overflow: hidden;
}
.lp-hero .breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 2rem;
}
.lp-hero .breadcrumb a:hover { color: var(--ink); }
.lp-hero h1 {
  margin-bottom: 1.5rem;
  max-width: 18ch;
}
.lp-hero h1 .italic { color: var(--accent); font-variation-settings: "opsz" 144, "SOFT" 100; }
.lp-hero .lead { margin-bottom: 2rem; }

.lp-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}
@media (min-width: 940px) {
  .lp-content { grid-template-columns: 2fr 1fr; gap: 5rem; }
}

.lp-content article h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  margin-top: 3rem;
  margin-bottom: 1rem;
}
.lp-content article h2:first-child { margin-top: 0; }
.lp-content article p {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 62ch;
}

.bullets {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}
.bullets li {
  position: relative;
  padding: 0.85rem 0 0.85rem 2rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 1rem;
}
.bullets li:last-child { border-bottom: none; }
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 14px;
  height: 1px;
  background: var(--accent);
}

.lp-aside {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  padding: clamp(1.8rem, 3vw, 2.4rem);
  border-radius: 14px;
  border: 1px solid var(--line);
}
.lp-aside h3 {
  font-family: var(--sans);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  margin-bottom: 1rem;
}
.lp-aside p { font-size: 0.96rem; color: var(--ink-soft); margin-bottom: 1.5rem; }
.lp-aside .btn { width: 100%; justify-content: center; }
.lp-aside .urgency-note {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink-mute);
}
.lp-aside .urgency-note strong { color: var(--ink); display: block; margin-bottom: 0.3rem; }

/* ============================================================
   Pagina legal (politica)
============================================================ */
.legal-page {
  max-width: 760px;
  margin-inline: auto;
  padding: clamp(3rem, 7vw, 6rem) var(--gutter);
}
.legal-page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 0.5rem; }
.legal-page .updated {
  color: var(--ink-mute);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 3rem;
}
.legal-page h2 {
  margin-top: 3rem;
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
  margin-bottom: 0.8rem;
}
.legal-page p, .legal-page ul {
  color: var(--ink-soft);
  font-size: 1rem;
}
.legal-page strong { color: var(--ink); font-weight: 500; }

/* ============================================================
   Cookie banner
============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  max-width: 460px;
  margin-inline: auto;
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  padding: 1.5rem 1.6rem;
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.45);
  z-index: 1000;
  font-size: 0.92rem;
  line-height: 1.55;
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.6s var(--ease-spring), opacity 0.4s var(--ease);
}
#cookie-banner.visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
#cookie-banner p { margin-bottom: 1rem; color: rgba(243, 237, 225, 0.85); }
#cookie-banner a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
#cookie-banner .actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
#cookie-banner button {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 500;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease);
}
#cookie-banner button:hover { border-color: #fff; }
#cookie-banner button.primary {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
}
#cookie-banner button.primary:hover { background: rgba(247, 243, 236, 0.85); }

/* ============================================================
   Animations — scroll reveal
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-stagger.in > *           { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.40s; }

.split-reveal {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
}
.split-reveal > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1s var(--ease-out);
}
.split-reveal.in > span { transform: translateY(0); }
.split-reveal.d2 > span { transition-delay: 0.1s; }
.split-reveal.d3 > span { transition-delay: 0.2s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .reveal-stagger > *, .split-reveal > span {
    opacity: 1 !important;
    transform: none !important;
  }
  .marquee-track { animation: none; }
  .hero-ornament { animation: none; }
}

/* ============================================================
   Utilities
============================================================ */
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.center { text-align: center; }
.muted { color: var(--ink-mute); }
.divider { height: 1px; background: var(--line); border: 0; margin-block: 4rem; }

/* Focus visible — acessibilidade */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
