/* Bproo Dev — Digitalisation PME landing system
   Inspired by clean SaaS layouts (airy spacing + light/dark themes) */
:root,
html[data-theme="light"] {
  --lp-ink: #f6f9fa;
  --lp-slate: #ffffff;
  --lp-panel: #eef4f6;
  --lp-surface: #ffffff;
  --lp-line: rgba(15, 35, 42, 0.08);
  --lp-mist: #4a6168;
  --lp-soft: #5f767d;
  --lp-signal: #1a9ea6;
  --lp-signal-deep: #148088;
  --lp-ember: #d9923a;
  --lp-white: #0f1c20;
  --lp-muted: #e8f0f2;
  --lp-header-bg: rgba(246, 249, 250, 0.82);
  --lp-header-bg-scrolled: rgba(255, 255, 255, 0.92);
  --lp-mobile-bg: #ffffff;
  --lp-console-bg: #f3f7f8;
  --lp-console-stage: #eef3f5;
  --lp-footer-bg: #0f1c20;
  --lp-footer-text: #d7e2e4;
  --lp-footer-muted: #9bb0b5;
  --lp-shadow: 0 18px 50px rgba(15, 35, 42, 0.08);
  --lp-display: "Syne", system-ui, sans-serif;
  --lp-body: "Outfit", system-ui, sans-serif;
  --lp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --lp-header-h: 4.75rem;
  --lp-section-y: clamp(5.5rem, 10vw, 8.75rem);
  --lp-wrap: min(1180px, calc(100% - 2.5rem));
}

html[data-theme="dark"] {
  --lp-ink: #0b1215;
  --lp-slate: #142126;
  --lp-panel: #1a2a31;
  --lp-surface: #121c21;
  --lp-line: rgba(200, 212, 214, 0.16);
  --lp-mist: #d3dee0;
  --lp-soft: #a3b2b5;
  --lp-signal: #26b3bb;
  --lp-signal-deep: #1a8f96;
  --lp-ember: #e8a54b;
  --lp-white: #f4f7f7;
  --lp-muted: #162126;
  --lp-header-bg: rgba(11, 18, 21, 0.4);
  --lp-header-bg-scrolled: rgba(11, 18, 21, 0.82);
  --lp-mobile-bg: #0b1215;
  --lp-console-bg: #0b1519;
  --lp-console-stage: #050809;
  --lp-footer-bg: #050809;
  --lp-footer-text: #d3dee0;
  --lp-footer-muted: #8fa0a4;
  --lp-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
}

.lp-body {
  margin: 0;
  background: var(--lp-ink);
  color: var(--lp-white);
  font-family: var(--lp-body);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s var(--lp-ease), color 0.35s var(--lp-ease);
}

.lp-body main {
  display: block;
}

/* Kill legacy section chrome on landing blocks */
.lp-body .lp-hero,
.lp-body .lp-section,
.lp-body .lp-strip,
.lp-body .lp-cta,
.lp-body .lp-footer {
  margin: 0 !important;
  padding-top: 0;
  padding-bottom: 0;
  box-shadow: none !important;
  border-radius: 0 !important;
  border: 0 !important;
}

.lp-body h1,
.lp-body h2,
.lp-body h3 {
  text-shadow: none;
  font-family: var(--lp-display);
}

.lp-wrap {
  width: var(--lp-wrap);
  margin-inline: auto;
}

/* ——— Header ——— */
.lp-body header.lp-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: var(--lp-header-h);
  background: var(--lp-header-bg) !important;
  backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  box-shadow: none !important;
  overflow: visible;
  transition: background 0.35s var(--lp-ease), border-color 0.35s var(--lp-ease), box-shadow 0.35s var(--lp-ease);
}

.lp-body header.lp-header.is-scrolled,
.lp-body header.lp-header:has(#mobile-menu:not([hidden])) {
  background: var(--lp-header-bg-scrolled) !important;
  border-bottom-color: var(--lp-line);
  box-shadow: 0 8px 28px rgba(15, 35, 42, 0.04) !important;
}

.lp-header__inner {
  width: var(--lp-wrap);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--lp-white);
}

.lp-brand__logo {
  height: 2.15rem;
  width: auto;
  max-width: min(176px, 46vw);
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.18));
  transition: transform 0.35s var(--lp-ease), filter 0.35s ease;
}

.lp-brand:hover .lp-brand__logo {
  transform: translateY(-1px);
  filter: drop-shadow(0 0 18px rgba(0, 210, 255, 0.32));
}

