/* ============================================================
   LUIZ FEITTOSA — Design System (Sprint 01)
   tokens + globals + utility components
   ============================================================ */

:root {
  /* Paleta primária — DARK predominante */
  --lf-bg: #1F2E20;
  --lf-bg-alt: #2D3F2F;
  --lf-bg-elevated: #34472F;
  --lf-surface: #243A26;

  /* Paleta light */
  --lf-light-bg: #F4EBD0;
  --lf-light-bg-alt: #EDE2C0;
  --lf-light-surface: #FAF5E4;

  /* Texto */
  --lf-text-dark: #FAF5E4;
  --lf-text-dark-2: #D4C9A8;
  --lf-text-dark-muted: #8B8569;
  --lf-text-light: #1F2E20;
  --lf-text-light-2: #4A5A48;
  --lf-text-light-muted: #7B8478;

  /* Dourado */
  --lf-gold: #D4B062;
  --lf-gold-light: #E5C685;
  --lf-gold-dark: #C9A961;
  --lf-gold-deep: #B89A55;

  /* Bordas */
  --lf-border-dark: rgba(212, 176, 98, 0.12);
  --lf-border-dark-strong: rgba(212, 176, 98, 0.30);
  --lf-border-light: rgba(45, 63, 47, 0.12);
  --lf-border-light-strong: rgba(45, 63, 47, 0.30);
  --lf-hairline: rgba(212, 176, 98, 0.20);

  /* Tipografia */
  --lf-font-display: 'Cormorant Garamond', 'Editorial New', 'Playfair Display', serif;
  --lf-font-body: 'Inter', system-ui, sans-serif;
  --lf-font-mono: 'JetBrains Mono', 'DM Mono', monospace;

  /* Espaçamentos */
  --lf-section-y: clamp(4.5rem, 8vw, 8rem);
  --lf-section-x: clamp(1.5rem, 4vw, 3rem);

  /* Sombras */
  --lf-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --lf-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --lf-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --lf-shadow-gold: 0 0 24px rgba(212, 176, 98, 0.15);

  /* Radius */
  --lf-radius-sm: 8px;
  --lf-radius-md: 12px;
  --lf-radius-lg: 16px;
  --lf-radius-xl: 24px;
  --lf-radius-pill: 999px;

  /* Animações */
  --lf-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --lf-ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --lf-duration-fast: 200ms;
  --lf-duration-base: 400ms;
  --lf-duration-slow: 800ms;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--lf-font-body);
  background: var(--lf-bg);
  color: var(--lf-text-dark);
  overflow-x: hidden;
  font-feature-settings: 'ss01', 'cv01', 'cv11';
  line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--lf-font-display);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

::selection { background: var(--lf-gold); color: var(--lf-bg); }

/* ============================================================
   COMPONENT CLASSES
   ============================================================ */

.lf-container {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) { .lf-container { padding-inline: 2rem; } }
@media (min-width: 1024px) { .lf-container { padding-inline: 3rem; } }

.lf-section-dark {
  background: var(--lf-bg);
  color: var(--lf-text-dark);
  padding-block: var(--lf-section-y);
}

.lf-section-light {
  background: var(--lf-light-bg);
  color: var(--lf-text-light);
  padding-block: var(--lf-section-y);
}

/* Overline mono — "— 01 / MÉTODO" */
.lf-overline {
  font-family: var(--lf-font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--lf-gold);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}
.lf-overline::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}
.lf-overline.center { justify-content: center; }
.lf-section-light .lf-overline { color: var(--lf-gold-dark); }

/* Display heading editorial */
.lf-display {
  font-family: var(--lf-font-display);
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 400;
  text-wrap: pretty;
}
.lf-display em {
  font-style: italic;
  color: var(--lf-gold);
  font-weight: 400;
}
.lf-section-light .lf-display em { color: var(--lf-gold-dark); }

/* Body lead */
.lf-lead {
  font-size: clamp(1.0625rem, 1.2vw, 1.25rem);
  line-height: 1.65;
  color: var(--lf-text-dark-2);
  font-weight: 300;
}
.lf-section-light .lf-lead { color: var(--lf-text-light-2); }

