/* landing.css — Ponte Contábil landing page (self-contained, decoupled from styles_presentation.css) */

/* ─── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  /* Yellow palette */
  --lp-y:     #fad32b;
  --lp-y-d:   #f4c21d;
  --lp-y-dd:  #d7b214;
  --lp-y-l:   #ffe36b;
  --lp-y-bg:  rgba(250,211,43,.09);
  --lp-y-glow:rgba(250,211,43,.22);

  /* Backgrounds (dark default) */
  --lp-bg:    #0b0b0a;
  --lp-bg2:   #141413;
  --lp-bg3:   #1a1a18;
  --lp-bg4:   #222221;
  --lp-bg5:   #2a2a28;

  /* Text */
  --lp-tx:    #f0f0ec;
  --lp-tx2:   #c0c0bc;
  --lp-tx3:   #888884;
  --lp-tx4:   #555552;

  /* Border */
  --lp-br:    rgba(255,255,255,.08);
  --lp-br2:   rgba(255,255,255,.12);

  /* Semantic */
  --lp-green: #34c777;
  --lp-red:   #f05252;

  /* Layout */
  --lp-max:   1200px;
  --lp-gap:   clamp(1rem, 4vw, 2rem);
  --lp-r:     .75rem;
  --lp-r2:    1.25rem;

  /* Header height */
  --lp-hh:    64px;

  /* Transition */
  --lp-ease:  cubic-bezier(.25,.46,.45,.94);
}

/* Light theme overrides */
html[data-landing-theme="light"] {
  --lp-bg:    #f2f2ed;
  --lp-bg2:   #e8e8e2;
  --lp-bg3:   #ffffff;
  --lp-bg4:   #f8f8f4;
  --lp-bg5:   #eeeeea;

  --lp-tx:    #111110;
  --lp-tx2:   #333330;
  --lp-tx3:   #666662;
  --lp-tx4:   #999994;

  --lp-br:    rgba(0,0,0,.08);
  --lp-br2:   rgba(0,0,0,.13);

  --lp-y-bg:  rgba(244,194,29,.12);
  --lp-y-glow:rgba(244,194,29,.30);
}
html[data-landing-theme="light"] body.landing-page {
  background-image:
    linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
}

/* ─── BASE RESET ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--lp-hh) + 12px);
  font-size: 16px;
  background: var(--lp-bg2);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body.landing-page {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  background-color: var(--lp-bg);
  background-image:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 60px 60px;
  color: var(--lp-tx);
  min-height: 100dvh;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6 { font-family: 'Sora', sans-serif; line-height: 1.2; color: var(--lp-tx); }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }

a { color: inherit; text-decoration: none; }
ul,ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
img,video { max-width: 100%; display: block; }
svg { display: block; }
address { font-style: normal; }
dialog { border: none; background: none; }
dialog::backdrop { background: rgba(0,0,0,.65); backdrop-filter: blur(4px); }

/* ─── GLOBAL UTILITIES ───────────────────────────────────────────────────── */
.lp-sprite { display: none; }

.lp-icon {
  width: 1.1em; height: 1.1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.lp-skip-link {
  position: fixed; top: 1rem; left: 1rem; z-index: 10000;
  padding: .5rem 1rem;
  background: var(--lp-y); color: #111;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: .85rem;
  border-radius: 4px;
  transform: translateY(-200%);
  transition: transform .2s;
}
.lp-skip-link:focus { transform: translateY(0); }

.lp-container {
  width: 100%; max-width: var(--lp-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 5vw, 2.5rem);
}
.lp-container--narrow { max-width: 800px; }

.lp-kicker {
  font-family: 'Sora', sans-serif;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--lp-y);
  display: flex; align-items: center; gap: .45rem;
}

.lp-section { padding-block: clamp(3.5rem, 8vw, 6rem); }

.lp-section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.lp-section-head--center { text-align: center; }
.lp-section-head--center .lp-kicker { justify-content: center; }
.lp-section-head--split {
  display: flex; flex-wrap: wrap;
  align-items: flex-start; justify-content: space-between;
  gap: 1.5rem;
}

.lp-section-copy {
  font-size: clamp(.9rem, 1.5vw, 1rem);
  color: var(--lp-tx2);
  max-width: 60ch;
}
.lp-section-head--center .lp-section-copy { margin-inline: auto; }

.lp-emphasis { color: var(--lp-y); white-space: nowrap; }

/* ─── BUTTONS ────────────────────────────────────────────────────────────── */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: .88rem;
  letter-spacing: .02em;
  padding: .65rem 1.3rem;
  border-radius: var(--lp-r);
  transition: background .18s var(--lp-ease), color .18s var(--lp-ease),
              box-shadow .18s var(--lp-ease), transform .14s var(--lp-ease);
  white-space: nowrap;
}
.lp-btn:focus-visible {
  outline: 2px solid var(--lp-y);
  outline-offset: 3px;
}
.lp-btn:active { transform: scale(.97); }

.lp-btn--primary {
  background: var(--lp-y);
  color: #111110;
  box-shadow: 0 2px 16px var(--lp-y-glow);
}
.lp-btn--primary:hover {
  background: var(--lp-y-l);
  box-shadow: 0 4px 28px var(--lp-y-glow);
}

.lp-btn--ghost {
  background: transparent;
  color: var(--lp-tx);
  border: 1.5px solid var(--lp-br2);
}
.lp-btn--ghost:hover {
  background: var(--lp-bg3);
  border-color: var(--lp-br2);
}

.lp-btn--dark {
  background: #111110;
  color: #f0f0ec;
  border: 1.5px solid rgba(255,255,255,.15);
}
.lp-btn--dark:hover {
  background: #1a1a18;
}

.lp-btn--sm { font-size: .8rem; padding: .45rem 1rem; }
.lp-btn--lg { font-size: .95rem; padding: .8rem 1.6rem; }

.lp-btn__arrow { width: .9em; height: .9em; }

.lp-icon-button {
  display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: transparent;
  transition: background .15s;
}
.lp-icon-button:hover { background: var(--lp-bg4); }
.lp-icon-button:focus-visible { outline: 2px solid var(--lp-y); outline-offset: 2px; }

/* ─── CHECK + STAT ───────────────────────────────────────────────────────── */
.lp-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.25rem; height: 1.25rem; flex-shrink: 0;
  background: var(--lp-y-bg);
  border: 1.5px solid var(--lp-y);
  border-radius: 50%;
  color: var(--lp-y);
}
.lp-check .lp-icon { width: .7em; height: .7em; }

.lp-stat {
  text-align: left;
}
.lp-stat strong {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--lp-y);
  line-height: 1;
}
.lp-stat span {
  display: block;
  font-size: .8rem;
  color: var(--lp-tx3);
  margin-top: .2rem;
}

/* ─── LINK ARROW ─────────────────────────────────────────────────────────── */
.lp-link-arrow {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: 'Sora', sans-serif; font-size: .85rem; font-weight: 600;
  color: var(--lp-y);
  transition: gap .18s;
}
.lp-link-arrow:hover { gap: .6rem; }
.lp-link-arrow:focus-visible { outline: 2px solid var(--lp-y); outline-offset: 3px; border-radius: 2px; }

/* ─── PULSE DOT ──────────────────────────────────────────────────────────── */
.lp-pulse-dot {
  display: inline-block;
  width: .5rem; height: .5rem;
  border-radius: 50%;
  background: var(--lp-y);
  animation: lp-pulse 2s ease-in-out infinite;
}
@keyframes lp-pulse {
  0%,100% { box-shadow: 0 0 0 0 var(--lp-y-glow); }
  50% { box-shadow: 0 0 0 6px transparent; }
}
@media (prefers-reduced-motion: reduce) { .lp-pulse-dot { animation: none; } }

/* ─── BACKGROUND VIDEO ───────────────────────────────────────────────────── */
/* ─── SCROLL PROGRESS ────────────────────────────────────────────────────── */
.landing-scroll-meter {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9990;
  height: 3px; background: transparent; pointer-events: none;
}
#landing-scroll-progress {
  display: block; height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--lp-y-d), var(--lp-y-l));
  border-radius: 0 2px 2px 0;
  transition: width .1s linear;
}

