﻿/* Landing + header público compartilhado (escopo: body.public-page / body.landing-home) */

body.public-page {
  --landing-lime: #66bb6a;
  --landing-lime-soft: rgba(102, 187, 106, 0.14);
  --landing-forest: #004d3d;
  --landing-forest-deep: #003328;
  --header-h: 96px;
  --demo-banner-h: 0px;
  --landing-max: 1180px;
  --landing-gutter: clamp(1rem, 3vw, 1.75rem);
}

body.landing-home {
  --hero-bg: #f7f7f7;
  --hero-bg-soft: #f1f4f1;
  --hero-size-boost: 1.2;
  background: #ffffff;
}

body.landing-home.public-page {
  background: #ffffff;
}

/* ── Header (todas as páginas públicas) ── */
body.public-page .site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: none;
  border-bottom: 1px solid var(--cs-border);
}

body.public-page .site-header__inner {
  width: min(var(--landing-max), 94%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

body.public-page .nav-public {
  display: none;
  justify-content: center;
  gap: 0.15rem;
}

@media (min-width: 960px) {
  body.public-page .nav-public {
    display: flex;
  }
}

body.public-page .brand__logo--platform {
  --logo-platform-h: 5.5rem;
  max-width: min(520px, 65vw);
  filter: none;
}

body.public-page .brand__sub {
  display: none;
}

body.public-page .nav-public a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--cs-text-secondary);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}

body.public-page .nav-public a:hover,
body.public-page .nav-public a.active {
  color: var(--landing-forest);
}

body.public-page .header-actions .btn-primary {
  background: linear-gradient(180deg, #0a5c45 0%, var(--landing-forest) 100%);
  box-shadow: 0 4px 14px rgba(0, 77, 61, 0.22);
  font-size: 0.85rem;
  line-height: 1.2;
  padding: 0.55rem 1.15rem;
}

/* ── Hero ── */
body.landing-home .hero {
  --hero-banner-scale: calc(0.72 * var(--hero-size-boost));
  --hero-banner-w: min(94vw, 1280px);
  --hero-banner-h: calc(var(--hero-banner-w) * 682 / 1024);
  --hero-banner-display-w: calc(var(--hero-banner-w) * var(--hero-banner-scale));
  --hero-banner-display-h: calc(var(--hero-banner-h) * var(--hero-banner-scale));
  --hero-pad-top: clamp(0.65rem, 1.5vw, 1rem);
  --hero-pad-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
  --hero-viewport-min: calc(100svh - var(--header-h) - var(--demo-banner-h));
  position: relative;
  isolation: isolate;
  overflow: visible;
  padding: var(--hero-pad-top) 0 var(--hero-pad-bottom);
  background-color: var(--hero-bg);
  min-height: var(--hero-viewport-min);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Fundo do hero — sem painel verde/banner */
body.landing-home .hero > .hero__visual-panel {
  display: none;
}

body.landing-home .hero__atmosphere {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 12% 20%, rgba(102, 187, 106, 0.09), transparent 58%),
    radial-gradient(ellipse 55% 50% at 88% 75%, rgba(0, 77, 61, 0.06), transparent 52%),
    linear-gradient(180deg, var(--hero-bg) 0%, #f5f8f6 100%);
}

body.landing-home .hero .hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--landing-max), 92%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(1rem, 2.4vw, 1.6rem);
  flex: 1;
}

body.landing-home .hero__content {
  position: relative;
  z-index: 2;
  max-width: min(calc(32rem * var(--hero-size-boost)), 100%);
}

body.landing-home .hero__tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--landing-lime);
  margin-bottom: 0.78rem;
}

body.landing-home .hero__tagline::before {
  content: '';
  width: 1.35rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--landing-lime), transparent);
}

body.landing-home .hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.98rem, 3.84vw, 2.7rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--cs-text);
  margin-bottom: 0.9rem;
}

body.landing-home .hero h1 .text-accent {
  color: var(--landing-forest);
  font-weight: 700;
}

