/* ==========================================================================
   LS Reversa Ambiental - Landing Page
   Paleta baseada na logo: verde dominante + azul de apoio
   ========================================================================== */

:root {
  --green-50:  #F1F8EC;
  --green-100: #DFF0D3;
  --green-400: #71D13D;
  --green-500: #4CAF2E;
  --green-600: #3E9B22;
  --green-700: #2E8B12;
  --green-800: #1F6109;
  --green-900: #163F0B;
  --blue-500:  #1B6FD8;
  --blue-700:  #0D47A1;
  --ink-900:   #17202B;
  --ink-700:   #2F3B49;
  --ink-500:   #55636F;
  --line:      #E2EADC;
  --white:     #FFFFFF;
  --bg-tint:   #F4F8F0;

  --font-head: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 10px 30px rgba(22, 63, 11, .10);
  --shadow-btn: 0 8px 20px rgba(46, 139, 18, .35);
  --container: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* clip corta overflow horizontal SEM criar scrollport (hidden quebraria o position:sticky) */
  overflow-x: hidden;
  overflow-x: clip;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--ink-900);
  line-height: 1.2;
  font-weight: 800;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.15rem); letter-spacing: -.015em; }
h3 { font-size: 1.13rem; font-weight: 700; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-700); }

.container {
  width: min(var(--container), 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- Acessibilidade ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green-800);
  color: #fff;
  padding: .75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  border: 0;
  border-radius: 999px;
  padding: .95rem 1.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-500) 0%, var(--green-700) 100%);
  color: #fff;
  box-shadow: var(--shadow-btn);
}

/* Brilho que atravessa o botão no hover */
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .55s ease;
}

.btn-primary:hover::after { left: 130%; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(46, 139, 18, .45); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--green-800);
  box-shadow: inset 0 0 0 2px var(--green-600);
}
.btn-outline:hover { background: var(--green-600); color: #fff; }

.btn-light {
  background: #fff;
  color: var(--green-900);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}
.btn-light:hover { transform: translateY(-2px); }

.btn-lg { padding: 1.1rem 2.3rem; font-size: 1rem; }
.btn-sm { padding: .65rem 1.3rem; font-size: .8rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(23, 32, 43, .08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .55rem;
}

.brand img { width: 76px; height: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* clip (e não hidden) para não quebrar o position:sticky do texto */
  overflow: clip;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem);
  background: var(--ink-900); /* fallback enquanto o vídeo carrega */
}

/* Vídeo de fundo + overlay preto */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../img/hero-poster.jpg") center / cover no-repeat;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .58) 55%, rgba(0, 0, 0, .48) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
}

.hero h1 { color: #fff; }

.hero .lead { color: rgba(255, 255, 255, .88); }

@media (prefers-reduced-motion: reduce) {
  .hero-media video { display: none; } /* mantém o poster estático */
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

/* Texto alinhado ao topo do formulário e fixo durante o scroll da seção */
.hero-copy {
  position: sticky;
  top: 110px;
}

/* Evita que conteúdo largo (ex.: options longas de select) estoure as colunas */
.hero-grid > *,
.split-grid > *,
.faq-grid > *,
.field {
  min-width: 0;
}

.badge {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-800);
  font-weight: 600;
  font-size: .85rem;
  padding: .4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h1 { margin-bottom: 1.25rem; }
.hero h1 em {
  font-style: normal;
  color: var(--green-400);
}

.lead {
  font-size: 1.1rem;
  color: var(--ink-500);
  margin-bottom: 1.75rem;
  max-width: 34rem;
}

.hero-actions { margin-bottom: 1.75rem; }

.hero-bullets {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .92);
}
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: .45rem;
}
.hero-bullets li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-400);
  flex-shrink: 0;
}

/* ---------- Formulário ---------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.form-title {
  font-size: 1.45rem;
  margin-bottom: .35rem;
}

.form-subtitle {
  font-size: .92rem;
  color: var(--ink-500);
  margin-bottom: 1.5rem;
}

.field { margin-bottom: 1rem; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field label,
.field-label {
  display: block;
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink-900);
  margin-bottom: .35rem;
}
.field label span { color: var(--green-700); }

.field input,
.field select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  font: inherit;
  font-size: .95rem;
  color: var(--ink-900);
  background: #FAFCF8;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field input::placeholder { color: #9AA7A0; }

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(76, 175, 46, .15);
}

.field select:invalid { color: #9AA7A0; }

.field input.is-invalid,
.field select.is-invalid {
  border-color: #D93025;
  box-shadow: 0 0 0 4px rgba(217, 48, 37, .12);
}

.radio-group {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.radio-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.radio-pill span {
  display: inline-block;
  padding: .5rem 1.2rem;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s ease;
  background: #FAFCF8;
}

.radio-pill input:checked + span {
  background: var(--green-700);
  border-color: var(--green-700);
  color: #fff;
}

.radio-pill input:focus-visible + span {
  outline: 3px solid var(--blue-500);
  outline-offset: 2px;
}

/* Campo honeypot anti-spam: fora da tela, invisivel para humanos */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-card .btn-block { margin-top: 1.35rem; }