/* ─── ANNOUNCEMENT BAR ───────────────────────────────────────────────────── */
.lp-announce {
  position: relative; z-index: 200;
  background: var(--lp-y);
  color: #111110;
  font-size: .82rem;
  margin-top: -10px;
  padding: calc(.4rem + 10px) 1rem .4rem;
}
.lp-announce[hidden] { display: none; }
.lp-announce__inner {
  max-width: var(--lp-max);
  margin-inline: auto;
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  flex-wrap: wrap;
}
.lp-announce__badge { line-height: 1; color: #111; }
.lp-announce__badge .lp-icon { width: .85rem; height: .85rem; }
.lp-announce__inner p { font-weight: 500; text-align: center; }
.lp-announce__link {
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: .78rem;
  text-decoration: underline; text-underline-offset: 2px;
  white-space: nowrap;
}
.lp-announce__link:hover { text-decoration: none; }
.lp-announce__close {
  position: absolute; right: .75rem; top: 50%;
  transform: translateY(-50%);
  display: grid; place-items: center;
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  background: rgba(0,0,0,.12);
  transition: background .15s;
}
.lp-announce__close:hover { background: rgba(0,0,0,.22); }
.lp-announce__close .lp-icon { width: .85rem; height: .85rem; stroke: #111; }

/* ─── HEADER ─────────────────────────────────────────────────────────────── */
.lp-header {
  position: sticky; top: 0; z-index: 500;
  background: transparent;
  transition: background .3s var(--lp-ease), box-shadow .3s var(--lp-ease),
              backdrop-filter .3s var(--lp-ease);
}
.lp-header.is-scrolled {
  background: rgba(11,11,10,.88);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 var(--lp-br);
}
html[data-landing-theme="light"] .lp-header.is-scrolled {
  background: rgba(242,242,237,.88);
}

.lp-header__bar {
  display: flex; align-items: center; gap: 1.5rem;
  height: var(--lp-hh);
  padding-inline: clamp(1rem, 5vw, 2.5rem);
  max-width: var(--lp-max); margin-inline: auto; width: 100%;
}

/* Brand */
.lp-brand {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: 'Sora', sans-serif; font-weight: 800;
  font-size: .9rem; letter-spacing: .01em;
  color: var(--lp-tx);
  white-space: nowrap;
  flex-shrink: 0;
}
.lp-brand__logo {
  height: 2rem; width: auto;
  object-fit: contain;
}
/* Dark theme: show white logo, hide colored icon */
.lp-brand__logo--on-dark  { display: block; }
.lp-brand__logo--on-light { display: none; }
html[data-landing-theme="light"] .lp-brand__logo--on-dark  { display: none; }
html[data-landing-theme="light"] .lp-brand__logo--on-light { display: block; }

/* Nav */
.lp-nav { margin-left: auto; }
.lp-nav__list {
  display: none;
  align-items: center; gap: .25rem;
}
@media (min-width: 1100px) { .lp-nav__list { display: flex; } }

.lp-nav__link {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .4rem .6rem;
  font-family: 'Sora', sans-serif; font-size: .82rem; font-weight: 600;
  color: var(--lp-tx2);
  border-radius: 6px;
  transition: color .15s, background .15s;
}
.lp-nav__link:hover,
.lp-nav__link[aria-expanded="true"] { color: var(--lp-tx); background: var(--lp-bg4); }
.lp-nav__link.is-active { color: var(--lp-y); }
.lp-nav__link:focus-visible { outline: 2px solid var(--lp-y); outline-offset: 2px; }

.lp-nav__chevron {
  width: .8em; height: .8em;
  transition: transform .2s;
}
[aria-expanded="true"] .lp-nav__chevron { transform: rotate(180deg); }

/* Header actions */
.lp-header__actions {
  display: flex; align-items: center; gap: .5rem;
  margin-left: auto;
  flex-shrink: 0;
}
@media (min-width: 1100px) { .lp-header__actions { margin-left: 0; } }

.lp-header__login { display: none; }
.lp-header__cta  { display: none; }
@media (min-width: 760px) { .lp-header__login { display: inline-flex; } }
@media (min-width: 1024px){ .lp-header__cta  { display: inline-flex; } }

/* Theme toggle (header) */
.lp-theme-toggle {
  display: grid; place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--lp-bg4);
  border: 1.5px solid var(--lp-br);
  transition: background .15s, border-color .15s;
  position: relative;
}
.lp-theme-toggle:hover { background: var(--lp-bg5); border-color: var(--lp-br2); }
.lp-theme-toggle:focus-visible { outline: 2px solid var(--lp-y); outline-offset: 2px; }
.lp-theme-toggle .lp-icon { width: 1rem; height: 1rem; position: absolute; transition: opacity .2s; }
.lp-theme-toggle__sun  { opacity: 1; }
.lp-theme-toggle__moon { opacity: 0; }
html[data-landing-theme="light"] .lp-theme-toggle__sun  { opacity: 0; }
html[data-landing-theme="light"] .lp-theme-toggle__moon { opacity: 1; }

/* Hamburger */
.lp-menu-button {
  display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: 6px;
  background: var(--lp-bg4);
  border: 1.5px solid var(--lp-br);
  flex-shrink: 0;
}
.lp-menu-button:focus-visible { outline: 2px solid var(--lp-y); outline-offset: 2px; }
@media (min-width: 1100px) { .lp-menu-button { display: none; } }

.lp-menu-button__bars {
  display: flex; flex-direction: column; gap: 5px;
  width: 18px;
}
.lp-menu-button__bars i {
  display: block; height: 1.5px;
  background: var(--lp-tx);
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
[aria-expanded="true"] .lp-menu-button__bars i:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
[aria-expanded="true"] .lp-menu-button__bars i:nth-child(2) { opacity: 0; }
[aria-expanded="true"] .lp-menu-button__bars i:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── MEGA PANEL ──────────────────────────────────────────────────────────── */
.lp-mega {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 490;
  background: var(--lp-bg2);
  border-top: 1px solid var(--lp-br);
  border-bottom: 1px solid var(--lp-br);
  box-shadow: 0 16px 48px rgba(0,0,0,.3);
  animation: lp-mega-in .18s var(--lp-ease) both;
}
.lp-mega[hidden] { display: none; }
@keyframes lp-mega-in {
  from { opacity: 0; transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) { .lp-mega { animation: none; } }

.lp-mega__inner {
  display: flex; flex-direction: column; gap: 1.5rem;
  max-width: var(--lp-max);
  margin-inline: auto;
  padding: 1.5rem clamp(1rem, 5vw, 2.5rem);
}
@media (min-width: 720px) { .lp-mega__inner { flex-direction: row; gap: 2.5rem; } }

.lp-mega__intro { min-width: 200px; max-width: 260px; }
.lp-mega__intro .lp-kicker { margin-bottom: .5rem; }
.lp-mega__lead { font-size: .85rem; color: var(--lp-tx3); line-height: 1.5; margin-block: .6rem; }
.lp-mega__grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  grid-auto-rows: 6.5rem;
  gap: .5rem;
}
.lp-mega__item {
  display: flex; align-items: center; gap: .75rem;
  width: 100%;
  height: 100%;
  padding: .65rem .75rem;
  box-sizing: border-box;
  border-radius: var(--lp-r);
  border: 1.5px solid var(--lp-br);
  background: var(--lp-bg3);
  text-align: left;
  transition: background .15s, border-color .15s;
}
.lp-mega__item:hover { background: var(--lp-bg4); border-color: var(--lp-y); }
.lp-mega__item:focus-visible { outline: 2px solid var(--lp-y); outline-offset: 2px; }
.lp-mega__icon {
  display: grid; place-items: center;
  width: 2rem; height: 2rem; flex-shrink: 0;
  background: var(--lp-y-bg);
  border-radius: 6px;
  color: var(--lp-y);
}
.lp-mega__text { flex: 1; min-width: 0; }
.lp-mega__text strong { display: block; font-size: .85rem; font-weight: 600; color: var(--lp-tx); }
.lp-mega__text small  { display: block; font-size: .75rem; color: var(--lp-tx3); }
.lp-mega__go { margin-left: auto; color: var(--lp-tx4); flex-shrink: 0; opacity: 0; transition: opacity .15s; }
.lp-mega__item:hover .lp-mega__go { opacity: 1; color: var(--lp-y); }

/* ─── MOBILE DRAWER ──────────────────────────────────────────────────────── */
.lp-drawer {
  position: fixed; inset: 0; z-index: 600;
  width: 100%; max-width: 340px;
  margin-left: auto;
  height: 100%;
  padding: 0;
}
.lp-drawer[open] { display: flex; }
.lp-drawer::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(4px); }

.lp-drawer__panel {
  display: flex; flex-direction: column; gap: 0;
  background: var(--lp-bg2);
  border-left: 1px solid var(--lp-br);
  width: 100%; height: 100%;
  overflow-y: auto;
  padding: 1rem 1.25rem 2rem;
  animation: lp-drawer-in .22s var(--lp-ease) both;
}
@keyframes lp-drawer-in {
  from { transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce) { .lp-drawer__panel { animation: none; } }

.lp-drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--lp-br);
  margin-bottom: .5rem;
}

.lp-drawer__links {
  display: flex; flex-direction: column; gap: .25rem;
  padding-block: .5rem;
}
.lp-drawer__links a {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem .25rem;
  font-family: 'Sora', sans-serif; font-size: .9rem; font-weight: 600;
  color: var(--lp-tx2);
  border-bottom: 1px solid var(--lp-br);
  transition: color .15s;
}
.lp-drawer__links a:hover { color: var(--lp-tx); }
.lp-drawer__links .lp-icon { width: .8em; height: .8em; color: var(--lp-tx4); }

.lp-drawer__modules { padding-block: 1rem; }
.lp-drawer__modules .lp-kicker { margin-bottom: .75rem; }

.lp-drawer__chips {
  display: flex; flex-wrap: wrap; gap: .5rem;
}
.lp-drawer__chips button {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .75rem;
  font-size: .8rem; font-weight: 600;
  background: var(--lp-bg4);
  border: 1.5px solid var(--lp-br);
  border-radius: 2rem;
  color: var(--lp-tx2);
  transition: background .15s, border-color .15s, color .15s;
}
.lp-drawer__chips button:hover { background: var(--lp-bg5); border-color: var(--lp-y); color: var(--lp-tx); }
.lp-drawer__chips .lp-icon { width: .85em; height: .85em; color: var(--lp-y); }

.lp-drawer__actions {
  display: flex; flex-direction: column; gap: .75rem;
  margin-top: auto; padding-top: 1.5rem;
  border-top: 1px solid var(--lp-br);
}

.lp-drawer__theme {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem .75rem;
  border-radius: var(--lp-r);
  border: 1.5px solid var(--lp-br);
  background: var(--lp-bg4);
  font-size: .85rem; font-weight: 600; color: var(--lp-tx2);
  transition: background .15s;
}
.lp-drawer__theme:hover { background: var(--lp-bg5); }
.lp-drawer__theme-icon { display: flex; gap: .25rem; }
.lp-drawer__theme-icon .lp-icon { width: .9rem; height: .9rem; }
.lp-drawer__theme-icon .lp-theme-toggle__sun  { display: block; }
.lp-drawer__theme-icon .lp-theme-toggle__moon { display: none; }
html[data-landing-theme="light"] .lp-drawer__theme-icon .lp-theme-toggle__sun  { display: none; }
html[data-landing-theme="light"] .lp-drawer__theme-icon .lp-theme-toggle__moon { display: block; }