body.landing-home .hero__lead {
  font-size: clamp(1.05rem, 1.68vw, 1.14rem);
  line-height: 1.6;
  max-width: 40ch;
  margin-bottom: 1.2rem;
  color: var(--cs-text-secondary);
}

body.landing-home .hero__trust {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  list-style: none;
  padding: 0;
}

body.landing-home .hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.03rem;
  font-weight: 500;
  color: var(--cs-text-secondary);
}

body.landing-home .hero__trust li::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--landing-lime-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2366bb6a'%3E%3Cpath d='M6.5 11.5 3.5 8.5l1-1 2 2 5-5 1 1z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

body.landing-home .hero__ctas {
  margin-bottom: 0;
}

body.landing-home .btn-hero {
  background: linear-gradient(180deg, #0a5c45 0%, var(--landing-forest) 100%);
  box-shadow: 0 6px 20px rgba(0, 77, 61, 0.22);
  padding: 0.94rem 1.74rem;
  font-size: 1.08rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

body.landing-home .btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 77, 61, 0.28);
}

body.landing-home .btn-hero__icon {
  display: inline-block;
  flex-shrink: 0;
}

/* Coluna visual — imagem do escudo (valores finais do ajuste manual) */
body.landing-home .hero__visual {
  --hero-img-w: 606px;
  --hero-img-h: 404px;
  --hero-img-offset-x: 4px;
  --hero-img-offset-y: -12px;
  --hero-img-scale: 1.14;
  --hero-img-pos-x: 17%;
  --hero-img-pos-y: 40%;
  --hero-img-radius: 23px;
  display: none;
  position: relative;
  align-self: center;
  justify-self: end;
  width: min(100%, var(--hero-img-w));
  height: var(--hero-img-h);
  max-width: 100%;
  padding: 0;
  left: var(--hero-img-offset-x);
  top: var(--hero-img-offset-y);
  border-radius: var(--hero-img-radius);
  background: none !important;
  box-shadow: none !important;
  overflow: hidden;
  isolation: isolate;
  transform: none;
}

body.landing-home .hero__visual::before,
body.landing-home .hero__visual::after {
  content: none !important;
  display: none !important;
}

body.landing-home .hero__visual-img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: var(--hero-img-pos-x) var(--hero-img-pos-y);
  border-radius: 0;
  background: transparent;
  transform: scale(var(--hero-img-scale));
  transform-origin: center center;
}

body.landing-home .hero__scroll-hint {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: clamp(0.65rem, 2vh, 1.15rem);
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cs-text-muted);
  text-decoration: none;
  opacity: 0.72;
  transition: opacity var(--transition), color var(--transition);
}

body.landing-home .hero__scroll-hint svg {
  width: 1.1rem;
  height: 1.1rem;
  animation: landingScrollBob 2.2s ease-in-out infinite;
}

body.landing-home .hero__scroll-hint:hover {
  opacity: 1;
  color: var(--landing-forest);
}

@keyframes landingScrollBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (min-width: 960px) {
  body.landing-home .hero .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.75fr);
    gap: clamp(1rem, 2.5vw, 2rem);
    align-items: center;
  }

  body.landing-home .hero__visual {
    display: block;
    width: var(--hero-img-w);
    height: var(--hero-img-h);
    border-radius: var(--hero-img-radius);
    overflow: hidden;
    isolation: isolate;
    left: var(--hero-img-offset-x);
    top: var(--hero-img-offset-y);
    transform: none;
  }

  body.landing-home .hero__visual-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: var(--hero-img-pos-x) var(--hero-img-pos-y);
    border-radius: 0;
    transform: scale(var(--hero-img-scale));
    transform-origin: center center;
  }
}

/* ── Como funciona — revelação ao rolar ── */
body.landing-home .section--process {
  position: relative;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(2.75rem, 5vw, 4rem);
  background: #ffffff;
  border-top: none;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

body.landing-home .section--process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--landing-max), 94%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 77, 61, 0.12), transparent);
}

body.landing-home .section--process .process-flow.stagger > * {
  animation: none;
}

