/*
 * Ecologic — Landing page "Seja um revendedor"
 *
 * Estrutura e layout replicam a página de referência já validada. A paleta e a
 * tipografia foram trocadas pelas do site principal (css/ecologic.css):
 *   verde-escuro #00353b · lime #afe327 · bege #faf3e9 · texto #333
 *   fonte Host Grotesk
 * O verde da marca substitui a rampa de verdes da referência e o lime entra no
 * lugar do âmbar usado como cor de destaque.
 */

:root {
  /* Rampa derivada do verde-escuro da marca (#00353b) */
  --green-950: #00262b;
  --green-900: #00353b;
  --green-800: #00474f;
  --green-700: #005f6b;
  --green-600: #00798a;
  --green-100: #e2f1f0;

  /* Destaque: lime da marca (#afe327) no lugar do âmbar da referência */
  --lime-400: #afe327;
  --lime-500: #9bd118;
  --lime-600: #85b514;
  /* Tom fechado só para texto pequeno sobre branco, onde o lime não tem contraste */
  --lime-700: #5f8410;

  /* Azul da Ecopool (--blue-clean no site principal, usado no .hero-eco) */
  --ecopool: #1f7eff;

  --ink: #333;
  --ink-soft: #5c6b68;
  --bg: #faf3e9;
  --white: #fff;
  --line: #e9dece;

  --radius: 16px;
  --shadow: 0 12px 36px rgba(0, 53, 59, 0.12);
  --shadow-lg: 0 24px 64px rgba(0, 38, 43, 0.22);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Host Grotesk", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  font-family: "Host Grotesk", sans-serif;
  line-height: 1.22;
}

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

/*
 * Ícones em estilo line (traço de 2px, sem preenchimento), vindos do sprite no
 * topo do <body>. Herdam a cor do texto via currentColor.
 */
.ico-line {
  width: 1.05em;
  height: 1.05em;
  flex: none;
  vertical-align: -0.17em;
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 700;
  font-family: "Host Grotesk", sans-serif;
  border: none;
  cursor: pointer;
  text-decoration: none;
  border-radius: 48px;
  transition: 0.22s;
  font-size: 16px;
}

/* Botão principal no padrão do site raiz: lime com texto verde-escuro */
.btn-primary {
  background: var(--lime-400);
  color: var(--green-900);
  padding: 17px 34px;
  box-shadow: 0 8px 24px rgba(175, 227, 39, 0.35);
}

.btn-primary:hover {
  background: var(--green-900);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 53, 59, 0.3);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  padding: 16px 30px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.btn-whats {
  background: #25d366;
  color: #fff;
  padding: 15px 28px;
  font-size: 16px;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28);
}

.btn-whats:hover {
  background: #1eb958;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(30, 185, 88, 0.35);
}

/* Fluxo de texto normal, não flex: como flex container, qualquer <span>
   dentro do olho (o ano, por exemplo) viraria um item separado e a frase
   quebraria em colunas em telas estreitas. */
.eyebrow {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
  margin-bottom: 16px;
  text-wrap: balance;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  vertical-align: middle;
  width: 26px;
  height: 2px;
  margin-right: 8px;
  background: var(--lime-500);
  border-radius: 2px;
}

.section {
  padding: 96px 0;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--green-900);
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 660px;
}

.center {
  text-align: center;
}

.center .eyebrow {
  text-align: center;
}

.center .eyebrow::before {
  display: none;
}

.center .section-sub {
  margin: 0 auto;
}