/* Botões */
.lf-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: var(--lf-gold);
  color: var(--lf-bg);
  font-family: var(--lf-font-body);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  padding: 1rem 1.75rem;
  border-radius: var(--lf-radius-pill);
  transition: all var(--lf-duration-base) var(--lf-ease-out);
  cursor: pointer;
  border: 1px solid var(--lf-gold);
  white-space: nowrap;
}
.lf-btn-primary:hover {
  background: var(--lf-gold-light);
  border-color: var(--lf-gold-light);
  transform: translateY(-1px);
  box-shadow: var(--lf-shadow-gold);
}
.lf-btn-primary.full { width: 100%; }

.lf-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: transparent;
  color: var(--lf-text-dark);
  border: 1px solid var(--lf-border-dark-strong);
  font-family: var(--lf-font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  padding: 1rem 1.75rem;
  border-radius: var(--lf-radius-pill);
  transition: all var(--lf-duration-base) var(--lf-ease-out);
  cursor: pointer;
  white-space: nowrap;
}
.lf-btn-ghost:hover {
  border-color: var(--lf-gold);
  color: var(--lf-gold);
}
.lf-btn-ghost.full { width: 100%; }
.lf-section-light .lf-btn-ghost {
  color: var(--lf-text-light);
  border-color: var(--lf-border-light-strong);
}
.lf-section-light .lf-btn-ghost:hover {
  color: var(--lf-gold-dark);
  border-color: var(--lf-gold-dark);
}

/* Inverted primary for use on light background */
.lf-btn-primary.invert {
  background: var(--lf-bg);
  color: var(--lf-light-bg);
  border-color: var(--lf-bg);
}
.lf-btn-primary.invert:hover {
  background: var(--lf-bg-elevated);
  border-color: var(--lf-bg-elevated);
  box-shadow: 0 8px 24px rgba(31, 46, 32, 0.25);
}

/* Atmosfera de fundo */
.lf-atmosphere {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.lf-atmosphere::before,
.lf-atmosphere::after {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.10;
  animation: lf-drift 22s infinite ease-in-out;
}
.lf-atmosphere::before {
  background: var(--lf-gold);
  top: -180px;
  left: -120px;
}
.lf-atmosphere::after {
  background: var(--lf-bg-elevated);
  bottom: -180px;
  right: -120px;
  animation-delay: -11s;
}
@keyframes lf-drift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(40px, -30px); }
  66% { transform: translate(-30px, 25px); }
}

/* Hairline gold divider */
.lf-hairline-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lf-gold), transparent);
  opacity: 0.4;
  margin-block: 2rem;
}

/* Pull quote */
.lf-pullquote {
  font-family: var(--lf-font-display);
  font-style: italic;
  font-size: clamp(1.375rem, 2.6vw, 2rem);
  line-height: 1.4;
  color: var(--lf-gold);
  border-left: 2px solid var(--lf-gold);
  padding-left: 2rem;
  margin: 0;
  text-wrap: pretty;
  font-weight: 400;
}
.lf-section-light .lf-pullquote {
  color: var(--lf-gold-dark);
  border-left-color: var(--lf-gold-dark);
}

/* Drop cap */
.lf-dropcap::first-letter {
  font-family: var(--lf-font-display);
  font-size: 4.5rem;
  line-height: 0.85;
  float: left;
  padding-right: 0.75rem;
  padding-top: 0.4rem;
  color: var(--lf-gold);
  font-weight: 500;
}
.lf-section-light .lf-dropcap::first-letter { color: var(--lf-gold-dark); }

/* Decorative corner */
.lf-corner {
  position: absolute;
  width: 6rem;
  height: 6rem;
  border-color: var(--lf-gold);
  opacity: 0.5;
  pointer-events: none;
}
.lf-corner.br { right: -1rem; bottom: -1rem; border-right: 2px solid; border-bottom: 2px solid; }
.lf-corner.bl { left: -1rem; bottom: -1rem; border-left: 2px solid; border-bottom: 2px solid; }
.lf-section-light .lf-corner { border-color: var(--lf-gold-dark); }