/* ─── HERO ────────────────────────────────────────────────────────────────── */
.lp-hero {
  position: relative; z-index: 1;
  padding-block: clamp(4rem, 10vw, 7rem) clamp(3rem, 7vw, 5rem);
  min-height: 90svh;
  display: flex; align-items: center;
}

.lp-hero__decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.lp-hero__grid-lines {
  display: none;
}

.lp-hero__glow {
  position: absolute; top: -20%; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(ellipse, var(--lp-y-glow) 0%, transparent 65%);
  pointer-events: none;
}

.lp-plus {
  position: absolute;
  width: 1.1rem; height: 1.1rem;
  pointer-events: none;
}
.lp-plus::before, .lp-plus::after {
  content: '';
  position: absolute;
  background: var(--lp-y);
  border-radius: 1px;
}
.lp-plus::before { width: 100%; height: 2px; top: 50%; margin-top: -1px; }
.lp-plus::after  { width: 2px; height: 100%; left: 50%; margin-left: -1px; }
.lp-plus--a { top: 20%; left: 8%;  opacity: .5; }
.lp-plus--b { top: 55%; left: 3%;  opacity: .3; transform: scale(.7); }
.lp-plus--c { top: 15%; right: 5%; opacity: .5; }

.lp-hero__grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.lp-hero { overflow-x: clip; }
@media (min-width: 860px) {
  .lp-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
  }
}

.lp-hero__copy { display: flex; flex-direction: column; gap: 1.25rem; }

.lp-hero__kicker { margin-bottom: -.25rem; }

.lp-hero h1 { max-width: 20ch; }
.lp-hero h1 .lp-emphasis { white-space: normal; }

.lp-hero__subtitle {
  font-size: clamp(.9rem, 1.6vw, 1.05rem);
  color: var(--lp-tx2); max-width: 52ch;
}

.lp-hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
@media (min-width: 400px) {
  .lp-hero__cta { flex-wrap: nowrap; gap: .6rem; }
  .lp-hero__cta .lp-btn--lg { font-size: .8rem; padding: .7rem .9rem; }
}

.lp-hero__proof {
  display: flex; flex-direction: column; gap: .45rem;
}
.lp-hero__proof li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .88rem; color: var(--lp-tx2);
}

.lp-hero__stats {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  padding-top: .5rem;
  border-top: 1px solid var(--lp-br);
}

/* Metric cards in the hero. */
.lp-hero__stats.landing-micro-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 0;
  border-top: 0;
}
.landing-micro-stats .lp-stat {
  display: flex;
  min-width: 0;
  min-height: 5.6rem;
  padding: .8rem .9rem;
  flex-direction: column;
  justify-content: center;
  gap: .55rem;
  border: 1px solid rgba(244, 194, 29, .28);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(47, 38, 10, .58), rgba(14, 14, 13, .74));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 14px 28px rgba(0, 0, 0, .18);
  transition: transform .18s var(--lp-ease), border-color .18s var(--lp-ease), box-shadow .18s var(--lp-ease);
}
.landing-micro-stats .lp-stat strong {
  margin: 0;
  color: var(--lp-tx);
  max-width: 100%;
  overflow: visible;
  font-size: clamp(.88rem, 1.08vw, 1.05rem);
  line-height: 1.1;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.landing-micro-stats .lp-stat:nth-child(2) strong {
  text-align: center;
  white-space: normal;
}
.landing-micro-stats .lp-stat strong em {
  color: var(--lp-y);
  font-style: normal;
}
.landing-micro-stats .lp-stat span {
  color: var(--lp-tx2);
  font-size: .72rem;
  line-height: 1.32;
  overflow-wrap: anywhere;
}
.landing-micro-stats .lp-stat:hover {
  transform: translateY(-3px);
  border-color: rgba(250,211,43,.58);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 18px 34px rgba(0, 0, 0, .26);
}
html[data-landing-theme="light"] .landing-micro-stats .lp-stat {
  background: linear-gradient(145deg, #fffdf5, #f4efe1);
  border-color: rgba(180, 137, 0, .34);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 12px 24px rgba(67, 51, 7, .10);
}
html[data-landing-theme="light"] .landing-micro-stats .lp-stat:hover {
  border-color: rgba(180, 137, 0, .62);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 16px 28px rgba(67, 51, 7, .14);
}
@media (max-width: 599px) {
  .lp-hero__stats.landing-micro-stats { grid-template-columns: 1fr; }
  .landing-micro-stats .lp-stat { min-height: 0; gap: .65rem; }
}

/* Hero visual */
.lp-hero__visual { display: flex; align-items: center; justify-content: center; }

.lp-hero__stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: min(620px, 96vw);
}

.lp-hero__halo {
  position: absolute; inset: -15%;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--lp-y-glow) 0%, transparent 60%);
  animation: lp-halo 4s ease-in-out infinite alternate;
}
@keyframes lp-halo {
  from { opacity: .6; transform: scale(.95); }
  to   { opacity: 1; transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) { .lp-hero__halo { animation: none; } }

.lp-hero__orbit {
  display: none;
}
@keyframes lp-orbit-spin { to { transform: rotate(360deg); } }

.lp-hero__person {
  position: relative; z-index: 1;
  width: 100%; height: auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.4));
}

/* Keep the complete opening message in the first viewport on desktop.  The
   announcement and navigation consume vertical space before the hero, so a
   fixed 90vh hero pushed its final actions below the fold. */
@media (min-width: 860px) and (min-height: 620px) {
  .lp-hero {
    min-height: calc(100svh - var(--lp-hh) - 2.25rem);
    padding-block: clamp(1.5rem, 3.5vh, 2.5rem);
  }

  .lp-hero__grid {
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }

  .lp-hero__copy {
    gap: clamp(.7rem, 1.4vh, 1rem);
    position: relative;
    left: clamp(-5rem, -6vw, -2rem);
  }

  .lp-hero h1 {
    max-width: 24ch;
    font-size: clamp(2.75rem, 3.25vw, 3.25rem);
    line-height: .98;
  }
  .lp-hero__title-line { display: block; white-space: nowrap; }

  .lp-hero__subtitle { line-height: 1.5; }
  .lp-hero__cta { gap: .6rem; }
  .lp-hero__proof { gap: .3rem; }
  .lp-hero__stats { gap: 1rem; padding-top: .35rem; }
  .lp-hero__stage {
    width: min(740px, 54vw);
    transform: translate(2rem, -2rem);
  }
}

@media (min-width: 600px) and (max-width: 859px) {
  .lp-hero__stage {
    width: min(660px, 94vw);
    transform: translate(1rem, -3rem);
  }
}

/* ─── TICKER ──────────────────────────────────────────────────────────────── */
.lp-ticker {
  position: relative; z-index: 1;
  overflow: hidden;
  background: var(--lp-y);
  padding-block: .6rem;
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}
.lp-ticker__track {
  display: flex;
  animation: lp-ticker-scroll 28s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .lp-ticker__track { animation: none; } }

@keyframes lp-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.lp-ticker__list {
  display: flex; align-items: center; gap: 0;
  flex-shrink: 0;
  white-space: nowrap;
}
.lp-ticker__list li {
  padding: 0 2rem;
  font-family: 'Sora', sans-serif;
  font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: #111110;
}
.lp-ticker__list li::after {
  content: '·';
  margin-left: 2rem;
  opacity: .4;
}

/* ─── DEMO SECTION ────────────────────────────────────────────────────────── */
.lp-demo-section {
  position: relative; z-index: 1;
  background: var(--lp-bg);
}

.lp-demo-section .lp-section-head--split { align-items: flex-start; }
.lp-demo-section .lp-section-head__copy { flex: 1; max-width: 680px; }
.lp-demo-section #demo-title em {
  color: var(--lp-y);
  font-style: normal;
}
@media (min-width: 600px) {
  .lp-demo-section #demo-title > span { display: block; }
}

.lp-badges {
  display: flex; flex-direction: column; gap: .5rem;
  flex-shrink: 0;
}
.lp-badges li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .88rem; color: var(--lp-tx2);
}
.lp-badges .lp-icon { color: var(--lp-y); }

/* Browser-frame wrapper */
.lp-demo-stage { margin-top: 1.5rem; }

.lp-demo-window {
  border-radius: var(--lp-r2);
  overflow: hidden;
  box-shadow:
    0 0 0 1.5px var(--lp-br2),
    0 24px 80px rgba(0,0,0,.5),
    0 4px 16px rgba(0,0,0,.3);
}