.form-note {
  font-size: .8rem;
  color: var(--ink-500);
  text-align: center;
  margin-top: .85rem;
}

.form-success {
  margin-top: 1rem;
  background: var(--green-100);
  border: 1px solid var(--green-500);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: .92rem;
  color: var(--green-900);
}
.form-success p { margin: .25rem 0 0; }

/* ---------- Seções ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }

.section-tint { background: var(--bg-tint); }

.section-dark {
  background:
    radial-gradient(50rem 28rem at 110% 0%, rgba(27, 111, 216, .18), transparent 55%),
    linear-gradient(150deg, var(--green-900) 0%, var(--green-800) 100%);
  color: #E6F2DE;
}
.section-dark h2 { color: #fff; }
.section-dark p { color: #D3E8C6; }

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

.section-head-center {
  justify-content: center;
  text-align: center;
}

.section-cta {
  text-align: center;
  margin-top: clamp(2rem, 5vw, 3rem);
}

/* ---------- Grids divididos (texto + mídia) ---------- */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.25rem, 5vw, 4.5rem);
  align-items: center;
}

.split-copy h2 { margin-bottom: 1.15rem; }
.split-copy .btn { margin-top: 1.5rem; }

.split-media {
  display: grid;
  gap: 1.25rem;
}

.photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

/* aspect-ratio fixa o enquadramento independentemente da proporção da foto enviada */
.photo img {
  width: 100%;
  aspect-ratio: 640 / 440;
  object-fit: cover;
  transition: transform .6s ease;
}

.photo:hover img { transform: scale(1.05); }

.photo-tall img { aspect-ratio: 640 / 560; }

/* ---------- Passos ---------- */
.steps-card {
  background: var(--bg-tint);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  margin-top: 1.5rem;
}

.steps-card h3 { margin-bottom: 1rem; }

.steps {
  list-style: none;
  display: grid;
  gap: .85rem;
}

.steps li {
  display: flex;
  gap: .85rem;
  align-items: flex-start;
  font-size: .95rem;
}

.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: .15rem;
}

/* ---------- Cards ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(22, 63, 11, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.card-img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  transition: transform .5s ease;
}

.card:hover .card-img { transform: scale(1.06); }

.card-body { padding: 1.4rem 1.5rem 1.6rem; }
.card-body h3 { margin-bottom: .5rem; }
.card-body p { font-size: .93rem; color: var(--ink-500); }

.card-icon {
  padding: 1.75rem 1.5rem;
  text-align: left;
}
.card-icon h3 { margin: 1rem 0 .5rem; }
.card-icon p { font-size: .9rem; color: var(--ink-500); }

/* ---------- Lista de features (seção escura) ---------- */
.feature-list {
  list-style: none;
  display: grid;
  gap: 1.1rem;
}

.feature-list li {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  transition: transform .25s ease, background .25s ease;
}

.feature-list li:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, .13);
}

.feature-list h3 { color: #fff; margin-bottom: .3rem; }
.feature-list p { font-size: .9rem; margin: 0; }

.feature-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .14);
  color: #B8E69B;
}

.feature-icon svg { width: 24px; height: 24px; }

.feature-icon-green {
  background: var(--green-100);
  color: var(--green-800);
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.faq-intro h2 { margin-bottom: 1rem; }
.faq-intro p { color: var(--ink-500); }
.faq-intro .btn { margin-top: 1.25rem; }

.faq-list { display: grid; gap: .85rem; }

.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.1rem 3rem 1.1rem 1.25rem;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink-900);
  position: relative;
  transition: background .15s ease;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--green-700);
  transition: transform .2s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { background: var(--green-50); }

.faq-item summary:hover { background: var(--green-50); }

.faq-num {
  flex-shrink: 0;
  font-size: .8rem;
  color: var(--green-700);
  font-weight: 700;
}

.faq-item p {
  padding: 1rem 1.25rem 1.25rem;
  font-size: .93rem;
  color: var(--ink-500);
  border-top: 1px solid var(--line);
  margin: 0;
}

/* Resposta do FAQ deslizando ao abrir */
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

.faq-item[open] p { animation: faqOpen .35s ease; }

/* ---------- Footer ---------- */
.footer {
  /* Mesmo fundo claro do menu, com sombra projetada para cima */
  background: var(--white);
  color: var(--ink-700);
  padding: 3.5rem 0 2.5rem;
  box-shadow: 0 -4px 18px rgba(23, 32, 43, .08);
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__logo-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .9rem 1.3rem;
}

.footer__logo-box img { width: 100px; height: auto; }

.footer__social {
  display: flex;
  gap: .9rem;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--white);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}

.footer__social a:hover {
  transform: translateY(-3px);
  background: var(--green-600);
  color: var(--white);
}

.footer__social svg { width: 22px; height: 22px; }

/* Bloco de contatos do rodapé */
.footer__info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  margin-top: 2.2rem;
}

.footer__info-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  text-decoration: none;
  color: var(--ink-500);
  font-size: .85rem;
  line-height: 1.45;
  transition: color .2s ease, transform .2s ease;
}

.footer__info-item:hover {
  color: var(--ink-900);
  transform: translateY(-2px);
}