/* ============================================================
   REVEAL ANIMATIONS — visibility-based
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 800ms var(--lf-ease-out), transform 800ms var(--lf-ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-x-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 800ms var(--lf-ease-out), transform 800ms var(--lf-ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-x-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-x-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 800ms var(--lf-ease-out), transform 800ms var(--lf-ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-x-right.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 1000ms var(--lf-ease-out), transform 1000ms var(--lf-ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   NAVBAR
   ============================================================ */

.lf-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 500ms var(--lf-ease-out);
  background: transparent;
}
.lf-nav.scrolled {
  background: rgba(31, 46, 32, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--lf-border-dark);
}
.lf-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}
@media (min-width: 768px) { .lf-nav-inner { padding-block: 1.25rem; } }
.lf-nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.lf-nav-logo-mark {
  width: 44px;
  height: 44px;
  border: 1px solid var(--lf-gold);
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-family: var(--lf-font-display);
  font-size: 1.25rem;
  color: var(--lf-gold);
  font-style: italic;
  letter-spacing: -0.05em;
}
.lf-nav-logo-text {
  display: none;
  flex-direction: column;
  line-height: 1;
}
@media (min-width: 768px) { .lf-nav-logo-text { display: flex; } }
.lf-nav-logo-text strong {
  font-family: var(--lf-font-display);
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--lf-text-dark);
}
.lf-nav-logo-text span {
  font-family: var(--lf-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  color: var(--lf-gold);
  margin-top: 0.25rem;
}
.lf-nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 1024px) { .lf-nav-links { display: flex; } }
.lf-nav-links a {
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  color: var(--lf-text-dark-2);
  transition: color 300ms;
  position: relative;
  padding-block: 0.25rem;
}
.lf-nav-links a:hover { color: var(--lf-gold); }
.lf-nav-links a.highlight {
  color: var(--lf-gold);
  font-weight: 500;
}
.lf-nav-links a.highlight::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--lf-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 400ms var(--lf-ease-out);
}
.lf-nav-links a.highlight:hover::after { transform: scaleX(1); }
.lf-nav-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lf-nav-cta-btn {
  display: none;
  padding: 0.625rem 1.25rem !important;
  font-size: 0.8125rem !important;
}
@media (min-width: 768px) { .lf-nav-cta-btn { display: inline-flex; } }
.lf-nav-burger {
  display: grid;
  place-items: center;
  color: var(--lf-gold);
  padding: 0.5rem;
  width: 40px;
  height: 40px;
}
@media (min-width: 1024px) { .lf-nav-burger { display: none; } }

.lf-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(31, 46, 32, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 6rem 1.5rem 2rem;
  overflow-y: auto;
}
@media (min-width: 1024px) { .lf-mobile-menu { display: none; } }
.lf-mobile-menu ul { display: flex; flex-direction: column; gap: 1.25rem; }
.lf-mobile-menu a {
  font-family: var(--lf-font-display);
  font-size: 2rem;
  color: var(--lf-text-dark);
  display: block;
}
.lf-mobile-menu a.highlight { color: var(--lf-gold); font-style: italic; }

/* ============================================================
   FOOTER
   ============================================================ */