/* Reveal animation */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.rv.on {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* TOPBAR */
.topbar {
  background: rgba(0, 38, 43, 0.92);
  backdrop-filter: blur(10px);
  /* Estático: rola junto com a página, sem fixar no topo.
     O position/z-index só existe para o topo continuar sendo pintado
     acima da imagem do hero, que usa z-index próprio. */
  position: relative;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

.logo-img {
  height: 38px;
  width: auto;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar .btn {
  padding: 11px 22px;
  font-size: 14px;
}

/* HERO */
.hero {
  position: relative;
  color: #fff;
  padding: 88px 0 150px;
  overflow: hidden;
  background: var(--green-950);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../assets/bg-ecologic.webp") center / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(0, 38, 43, 0.96) 0%,
    rgba(0, 53, 59, 0.88) 42%,
    rgba(0, 53, 59, 0.45) 100%
  );
}

/*
 * align-items: center centraliza a coluna de texto em relação à do formulário,
 * que é bem mais alta. Não afeta a .hero-aside, que traz align-self: stretch
 * próprio e continua ocupando a altura toda da linha.
 */
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero .eyebrow {
  color: var(--lime-400);
}

.hero .eyebrow::before {
  background: var(--lime-400);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.015em;
}

.hero h1 em {
  font-style: normal;
  color: var(--lime-400);
}

.hero p.lead {
  font-size: 19px;
  line-height: 1.45;
  color: #d5e6e6;
  margin-bottom: 30px;
  max-width: 530px;
}

.hero-checks {
  list-style: none;
  margin-bottom: 36px;
}

/*
 * O marcador é posicionado em absoluto, e não como item flex: com flex, o <b>
 * do primeiro item e o texto que vem depois dele virariam dois itens separados
 * e quebrariam a frase em duas colunas.
 */
/*
 * O primeiro item é o único longo o bastante para quebrar, e na quebra deixava
 * a palavra "loja" órfã na segunda linha. As duas declarações são um degrau de
 * suporte: quem entende "pretty" usa ele (mantém a 1ª linha cheia e evita a
 * linha final curta); quem só entende "balance" fica com o equilíbrio; quem não
 * entende nenhum dos dois ignora ambos e quebra normalmente.
 */
.hero-checks li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  color: #eef6f6;
  font-size: 16px;
  line-height: 1.45;
  text-wrap: balance;
  text-wrap: pretty;
}

.hero-checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--lime-400);
  color: var(--green-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 0 0 4px rgba(175, 227, 39, 0.22);
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/*
 * Coluna da direita do hero: formulário
 */
.hero-aside {
  display: flex;
  flex-direction: column;
}

.hero-img {
  display: block;
  width: 90%;
  height: auto;
  margin-top: 24px;
  filter: drop-shadow(0 18px 28px rgba(0, 20, 25, 0.45));
}

@media (max-width: 960px) {
  .hero-aside {
    align-self: auto;
  }

  .hero-img {
    max-width: 440px;
    margin: 20px auto 0;
  }
}

/* FORM CARD */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 34px;
  color: var(--ink);
  border-top: 5px solid var(--lime-400);
}

.form-card h3 {
  font-size: 22px;
  color: var(--green-900);
  margin-bottom: 6px;
}

.form-card .form-sub {
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-bottom: 22px;
}

.form-card label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--ink);
}

.form-card input,
.form-card select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 15px;
  background: #fffdfa;
  color: var(--ink);
  transition: 0.15s;
}

.form-card input:focus,
.form-card select:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(0, 95, 107, 0.14);
  background: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-card .btn {
  width: 100%;
  padding: 17px;
}

.form-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--ink-soft);
  margin-top: 14px;
}

/* STATS overlapping card */
.stats-float {
  position: relative;
  z-index: 5;
  margin-top: -72px;
}

.stats-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 34px 24px;
  border: 1px solid var(--line);
}

.stat {
  text-align: center;
  position: relative;
}

.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  height: 76%;
  width: 1px;
  background: var(--line);
}

/*
 * A Host Grotesk termina no peso 800, que já é o usado aqui. Para os números
 * ficarem mais encorpados sem cair no negrito sintético, o traço do glifo é
 * espessado com text-stroke e o tracking fecha um pouco.
 */
.stat b {
  display: block;
  font-family: "Host Grotesk", sans-serif;
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green-700);
  -webkit-text-stroke: 0.6px currentColor;
  white-space: nowrap;
}

.stat span {
  font-size: 14px;
  color: var(--ink-soft);
}