.lp-footer__logo {
  height: 2.75rem;
  width: auto;
  max-width: 200px;
  display: block;
  margin-bottom: 1rem;
  object-fit: contain;
}

.lp-cta__logo {
  height: clamp(2.5rem, 6vw, 3.25rem);
  width: auto;
  margin-bottom: 1.1rem;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(0, 210, 255, 0.22));
  animation: lp-logo-glow 4s ease-in-out infinite;
}

.lp-cta__brand {
  display: block;
  font-family: var(--lp-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.25rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--lp-signal);
  margin: 0 0 1rem;
}

@keyframes lp-logo-glow {
  0%, 100% { filter: drop-shadow(0 0 14px rgba(0, 210, 255, 0.18)); }
  50% { filter: drop-shadow(0 0 28px rgba(157, 80, 187, 0.28)); }
}

.lp-nav {
  display: none;
  align-items: center;
  gap: 0.15rem;
}

@media (min-width: 768px) {
  .lp-nav {
    display: flex;
  }
}

.lp-nav a {
  color: var(--lp-mist);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: 0;
  transition: color 0.2s ease;
}

.lp-body .lp-nav a:hover {
  color: var(--lp-signal) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.lp-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lp-theme-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--lp-line);
  background: var(--lp-surface);
  color: var(--lp-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 999px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.25s var(--lp-ease);
}

.lp-theme-toggle:hover {
  color: var(--lp-signal);
  border-color: rgba(26, 158, 166, 0.35);
  transform: translateY(-1px);
}

.lp-theme-toggle .lp-theme-icon-moon {
  display: none;
}

html[data-theme="dark"] .lp-theme-toggle .lp-theme-icon-sun {
  display: none;
}

html[data-theme="dark"] .lp-theme-toggle .lp-theme-icon-moon {
  display: inline;
}

.lp-menu-btn {
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--lp-line);
  background: transparent;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.lp-menu-btn span {
  display: block;
  width: 1.1rem;
  height: 1.5px;
  background: var(--lp-signal);
  transition: transform 0.25s var(--lp-ease), opacity 0.2s;
}

.lp-menu-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.lp-menu-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.lp-menu-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.lp-mobile-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--lp-header-h);
  z-index: 85;
  background: var(--lp-mobile-bg);
  border-bottom: 1px solid var(--lp-line);
  padding: 1.25rem 1.25rem 1.75rem;
  box-shadow: var(--lp-shadow);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.lp-mobile-menu[hidden] {
  display: none !important;
}

.lp-mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.lp-mobile-menu__nav a,
#mobile-menu.lp-mobile-menu nav a {
  color: var(--lp-white) !important;
  text-decoration: none;
  padding: 0.85rem 0.35rem;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-shadow: none !important;
  border-bottom: 1px solid var(--lp-line);
  background: transparent !important;
  transition: color 0.2s ease;
}

.lp-mobile-menu__nav a:hover,
#mobile-menu.lp-mobile-menu nav a:hover {
  color: var(--lp-signal) !important;
  background: transparent !important;
}

.lp-mobile-menu__nav a:last-child,
#mobile-menu.lp-mobile-menu nav a:last-child {
  border-bottom: 0;
  margin-top: 0.65rem;
  text-align: center;
  color: #fff !important;
}

.lp-mobile-menu__nav a.lp-btn--signal:hover,
#mobile-menu.lp-mobile-menu nav a.lp-btn--signal:hover {
  color: #fff !important;
  background: var(--lp-signal-deep) !important;
}

/* ——— Buttons ——— */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--lp-body);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.2;
  min-height: 2.75rem;
  box-sizing: border-box;
  transition: transform 0.25s var(--lp-ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  letter-spacing: 0.01em;
}

.lp-btn:hover {
  transform: translateY(-1px);
}

.lp-btn--sm {
  padding: 0.5rem 0.95rem;
  font-size: 0.85rem;
  min-height: 2.25rem;
}

.lp-btn--lg {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  min-height: 3.15rem;
}

.lp-btn--signal {
  background: var(--lp-signal);
  color: #041416;
}

.lp-btn--signal:hover {
  background: #3bc4cb;
  color: #041416;
}

.lp-btn--outline {
  background: transparent;
  color: var(--lp-white);
  border-color: var(--lp-line);
}

.lp-btn--outline:hover {
  border-color: var(--lp-signal);
  color: var(--lp-signal);
}

.lp-btn--ghost {
  background: transparent;
  color: var(--lp-mist);
  border-color: var(--lp-line);
}