.lf-footer {
  background: #18241A;
  border-top: 1px solid var(--lf-border-dark);
  padding: 4rem 0 2rem;
}
.lf-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) { .lf-footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.lf-footer-mark {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}
.lf-footer-mark .mark {
  width: 56px; height: 56px;
  border: 1px solid var(--lf-gold);
  border-radius: 4px;
  display: grid; place-items: center;
  font-family: var(--lf-font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--lf-gold);
}
.lf-footer-mark .word {
  font-family: var(--lf-font-display);
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--lf-text-dark);
}
.lf-footer p.tag {
  color: var(--lf-text-dark-2);
  font-size: 0.875rem;
  line-height: 1.65;
  max-width: 24rem;
  font-weight: 300;
}
.lf-footer h4 { margin-bottom: 1.5rem; }
.lf-footer-links { display: flex; flex-direction: column; gap: 0.75rem; }
.lf-footer-links a {
  color: var(--lf-text-dark-2);
  font-size: 0.875rem;
  transition: color 300ms;
}
.lf-footer-links a:hover { color: var(--lf-gold); }
.lf-footer-contact { display: flex; flex-direction: column; gap: 1rem; }
.lf-footer-contact li {
  display: flex;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--lf-text-dark-2);
  line-height: 1.5;
  align-items: flex-start;
}
.lf-footer-contact .icon { color: var(--lf-gold); flex-shrink: 0; margin-top: 2px; }
.lf-footer-contact a { transition: color 300ms; }
.lf-footer-contact a:hover { color: var(--lf-gold); }
.lf-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--lf-text-dark-muted);
}
@media (min-width: 768px) { .lf-footer-bottom { flex-direction: row; } }
.lf-footer-bottom .legal { display: flex; gap: 1.5rem; }
.lf-footer-bottom a:hover { color: var(--lf-gold); transition: color 300ms; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */

.lf-whatsapp {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 300ms var(--lf-ease-out);
  animation: lf-pop-in 600ms 2s var(--lf-ease-out) backwards;
}
.lf-whatsapp:hover { transform: scale(1.06); }
@media (min-width: 768px) {
  .lf-whatsapp { width: 64px; height: 64px; bottom: 2rem; right: 2rem; }
}
@keyframes lf-pop-in {
  from { opacity: 0; transform: scale(0); }
  to { opacity: 1; transform: scale(1); }
}
.lf-whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: lf-pulse-ring 2.2s infinite var(--lf-ease-out);
  z-index: -1;
}
@keyframes lf-pulse-ring {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================================
   SCROLL INDICATOR
   ============================================================ */
.lf-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(212, 176, 98, 0.6);
  pointer-events: none;
  animation: lf-fade-in 1s 1.6s var(--lf-ease-out) backwards;
}
.lf-scroll-indicator .label {
  font-family: var(--lf-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.lf-scroll-indicator .chev {
  animation: lf-bob 2s infinite ease-in-out;
}
@keyframes lf-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}
@keyframes lf-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================================
   PORTRAIT PLACEHOLDER (used when no photos provided)
   ============================================================ */
.lf-portrait {
  position: relative;
  width: 100%;
  border-radius: var(--lf-radius-md);
  overflow: hidden;
  border: 1px solid rgba(212, 176, 98, 0.2);
  background:
    linear-gradient(135deg,
      #243A26 0%,
      #1F2E20 30%,
      #2D3F2F 60%,
      #1A2519 100%);
}
.lf-portrait.aspect-3-4 { aspect-ratio: 3 / 4; }
.lf-portrait.aspect-4-5 { aspect-ratio: 4 / 5; }
.lf-portrait .stripes {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 28px,
    rgba(212, 176, 98, 0.04) 28px,
    rgba(212, 176, 98, 0.04) 56px
  );
}
.lf-portrait .silhouette {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0.4;
}
.lf-portrait .silhouette svg { width: 60%; height: 60%; color: var(--lf-gold); opacity: 0.35; }
.lf-portrait .label {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  font-family: var(--lf-font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lf-gold);
  opacity: 0.7;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}
.lf-portrait .label::before {
  content: '○';
  margin-right: 0.5rem;
}
.lf-portrait .overlay-bottom {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 46, 32, 0.5), transparent 50%);
}
.lf-portrait.light {
  background:
    linear-gradient(135deg,
      #EDE2C0 0%,
      #F4EBD0 30%,
      #FAF5E4 60%,
      #E5D8AE 100%);
  border-color: rgba(45, 63, 47, 0.18);
}
.lf-portrait.light .stripes {
  background-image: repeating-linear-gradient(
    135deg,
    transparent 0,
    transparent 28px,
    rgba(45, 63, 47, 0.05) 28px,
    rgba(45, 63, 47, 0.05) 56px
  );
}
.lf-portrait.light .silhouette svg { color: var(--lf-gold-dark); }
.lf-portrait.light .label { color: var(--lf-text-light-2); }

/* ============================================================
   PALETTE VARIANTS — swap via body[data-palette]
   ============================================================ */

body[data-palette="ink"] {
  --lf-bg: #131A24;
  --lf-bg-alt: #1B2533;
  --lf-bg-elevated: #233042;
  --lf-surface: #1A2230;
  --lf-light-bg: #F2EAD6;
  --lf-light-bg-alt: #E8DEC5;
  --lf-light-surface: #F8F1DE;
  --lf-text-dark: #F2EAD6;
  --lf-text-dark-2: #C9BEA0;
  --lf-text-dark-muted: #7E8090;
  --lf-text-light: #131A24;
  --lf-text-light-2: #3A4458;
  --lf-gold: #C9A961;
  --lf-gold-light: #DEC07C;
  --lf-gold-dark: #B79A55;
  --lf-border-dark: rgba(201, 169, 97, 0.14);
  --lf-border-dark-strong: rgba(201, 169, 97, 0.32);
  --lf-border-light: rgba(19, 26, 36, 0.12);
  --lf-border-light-strong: rgba(19, 26, 36, 0.30);
}

body[data-palette="charcoal"] {
  --lf-bg: #16161A;
  --lf-bg-alt: #1F1F23;
  --lf-bg-elevated: #2A2A30;
  --lf-surface: #1C1C20;
  --lf-light-bg: #EFE9DD;
  --lf-light-bg-alt: #E6DECF;
  --lf-light-surface: #F6F1E6;
  --lf-text-dark: #EFE9DD;
  --lf-text-dark-2: #BFB7A4;
  --lf-text-dark-muted: #7A7468;
  --lf-text-light: #16161A;
  --lf-text-light-2: #3A3A40;
  --lf-gold: #D4B062;
  --lf-gold-light: #E5C685;
  --lf-gold-dark: #B89A55;
  --lf-border-dark: rgba(212, 176, 98, 0.14);
  --lf-border-dark-strong: rgba(212, 176, 98, 0.34);
  --lf-border-light: rgba(22, 22, 26, 0.12);
  --lf-border-light-strong: rgba(22, 22, 26, 0.32);
}

body[data-palette="oxblood"] {
  --lf-bg: #21141A;
  --lf-bg-alt: #2D1B22;
  --lf-bg-elevated: #3A232C;
  --lf-surface: #261720;
  --lf-light-bg: #F5E8D8;
  --lf-light-bg-alt: #EBDDC8;
  --lf-light-surface: #FAF0E0;
  --lf-text-dark: #F5E8D8;
  --lf-text-dark-2: #D6BEA8;
  --lf-text-dark-muted: #897467;
  --lf-text-light: #21141A;
  --lf-text-light-2: #4D3540;
  --lf-gold: #C77E5E;
  --lf-gold-light: #DC9879;
  --lf-gold-dark: #B07150;
  --lf-border-dark: rgba(199, 126, 94, 0.16);
  --lf-border-dark-strong: rgba(199, 126, 94, 0.36);
  --lf-border-light: rgba(33, 20, 26, 0.12);
  --lf-border-light-strong: rgba(33, 20, 26, 0.30);
}

body[data-palette="clay"] {
  --lf-bg: #2A211C;
  --lf-bg-alt: #362B24;
  --lf-bg-elevated: #44352B;
  --lf-surface: #2F251F;
  --lf-light-bg: #F4EBD0;
  --lf-light-bg-alt: #EBE0C0;
  --lf-light-surface: #FAF3DD;
  --lf-text-dark: #F4EBD0;
  --lf-text-dark-2: #CFC0A0;
  --lf-text-dark-muted: #897E68;
  --lf-text-light: #2A211C;
  --lf-text-light-2: #534435;
  --lf-gold: #D89860;
  --lf-gold-light: #E8B07E;
  --lf-gold-dark: #BD8552;
  --lf-border-dark: rgba(216, 152, 96, 0.16);
  --lf-border-dark-strong: rgba(216, 152, 96, 0.36);
  --lf-border-light: rgba(42, 33, 28, 0.12);
  --lf-border-light-strong: rgba(42, 33, 28, 0.30);
}

/* ============================================================
   GRAIN TEXTURE OVERLAY
   ============================================================ */
body[data-grain="1"]::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.55;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='300' height='300'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 300px 300px;
}