body.landing-home .section--process .section__header,
body.landing-home .section--process .process-step {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

body.landing-home .section--process.is-visible .section__header {
  opacity: 1;
  transform: none;
  transition-delay: 0.05s;
}

body.landing-home .section--process.is-visible .process-step:nth-child(1) {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}

body.landing-home .section--process.is-visible .process-step:nth-child(2) {
  opacity: 1;
  transform: none;
  transition-delay: 0.28s;
}

body.landing-home .section--process.is-visible .process-step:nth-child(3) {
  opacity: 1;
  transform: none;
  transition-delay: 0.41s;
}

body.landing-home .section--process.is-visible .process-step:nth-child(4) {
  opacity: 1;
  transform: none;
  transition-delay: 0.54s;
}

@media (prefers-reduced-motion: reduce) {
  body.landing-home .section--process .section__header,
  body.landing-home .section--process .process-step {
    opacity: 1;
    transform: none;
    transition: none;
  }

  body.landing-home .hero__scroll-hint svg {
    animation: none;
  }
}

body.landing-home .section--process .container {
  width: min(var(--landing-max), 94%);
}

body.landing-home .section--process .section__header {
  text-align: left;
  max-width: none;
  margin-bottom: clamp(1.75rem, 3vw, 2.35rem);
}

body.landing-home .section--process .section__eyebrow,
body.landing-home .section--process .section__header p {
  display: none;
}

body.landing-home .section--process h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cs-text);
}

body.landing-home .process-flow {
  display: grid;
  gap: 1.5rem;
  position: relative;
}

@media (min-width: 768px) {
  body.landing-home .process-flow {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }

  body.landing-home .process-flow::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, #e2e8e6, #c5d9d0 50%, #e2e8e6);
    z-index: 0;
  }

  body.landing-home .process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 36px;
    right: -4px;
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 7px solid #b8ccc4;
    z-index: 2;
  }
}

body.landing-home .process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 0.5rem;
}

body.landing-home .process-step__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
  border: 1px solid rgba(0, 77, 61, 0.08);
  border-radius: 50%;
  box-shadow:
    0 4px 16px rgba(0, 77, 61, 0.07),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
  color: var(--landing-forest);
  transition: transform var(--transition), box-shadow var(--transition);
}

body.landing-home .section--process.is-visible .process-step:hover .process-step__icon {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 77, 61, 0.12);
}

body.landing-home .process-step__icon svg {
  width: 30px;
  height: 30px;
}

body.landing-home .process-step h3 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--cs-text);
  margin-bottom: 0.35rem;
}

body.landing-home .process-step p {
  font-size: 0.8rem;
  line-height: 1.55;
  color: var(--cs-text-muted);
  max-width: 26ch;
  margin-inline: auto;
}

/* ── Recursos / cards ── */
body.landing-home .section--resources {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(102, 187, 106, 0.06), transparent 55%),
    #fafbfb;
  border-top: 1px solid var(--cs-border);
}

body.landing-home .section--resources .container {
  width: min(var(--landing-max), 94%);
}

body.landing-home .section--resources .section__header {
  max-width: 36rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.25rem);
}

body.landing-home .section--resources .section__eyebrow {
  color: var(--landing-forest);
  font-weight: 600;
  letter-spacing: 0.05em;
}

body.landing-home .section--resources h2 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
}

body.landing-home .section--resources .action-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 1rem;
}

body.landing-home .section--resources .action-grid.stagger > * {
  animation: none;
}

body.landing-home .section--resources .action-card {
  border-radius: var(--cs-radius-lg);
  border-color: rgba(0, 77, 61, 0.07);
  box-shadow: 0 2px 12px rgba(0, 77, 61, 0.04);
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

body.landing-home .section--resources .action-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 77, 61, 0.1);
  border-color: rgba(0, 77, 61, 0.14);
}

body.landing-home .section--resources .action-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  border-radius: 12px;
  background: var(--landing-lime-soft);
}