.lp-btn--ghost:hover {
  color: var(--lp-white);
  border-color: var(--lp-signal);
}

.lp-text-link {
  color: var(--lp-signal);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 1rem;
}

.lp-text-link:hover {
  color: #3bc4cb;
}

.lp-inline-link {
  color: var(--lp-signal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ——— Hero ——— */
.lp-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--lp-header-h) + 4rem) 0 5.5rem;
  overflow: hidden;
}

.lp-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.lp-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.08);
  animation: lp-kenburns 22s var(--lp-ease) forwards;
  filter: saturate(1.08) contrast(1.02) brightness(1.14);
}

@keyframes lp-kenburns {
  to {
    transform: scale(1);
  }
}

.lp-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(246, 249, 250, 0.62) 0%, rgba(246, 249, 250, 0.28) 30%, rgba(246, 249, 250, 0.55) 70%, rgba(246, 249, 250, 0.78) 100%),
    linear-gradient(105deg, rgba(246, 249, 250, 0.94) 0%, rgba(246, 249, 250, 0.72) 34%, rgba(246, 249, 250, 0.28) 58%, rgba(246, 249, 250, 0.08) 100%),
    radial-gradient(ellipse at 72% 42%, rgba(255, 255, 255, 0.22), transparent 48%);
}

html[data-theme="dark"] .lp-hero__veil {
  background:
    linear-gradient(180deg, rgba(11, 18, 21, 0.22) 0%, rgba(11, 18, 21, 0.08) 34%, rgba(11, 18, 21, 0.38) 74%, rgba(11, 18, 21, 0.52) 100%),
    linear-gradient(105deg, rgba(11, 18, 21, 0.52) 0%, rgba(11, 18, 21, 0.12) 42%, rgba(11, 18, 21, 0.04) 68%, rgba(11, 18, 21, 0.06) 100%),
    radial-gradient(ellipse at 72% 42%, rgba(255, 255, 255, 0.14), transparent 48%),
    radial-gradient(ellipse at 70% 40%, rgba(0, 210, 255, 0.12), transparent 52%);
}

.lp-hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

html[data-theme="dark"] .lp-hero__grain {
  opacity: 0.1;
}

.lp-hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 158, 166, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 158, 166, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 25% 75%, black 0%, transparent 68%);
  opacity: 0.55;
  animation: lp-grid-drift 22s linear infinite;
}

@keyframes lp-grid-drift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 80px 80px, 80px 80px; }
}

.lp-hero__content {
  position: relative;
  z-index: 2;
  width: var(--lp-wrap);
  margin: 0 auto;
}

.lp-hero__logo {
  display: block;
  height: clamp(2.75rem, 8vw, 4.25rem);
  width: auto;
  max-width: min(320px, 88vw);
  margin: 0 0 1.75rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 28px rgba(0, 0, 0, 0.18));
}

.lp-hero__brand-text {
  display: block;
  font-family: var(--lp-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 4.75rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  color: var(--lp-signal);
  margin: 0 0 1.5rem;
  text-shadow: none;
}

.lp-hero__title {
  font-family: var(--lp-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
  color: var(--lp-white);
  margin: 0 0 1.35rem;
  max-width: 18ch;
  text-shadow: none;
}

.lp-hero__title span {
  color: var(--lp-mist);
  font-weight: 600;
}

.lp-hero__lead {
  max-width: 34rem;
  color: var(--lp-soft);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  margin: 0 0 2.35rem;
  line-height: 1.7;
  font-weight: 500;
  text-shadow: none;
}

.lp-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.lp-hero__cta .lp-btn--outline {
  background: rgba(255, 255, 255, 0.88);
  color: #0f1c20;
  border-color: rgba(15, 28, 32, 0.18);
  box-shadow: 0 8px 24px rgba(15, 35, 42, 0.08);
}

.lp-hero__cta .lp-btn--outline:hover {
  background: #fff;
  color: var(--lp-signal-deep);
  border-color: var(--lp-signal);
}

.lp-hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: #1f3339;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lp-hero__scroll i {
  animation: lp-bounce 1.8s ease-in-out infinite;
}

@keyframes lp-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

.lp-reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: lp-rise 0.9s var(--lp-ease) forwards;
}

.lp-reveal--delay-1 { animation-delay: 0.12s; }
.lp-reveal--delay-2 { animation-delay: 0.24s; }
.lp-reveal--delay-3 { animation-delay: 0.36s; }
.lp-reveal--delay-4 { animation-delay: 0.5s; }