/* MARKET */
.market-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 48px;
}

.market-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: 0.25s;
}

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

.market-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--green-700), var(--lime-400));
}

.market-card .num {
  font-family: "Host Grotesk", sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--lime-700);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.market-card h3 {
  font-size: 19px;
  color: var(--green-900);
  margin-bottom: 10px;
}

.market-card p {
  font-size: 15px;
  color: var(--ink-soft);
}

/* PERSONAS */
.personas {
  background: var(--white);
}

.personas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 48px;
}

.persona {
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: 0.25s;
}

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

.persona-head {
  padding: 28px 32px;
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
}

.persona-head .tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-900);
  background: var(--lime-400);
  padding: 4px 12px;
  border-radius: 99px;
}

.persona-head h3 {
  font-size: 22px;
  margin-top: 12px;
}

.persona-body {
  padding: 28px 32px;
  flex: 1;
}

.persona-body ul {
  list-style: none;
}

.persona-body li {
  display: flex;
  gap: 11px;
  margin-bottom: 13px;
  font-size: 15.5px;
  color: var(--ink);
}

.persona-body li::before {
  content: "→";
  color: var(--green-700);
  font-weight: 800;
  flex: none;
}

.persona-foot {
  padding: 0 32px 30px;
}

.persona-foot a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--green-700);
  font-weight: 700;
  text-decoration: none;
  font-size: 18px;
  border-bottom: 2px solid var(--lime-400);
  padding-bottom: 2px;
}

/* BENEFITS */
.ben-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 48px;
}

.ben {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  background: var(--white);
  transition: 0.25s;
}

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

.ben .ico {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--green-100), #f2fbf9);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  color: var(--green-700);
}

.ben .ico svg {
  width: 26px;
  height: 26px;
}

.ben h3 {
  font-size: 18px;
  color: var(--green-900);
  margin-bottom: 9px;
}

.ben p {
  font-size: 16px;
  color: var(--ink-soft);
}

/* PRODUCTS */
.products {
  background: var(--white);
}

/*
 * Carrossel no padrão da seção "Linha Completa de Produtos" do site principal:
 * cards lime (#afe327) arredondados em 30px, título em verde-escuro, foto solta
 * sobre o card (as imagens têm fundo transparente) e setas circulares escuras.
 *
 * A rolagem é nativa, com scroll-snap; as setas só chamam scrollBy(). Assim o
 * arraste no touch e o scroll horizontal do trackpad funcionam sem JS.
 */
.prod-carousel {
  position: relative;
  margin-top: 48px;
}

.prod-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* respiro para a sombra dos cards não ser cortada pelo overflow */
  padding: 6px 4px 10px;
  scrollbar-width: none;
}

.prod-track::-webkit-scrollbar {
  display: none;
}

.prod-track:focus-visible {
  outline: 2px solid var(--green-700);
  outline-offset: 4px;
  border-radius: 30px;
}

@media (prefers-reduced-motion: reduce) {
  .prod-track {
    scroll-behavior: auto;
  }
}

/* 3 cards por vez, descontando os 22px de gap entre eles */
.prod {
  position: relative;
  /* o card é um <a> para a categoria no site principal */
  display: block;
  text-decoration: none;
  color: inherit;
  flex: 0 0 calc((100% - 2 * 22px) / 3);
  scroll-snap-align: start;
  background: var(--lime-400);
  border-radius: 30px;
  padding: 24px 20px;
  text-align: center;
  transition: 0.25s;
}

.prod:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.prod:focus-visible {
  outline: 3px solid var(--green-900);
  outline-offset: 3px;
}

/* Sem o último snap em "end" a rolagem não alcança o fim da lista */
.prod:last-child {
  scroll-snap-align: end;
}