.lp-demo-window__bar {
  display: flex; align-items: center; gap: .75rem;
  padding: .55rem 1rem;
  background: var(--lp-bg2);
  border-bottom: 1px solid var(--lp-br);
}
.lp-demo-window__dots {
  display: flex; gap: 5px;
}
.lp-demo-window__dots i {
  display: block;
  width: .7rem; height: .7rem;
  border-radius: 50%;
  background: var(--lp-bg5);
}
.lp-demo-window__dots i:nth-child(1) { background: #f05151; }
.lp-demo-window__dots i:nth-child(2) { background: #f5a623; }
.lp-demo-window__dots i:nth-child(3) { background: #6ac248; }

.lp-demo-window__title {
  display: flex; align-items: center; gap: .35rem;
  font-size: .75rem; color: var(--lp-tx4);
  margin-inline: auto;
}
.lp-demo-window__title .lp-icon { width: .7em; height: .7em; }
.lp-demo-window__spacer { width: 3.5rem; }

/* ─── PLATFORM SECTION ────────────────────────────────────────────────────── */
.lp-platform {
  position: relative; z-index: 1;
  background: var(--lp-bg2);
}

.lp-platform__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 860px) {
  .lp-platform__grid { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
}

.lp-platform__copy { display: flex; flex-direction: column; gap: 1.4rem; }
.lp-platform__copy h2 { max-width: 16ch; font-size: clamp(1.9rem, 3.15vw, 2.7rem); line-height: 1.12; }
.lp-platform__copy h2 span { color: var(--lp-y); }
.lp-platform__text { display: flex; flex-direction: column; gap: .9rem; }
.lp-platform__text p { font-size: clamp(.96rem, 1.05vw, 1.04rem); color: var(--lp-tx2); line-height: 1.7; }

.lp-resources {
  display: flex; flex-wrap: wrap; gap: .6rem;
}
.lp-resources li {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .75rem;
  font-family: 'Sora', sans-serif; font-size: .78rem; font-weight: 600;
  border-radius: 2rem;
  background: var(--lp-y-bg);
  border: 1.5px solid var(--lp-y);
  color: var(--lp-y);
}
.lp-resources .lp-icon { width: .85em; height: .85em; }

.lp-platform__art { display: flex; align-items: center; justify-content: center; min-width: 0; order: -1; }
.lp-platform__art img {
  width: 100%; height: auto; max-width: none;
  border: 0; border-radius: 0; background: transparent; box-shadow: none;
  filter: drop-shadow(0 16px 24px rgba(0,0,0,.24));
}
@media (min-width: 860px) {
  .lp-platform__grid { gap: clamp(2rem, 4.5vw, 3.5rem); }
}

/* ─── FEATURES SECTION ────────────────────────────────────────────────────── */
.lp-features {
  position: relative; z-index: 1;
  background: var(--lp-bg);
}

/* landing_features.js renders its tabs/carousel into #landing-features */
#landing-features {
  margin-top: 0;
  /* The features JS injects its own structure; we ensure the container is not clipped */
  overflow: visible;
}

/* ─── PRICING SECTION ───────────────────────────────────────────────────── */
.lp-pricing {
  position: relative; z-index: 1;
  background: var(--lp-bg2);
}
.lp-pricing .lp-container { max-width: 1200px; }

/* ── Two-column inner layout ── */
.lp-pricing__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}
.lp-pricing__inner > * { min-width: 0; } /* previne overflow nos filhos do grid */
@media (min-width: 820px) {
  .lp-pricing__inner { grid-template-columns: 5fr 6fr; }
}

/* ── Left: text column ── */
.lp-pricing__text { display: flex; flex-direction: column; }
.lp-pricing__text h2 { margin-top: .75rem; }
.lp-pricing__text .lp-section-copy { margin-top: .9rem; max-width: 480px; }
.lp-plans__note {
  margin-top: .8rem;
  color: var(--lp-tx3);
  font-size: .77rem;
  line-height: 1.55;
  max-width: 460px;
}

/* WhatsApp CTA */
.lp-btn--wa {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  align-self: flex-start;
  margin-top: 2rem;
  padding: .75rem 1.6rem;
  background: #25D366;
  color: #fff;
  border-radius: var(--lp-r);
  font: 700 .9rem/1.2 'Sora', sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s var(--lp-ease), box-shadow .2s var(--lp-ease), transform .14s var(--lp-ease);
}
.lp-btn--wa:hover { background: #1ebe5a; box-shadow: 0 4px 24px rgba(37,211,102,.32); }
.lp-btn--wa:active { transform: scale(.97); }
.lp-btn--wa .lp-icon { width: 1.2rem; height: 1.2rem; }

/* ── Right: carousel wrapper ── */
.lp-plans__carousel {
  position: relative;
  padding: 0 clamp(2.25rem, 4vw, 3rem);
  min-width: 0; /* evita overflow no grid */
}

.lp-plans__viewport {
  overflow: hidden;
  border-radius: 1.75rem;
  width: 100%; /* garante clip correto */
  box-shadow:
    0 0 0 1px var(--lp-br2),
    0 24px 64px rgba(0,0,0,.38),
    0 8px 24px rgba(0,0,0,.22);
}

.lp-plans__track {
  display: flex;
  width: 100%; /* base para o 100% dos cards */
  will-change: transform;
  transition: transform .42s cubic-bezier(.25,.46,.45,.94);
}

/* ── Card (carrossel slot) ── */
.lp-plan {
  position: relative;
  flex: 0 0 100%;
  width: 100%; /* explícito para translateX calcular certo */
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Topo do card: seção escura com nome do plano */
.lp-plan__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .9rem;
  padding: 2rem 1.75rem 1.75rem;
  background: var(--lp-bg4);
  border-bottom: 1px solid var(--lp-br2);
  text-align: center;
}
.lp-plan__header h3 {
  margin: 0;
  font: 800 clamp(1.25rem, 3vw, 1.6rem)/1.1 'Sora', sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--lp-tx);
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%;
}

/* Ícone no header */
.lp-plan__icon {
  display: grid;
  width: 3rem; height: 3rem;
  place-items: center;
  border: 1px solid rgba(250,211,43,.32);
  border-radius: 1rem;
  background: rgba(250,211,43,.1);
  color: var(--lp-y);
}
.lp-plan__icon .lp-icon { width: 1.4rem; height: 1.4rem; }

/* Tier dots */
.lp-plan__tier { display: flex; gap: .38rem; }
.lp-plan__tier i {
  display: block;
  width: .58rem; height: .58rem;
  border-radius: 50%;
  background: var(--lp-y);
  opacity: .85;
}
.lp-plan__tier i.lp-plan__tier-off {
  background: transparent;
  border: 1.5px solid var(--lp-tx4);
  opacity: .4;
}

/* Corpo do card */
.lp-plan__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.75rem;
  background: var(--lp-bg3);
}

/* Preço */
.lp-plan__price-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--lp-br);
  margin-bottom: 1.4rem;
  text-align: center;
}
.lp-plan__price { display: flex; align-items: baseline; gap: .35rem; margin: 0; }
.lp-plan__price span {
  font: 800 clamp(3rem, 8vw, 3.8rem)/1 'Sora', sans-serif;
  letter-spacing: -.06em;
  color: var(--lp-tx);
}
.lp-plan__price small { color: var(--lp-tx3); font-size: .95rem; }
.lp-plan__per { color: var(--lp-tx3); font-size: .78rem; }
.lp-plan__description { margin: 0 0 1.25rem; color: var(--lp-tx3); font-size: .85rem; line-height: 1.5; text-align: center; }

/* Lista de recursos */
.lp-plan__features {
  display: grid;
  gap: .8rem;
  list-style: none;
  margin: 0 0 1.5rem;
  flex: 1;
}
.lp-plan__features li {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  align-items: start;
  gap: .6rem;
  color: var(--lp-tx2);
  font-size: .88rem;
  line-height: 1.48;
}
.lp-plan__features li span {
  display: grid;
  width: 1.25rem; height: 1.25rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(250,211,43,.14);
  color: var(--lp-y);
  font-size: .65rem;
  font-weight: 900;
  margin-top: .1rem;
}

/* Botão CTA */
.lp-plan__cta { width: 100%; margin-top: auto; }

/* ── Badge "Mais popular" ── */
.lp-plan__badge {
  position: absolute;
  top: 1rem; right: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: .38rem .78rem;
  border: 1px solid rgba(250,211,43,.55);
  border-radius: 999px;
  background: rgba(250,211,43,.15);
  color: var(--lp-y);
  font: 700 .66rem/1.2 'Sora', sans-serif;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 0 14px rgba(250,211,43,.18);
  z-index: 1;
}
.lp-plan__badge .lp-icon { width: .78rem; height: .78rem; }

/* ── Card em destaque (Gerencial) ── */
.lp-plan--featured .lp-plan__header {
  background: var(--lp-bg5);
  border-bottom-color: rgba(250,211,43,.22);
}
.lp-plan--featured .lp-plan__header h3 { color: var(--lp-y); }
.lp-plan--featured .lp-plan__icon {
  border-color: rgba(250,211,43,.55);
  background: rgba(250,211,43,.15);
  box-shadow: 0 0 18px rgba(250,211,43,.18);
}
.lp-plan--featured .lp-plan__tier i { box-shadow: 0 0 8px var(--lp-y-glow); }
.lp-plan--featured .lp-plan__price span {
  color: var(--lp-y);
  text-shadow: 0 0 28px rgba(250,211,43,.3);
}
.lp-plan--featured .lp-plan__features li span { background: rgba(250,211,43,.2); }
.lp-plan--featured .lp-plan__body {
  background: linear-gradient(180deg, var(--lp-bg3) 0%, var(--lp-bg2) 100%);
}

/* ── Setas de navegação ── */
.lp-plans__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: grid;
  place-items: center;
  width: 2.6rem; height: 2.6rem;
  border: 1px solid var(--lp-br2);
  border-radius: 50%;
  background: var(--lp-bg3);
  color: var(--lp-tx2);
  cursor: pointer;
  padding: 0;
  transition: background .2s var(--lp-ease), color .2s var(--lp-ease),
              border-color .2s var(--lp-ease), box-shadow .2s var(--lp-ease),
              transform .18s var(--lp-ease);
}
.lp-plans__nav:focus-visible { outline: 2px solid var(--lp-y); outline-offset: 3px; }
.lp-plans__nav--prev { left: 0; }
.lp-plans__nav--next { right: 0; }
.lp-plans__nav:hover {
  background: var(--lp-bg4);
  color: var(--lp-y);
  border-color: rgba(250,211,43,.45);
  box-shadow: 0 0 16px rgba(250,211,43,.15);
  transform: translateY(-50%) scale(1.1);
}