@keyframes lp-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ——— Sections ——— */
.lp-section {
  padding: var(--lp-section-y) 0 !important;
  background: var(--lp-ink);
}

.lp-section__head {
  max-width: 42rem;
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.lp-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lp-signal);
  font-weight: 600;
  margin: 0 0 1rem;
}

.lp-h2 {
  font-family: var(--lp-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.8vw, 2.85rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 0 0 1.25rem;
  color: var(--lp-white);
}

.lp-lead {
  color: var(--lp-soft);
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
  max-width: 38rem;
}

/* Flow */
.lp-flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2rem;
  border-top: 1px solid var(--lp-line);
}

@media (min-width: 768px) {
  .lp-flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
}

.lp-flow__step {
  padding: 2.25rem 0 0;
  border-top: 1px solid var(--lp-line);
}

@media (min-width: 768px) {
  .lp-flow__step {
    padding: 2.5rem 2rem 0 2rem;
    border-top: 0;
    border-right: 1px solid var(--lp-line);
  }
  .lp-flow__step:last-child {
    border-right: 0;
    padding-right: 0;
  }
  .lp-flow__step:first-child {
    padding-left: 0;
  }
}

.lp-flow__index {
  display: block;
  font-family: var(--lp-display);
  font-weight: 700;
  color: var(--lp-signal);
  font-size: 0.95rem;
  margin-bottom: 1.1rem;
  letter-spacing: 0.06em;
}

.lp-flow__step h3 {
  font-size: 1.3rem;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.lp-flow__step p {
  margin: 0;
  color: var(--lp-soft);
  font-size: 1rem;
  line-height: 1.7;
}

/* Product console */
.lp-products {
  background: var(--lp-slate);
}

.lp-console {
  display: grid;
  gap: 0;
  border: 1px solid var(--lp-line);
  background: var(--lp-console-bg);
  overflow: hidden;
  box-shadow: var(--lp-shadow);
}

@media (min-width: 900px) {
  .lp-console {
    grid-template-columns: 260px 1fr;
    min-height: 600px;
  }
}

.lp-console__list {
  display: flex;
  overflow-x: auto;
  gap: 0;
  border-bottom: 1px solid var(--lp-line);
  scrollbar-width: thin;
  background: var(--lp-surface);
  z-index: 2;
}

@media (min-width: 900px) {
  .lp-console__list {
    flex-direction: column;
    overflow: visible;
    border-bottom: 0;
    border-right: 1px solid var(--lp-line);
  }
}

.lp-console__tab {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--lp-soft);
  padding: 0.9rem 1rem;
  cursor: pointer;
  font-family: var(--lp-body);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

@media (min-width: 900px) {
  .lp-console__tab {
    border-bottom: 0;
    border-left: 2px solid transparent;
    width: 100%;
    padding: 1rem 1.1rem;
  }
}

.lp-console__tab:hover {
  color: var(--lp-white);
  background: rgba(38, 179, 187, 0.05);
}

.lp-console__tab.is-active {
  color: var(--lp-white);
  border-color: var(--lp-signal);
  background: rgba(38, 179, 187, 0.08);
}

.lp-console__name {
  font-family: var(--lp-display);
  font-weight: 700;
  font-size: 0.98rem;
}

.lp-console__tag {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lp-signal);
  opacity: 0.85;
}

.lp-console__stage {
  position: relative;
  min-height: 480px;
  height: min(68vh, 640px);
  background: var(--lp-console-stage);
}

@media (min-width: 900px) {
  .lp-console__stage {
    min-height: 600px;
    height: auto;
  }
}

.lp-console__panel {
  display: none;
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: default;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(38, 179, 187, 0.06), transparent 55%),
    var(--lp-console-stage);
}

.lp-console__panel.is-active {
  display: block;
  animation: lp-panel-in 0.5s var(--lp-ease);
}

@keyframes lp-panel-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lp-console__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  transform: none;
  transition: transform 0.7s var(--lp-ease), filter 0.45s ease;
}

.lp-console__panel.is-active .lp-console__bg {
  animation: lp-bg-in 0.7s var(--lp-ease) both;
}

.lp-console__panel:hover .lp-console__bg,
.lp-console__panel.is-open .lp-console__bg {
  transform: scale(1.015);
  filter: brightness(0.78) saturate(1.04);
}

@keyframes lp-bg-in {
  from {
    opacity: 0.55;
    filter: brightness(0.75);
  }
  to {
    opacity: 1;
    filter: brightness(1);
  }
}