/* Área da foto: sem painel branco, a imagem fica direto sobre o lime */
.prod .ph {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.prod .ph img {
  max-height: 120px;
  max-width: 78%;
  width: auto;
  object-fit: contain;
}

.prod h3 {
  font-size: 18px;
  color: var(--green-900);
  margin-bottom: 4px;
}

.prod p {
  font-size: 13.5px;
  color: rgba(0, 53, 59, 0.72);
}

/*
 * Selos sobrepostos no canto superior direito do card. Fora do fluxo, todos os
 * cards ficam com a mesma altura, tenham selos ou não.
 */
.prod .selos {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.prod .selos img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 53, 59, 0.3));
}

/*
 * Ecopool: a linha tem identidade azul própria no site principal (.hero-eco,
 * #1f7eff), então o card foge do lime e ganha destaque dentro do carrossel.
 * Vem depois das regras de .prod porque os seletores têm a mesma
 * especificidade — quem decide aqui é a ordem.
 */
.prod--ecopool {
  background: var(--ecopool);
}

.prod--ecopool h3 {
  color: #fff;
}

.prod--ecopool p {
  color: rgba(255, 255, 255, 0.88);
}

/* A arte da Ecopool já vem composta (selo + fundo), então ocupa a caixa toda */
.prod--ecopool .ph img {
  max-height: 100%;
  max-width: 100%;
}

/* Setas: mesmo desenho do .seta-2 do site principal, em alvo de 44px */
/*
 * Alinhadas ao centro da faixa da foto (24px de padding + 140px de imagem), e
 * não ao meio do card: assim não cobrem o título nem os selos das pontas.
 */
.prod-nav {
  position: absolute;
  top: 100px;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 48px;
  background: var(--green-900);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 53, 59, 0.28);
  transition: 0.2s;
}

.prod-nav svg {
  width: 20px;
  height: 20px;
}

.prod-nav:hover {
  background: var(--green-700);
}

.prod-nav:disabled {
  opacity: 0.3;
  cursor: default;
  box-shadow: none;
}

.prod-nav--prev {
  left: -18px;
}

.prod-nav--next {
  right: -18px;
}

@media (max-width: 1220px) {
  .prod-nav--prev {
    left: 4px;
  }

  .prod-nav--next {
    right: 4px;
  }
}

.prod-cta {
  margin-top: 44px;
  text-align: center;
}

/* STEPS */
.steps {
  background: linear-gradient(150deg, var(--green-950), var(--green-800));
  color: #fff;
  position: relative;
  overflow: hidden;
}

.steps::before {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(175, 227, 39, 0.14), transparent 70%);
}

.steps .section-title {
  color: #fff;
}

.steps .section-sub {
  color: #c5dbdb;
}

.steps .eyebrow {
  color: var(--lime-400);
}

.steps .eyebrow::before {
  background: var(--lime-400);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
  position: relative;
  z-index: 2;
}

.step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 28px 24px;
  backdrop-filter: blur(4px);
}

.step .n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--lime-400);
  color: var(--green-900);
  font-family: "Host Grotesk", sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14.5px;
  color: #c5dbdb;
}

.steps .cta-line {
  margin-top: 56px;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* TESTIMONIALS */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 48px;
}

/*
 * Card no mesmo desenho dos depoimentos da LP do Banho TriploB: foto redonda
 * no topo, nome e cidade logo abaixo e o texto por último, tudo centralizado.
 */
.testi {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--line);
}