/* ── Indicadores (dots) ── */
.lp-plans__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: .48rem;
  margin-top: 1.25rem;
}
.lp-plans__dot {
  width: .55rem; height: .55rem;
  border-radius: 50%;
  border: none; padding: 0;
  background: var(--lp-br2);
  cursor: pointer;
  transition: background .25s var(--lp-ease), width .25s var(--lp-ease), border-radius .25s var(--lp-ease);
}
.lp-plans__dot--active {
  background: var(--lp-y);
  width: 1.6rem;
  border-radius: .3rem;
}
.lp-plans__dot:hover:not(.lp-plans__dot--active) { background: var(--lp-tx4); }

/* ── Responsivo ── */
@media (max-width: 819px) {
  .lp-pricing__text { text-align: center; align-items: center; }
  .lp-pricing__text .lp-section-copy,
  .lp-plans__note { max-width: 520px; margin-left: auto; margin-right: auto; }
  .lp-btn--wa { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-plans__track { transition: none; }
  .lp-plans__nav { transition: none; }
}

/* ── Tema claro ── */
html[data-landing-theme="light"] .lp-plans__viewport {
  box-shadow: 0 0 0 1px rgba(0,0,0,.1), 0 24px 64px rgba(16,16,12,.18);
}
html[data-landing-theme="light"] .lp-plan__header { background: #e8e8e0; }
html[data-landing-theme="light"] .lp-plan--featured .lp-plan__header { background: #dedad0; }
html[data-landing-theme="light"] .lp-plan__body { background: #f8f8f4; }
html[data-landing-theme="light"] .lp-plan--featured .lp-plan__body {
  background: linear-gradient(180deg, #f8f8f4 0%, #f0f0ea 100%);
}
html[data-landing-theme="light"] .lp-plans__nav {
  background: #fff; border-color: rgba(0,0,0,.12); color: #333;
}
html[data-landing-theme="light"] .lp-plans__nav:hover {
  background: #f8f8f4; border-color: #d7b214; color: #6e5600;
}
html[data-landing-theme="light"] .lp-plans__dot { background: rgba(0,0,0,.14); }
html[data-landing-theme="light"] .lp-plan__icon { border-color: rgba(183,145,0,.35); color: #6e5600; }
html[data-landing-theme="light"] .lp-plan--featured .lp-plan__icon { border-color: rgba(183,145,0,.55); }
html[data-landing-theme="light"] .lp-plan__tier i { background: #d7b214; }
html[data-landing-theme="light"] .lp-plan__tier i.lp-plan__tier-off { border-color: var(--lp-tx3); }
html[data-landing-theme="light"] .lp-plan__features li span { background: rgba(183,145,0,.14); color: #6e5600; }
html[data-landing-theme="light"] .lp-plan--featured .lp-plan__features li span { background: rgba(183,145,0,.2); }
html[data-landing-theme="light"] .lp-plan__badge { border-color: rgba(183,145,0,.45); background: rgba(183,145,0,.12); color: #6e5600; }
html[data-landing-theme="light"] .lp-plan--featured .lp-plan__price span { color: #a07800; text-shadow: none; }

/* ── Public company pricing cards ── */
.lp-plans-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.lp-plans-audience,
.lp-period-control,
.lp-period-static {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .4rem .8rem;
  border: 1px solid var(--lp-br2);
  border-radius: 999px;
  background: var(--lp-bg3);
  color: var(--lp-tx2);
  font-size: .85rem;
  white-space: nowrap;
}
.lp-plans-audience svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: none;
  stroke: var(--lp-tx2);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lp-plans-audience span { color: var(--lp-tx3); }
.lp-period-control {
  gap: .5rem;
  min-height: 2.3rem;
  padding: .24rem .78rem;
  border-color: #dce5ef;
  background: #fff;
  color: #40566d;
  box-shadow: 0 1px 3px rgba(20, 48, 76, .06);
  font-size: .85rem;
}
.lp-period-control [data-period-label] { color: #718094; transition: color .2s ease; }
.lp-period-control [data-period-label][aria-current="true"] { color: #18324d; font-weight: 700; }
.lp-period-control strong {
  margin-left: .35rem;
  color: #00834d;
  font-size: .76rem;
  font-weight: 700;
}
html[data-landing-theme="dark"] .lp-pricing { background: #141413; }
html[data-landing-theme="dark"] .lp-period-control {
  border-color: #3a3a35;
  background: #1b1b19;
  color: #d1d1ca;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .24);
}
html[data-landing-theme="dark"] .lp-period-control [data-period-label] { color: #9a9a92; }
html[data-landing-theme="dark"] .lp-period-control [data-period-label][aria-current="true"] { color: #f4f2eb; }
html[data-landing-theme="dark"] .lp-period-control strong { color: #22b573; }
.lp-period-switch {
  position: relative;
  width: 2.9rem;
  height: 1.8rem;
  flex: 0 0 auto;
  padding: .12rem;
  border: 2px solid #078bd2;
  border-radius: 999px;
  background: #087fba;
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease;
}
.lp-period-switch span {
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,.22);
  transition: transform .2s ease;
}
.lp-period-switch[aria-checked="true"] span { transform: translateX(1.2rem); }
.lp-period-switch:focus-visible { outline: 2px solid #078bd2; outline-offset: 3px; }
.lp-period-static { color: var(--lp-tx); font-weight: 700; }
.lp-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 1rem;
}
.lp-price-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border: 1px solid var(--lp-br2);
  border-radius: 1rem;
  background: var(--lp-bg3);
  color: var(--lp-tx);
}
.lp-price-card[hidden] { display: none !important; }
.lp-price-card h3 { margin: 0; font-size: 1.18rem; font-weight: 750; }
.lp-price-card__description {
  min-height: 3em;
  margin-top: .55rem;
  color: var(--lp-tx2);
  font-size: .9rem;
  line-height: 1.5;
}
.lp-price-card__price {
  min-height: 2.35rem;
  display: flex;
  align-items: baseline;
  gap: .38rem;
  margin-top: 1.1rem;
  white-space: nowrap;
}
.lp-price-card__price del { color: var(--lp-tx3); font-size: .83rem; }
.lp-price-card__price strong { color: var(--lp-tx); font-size: clamp(1.65rem, 2.25vw, 2rem); font-weight: 800; line-height: 1; }
.lp-price-card__price span { color: var(--lp-tx2); font-size: .82rem; }
.lp-price-card__saving {
  min-height: 1.4rem;
  margin-top: .45rem;
  color: var(--lp-green);
  font-size: .8rem;
  font-weight: 700;
}
.lp-price-card__billing { margin-top: .2rem; color: var(--lp-tx3); font-size: .76rem; }
.lp-price-card__cta {
  min-height: 3.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.1rem;
  padding: .7rem 1rem;
  border: 1px solid var(--lp-br2);
  border-radius: .75rem;
  color: var(--lp-tx);
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}
.lp-price-card__cta:hover { border-color: var(--lp-y); background: var(--lp-y-bg); transform: translateY(-1px); }
.lp-price-card__cta:focus-visible { outline: 2px solid var(--lp-y); outline-offset: 3px; }
.lp-price-card__features {
  display: grid;
  gap: .55rem;
  margin-top: 1.05rem;
}
.lp-price-card__features li {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  align-items: start;
  gap: .55rem;
  color: var(--lp-tx2);
  font-size: .86rem;
  line-height: 1.45;
}
.lp-price-card__features li span { color: var(--lp-green); font-weight: 800; }
.lp-price-card--empty { grid-column: 1 / -1; min-height: 14rem; justify-content: center; }

html[data-landing-theme="light"] .lp-pricing { background: #f4f7fb; }
html[data-landing-theme="light"] .lp-plans-audience,
html[data-landing-theme="light"] .lp-period-control,
html[data-landing-theme="light"] .lp-period-static,
html[data-landing-theme="light"] .lp-price-card { border-color: #dce5ef; background: #fff; color: #132b46; }
html[data-landing-theme="light"] .lp-plans-audience { color: #164d7b; }
html[data-landing-theme="light"] .lp-plans-audience svg { stroke: #164d7b; }
html[data-landing-theme="light"] .lp-period-control [data-period-label][aria-current="true"],
html[data-landing-theme="light"] .lp-price-card h3,
html[data-landing-theme="light"] .lp-price-card__price strong { color: #132b46; }
html[data-landing-theme="light"] .lp-price-card__cta { border-color: #cbd8e6; color: #132b46; background: #fff; }
html[data-landing-theme="light"] .lp-price-card__cta:hover { border-color: var(--lp-y); background: var(--lp-y); color: #0b0b00; }
html[data-landing-theme="light"] .lp-price-card__saving,
html[data-landing-theme="light"] .lp-price-card__features li span { color: #00834d; }

@media (max-width: 980px) {
  .lp-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .lp-plans-toolbar { align-items: flex-start; flex-direction: column; }
  .lp-price-grid { grid-template-columns: minmax(0, 1fr); }
  .lp-price-card__description { min-height: 0; }
}

/* ── Pricing section header ─────────────────────────────────────────────── */
.lp-pricing__head { margin-bottom: 2.25rem; }
.lp-pricing__title {
  margin-top: .5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -.035em;
  color: var(--lp-tx);
  line-height: 1.18;
}
.lp-pricing__subtitle {
  margin-top: .6rem;
  color: var(--lp-tx3);
  font-size: .9rem;
  line-height: 1.5;
}

/* ── Audience switcher pill ──────────────────────────────────────────────── */
.lp-plans-audience-switch {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  min-height: 2.5rem;
  padding: .4rem .9rem;
  border: 1.5px solid var(--lp-br2);
  border-radius: 999px;
  background: var(--lp-bg3);
  color: var(--lp-tx2);
  font-size: .82rem;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
  white-space: nowrap;
}
.lp-plans-audience-switch strong {
  color: var(--lp-tx);
  font-weight: 650;
}
.lp-plans-audience-switch:hover {
  border-color: var(--lp-y);
  color: var(--lp-tx);
  background: var(--lp-y-bg);
}
.lp-plans-audience-switch:focus-visible { outline: 2px solid var(--lp-y); outline-offset: 3px; }
.lp-plans-audience-switch svg {
  width: 1rem; height: 1rem;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ── Improved card appearance ────────────────────────────────────────────── */
.lp-price-card {
  padding: 1.65rem 1.6rem;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.lp-price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 56px rgba(0,0,0,.32);
  border-color: var(--lp-br2);
}
.lp-price-card h3 { font-size: 1.22rem; }
.lp-price-card__description { font-size: .88rem; }
.lp-price-card__price { margin-top: 1.25rem; }
.lp-price-card__price strong { font-size: clamp(1.8rem, 2.5vw, 2.1rem); }
.lp-price-card__saving { margin-top: .55rem; }
.lp-price-card__cta { margin-top: 1.2rem; letter-spacing: .01em; }
.lp-price-card__cta:hover {
  background: var(--lp-y);
  border-color: var(--lp-y);
  color: #0b0b00;
  transform: translateY(-2px);
}
.lp-price-card__features { margin-top: 1.3rem; gap: .6rem; }
.lp-price-card__features li { font-size: .85rem; }

/* ── Light theme: new elements ───────────────────────────────────────────── */
html[data-landing-theme="light"] .lp-plans-audience-switch {
  border-color: #cbd8e6;
  color: #1e4e7a;
  background: #fff;
}
html[data-landing-theme="light"] .lp-plans-audience-switch strong { color: #132b46; }
html[data-landing-theme="light"] .lp-plans-audience-switch:hover {
  border-color: #0b679e;
  color: #132b46;
  background: #f0f7fc;
}
html[data-landing-theme="light"] .lp-price-card:hover {
  box-shadow: 0 12px 40px rgba(10,40,100,.13);
  border-color: #b8cfe5;
}

.lp-differentials {
  position: relative; z-index: 1;
  background: var(--lp-bg);
  padding-bottom: 0;
}
.landing-routine-showcase { padding-top: clamp(2.5rem, 5vw, 4rem); overflow-x: clip; }

.lp-differentials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
@media (min-width: 860px) {
  .lp-differentials__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
}

.lp-differentials__visual {
  border-radius: var(--lp-r2);
  overflow: visible;
  position: relative;
  max-width: 100%;
}
.lp-differentials__visual img {
  width: 100%; height: auto;
  display: block;
  max-width: 100%;
}
.routine-showcase-visual .routine-showcase-notebook-animation { width: 150%; max-width: none; height: auto; margin-inline: -25%; }
@media (min-width: 860px) {
  .routine-showcase-visual .routine-showcase-notebook-animation { width: 130%; margin-inline: -15%; }
}

.lp-differentials__product {
  display: flex; flex-direction: column; gap: 1.25rem;
}
.lp-differentials__actions { display: flex; flex-direction: column; gap: .75rem; }
.routine-showcase-video-trigger {
  align-self: center;
  width: fit-content;
}
.routine-showcase-video-trigger .lp-video-trigger__icon {
  width: 1.2rem;
  height: 1.2rem;
  background: transparent;
  border: 1px solid currentColor;
  color: var(--lp-y);
}
.routine-showcase-video-trigger .lp-video-trigger__icon .lp-icon {
  width: .58rem;
  height: .58rem;
}

.lp-video-trigger {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: 'Sora', sans-serif; font-size: .85rem; font-weight: 600;
  color: var(--lp-tx2);
  padding: .5rem 0;
  transition: color .15s, gap .15s;
}
.lp-video-trigger:hover { color: var(--lp-tx); gap: .85rem; }
.lp-video-trigger:focus-visible { outline: 2px solid var(--lp-y); outline-offset: 3px; border-radius: 3px; }
.lp-video-trigger__icon {
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  background: var(--lp-y);
  border-radius: 50%;
  color: #111;
  transition: transform .18s;
}
.lp-video-trigger:hover .lp-video-trigger__icon { transform: scale(1.1); }
.lp-video-trigger__icon .lp-icon { width: .9rem; height: .9rem; fill: currentColor; }

.lp-differentials__copy { display: flex; flex-direction: column; gap: 1.5rem; }
.lp-differentials__copy h2 { line-height: 1.15; }

.lp-benefits { display: flex; flex-direction: column; gap: 1.25rem; }

.lp-benefit {
  display: flex; gap: 1rem; align-items: flex-start;
}
.lp-benefit__icon {
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; flex-shrink: 0;
  background: var(--lp-y-bg);
  border: 1.5px solid var(--lp-y);
  border-radius: var(--lp-r);
  color: var(--lp-y);
}
.lp-benefit h3 { font-size: .95rem; font-weight: 700; margin-bottom: .35rem; color: var(--lp-tx); }
.lp-benefit p  { font-size: .88rem; color: var(--lp-tx2); line-height: 1.55; }

/* ─── BRAND BANNER ────────────────────────────────────────────────────────── */
.lp-banner {
  overflow-x: auto;
  overflow-y: hidden;
  margin: 0;
  padding: 0;
  width: 100%;
  cursor: grab;
  scrollbar-width: none;
  touch-action: pan-y;
}
.lp-banner::-webkit-scrollbar { display: none; }
.lp-banner.is-dragging { cursor: grabbing; }
.lp-banner__track {
  display: flex;
  width: max-content;
}

.lp-banner__track img {
  flex-shrink: 0;
  width: 100vw;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}

/* Video dialog */
.emissao-video-dialog {
  position: fixed; inset: 0; z-index: 9000;
  display: none;
  width: min(900px, 95vw);
  margin: auto;
  border-radius: var(--lp-r2);
  overflow: hidden;
  background: var(--lp-bg2);
  box-shadow: 0 24px 80px rgba(0,0,0,.7);
}
.emissao-video-dialog[open] { display: flex; flex-direction: column; }
.emissao-video-dialog-content { display: flex; flex-direction: column; width: 100%; }
.emissao-video-dialog header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--lp-br);
}
.emissao-video-dialog header h2 { font-size: 1rem; }
.emissao-video-dialog header button {
  display: grid; place-items: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  font-size: 1.4rem; line-height: 1;
  color: var(--lp-tx3);
  background: var(--lp-bg4);
  transition: background .15s;
}
.emissao-video-dialog header button:hover { background: var(--lp-bg5); color: var(--lp-tx); }
.emissao-video-dialog video { width: 100%; display: block; background: #000; }

/* ─── AUDIENCES SECTION ───────────────────────────────────────────────────── */
.lp-audiences {
  position: relative; z-index: 1;
  background: var(--lp-bg2);
}

.lp-audiences__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px) { .lp-audiences__grid { grid-template-columns: 1fr 1fr; } }

.lp-audience {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: var(--lp-r2);
  background: var(--lp-bg3);
  border: 1.5px solid var(--lp-br);
  display: flex; flex-direction: column; gap: 1rem;
}

.lp-audience--accent {
  background: var(--lp-y);
  border-color: transparent;
  color: #111110;
}
.lp-audience--accent .lp-kicker { color: rgba(17,17,16,.6); }
.lp-audience--accent h3 { color: #111110; }
.lp-audience--accent .lp-checklist li { color: #111110; }
.lp-audience--accent .lp-check { background: rgba(0,0,0,.1); border-color: rgba(0,0,0,.3); color: #111; }
.lp-audience--accent .lp-audience__icon { color: rgba(17,17,16,.7); }

.lp-audience__icon { color: var(--lp-y); }
.lp-audience__icon .lp-icon { width: 1.5rem; height: 1.5rem; }

.lp-checklist { display: flex; flex-direction: column; gap: .6rem; }
.lp-checklist li {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .9rem; color: var(--lp-tx2);
  line-height: 1.5;
}

/* ─── PRESENCE SECTION ────────────────────────────────────────────────────── */
.lp-presence {
  position: relative; z-index: 1;
  background: var(--lp-bg);
}

.lp-presence__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 860px) {
  .lp-presence__grid { grid-template-columns: 1fr 1fr; }
}

.lp-presence__portal {
  margin: 0;
  position: relative;
}
.lp-presence__portal::before,
.lp-presence__portal::after {
  content: '';
  position: absolute;
  border: 3px solid var(--lp-y);
  border-radius: var(--lp-r);
  pointer-events: none;
}
.lp-presence__portal::before { inset: -8px; z-index: 0; opacity: .4; }
.lp-presence__portal::after  { inset: -16px; z-index: -1; opacity: .15; }

.lp-presence__portal img {
  border-radius: var(--lp-r);
  width: 100%; height: auto;
  display: block;
  position: relative; z-index: 1;
  box-shadow: 0 8px 48px rgba(0,0,0,.3), 0 0 32px var(--lp-y-glow);
}
.lp-presence__portal figcaption {
  display: flex; align-items: center; gap: .4rem;
  margin-top: .75rem;
  font-size: .8rem; color: var(--lp-tx3);
}
.lp-presence__portal figcaption .lp-icon { color: var(--lp-y); }

.lp-presence__copy { display: flex; flex-direction: column; gap: 1.25rem; }

.lp-presence__description { display: flex; flex-direction: column; gap: .75rem; }
.lp-presence__description p { font-size: .92rem; color: var(--lp-tx2); line-height: 1.7; }

.lp-presence__address {
  display: flex; align-items: flex-start; gap: .6rem;
  padding: 1rem;
  background: var(--lp-bg3);
  border: 1.5px solid var(--lp-br);
  border-radius: var(--lp-r);
}
.lp-presence__address-icon { color: var(--lp-y); margin-top: .15rem; flex-shrink: 0; }
.lp-presence__address-text { font-size: .88rem; color: var(--lp-tx2); line-height: 1.6; flex: 1; }
.lp-presence__map {
  align-self: flex-end;
  margin-top: auto;
  font-size: .8rem;
}

/* ─── FAQ SECTION ─────────────────────────────────────────────────────────── */
.lp-faq {
  position: relative; z-index: 1;
  background: var(--lp-bg2);
}

.lp-faq__list { display: flex; flex-direction: column; gap: .5rem; }

.lp-faq__item {
  background: var(--lp-bg3);
  border: 1.5px solid var(--lp-br);
  border-radius: var(--lp-r);
  transition: border-color .2s;
  overflow: hidden;
}
.lp-faq__item[open] { border-color: var(--lp-y); }
.lp-faq__item:not([open]):hover { border-color: var(--lp-br2); }

.lp-faq__item summary {
  display: flex; align-items: center; gap: .75rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background .15s;
}
.lp-faq__item summary::-webkit-details-marker { display: none; }
.lp-faq__item[open] summary { background: var(--lp-bg4); }
.lp-faq__item summary:hover { background: var(--lp-bg4); }
.lp-faq__item summary:focus-visible { outline: 2px solid var(--lp-y); outline-offset: -2px; }

.lp-faq__num {
  font-family: 'Sora', sans-serif;
  font-size: .7rem; font-weight: 800;
  letter-spacing: .08em;
  color: var(--lp-y);
  min-width: 1.8rem;
  flex-shrink: 0;
}
.lp-faq__item summary strong {
  flex: 1;
  font-size: .92rem;
  font-weight: 600;
  color: var(--lp-tx);
  line-height: 1.4;
}
.lp-faq__icon {
  font-size: 1.2rem; font-style: normal; font-weight: 300;
  color: var(--lp-tx4); flex-shrink: 0;
  line-height: 1;
  transition: transform .2s;
}
.lp-faq__item[open] .lp-faq__icon { transform: rotate(45deg); color: var(--lp-y); }

.lp-faq__answer {
  padding: .75rem 1.25rem 1.25rem;
  padding-left: calc(1.25rem + 1.8rem + .75rem);
}
.lp-faq__answer p {
  font-size: .9rem; color: var(--lp-tx2); line-height: 1.65;
}

/* ─── CTA BAND ────────────────────────────────────────────────────────────── */
.lp-cta-band {
  position: relative; z-index: 1;
  background: var(--lp-y);
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5rem);
}

.lp-cta-band__decor { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.lp-cta-band__plus {
  position: absolute;
  width: 5rem; height: 5rem;
}
.lp-cta-band__plus::before, .lp-cta-band__plus::after {
  content: '';
  position: absolute;
  background: rgba(17,17,16,.12);
  border-radius: 2px;
}
.lp-cta-band__plus::before { width: 100%; height: 3px; top: 50%; margin-top: -1.5px; }
.lp-cta-band__plus::after  { width: 3px; height: 100%; left: 50%; margin-left: -1.5px; }
.lp-cta-band__plus--a { top: 10%; left:  5%; opacity: .5; }
.lp-cta-band__plus--b { bottom: 10%; right: 5%; opacity: .4; transform: scale(.6); }

.lp-cta-band__stripes {
  position: absolute; top: 0; bottom: 0; right: -2rem;
  width: 160px;
  background: repeating-linear-gradient(
    45deg, transparent 0, transparent 12px,
    rgba(17,17,16,.06) 12px, rgba(17,17,16,.06) 24px
  );
  opacity: .4;
}

.lp-cta-band__inner {
  position: relative; z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 700px) {
  .lp-cta-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.lp-cta-band__copy { color: #111110; }
.lp-cta-band__kicker {
  font-family: 'Sora', sans-serif;
  font-size: .72rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(17,17,16,.6);
  margin-bottom: .4rem;
}
.lp-cta-band__copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: #111110;
  margin-bottom: .4rem;
}
.lp-cta-band__copy p { font-size: .9rem; color: rgba(17,17,16,.7); }

.lp-cta-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }

.lp-cta-band__phone {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: 'Sora', sans-serif; font-size: .88rem; font-weight: 700;
  color: rgba(17,17,16,.8);
  transition: color .15s;
}
.lp-cta-band__phone:hover { color: #111110; }
.lp-cta-band__phone .lp-icon { width: 1em; height: 1em; }

/* ─── FOOTER ──────────────────────────────────────────────────────────────── */
.lp-footer {
  position: relative; z-index: 1;
  background: var(--lp-bg2);
  border-top: 1px solid var(--lp-br);
  padding-block: clamp(2.5rem, 6vw, 4rem) clamp(2rem, 5vw, 4rem);
}

.lp-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) { .lp-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .lp-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 2.5rem; } }

.lp-footer__brand { display: flex; flex-direction: column; gap: .75rem; }

.lp-footer__logo {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: 'Sora', sans-serif; font-weight: 800; font-size: .9rem;
  color: var(--lp-tx);
}
.lp-footer__logo img { height: 1.75rem; width: auto; }

.lp-footer__kicker { font-size: .78rem; color: var(--lp-tx4); }

.lp-footer__top {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 600;
  color: var(--lp-tx3);
  padding: 0;
  transition: color .15s;
}
.lp-footer__top:hover { color: var(--lp-y); }
.lp-footer__top .lp-icon { width: .85rem; height: .85rem; }

.lp-footer__col {
  display: flex; flex-direction: column; gap: .5rem;
}
.lp-footer__col h3 {
  font-size: .75rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--lp-tx4);
  margin-bottom: .25rem;
}
.lp-footer__col a,
.lp-footer__col button {
  font-size: .85rem;
  color: var(--lp-tx3);
  text-align: left;
  transition: color .15s;
  line-height: 1.5;
}
.lp-footer__col a:hover,
.lp-footer__col button:hover { color: var(--lp-y); }
.lp-footer__col a:focus-visible,
.lp-footer__col button:focus-visible { outline: 2px solid var(--lp-y); outline-offset: 2px; border-radius: 2px; }

.lp-footer__contact-row {
  display: flex; align-items: center; gap: .5rem;
}
.lp-footer__contact-row a {
  display: inline-flex; align-items: center; gap: .35rem;
}
.lp-footer__contact-row .lp-icon { width: .85em; height: .85em; color: var(--lp-y); }

.lp-copy-button {
  display: grid; place-items: center;
  width: 1.6rem; height: 1.6rem;
  border-radius: 4px;
  background: var(--lp-bg4);
  border: 1px solid var(--lp-br);
  color: var(--lp-tx4);
  transition: background .15s, color .15s;
  flex-shrink: 0;
}
.lp-copy-button:hover { background: var(--lp-bg5); color: var(--lp-y); }
.lp-copy-button:focus-visible { outline: 2px solid var(--lp-y); outline-offset: 2px; }
.lp-copy-button .lp-icon { width: .7rem; height: .7rem; }

.lp-footer__address {
  display: flex; align-items: flex-start; gap: .35rem;
  font-size: .82rem; color: var(--lp-tx4); line-height: 1.5;
}
.lp-footer__address .lp-icon { width: .85em; height: .85em; color: var(--lp-y); margin-top: .2em; flex-shrink: 0; }

.lp-footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .5rem;
  margin-top: 2.5rem;
  padding-block: 1rem;
  border-top: 1px solid var(--lp-br);
  font-size: .78rem; color: var(--lp-tx4);
}
.lp-footer__demo-icon {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  position: absolute;
  right: 1.25rem;
  bottom: 1.5rem;
  border-radius: 50%;
  background: var(--lp-y);
  color: #111110;
  box-shadow: 0 4px 16px var(--lp-y-glow);
  transition: background .15s, transform .15s;
}
.lp-footer__demo-icon:hover { background: var(--lp-y-l); transform: translateY(-2px); }
.lp-footer__demo-icon:focus-visible { outline: 2px solid var(--lp-y); outline-offset: 3px; }
.lp-footer__demo-icon .lp-icon { width: 1rem; height: 1rem; fill: currentColor; stroke: none; }
@media (max-width: 599px) {
  .lp-footer__demo-icon { right: 1rem; bottom: 1rem; }
}

/* ─── FLOATING ELEMENTS ───────────────────────────────────────────────────── */
.lp-floating {
  display: none;
}

.lp-to-top,
.lp-fab {
  pointer-events: auto;
  transition: opacity .25s, transform .25s;
}

.lp-floating[data-floating] .lp-to-top,
.lp-floating[data-floating] .lp-fab {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}
.lp-floating.is-visible .lp-to-top,
.lp-floating.is-visible .lp-fab { opacity: 1; transform: translateY(0); pointer-events: auto; }

.lp-to-top {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: var(--lp-bg3);
  border: 1.5px solid var(--lp-br2);
  color: var(--lp-tx2);
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
  transition: background .15s, color .15s, transform .2s;
}
.lp-to-top:hover { background: var(--lp-bg4); color: var(--lp-y); }
.lp-to-top:focus-visible { outline: 2px solid var(--lp-y); outline-offset: 2px; }
.lp-to-top .lp-icon { width: 1rem; height: 1rem; }

.lp-fab {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .7rem 1.2rem;
  background: var(--lp-y);
  border-radius: 2rem;
  font-family: 'Sora', sans-serif; font-size: .82rem; font-weight: 700;
  color: #111110;
  box-shadow: 0 4px 24px var(--lp-y-glow);
  transition: background .15s, box-shadow .15s, transform .15s;
}
.lp-fab:hover { background: var(--lp-y-l); box-shadow: 0 8px 32px var(--lp-y-glow); }
.lp-fab:active { transform: scale(.96); }
.lp-fab:focus-visible { outline: 2px solid #111; outline-offset: 2px; border-radius: 2rem; }
.lp-fab .lp-icon { width: 1rem; height: 1rem; flex-shrink: 0; fill: currentColor; stroke: none; }
.lp-fab__label { white-space: nowrap; }
@media (max-width: 479px) { .lp-fab__label { display: none; } }

/* ─── TOAST ───────────────────────────────────────────────────────────────── */
.lp-toast {
  position: fixed; bottom: 5rem; left: 50%; z-index: 9000;
  transform: translateX(-50%) translateY(8px);
  padding: .55rem 1rem;
  background: var(--lp-bg3);
  border: 1.5px solid var(--lp-br2);
  border-radius: 2rem;
  font-size: .82rem; font-weight: 600;
  color: var(--lp-tx2);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  opacity: 0;
  transition: opacity .2s, transform .2s;
  pointer-events: none;
  white-space: nowrap;
}
.lp-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── REVEAL ANIMATIONS ───────────────────────────────────────────────────── */
[data-reveal],
[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--lp-ease), transform .55s var(--lp-ease);
}
[data-reveal-direction="left"] { transform: translateX(-24px); }
[data-reveal-direction="right"] { transform: translateX(24px); }

[data-reveal].is-revealed,
[data-reveal-group].is-revealed > * {
  opacity: 1;
  transform: translate(0);
}
[data-reveal-group].is-revealed > *:nth-child(1) { transition-delay: .05s; }
[data-reveal-group].is-revealed > *:nth-child(2) { transition-delay: .12s; }
[data-reveal-group].is-revealed > *:nth-child(3) { transition-delay: .19s; }
[data-reveal-group].is-revealed > *:nth-child(4) { transition-delay: .26s; }
[data-reveal-group].is-revealed > *:nth-child(5) { transition-delay: .33s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-group] > * {
    opacity: 1; transform: none;
    transition: none;
  }
}

/* ─── MOBILE OVERFLOW FIXES ───────────────────────────────────────────────── */
@media (max-width: 599px) {
  .lp-differentials__visual {
    max-width: calc(100vw - 2rem);
    overflow: visible;
  }
  .lp-differentials__visual img { max-width: 100%; height: auto; }
  .routine-showcase-visual .routine-showcase-notebook-animation { width: 125%; margin-inline: -12.5%; }
}

/* ─── LIGHT THEME ADJUSTMENTS ─────────────────────────────────────────────── */
html[data-landing-theme="light"] .lp-announce {
  background: var(--lp-y-d);
}
html[data-landing-theme="light"] .lp-faq__item { background: #fff; }

/* Misc legacy class stubs (landing_motion.js + landing_features.js hooks) */
.landing-page > * { position: relative; z-index: 1; }
.landing-scroll-meter { z-index: 0; }
.landing-scroll-meter { z-index: 9990; }
/* The global stacking helper above must not lower the navigation below the
   hero; otherwise the functionality menu becomes visually mixed with it. */
body.landing-page > .lp-header { position: sticky; top: 0; z-index: 500; }

/* Section identifiers for backwards compat (no visual meaning) */
.landing-hero,
.landing-platform-section,
.landing-features-section,
.landing-routine-showcase,
.landing-dual-panel,
.landing-presence-section,
.landing-faq-section,
.landing-footer { /* positional stubs — no additional styles needed */ }

/* ─── FEATURES CAROUSEL (rendered by landing_features.js) ────────────────── */
.landing-features { margin-top: 34px; }

.features-tabs {
  display: flex; gap: 10px; justify-content: center;
  overflow-x: auto; padding: 3px 2px 14px;
  scrollbar-width: none;
}
.features-tabs::-webkit-scrollbar { display: none; }
.features-tabs button {
  flex: 0 0 auto;
  padding: 11px 20px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px;
  background: #252321;
  color: #d8d4cb;
  font: 700 .8rem 'Sora', sans-serif;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.features-tabs button[aria-selected="true"] {
  background: #fad32b; border-color: #fad32b; color: #201e1e;
}

.features-carousel-wrap {
  position: relative;
  width: min(calc(100vw - 32px), 1520px);
  margin-inline: auto;
}

.features-carousel {
  display: flex; gap: 18px;
  overflow-x: auto;
  padding: 18px 0 12px;
  scroll-behavior: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  scrollbar-width: none;
  cursor: grab;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 2%, #000 98%, transparent 100%);
}
.features-carousel::-webkit-scrollbar { display: none; }
.features-carousel:active { cursor: grabbing; }
.features-carousel.is-centered { justify-content: center; }

@media (max-width: 600px) {
  .features-carousel {
    padding-left: 0; padding-right: 0;
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 96%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 96%, transparent 100%);
  }
}

.feature-card {
  flex: 0 0 clamp(300px, 24vw, 380px);
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  min-height: 278px;
  padding: 30px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  background: linear-gradient(145deg, #292725, #1d1c1b);
  opacity: 0;
  transform: translateY(8px);
  transition: transform .25s, border-color .25s, opacity .25s;
}
.features-carousel.is-ready .feature-card { opacity: 1; transform: none; }
.feature-card:hover { transform: translateY(-5px); border-color: rgba(250,211,43,.45); }
.feature-card:focus-visible { outline: 2px solid var(--lp-y); outline-offset: 3px; border-color: var(--lp-y); }
.feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--lp-y);
  font: 700 .72rem 'Sora', sans-serif;
}
.feature-card__link svg { width: .9rem; height: .9rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .18s var(--lp-ease); }
.feature-card:hover .feature-card__link svg { transform: translateX(3px); }

.feature-card.feature-card-fiscal-highlight {
  border-color: rgba(250,211,43,.78);
  background: radial-gradient(circle at 50% 0, rgba(250,211,43,.14), transparent 48%), linear-gradient(145deg, #302d27, #1d1c1b);
  box-shadow: 0 0 0 1px rgba(250,211,43,.16), 0 14px 30px rgba(0,0,0,.24);
}
.feature-card.feature-card-fiscal-highlight:hover {
  border-color: #fad32b;
  box-shadow: 0 0 0 1px rgba(250,211,43,.34), 0 18px 34px rgba(250,211,43,.13);
}

.feature-icon {
  display: grid; place-items: center;
  width: 76px; height: 76px;
  margin: 0 0 21px;
  border: 1px solid rgba(250,211,43,.36);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #302d28, #1b1a18 72%);
  box-shadow: 0 9px 22px rgba(0,0,0,.25), inset 0 0 0 5px rgba(250,211,43,.035);
}
.feature-icon svg {
  width: 52px; height: 52px;
  overflow: visible;
  fill: none; stroke: #f3f0e8;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.feature-icon svg path:last-child,
.feature-icon svg circle:last-child { stroke: #fad32b; }

.feature-card h3 { margin: 0 0 12px; font-size: 1.05rem; font-weight: 700; line-height: 1.28; color: #f7f5ee; }
.feature-card p { min-height: 0; max-width: 29ch; color: #d0cbc1; font-size: .87rem; line-height: 1.55; margin: 0; }
.feature-detail { display: block; margin-top: 9px; color: #aaa69e; font-size: .78rem; }
.feature-card button, .feature-card button b, .features-arrow { display: none; }

/* Progress range */
.features-progress {
  -webkit-appearance: none; appearance: none;
  display: block;
  width: min(88%, 700px); height: 5px;
  margin: 14px auto 28px;
  border: 0; border-radius: 99px;
  background: #34312d;
  cursor: pointer;
}
.features-progress::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 16px; height: 16px;
  border: 0; border-radius: 50%;
  background: #fad32b;
  box-shadow: 0 0 0 4px rgba(250,211,43,.14);
}
.features-progress::-moz-range-thumb {
  width: 16px; height: 16px; border: 0; border-radius: 50%;
  background: #fad32b; box-shadow: 0 0 0 4px rgba(250,211,43,.14);
}
.features-progress:disabled { opacity: .35; cursor: default; }

/* "See all" button aliased from btn-solid */
.features-all,
.btn-solid {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  padding: 11px 22px;
  border: 0;
  background: linear-gradient(135deg, #fad32b 0%, #d4a700 100%);
  color: #111110;
  font: 700 .9rem 'Sora', sans-serif;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(212,167,0,.18);
  transition: background .15s, box-shadow .15s;
}
.features-all { display: flex; width: max-content; max-width: calc(100% - 2rem); margin: 18px auto 0; }
.features-all:hover,
.btn-solid:hover {
  background: linear-gradient(135deg, #ffe36b 0%, #fad32b 100%);
  box-shadow: 0 14px 28px rgba(212,167,0,.28);
}

@media (max-width: 1100px) {
  .feature-card { flex-basis: calc((100% - 18px) / 2.18); }
}
@media (max-width: 600px) {
  .feature-card { flex-basis: 100%; min-height: 252px; padding: 25px; }
  .features-tabs { justify-content: flex-start; }
  .features-progress { width: 100%; }
}

/* Light theme feature cards (when page is light) */
html[data-landing-theme="light"] .features-tabs button {
  background: #fff; border-color: rgba(17,17,16,.12); color: #333;
}
html[data-landing-theme="light"] .features-tabs button[aria-selected="true"] {
  background: #f4c21d; border-color: #f4c21d; color: #111;
}
html[data-landing-theme="light"] .feature-card {
  background: #ffffff;
  border-color: rgba(17,17,16,.10);
}
html[data-landing-theme="light"] .feature-card h3 { color: #111110; }
html[data-landing-theme="light"] .feature-card p { color: #555552; }
html[data-landing-theme="light"] .feature-card__link { color: #735a00; }
html[data-landing-theme="light"] .feature-icon {
  background: radial-gradient(circle at 35% 28%, #fff8d0, #fffff5 72%);
  border-color: rgba(244,194,29,.5);
  box-shadow: 0 9px 22px rgba(0,0,0,.1);
}
html[data-landing-theme="light"] .feature-icon svg { stroke: #333; }
html[data-landing-theme="light"] .features-progress { background: #ddd; }
html[data-landing-theme="light"] .feature-card.feature-card-fiscal-highlight {
  border-color: #f4c21d;
  background: radial-gradient(circle at 50% 0, rgba(244,194,29,.12), transparent 48%), #fff;
}