.lp-console__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 8, 9, 0.15) 0%, transparent 35%, rgba(5, 8, 9, 0.55) 100%);
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.lp-console__panel:hover .lp-console__shade,
.lp-console__panel.is-open .lp-console__shade {
  opacity: 0.35;
}

.lp-console__hint {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s var(--lp-ease);
}

.lp-console__hint span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-signal);
  font-weight: 600;
}

.lp-console__hint strong {
  font-family: var(--lp-display);
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  font-weight: 700;
  color: var(--lp-white);
  letter-spacing: -0.02em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.55);
}

.lp-console__panel:hover .lp-console__hint,
.lp-console__panel.is-open .lp-console__hint {
  opacity: 0;
  transform: translateY(8px);
}

.lp-console__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.35rem 1.5rem;
  background: linear-gradient(
    180deg,
    rgba(5, 8, 9, 0.2) 0%,
    rgba(5, 8, 9, 0.55) 42%,
    rgba(5, 8, 9, 0.88) 100%
  );
  backdrop-filter: blur(0px);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.4s var(--lp-ease), transform 0.45s var(--lp-ease), backdrop-filter 0.45s ease;
}

.lp-console__panel:hover .lp-console__overlay,
.lp-console__panel.is-open .lp-console__overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  backdrop-filter: blur(2px);
}

.lp-console__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lp-signal);
  font-weight: 600;
}

.lp-console__overlay h3 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 700;
  color: var(--lp-white);
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

.lp-console__overlay > p {
  color: rgba(232, 240, 241, 0.92);
  margin: 0 0 0.9rem;
  max-width: 38rem;
  font-size: 0.98rem;
  line-height: 1.5;
}

.lp-console__overlay ul {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
}

.lp-console__overlay li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.4rem;
  color: var(--lp-mist);
  font-size: 0.92rem;
}

.lp-console__overlay li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--lp-signal);
}

.lp-console__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.lp-console__overlay .lp-btn--outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.lp-console__overlay .lp-btn--outline:hover {
  border-color: var(--lp-signal);
  color: var(--lp-signal);
}

/* Touch / always-readable fallback */
@media (hover: none) {
  .lp-console__hint span {
    content: none;
  }
  .lp-console__hint span {
    display: none;
  }
  .lp-console__panel.is-active .lp-console__overlay {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: linear-gradient(
      180deg,
      rgba(5, 8, 9, 0.05) 0%,
      rgba(5, 8, 9, 0.5) 45%,
      rgba(5, 8, 9, 0.9) 100%
    );
  }
  .lp-console__panel.is-active .lp-console__hint {
    opacity: 0;
  }
  .lp-console__panel.is-active .lp-console__bg {
    filter: brightness(0.78);
  }
}

/* Services rails — interaction containers, not card chrome */
.lp-rails {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--lp-line);
}

@media (min-width: 800px) {
  .lp-rails {
    grid-template-columns: repeat(3, 1fr);
  }
}

.lp-rail {
  padding: 2.35rem 0;
  border-bottom: 1px solid var(--lp-line);
}

@media (min-width: 800px) {
  .lp-rail {
    padding: 2.5rem 2rem;
    border-bottom: 0;
    border-right: 1px solid var(--lp-line);
  }
  .lp-rail:first-child {
    padding-left: 0;
  }
  .lp-rail:last-child {
    border-right: 0;
    padding-right: 0;
  }
}

.lp-rail h3 {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
}

.lp-rail p {
  margin: 0;
  color: var(--lp-soft);
  line-height: 1.7;
}

/* Strip */
.lp-strip {
  background: var(--lp-panel);
  border-block: 1px solid var(--lp-line);
  padding: 3.25rem 0 !important;
}

.lp-strip__inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem 1.5rem;
}