.testi .stars {
  color: var(--lime-700);
  font-size: 15px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testi blockquote {
  font-size: 15.5px;
  color: var(--ink);
}

.testi .who {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}

.testi .avatar {
  display: block;
  width: 159px;
  height: 159px;
  max-width: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.testi .who b {
  display: block;
  font-size: 20px;
  color: var(--green-900);
  margin-bottom: 2px;
}

.testi .who span {
  font-size: 14px;
  color: var(--ink-soft);
}

/* FAQ */
.faq {
  background: var(--white);
}

.faq-list {
  max-width: 780px;
  margin: 48px auto 0;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 13px;
  margin-bottom: 12px;
  background: var(--bg);
  overflow: hidden;
  transition: 0.2s;
}

.faq-item[open] {
  border-color: var(--green-700);
  background: #fff;
  box-shadow: var(--shadow);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 19px 24px;
  font-weight: 700;
  font-size: 16px;
  color: var(--green-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: "Host Grotesk", sans-serif;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 23px;
  color: var(--green-700);
  font-weight: 400;
  flex: none;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .a {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--ink-soft);
}

/* FINAL CTA */
.final {
  background: linear-gradient(140deg, var(--green-900), var(--green-700));
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final::before {
  content: "";
  position: absolute;
  right: -140px;
  top: -140px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(175, 227, 39, 0.18), transparent 70%);
}

.final .wrap {
  position: relative;
  z-index: 2;
}

.final h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 800;
  max-width: 760px;
  margin: 0 auto 18px;
  letter-spacing: -0.01em;
}

.final h2 em {
  font-style: normal;
  color: var(--lime-400);
}

.final p {
  color: #d5e6e6;
  font-size: 18px;
  max-width: 580px;
  margin: 0 auto 34px;
}

.final .hero-ctas {
  justify-content: center;
}

/* FOOTER */
footer {
  background: var(--green-950);
  color: #9fb8ba;
  padding: 52px 0 40px;
  font-size: 14px;
}

footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  align-items: flex-start;
}

footer .flogo {
  height: 34px;
  width: auto;
  margin-bottom: 14px;
}

footer b {
  color: #fff;
}

footer a {
  color: #cfe0e2;
  text-decoration: none;
}

footer a:hover {
  color: #fff;
}

/* Redes e Links: um por linha, no lugar dos separadores "·" */
.footer-social,
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 6px;
}

.footer-social a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

/* ---------------------------------------------------------------------- *
 * WhatsApp flutuante
 *
 * Réplica do widget do site principal (sec-topo.php + .fixed-right-bottom):
 * pílula branca com a frase "Atendimento Comercial", botão redondo de 3.5rem
 * em #25d366 e o anel de pulso atrás.
 * ---------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  inset: auto 0.5rem 2rem auto;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wa-float__label {
  background: #fff;
  border-radius: 1rem;
  padding: 0.65rem;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--green-900);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.wa-float__btn {
  position: relative;
  flex: none;
  padding: 0;
  border: 0;
  cursor: pointer;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 100%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.45, 0.182, 0.111, 0.989);
}

.wa-float__btn:hover {
  background: #128c7e;
  transform: scale(1.05);
}

.wa-float__ico {
  position: relative;
  z-index: 2;
  width: 30px;
  height: 30px;
}

/* O ícone alterna entre o WhatsApp (fechado) e o X (aberto) */
.wa-float__ico--close {
  display: none;
}

.wa-float__btn.is-open .wa-float__ico--open {
  display: none;
}

.wa-float__btn.is-open .wa-float__ico--close {
  display: block;
}

/* ---------------------------------------------------------------------- *
 * Painel de atendimento do WhatsApp
 *
 * popover="auto": fecha ao clicar fora ou com Esc sem precisar de JS.
 * Reproduz o .whatsapp-chat do site principal (sec-topo.php).
 * ---------------------------------------------------------------------- */

.wa-chat {
  position: fixed;
  inset: auto 0.5rem 7rem auto;
  z-index: 998;
  width: min(300px, calc(100vw - 2rem));
  margin: 0;
  padding: 18px;
  border: 0;
  border-radius: 1rem;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 40px rgba(0, 38, 43, 0.28);

  display: none;
  opacity: 0;
  translate: 0 12px;
  transition:
    opacity 0.18s ease,
    translate 0.18s ease,
    display 0.18s allow-discrete,
    overlay 0.18s allow-discrete;
}

/*
 * :popover-open precisa conviver com o fallback no mesmo seletor: um navegador
 * que não conheça a pseudo-classe descartaria a regra inteira se viesse só ela.
 */
.wa-chat:is(:popover-open, .wa-chat--open) {
  display: block;
  opacity: 1;
  translate: 0 0;
}