.footer__info-item svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--green-600);
}

.footer__info-item strong {
  display: block;
  color: var(--ink-900);
  font-size: .92rem;
  overflow-wrap: anywhere;
}

.footer__divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.2rem 0;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .9rem;
  color: var(--ink-500);
}

.footer__bottom--center { justify-content: center; }

.footer__cnpj { font-weight: 600; }

.footer__dev {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.footer__dev-link {
  display: inline-flex;
  transition: opacity .2s ease, transform .2s ease;
}

.footer__dev-link:hover {
  opacity: .8;
  transform: translateY(-2px);
}

.footer__dev-link img {
  height: 26px;
  width: auto;
}

/* ---------- Modal ---------- */
.form-modal {
  margin: auto; /* recentraliza o dialog (anulado pelo reset global) */
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  width: min(520px, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  background: transparent;
  overflow: visible;
}

.form-modal::backdrop {
  background: rgba(23, 32, 43, .6);
  backdrop-filter: blur(3px);
}

.form-modal .form-card {
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: -14px;
  right: -14px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--ink-900);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
  transition: background .15s ease;
}
.modal-close:hover { background: var(--green-700); }

/* ---------- WhatsApp flutuante (abre o formulário de lead) ---------- */
.whats-float {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .45);
  transition: transform .2s ease;
  animation: whatsPulse 2.4s ease-out infinite;
}

.whats-float:hover { transform: scale(1.1); }

.whats-float svg { width: 30px; height: 30px; }

/* Pulso chamando atenção para o WhatsApp */
@keyframes whatsPulse {
  0%   { box-shadow: 0 10px 24px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .5); }
  70%  { box-shadow: 0 10px 24px rgba(37, 211, 102, .45), 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 10px 24px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Voltar ao topo ---------- */
.back-top {
  position: fixed;
  right: 1.75rem;
  bottom: calc(1.4rem + 58px + .9rem);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(23, 32, 43, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background .2s ease;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-top:hover { background: var(--green-700); }

.back-top svg { width: 22px; height: 22px; }

/* ---------- Animações de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

/* Variações direcionais */
.reveal-left { transform: translateX(-36px); }
.reveal-right { transform: translateX(36px); }

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Cascata: filhos entram em sequência */
.stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}

.stagger.is-visible > * {
  opacity: 1;
  transform: none;
}

.stagger.is-visible > *:nth-child(2) { transition-delay: .12s; }
.stagger.is-visible > *:nth-child(3) { transition-delay: .24s; }
.stagger.is-visible > *:nth-child(4) { transition-delay: .36s; }
.stagger.is-visible > *:nth-child(5) { transition-delay: .48s; }
.stagger.is-visible > *:nth-child(6) { transition-delay: .6s; }

/* Entrada do hero ao carregar a página */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

.hero .badge        { animation: fadeUp .7s ease 0s both; }
.hero h1            { animation: fadeUp .7s ease .12s both; }
.hero .lead         { animation: fadeUp .7s ease .24s both; }
.hero .hero-actions { animation: fadeUp .7s ease .36s both; }
.hero .hero-bullets { animation: fadeUp .7s ease .5s both; }
.form-card          { animation: fadeUp .7s ease .25s both; }

/* Ícones dos cards flutuando suavemente */
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.card-icon .feature-icon { animation: floaty 3.6s ease-in-out infinite; }
.card-icon:nth-child(2) .feature-icon { animation-delay: .6s; }
.card-icon:nth-child(3) .feature-icon { animation-delay: 1.2s; }
.card-icon:nth-child(4) .feature-icon { animation-delay: 1.8s; }

/* Barra de progresso de rolagem */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--blue-500));
  transform: scaleX(0);
  transform-origin: left;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .stagger > * { opacity: 1; transform: none; transition: none; }
  .btn, .card, .card-img, .photo img, .feature-list li { transition: none; }
  .whats-float,
  .card-icon .feature-icon,
  .hero .badge, .hero h1, .hero .lead, .hero .hero-actions, .hero .hero-bullets,
  .form-card,
  .faq-item[open] p { animation: none; }
  .scroll-progress { display: none; }
}

/* ---------- 404 ---------- */
.page-404 {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.page-404 main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  background:
    radial-gradient(55rem 32rem at -15% 110%, rgba(76, 175, 46, .14), transparent 60%),
    linear-gradient(180deg, var(--green-50) 0%, #fff 100%);
}

.error-code {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: 1;
  background: linear-gradient(135deg, var(--green-500), var(--blue-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .5rem;
}

.page-404 h1 { font-size: clamp(1.4rem, 3.5vw, 2rem); margin-bottom: .75rem; }
.page-404 .lead { margin-inline: auto; margin-bottom: 2rem; }

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .hero-grid,
  .split-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy { position: static; }

  .split-reverse .split-media { order: 2; }
  .split-reverse .split-copy { order: 1; }

  .cards-3 { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }

  .section-head { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .cards-4 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .brand img { width: 62px; }
  .btn-lg { width: 100%; }
  .hero-actions .btn { width: 100%; }

  .footer__top,
  .footer__bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}