/* ============================================================
   BIG EDITORIAL NUMERALS (decoration behind sections)
   ============================================================ */
.lf-big-num {
  position: absolute;
  font-family: var(--lf-font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(14rem, 32vw, 36rem);
  line-height: 0.78;
  letter-spacing: -0.06em;
  color: currentColor;
  opacity: 0.045;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.lf-section-light .lf-big-num { opacity: 0.06; }
body[data-bignum="0"] .lf-big-num { display: none; }

/* ============================================================
   MARQUEE TICKER
   ============================================================ */
.lf-marquee {
  position: relative;
  background: var(--lf-bg);
  border-block: 1px solid var(--lf-border-dark);
  overflow: hidden;
  padding-block: 1.5rem;
}
.lf-marquee.light {
  background: var(--lf-light-bg);
  border-block-color: var(--lf-border-light);
}
.lf-marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: lf-marquee 45s linear infinite;
  align-items: center;
}
.lf-marquee:hover .lf-marquee-track { animation-play-state: paused; }
.lf-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 3rem;
  font-family: var(--lf-font-display);
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--lf-text-dark);
  letter-spacing: -0.02em;
  white-space: nowrap;
  line-height: 1;
}
.lf-marquee.light .lf-marquee-item { color: var(--lf-text-light); }
.lf-marquee-item .accent {
  color: var(--lf-gold);
}
.lf-marquee.light .lf-marquee-item .accent { color: var(--lf-gold-dark); }
.lf-marquee-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lf-gold);
  flex-shrink: 0;
}
.lf-marquee.light .lf-marquee-dot { background: var(--lf-gold-dark); }
@keyframes lf-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   VERTICAL LABEL (sidebar mono text)
   ============================================================ */