@starting-style {
  .wa-chat:is(:popover-open, .wa-chat--open) {
    opacity: 0;
    translate: 0 12px;
  }
}

.wa-chat__head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-chat__logo {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
}

.wa-chat__title {
  flex: 1;
  font-size: 15px;
  font-weight: 700;
  color: var(--green-900);
}

.wa-chat__close {
  flex: none;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wa-chat__close:hover {
  background: var(--bg);
  color: var(--ink);
}

.wa-chat__close svg {
  width: 16px;
  height: 16px;
}

.wa-chat__phone {
  display: block;
  margin-top: 14px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--green-900);
  text-decoration: none;
}

.wa-chat__phone:hover {
  color: #25d366;
}

.wa-chat__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 12px;
  border-radius: 48px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
}

.wa-chat__cta:hover {
  background: #128c7e;
}

/* Anel de pulso: no site principal vem de uma interação Webflow; aqui é CSS */
.wa-float__pulse {
  position: absolute;
  inset: -2px;
  border-radius: 100%;
  background: #25d36659;
  animation: wa-pulse 2s ease-out infinite;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  70% {
    transform: scale(1.55);
    opacity: 0;
  }
  100% {
    transform: scale(1.55);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-float__pulse {
    animation: none;
  }
}

/* MOBILE STICKY CTA */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(0, 53, 59, 0.12);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.sticky-cta .btn {
  width: 100%;
  padding: 14px;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-bottom: 120px;
  }

  .market-grid,
  .ben-grid,
  .testi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* 2 cards por vez */
  .prod {
    flex-basis: calc((100% - 22px) / 2);
  }

  .stats-card {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat + .stat::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 68px 0;
  }

  .personas-grid,
  .market-grid,
  .ben-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  /*
   * Rodapé em coluna única. Como flex-wrap + space-between, "Comercial" e
   * "Redes" cabiam lado a lado e ficavam jogados para as bordas opostas.
   */
  footer .wrap {
    flex-direction: column;
    justify-content: flex-start;
    gap: 32px;
  }

  /*
   * Depoimentos viram carrossel: são textos longos e, empilhados, empurrariam o
   * resto da página para muito longe. Mesmo padrão do carrossel de produtos —
   * rolagem nativa com scroll-snap e o próximo card espiando na borda.
   */
  .testi-grid {
    display: flex;
    grid-template-columns: none;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 10px;
    scrollbar-width: none;
  }

  .testi-grid::-webkit-scrollbar {
    display: none;
  }

  .testi {
    flex: 0 0 86%;
    scroll-snap-align: start;
  }

  .testi:last-child {
    scroll-snap-align: end;
  }

  /*
   * 1 card por vez, com o seguinte aparecendo na borda: sem as setas, é essa
   * "espiada" que mostra que a lista continua e pode ser arrastada.
   */
  .prod {
    flex-basis: 86%;
  }

  .prod-nav {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .sticky-cta {
    display: block;
  }

  .wa-float {
    bottom: 84px;
  }

  /*
   * Com o formulário do hero à vista, o CTA fixo levaria para onde a pessoa já
   * está — some, e o FAB desce para não ficar flutuando sobre um vão.
   */
  body.form-hero-visivel .sticky-cta {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
  }

  body.form-hero-visivel .wa-float {
    bottom: 22px;
  }

  body {
    padding-bottom: 70px;
  }
}

/* Retorno do formulário: o sucesso abre o card, o erro fica junto ao botão */
.form-sucesso,
.form-erro {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
}

.form-sucesso {
  /* fica acima dos campos: precisa do respiro que o .form-sub tinha */
  margin-bottom: 22px;
  background: rgba(175, 227, 39, 0.18);
  border: 1px solid var(--lime-400);
  color: var(--green-900);
}

.form-sucesso .ico-line {
  margin-top: 2px;
  color: var(--lime-700);
}

.form-erro {
  margin-bottom: 14px;
  background: #fdecec;
  border: 1px solid #e0b4b4;
  color: #8a2b2b;
}