@media (min-width: 768px) {
  .lp-strip__inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.lp-strip__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.lp-strip__icon {
  font-size: 1.35rem;
  color: var(--lp-signal);
  margin-bottom: 0.15rem;
  line-height: 1;
}

.lp-strip__item strong {
  font-family: var(--lp-display);
  font-size: clamp(1.55rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--lp-signal);
  line-height: 1.1;
}

.lp-strip__item span {
  color: var(--lp-soft);
  font-size: 0.92rem;
  line-height: 1.4;
}

.lp-strip__item:nth-child(2) .lp-strip__icon,
.lp-strip__item:nth-child(2) strong {
  color: #2f9e6a;
}

.lp-strip__item:nth-child(3) .lp-strip__icon,
.lp-strip__item:nth-child(3) strong {
  color: #7c6bc4;
}

.lp-strip__item:nth-child(4) .lp-strip__icon,
.lp-strip__item:nth-child(4) strong {
  color: #2f9e6a;
}

html[data-theme="dark"] .lp-strip__item:nth-child(2) .lp-strip__icon,
html[data-theme="dark"] .lp-strip__item:nth-child(2) strong,
html[data-theme="dark"] .lp-strip__item:nth-child(4) .lp-strip__icon,
html[data-theme="dark"] .lp-strip__item:nth-child(4) strong {
  color: #3ecf8e;
}

html[data-theme="dark"] .lp-strip__item:nth-child(3) .lp-strip__icon,
html[data-theme="dark"] .lp-strip__item:nth-child(3) strong {
  color: #9b8ce8;
}

/* Formation */
.lp-formation {
  background: var(--lp-ink);
}

.lp-formation__grid {
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .lp-formation__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4.5rem;
  }
}

.lp-formation__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.15rem;
  margin-top: 2rem;
}

.lp-formation__actions .lp-btn {
  flex: 0 0 auto;
}

.lp-formation__media {
  position: relative;
}

.lp-formation__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border: 1px solid var(--lp-line);
}

.lp-formation__channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: 1rem;
}

.lp-formation__channels a {
  color: var(--lp-mist);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.lp-formation__channels a:hover {
  color: var(--lp-signal);
}

/* Freelance */
.lp-freelance {
  background: var(--lp-slate);
  border-top: 1px solid var(--lp-line);
}

.lp-freelance__inner {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  align-items: flex-start;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .lp-freelance__inner {
    flex-direction: row;
    align-items: flex-end;
    gap: 3rem;
  }
}

/* Final CTA */
.lp-cta {
  position: relative;
  padding: clamp(6rem, 12vw, 9rem) 0 !important;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(38, 179, 187, 0.12), transparent 55%),
    var(--lp-ink);
  border-top: 1px solid var(--lp-line);
  text-align: center;
}

.lp-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (prefers-reduced-motion: reduce) {
  .lp-reveal,
  .lp-hero__img,
  .lp-hero__grid,
  .lp-hero__scroll i,
  .lp-cta__logo,
  .lp-console__panel.is-active .lp-console__bg {
    animation: none !important;
  }
  .lp-reveal {
    opacity: 1;
    transform: none;
  }
}

.lp-cta .lp-lead {
  margin-bottom: 1.75rem;
  text-align: center;
}

.lp-cta .lp-hero__cta {
  justify-content: center;
  margin-bottom: 0;
}

/* Footer */
.lp-footer {
  background: var(--lp-footer-bg) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 2.5rem !important;
  margin-top: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--lp-footer-text);
}

.lp-footer__grid {
  width: var(--lp-wrap);
  margin: 0 auto 3.25rem;
  display: grid;
  gap: 2.75rem;
}