.lf-vertical-label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left center;
  font-family: var(--lf-font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--lf-gold);
  opacity: 0.55;
  pointer-events: none;
  white-space: nowrap;
  display: none;
}
@media (min-width: 1280px) {
  .lf-vertical-label { display: block; }
}
body[data-vert="0"] .lf-vertical-label { display: none; }
.lf-section-light .lf-vertical-label { color: var(--lf-gold-dark); }

/* ============================================================
   DECORATIVE CROSS / PLUS marks (corner ornaments)
   ============================================================ */
.lf-plus {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  opacity: 0.6;
}
.lf-plus::before,
.lf-plus::after {
  content: '';
  position: absolute;
  background: var(--lf-gold);
}
.lf-plus::before { top: 50%; left: 0; right: 0; height: 1px; transform: translateY(-50%); }
.lf-plus::after { left: 50%; top: 0; bottom: 0; width: 1px; transform: translateX(-50%); }
.lf-section-light .lf-plus::before,
.lf-section-light .lf-plus::after { background: var(--lf-gold-dark); }

/* ============================================================
   SPLIT BACKGROUND (half dark / half light section)
   ============================================================ */
.lf-split-bg {
  position: relative;
  background: linear-gradient(180deg, var(--lf-bg) 0%, var(--lf-bg) 45%, var(--lf-light-bg) 45%, var(--lf-light-bg) 100%);
}
@media (min-width: 1024px) {
  .lf-split-bg {
    background: linear-gradient(90deg, var(--lf-bg) 0%, var(--lf-bg) 50%, var(--lf-light-bg) 50%, var(--lf-light-bg) 100%);
  }
}

/* ============================================================
   PRIMARY BUTTON — SHIMMER on hover (lâmina de luz)
   ============================================================ */
.lf-btn-primary {
  position: relative;
  overflow: hidden;
}
.lf-btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.22), transparent 70%);
  transform: translateX(-110%);
  transition: transform 700ms var(--lf-ease-out);
  pointer-events: none;
}
.lf-btn-primary:hover::before { transform: translateX(110%); }
.lf-btn-primary > * { position: relative; z-index: 1; }