body.landing-home .section--resources .action-card--primary {
  background: linear-gradient(145deg, #065a44 0%, var(--landing-forest-deep) 100%);
  border-color: transparent;
}

body.landing-home .section--resources .action-card--primary .action-card__icon {
  background: rgba(255, 255, 255, 0.14);
}

/* ── Demo / info cards ── */
body.landing-home .section--demo {
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2.5rem, 4vw, 3rem);
  background: #ffffff;
}

body.landing-home .section--demo .container {
  width: min(var(--landing-max), 94%);
}

body.landing-home .section--demo .info-cards {
  gap: 1rem;
}

body.landing-home .section--demo .info-card {
  border-radius: var(--cs-radius-lg);
  border: 1px solid rgba(0, 77, 61, 0.08);
  box-shadow: 0 4px 18px rgba(0, 77, 61, 0.05);
  background: linear-gradient(180deg, #ffffff 0%, #fafcfb 100%);
}

body.landing-home .section--demo .info-card.fade-in {
  animation: none;
}

/* ── Footer (layout da home, sem “Siga-nos”) ── */
body.public-page .site-footer.footer-canal {
  margin-top: auto;
  padding: 0;
  border-top: 1px solid var(--cs-border);
  background: #f7f8f8;
  color: #3d4743;
}

body.public-page .footer-canal a {
  text-decoration: none;
}

body.public-page .footer-canal__main {
  width: min(var(--landing-max), 94%);
  display: grid;
  grid-template-columns: minmax(220px, 1.25fr) repeat(4, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  padding: 2.75rem 0 2.25rem;
  align-items: start;
}

body.public-page .footer-canal__brand {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
}

body.public-page .footer-canal .logo-platform--footer {
  --logo-platform-h: 5.5rem;
  max-width: min(520px, 65vw);
  margin-bottom: 0;
}

body.public-page .footer-canal__tagline {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #5a6560;
  max-width: 28ch;
}

body.public-page .footer-canal__safe {
  margin-top: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid #dde3e0;
}

body.public-page .footer-canal__safe strong {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--landing-forest);
  margin-bottom: 0.45rem;
}

body.public-page .footer-canal__safe svg {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}

body.public-page .footer-canal__safe p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #6a746f;
  max-width: 30ch;
}

body.public-page .footer-canal__title {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--landing-forest);
  padding-bottom: 0.45rem;
  border-bottom: 2px solid var(--landing-forest);
  display: inline-block;
}

body.public-page .footer-canal__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

body.public-page .footer-canal__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #4a544f;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  transition: color var(--transition);
}

body.public-page .footer-canal__list a:hover {
  color: var(--landing-forest);
}

body.public-page .footer-canal__list svg {
  width: 1.05rem;
  height: 1.05rem;
  color: var(--landing-forest);
  flex-shrink: 0;
}

body.public-page .footer-canal__lead {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  color: #2f3935;
}

body.public-page .footer-canal__text {
  margin: 0 0 1rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: #5a6560;
}

body.public-page .footer-canal__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 240px;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #0a5c45 0%, var(--landing-forest) 100%);
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(0, 77, 61, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}

body.public-page .footer-canal__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 77, 61, 0.28);
}

body.public-page .footer-canal__cta svg {
  width: 1.05rem;
  height: 1.05rem;
}

body.public-page .footer-canal__confidencial {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--landing-forest);
}

body.public-page .footer-canal__confidencial svg {
  width: 1rem;
  height: 1rem;
}

body.public-page .footer-canal__bottom {
  background: #fff;
  border-top: 1px solid #dde3e0;
}

body.public-page .footer-canal__bottom-inner {
  width: min(var(--landing-max), 94%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.95rem 0;
}

body.public-page .footer-canal__copy {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #5a6560;
}

body.public-page .footer-canal__copy svg {
  width: 0.95rem;
  height: 0.95rem;
  color: var(--landing-forest);
  flex-shrink: 0;
}

body.public-page .footer-canal__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
  font-size: 0.78rem;
  color: #8a938e;
}

body.public-page .footer-canal__legal a {
  color: #5a6560;
  font-weight: 500;
}

body.public-page .footer-canal__legal a:hover {
  color: var(--landing-forest);
}