@media (min-width: 768px) {
  .lp-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.lp-footer__mission {
  color: var(--lp-footer-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 24rem;
  margin: 0 0 1.5rem;
}

.lp-footer__social {
  display: flex;
  gap: 1.15rem;
}

.lp-footer__social a {
  color: var(--lp-footer-text);
  font-size: 1.25rem;
}

.lp-footer__social a:hover {
  color: var(--lp-signal);
}

.lp-footer__title {
  font-family: var(--lp-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
  color: #fff;
}

.lp-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.lp-footer__list a {
  color: var(--lp-footer-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.lp-footer__list a:hover {
  color: var(--lp-signal);
  text-decoration: none;
}

.lp-footer__bottom {
  width: var(--lp-wrap);
  margin: 0 auto;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--lp-footer-muted);
  font-size: 0.88rem;
}

@media (min-width: 640px) {
  .lp-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.lp-footer__tagline {
  color: var(--lp-signal);
  opacity: 0.85;
}

/* WhatsApp FAB */
.lp-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #1fad5a;
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s var(--lp-ease), background 0.2s ease;
}

.lp-whatsapp:hover {
  transform: translateY(-2px) scale(1.02);
  background: #25d366;
  color: #fff;
}

.lp-whatsapp i {
  font-size: 1.35rem;
}

.lp-whatsapp__label {
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  .lp-whatsapp__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .lp-whatsapp {
    border-radius: 999px;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    justify-content: center;
  }
}

/* Inner pages still using layout: soften legacy header gap */
.lp-body > .h-20 {
  display: none;
}

.lp-inner main {
  padding-top: var(--lp-header-h);
}

.lp-inner main > section {
  margin-bottom: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Light mode: keep product overlays readable over bright panels */
html[data-theme="light"] .lp-console__overlay {
  background: linear-gradient(
    180deg,
    rgba(15, 28, 32, 0.08) 0%,
    rgba(15, 28, 32, 0.55) 46%,
    rgba(15, 28, 32, 0.9) 100%
  );
}

html[data-theme="light"] .lp-console__overlay h3,
html[data-theme="light"] .lp-console__hint strong,
html[data-theme="light"] .lp-console__overlay > p,
html[data-theme="light"] .lp-console__overlay li {
  color: #f4f7f7;
}

html[data-theme="light"] .lp-console__overlay .lp-btn--outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

html[data-theme="light"] .lp-hero__title {
  color: #0b171b;
}

html[data-theme="light"] .lp-hero__title span {
  color: #243840;
}

html[data-theme="light"] .lp-hero__lead {
  color: #1a2d33;
}

html[data-theme="light"] .lp-hero__brand-text {
  color: #128890;
}

html[data-theme="light"] .lp-hero__scroll {
  color: #1a2d33;
}

html[data-theme="light"] .lp-hero__scroll:hover {
  color: var(--lp-signal-deep);
}

html[data-theme="dark"] .lp-hero__cta .lp-btn--outline {
  background: transparent;
  color: var(--lp-white);
  border-color: rgba(200, 212, 214, 0.4);
  box-shadow: none;
}

html[data-theme="dark"] .lp-hero__cta .lp-btn--outline:hover {
  border-color: var(--lp-signal);
  color: var(--lp-signal);
  background: rgba(38, 179, 187, 0.08);
}

html[data-theme="dark"] .lp-hero__scroll {
  color: var(--lp-soft);
}

html[data-theme="light"] .lp-hero__title,
html[data-theme="light"] .lp-hero__brand-text,
html[data-theme="light"] .lp-hero__lead {
  text-shadow: none;
}

html[data-theme="light"] .lp-btn--signal {
  color: #fff;
}

html[data-theme="light"] .lp-btn--signal:hover {
  color: #fff;
  background: var(--lp-signal-deep);
}

html[data-theme="dark"] .lp-btn--signal {
  color: #041416;
}

/* ——— Responsive polish ——— */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.lp-body img,
.lp-body video,
.lp-body svg,
.lp-body iframe {
  max-width: 100%;
}

.lp-console__bg,
.lp-hero__img {
  height: 100%;
}

.lp-console__list {
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
}

.lp-console__tab {
  scroll-snap-align: start;
  white-space: nowrap;
}

.lp-hero__cta .lp-btn,
.lp-formation__actions .lp-btn,
.lp-cta .lp-btn {
  max-width: 100%;
}

@media (max-width: 899px) {
  .lp-console__list {
    padding: 0.15rem 0.35rem 0;
  }

  .lp-console__tab {
    padding: 0.85rem 0.95rem;
    min-width: max-content;
  }

  .lp-console__stage {
    min-height: 420px;
    height: min(62vh, 560px);
  }

  .lp-console__overlay {
    padding: 1.15rem 1rem 1.25rem;
    overflow-y: auto;
  }

  .lp-console__overlay ul {
    margin-bottom: 0.9rem;
  }

  .lp-console__actions {
    gap: 0.55rem;
  }

  .lp-console__actions .lp-btn {
    flex: 1 1 auto;
    min-width: min(100%, 10rem);
  }
}

@media (max-width: 767px) {
  :root,
  html[data-theme="light"],
  html[data-theme="dark"] {
    --lp-header-h: 4.25rem;
    --lp-section-y: clamp(3.75rem, 12vw, 5.5rem);
    --lp-wrap: min(1180px, calc(100% - 1.5rem));
  }

  /* Flat corners on mobile — keep circles (theme toggle, avatars) */
  .lp-body main section,
  .lp-body main article,
  .lp-body main img,
  .lp-body .bg-gradient-to-b,
  .lp-body .bg-gradient-to-br,
  .lp-body .bg-gradient-to-r,
  .lp-body .bg-gray-800,
  .lp-body .bg-gray-900,
  .lp-body .bg-gray-950,
  .lp-body .rounded,
  .lp-body .rounded-md,
  .lp-body .rounded-lg,
  .lp-body .rounded-xl,
  .lp-body .rounded-2xl,
  .lp-body .rounded-3xl,
  .lp-body .rounded-b-3xl,
  .lp-body .lp-btn,
  .lp-body .lp-console,
  .lp-body .lp-console__stage,
  .lp-body .lp-console__panel,
  .lp-body .lp-card,
  .lp-body [class*="rounded-"] {
    border-radius: 0 !important;
  }

  .lp-body .rounded-full,
  .lp-body .lp-theme-toggle,
  .lp-body .lp-whatsapp,
  .lp-body [class~="rounded-full"] {
    border-radius: 999px !important;
  }

  .lp-hero {
    align-items: flex-end;
    min-height: 100svh;
    padding: calc(var(--lp-header-h) + 2.25rem) 0 3rem;
  }

  .lp-hero__brand-text {
    font-size: clamp(2.1rem, 11vw, 3.1rem);
    margin-bottom: 1rem;
  }

  .lp-hero__title {
    max-width: 22ch;
    font-size: clamp(1.35rem, 5.8vw, 1.85rem);
    margin-bottom: 1rem;
  }

  .lp-hero__lead {
    font-size: 1.02rem;
    margin-bottom: 1.6rem;
  }

  .lp-hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
  }

  .lp-hero__cta .lp-btn {
    width: 100%;
    justify-content: center;
  }

  .lp-section__head {
    margin-bottom: 2.25rem;
  }

  .lp-h2 {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .lp-lead {
    font-size: 1.02rem;
  }

  .lp-flow {
    gap: 0;
  }

  .lp-flow__step {
    padding: 1.5rem 0 1.35rem;
  }

  .lp-flow__step + .lp-flow__step {
    border-top: 1px solid var(--lp-line);
  }

  .lp-rails {
    gap: 0;
  }

  .lp-rail {
    padding: 1.5rem 0;
  }

  .lp-strip {
    padding: 2.5rem 0 !important;
  }

  .lp-strip__inner {
    gap: 1.75rem 1.15rem;
  }

  .lp-strip__item strong {
    font-size: 1.4rem;
  }

  .lp-formation__grid {
    gap: 2.25rem;
  }

  .lp-formation__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .lp-formation__actions .lp-btn,
  .lp-formation__actions .lp-text-link {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .lp-formation__channels {
    flex-direction: column;
    gap: 0.75rem;
  }

  .lp-freelance__inner {
    gap: 1.5rem;
  }

  .lp-cta {
    padding: 4.5rem 0 !important;
  }

  .lp-cta .lp-hero__cta {
    width: 100%;
  }

  .lp-footer {
    padding: 3.5rem 0 2rem !important;
  }

  .lp-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.25rem;
    margin-bottom: 2.25rem;
  }

  .lp-footer__grid > div:first-child {
    grid-column: 1 / -1;
  }

  .lp-header__actions .lp-btn--ghost {
    display: none !important;
  }
}

@media (max-width: 540px) {
  .lp-strip__inner {
    grid-template-columns: 1fr 1fr;
  }

  .lp-console__stage {
    min-height: 380px;
    height: min(58vh, 480px);
  }

  .lp-console__overlay h3 {
    font-size: 1.3rem;
  }

  .lp-console__overlay > p,
  .lp-console__overlay li {
    font-size: 0.9rem;
  }

  .lp-brand__logo {
    height: 1.9rem;
    max-width: min(148px, 42vw);
  }

  .lp-theme-toggle,
  .lp-menu-btn {
    width: 2.35rem;
    height: 2.35rem;
  }
}

@media (max-width: 420px) {
  :root,
  html[data-theme="light"],
  html[data-theme="dark"] {
    --lp-wrap: min(1180px, calc(100% - 1.15rem));
  }

  .lp-strip__inner {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .lp-footer__grid {
    grid-template-columns: 1fr;
  }

  .lp-header__actions .lp-btn--signal {
    display: none !important;
  }

  .lp-whatsapp {
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.75rem, env(safe-area-inset-bottom));
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  :root,
  html[data-theme="light"],
  html[data-theme="dark"] {
    --lp-wrap: min(1180px, calc(100% - 2rem));
    --lp-section-y: clamp(4.5rem, 7vw, 6.5rem);
  }

  .lp-nav a {
    padding: 0.4rem 0.5rem;
    font-size: 0.86rem;
  }

  .lp-hero__title {
    max-width: 20ch;
  }

  .lp-footer__grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 2rem;
  }

  .lp-footer__grid > div:last-child {
    grid-column: 2 / 3;
  }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .lp-console {
    grid-template-columns: 220px 1fr;
  }
}