/* ============================================================
   PULSE GOLD — only for .highlight nav link
   ============================================================ */
@keyframes lf-pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 176, 98, 0); }
  50% { box-shadow: 0 0 0 6px rgba(212, 176, 98, 0.15); }
}
.lf-nav-links a.highlight {
  position: relative;
  border-radius: 999px;
  animation: lf-pulse-gold 2.6s ease-in-out infinite;
}

/* ============================================================
   DESTAQUE CARD — animated gold border shimmer
   ============================================================ */
.lf-plano.destaque {
  position: relative;
}
.lf-plano.destaque::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg,
    var(--lf-gold) 0%,
    var(--lf-gold-light) 30%,
    var(--lf-gold) 60%,
    var(--lf-gold-light) 100%);
  background-size: 300% 100%;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: lf-shimmer-border 8s linear infinite;
  pointer-events: none;
  opacity: 0.85;
}
@keyframes lf-shimmer-border {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

/* ============================================================
   HAIRLINE DIVIDER DRAW-IN
   ============================================================ */
.lf-hairline-draw {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lf-gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1400ms var(--lf-ease-out);
  opacity: 0.65;
}
.lf-hairline-draw.visible { transform: scaleX(1); }

/* ============================================================
   TRANSITION QUOTE — editorial pause between sections
   ============================================================ */
.lf-transition {
  padding-block: clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}
.lf-transition .quote {
  font-family: var(--lf-font-display);
  font-style: italic;
  font-size: clamp(1.375rem, 2.8vw, 2.25rem);
  line-height: 1.4;
  text-align: center;
  max-width: 56ch;
  margin: 0 auto;
  text-wrap: pretty;
  font-weight: 400;
}
.lf-transition .author {
  display: block;
  margin-top: 1.5rem;
  font-family: var(--lf-font-mono);
  font-style: normal;
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.lf-transition .hr {
  height: 1px;
  width: 80px;
  margin: 0 auto 2.5rem;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0.4;
}
.lf-transition .hr-bottom {
  margin: 2.5rem auto 0;
}
.lf-transition.dark { background: var(--lf-bg); color: var(--lf-gold); }
.lf-transition.light { background: var(--lf-light-bg); color: var(--lf-gold-dark); }

/* ============================================================
   PLAN CARDS — shared by Consultoria (landing) + Programas (cursos)
   ============================================================ */
.lf-planos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .lf-planos-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
}
@media (min-width: 1024px) {
  .lf-planos-grid { gap: 2rem; }
}
/* Centraliza a grade quando há menos de 3 itens (plano/curso desabilitado no admin). */
@media (min-width: 768px) {
  .lf-planos-grid.count-2 { grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; }
  .lf-planos-grid.count-1 { grid-template-columns: minmax(0, 380px); justify-content: center; }
}
.lf-plano {
  position: relative;
  border-radius: 1.25rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  background: var(--lf-bg-alt);
  border: 1px solid var(--lf-border-dark);
  transition: all var(--lf-duration-base) var(--lf-ease-out);
  height: 100%;
}
@media (min-width: 1024px) {
  .lf-plano { padding: 2.5rem; }
}
.lf-plano:hover { border-color: var(--lf-border-dark-strong); transform: translateY(-2px); }
.lf-plano.destaque {
  background: var(--lf-bg-elevated);
  border: 2px solid var(--lf-gold);
  box-shadow: 0 0 48px rgba(212, 176, 98, 0.15);
}
@media (min-width: 1024px) {
  .lf-plano.destaque { transform: scale(1.03); }
  .lf-plano.destaque:hover { transform: scale(1.03) translateY(-2px); }
}
.lf-plano-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lf-gold);
  color: var(--lf-bg);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  z-index: 2;
}

/* AVATAR placeholder for testimonials */
.lf-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--lf-border-dark-strong);
  background:
    radial-gradient(circle at 50% 35%, rgba(212, 176, 98, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, #2D3F2F, #243A26);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-family: var(--lf-font-display);
  font-style: italic;
  color: var(--lf-gold);
  font-size: 1.125rem;
}