@media (max-width: 1100px) {
  body.public-page .footer-canal__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 959px) {
  body.public-page .footer-canal__main {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 2.25rem 0 1.75rem;
  }

  body.public-page .footer-canal__brand {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  body.public-page .footer-canal__bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  body.public-page .footer-canal__cta {
    max-width: none;
  }
}

/* ── Responsivo ── */
@media (max-width: 959px) {
  body.public-page .site-header__inner {
    grid-template-columns: 1fr auto;
    gap: 0.75rem;
  }

  body.public-page .header-actions {
    gap: 0.35rem;
  }

  body.landing-home .hero {
    --hero-banner-w: min(98vw, 1280px);
    min-height: auto;
  }

  body.landing-home .hero .hero__inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  body.landing-home .hero__content {
    max-width: 100%;
  }

  body.landing-home .hero__visual {
    display: block;
    margin-top: 0.5rem;
    margin-inline: auto;
    width: min(100%, var(--hero-img-w));
    height: auto;
    aspect-ratio: 606 / 404;
    max-width: min(100%, 420px);
    left: 0;
    top: 0;
    transform: none;
    justify-self: center;
  }

  body.landing-home .hero__visual-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin-inline: auto;
    border-radius: 0;
  }

  body.landing-home .hero__scroll-hint {
    display: none;
  }

  body.landing-home .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  body.landing-home .hero__ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  body.landing-home .process-flow::before,
  body.landing-home .process-step:not(:last-child)::after {
    display: none;
  }
}

/* ── Dark mode ── */
[data-theme="dark"] body.landing-home,
[data-theme="dark"] body.landing-home.public-page {
  background: var(--cs-bg);
}

[data-theme="dark"] body.public-page .site-header {
  background: rgba(22, 31, 28, 0.96);
}

[data-theme="dark"] body.landing-home .hero {
  background-color: var(--cs-bg);
}

[data-theme="dark"] body.landing-home .hero__atmosphere {
  background:
    radial-gradient(ellipse 80% 60% at 12% 20%, rgba(61, 214, 140, 0.08), transparent 58%),
    radial-gradient(ellipse 55% 50% at 88% 75%, rgba(42, 157, 114, 0.06), transparent 52%),
    linear-gradient(180deg, var(--cs-bg) 0%, var(--cs-bg-muted) 100%);
}

[data-theme="dark"] body.landing-home .hero__visual-img {
  filter: brightness(0.88) saturate(0.9) drop-shadow(0 18px 36px rgba(0, 0, 0, 0.35));
}

[data-theme="dark"] body.landing-home .section--process,
[data-theme="dark"] body.landing-home .section--demo {
  background: var(--cs-bg);
}

[data-theme="dark"] body.landing-home .section--resources {
  background:
    radial-gradient(ellipse 70% 50% at 0% 0%, rgba(61, 214, 140, 0.06), transparent 55%),
    var(--cs-bg-muted);
}

[data-theme="dark"] body.landing-home .section--demo .info-card {
  background: var(--cs-bg-elevated);
}

[data-theme="dark"] body.public-page .site-footer.footer-canal {
  background: var(--cs-bg-muted);
  color: var(--cs-text-secondary);
  border-top-color: var(--cs-border);
}

[data-theme="dark"] body.public-page .footer-canal__tagline,
[data-theme="dark"] body.public-page .footer-canal__safe p,
[data-theme="dark"] body.public-page .footer-canal__text,
[data-theme="dark"] body.public-page .footer-canal__list a,
[data-theme="dark"] body.public-page .footer-canal__copy,
[data-theme="dark"] body.public-page .footer-canal__legal a {
  color: var(--cs-text-secondary);
}

[data-theme="dark"] body.public-page .footer-canal__safe,
[data-theme="dark"] body.public-page .footer-canal__bottom {
  border-color: var(--cs-border);
}

[data-theme="dark"] body.public-page .footer-canal__bottom {
  background: var(--cs-bg);
}

[data-theme="dark"] body.public-page .footer-canal__lead {
  color: var(--cs-text);
}
