/* =========================================================
   bennd´s — Home
   Recriação fiel do layout original (canvas de 1200px)
   ========================================================= */

:root {
  /* Cores */
  --bg: #E6E6E6;
  --shadow-dark: #C5C5C5;
  --shadow-light: #FFFFFF;
  --title: #888888;
  --title-2: #878787;
  --text: #777777;
  --text-soft: #91999D;
  --btn-text: #444444;
  --nav-active: #999999;
  --footer-text: #868686;
  --grad: linear-gradient(to right, #87CE40 0%, #4EFEA5 100%);

  /* Neumorfismo */
  --neu: 6px 6px 12px 0 var(--shadow-dark), -6px -6px 12px 0 var(--shadow-light);

  /* Animação */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --container: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  /* As artes passam do container de 1200px; só a borda da tela as corta */
  overflow-x: hidden;
}
html { overflow-x: hidden; }

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  position: relative;
}

/* Texto com gradiente verde */
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Botão neumórfico ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 278px;
  height: 59px;
  padding: 0 24px;
  background: var(--bg);
  color: var(--btn-text);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  border-radius: 6px;
  box-shadow: var(--neu);
  transition: transform .25s ease-out, background-color .25s ease-out, color .25s ease-out, opacity .25s ease-out;
}
.btn:active { transform: scale(.98); }
.btn--sm { min-width: 169px; height: 49px; }
.header .btn--sm { min-width: 139px; font-size: 16px; }

/* ---------- Cabeçalho ---------- */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 33px 11px 0 4px;
  height: 110px;
  align-items: flex-start;
  z-index: 10;
}
.header__logo { margin-top: 4px; }
.header__logo img { width: 139px; }

.header__nav {
  display: flex;
  gap: 40px;
  margin-top: 10px;
  margin-left: 140px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
}
.header__nav a { color: var(--text); transition: color .25s; }
.header__nav a.is-active,
.header__nav a:hover { color: var(--nav-active); }

/* ---------- Hero ---------- */
.hero {
  min-height: 832px;
}
.hero__text {
  position: relative;
  z-index: 2;
  padding: 109px 0 0 30px;
  max-width: 520px;
}
.hero__title {
  display: flex;
  flex-direction: column;
  font-size: 54px;
  font-weight: 600;
  line-height: 63px;
  color: var(--title);
}
.hero__sub {
  margin-top: 33px;
  max-width: 468px;
  font-size: 18px;
  line-height: 30.6px;
  color: var(--text);
}
.hero .btn { margin-top: 66px; }

/* Caixa da composição (posições em % da caixa, medidas do original) */
.hero__art,
.product__art {
  position: relative;
}
/* Caixa da arte do hero: cada página ajusta via variáveis (padrão = Home) */
.hero__art {
  position: absolute;
  top: var(--art-top, -15px);
  left: var(--art-left, 43.6%);
  width: var(--art-width, 56.4%);
  aspect-ratio: var(--art-ratio, 677 / 850);
}
.art {
  position: absolute;
  left: var(--l);
  top: var(--t);
  width: var(--w);
  max-width: none;
}

/* ---------- Intro / Exigências ---------- */
.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 44px;
  font-weight: 600;
  line-height: 51px;
  color: var(--title-2);
  text-align: center;
}
.section-title--left { align-items: flex-start; text-align: left; line-height: 56px; }

.intro { text-align: center; }
.intro__text {
  max-width: 793px;
  margin: 32px auto 0;
  font-size: 18px;
  line-height: 30.6px;
  color: var(--text-soft);
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 325px);
  justify-content: center;
  margin-top: 88px;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--title-2);
}
.feature__icon { width: 175px; height: 122px; object-fit: contain; }
.feature h3 {
  margin-top: 19px;
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
}
.feature p {
  margin-top: 8px;
  max-width: 239px;
  font-size: 16px;
  line-height: 25.6px;
}

/* ---------- Produtos (WebSite / e-Commerce) ---------- */
.product {
  display: grid;
  align-items: center;
}
.product__text { color: var(--title-2); }
.product__text p {
  max-width: 345px;
  margin-top: 30px;
  font-size: 18px;
  line-height: 28.8px;
}
.product__text .btn { margin-top: 56px; }

.product--website {
  margin-top: 158px;
  grid-template-columns: 650px 1fr;
  column-gap: 48px;
}
.product--website .product__art { aspect-ratio: 650 / 620; }

.product--ecommerce {
  margin-top: 88px;
  grid-template-columns: 422px 644px;
  column-gap: 0;
  padding-left: 96px;
}
.product--ecommerce .product__art { aspect-ratio: 644 / 569; }

/* ---------- CTA final ---------- */
.cta {
  margin-top: 120px;
  text-align: center;
}
.cta .section-title { flex-direction: row; justify-content: center; gap: .25em; flex-wrap: wrap; }
.cta__sub {
  margin-top: 10px;
  font-size: 20px;
  line-height: 34px;
  color: var(--text-soft);
}
.cta .btn { margin-top: 42px; min-width: 252px; height: 54px; }

/* ---------- Rodapé ---------- */
.footer {
  margin-top: 82px;
  padding-bottom: 40px;
  text-align: center;
  color: var(--footer-text);
}
.footer__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 250px);
  justify-content: center;
  gap: 0 0;
  font-size: 15px;
  line-height: 21px;
}
.footer__contacts li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.footer__contacts .icon { width: 28px; height: 28px; }
.footer__contacts a:hover { text-decoration: underline; }

.footer__brand {
  margin-top: 82px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.footer__brand img { width: 111px; }
.footer__brand p {
  font-size: 13px;
  line-height: 18.2px;
  color: var(--text);
}

/* =========================================================
   Páginas internas (WebSite / e-Commerce)
   ========================================================= */

/* Hero das páginas internas: texto um pouco mais baixo que na Home */
.hero--page .hero__text { padding-top: 129px; }
.hero--page .hero__title { line-height: 65px; }
.hero--page .hero__sub { margin-top: 41px; max-width: 404px; }
.hero--page .btn { margin-top: 75px; min-width: 216px; height: 58px; }

/* Cards com colunas mais largas */
.features--wide { grid-template-columns: repeat(3, 355px); margin-top: 86px; }
.features--wide .feature__icon { width: 178px; height: 126px; }
.features--wide .feature h3 { margin-top: 15px; }
.features--wide .feature p { max-width: 259px; margin-top: 15px; }

/* Seção dividida: arte de um lado, título + lista do outro */
.split {
  display: grid;
  align-items: center;
}
.split__text { color: var(--title-2); }
.split__art {
  position: relative;
  aspect-ratio: var(--ratio);
  width: calc(100% + var(--bleed, 0px));
  margin-left: calc(var(--bleed, 0px) * -1);
}
.split__text .btn { margin-top: 52px; min-width: 138px; height: 50px; }
.split__text .btn--lg { min-width: 193px; height: 58px; }

/* Lista com bolinhas neumórficas */
.checklist {
  list-style: none;
  margin: 21px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.checklist li {
  position: relative;
  padding-left: 33px;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 2px 2px 3px 0 #C4C4C4, -2px -2px 3px 0 #FFFFFF;
}
.checklist strong {
  display: block;
  font-size: 18px;
  font-weight: 500;
  line-height: 29px;
  color: var(--title-2);
}
.checklist span {
  display: block;
  max-width: 345px;
  font-size: 16px;
  line-height: 25.6px;
  color: var(--title-2);
}
.checklist--soft span { color: var(--text-soft); }

/* Caixas neumórficas flutuantes (WebSite > Jornada) */
.boxes {
  position: relative;
  aspect-ratio: 517 / 542;
}
.box {
  position: absolute;
  left: var(--l);
  top: var(--t);
  width: var(--w);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: var(--bg);
  border-radius: var(--r, 35px);
  box-shadow: 15px 15px 30px 0 #C4C4C4, -15px -15px 30px 0 #FFFFFF;
}
.box img { width: 30px; height: 30px; }

/* ----- WebSite ----- */
.page-website .hero__art { --art-top: 24px; --art-left: 28.25%; --art-width: 71.75%; --art-ratio: 861 / 866; }

.split--estrutura {
  margin-top: 166px;
  grid-template-columns: 672px 1fr;
  column-gap: 27px;
}
.split--estrutura .split__art { --ratio: 751 / 508; --bleed: 79px; }
.split--estrutura .split__text { padding-top: 56px; }

.split--jornada {
  margin-top: 169px;
  grid-template-columns: 1fr 517px;
  column-gap: 94px;
  padding-left: 96px;
  padding-right: 53px;
}

/* ----- e-Commerce ----- */
.page-ecommerce .hero__art { --art-top: 44px; --art-left: 25.5%; --art-width: 74.5%; --art-ratio: 894 / 746; }

.split--plataformas {
  margin-top: 81px;
  grid-template-columns: 605px 1fr;
  column-gap: 94px;
}
.split--plataformas .split__art { --ratio: 654 / 599; --bleed: 49px; }
.split--plataformas .split__text { padding-top: 136px; }

.split--pensado {
  margin-top: 135px;
  grid-template-columns: 1fr 612px;
  column-gap: 40px;
  padding-left: 96px;
}
.split--pensado .split__art { --ratio: 612 / 629; }
.split--pensado .split__text { padding-bottom: 42px; }

.page-website .cta { margin-top: 134px; }
.page-website .footer { margin-top: 105px; }
.page-ecommerce .cta { margin-top: 91px; }

/* =========================================================
   Página de Aceite
   ========================================================= */

/* Nome do cliente no lugar do menu */
.header__client {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.4;
  color: var(--text);
}

.page-aceite .hero__art { --art-top: 3px; --art-left: 45.4%; --art-width: 57.2%; --art-ratio: 751 / 846; }
.page-aceite .hero__art img { width: 100%; }
.page-aceite .hero__text { max-width: 560px; }
.page-aceite .hero__sub { max-width: 520px; }

/* Termos */
.terms {
  max-width: 887px;
  margin: 46px auto 0;
  color: var(--title-2);
  font-size: 16px;
  line-height: 25.6px;
}
.terms h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 25.6px;
  color: var(--text);
}
.terms section + section { margin-top: 28px; }
.terms p { margin: 0; }
.terms p + p { margin-top: 0; }
.terms strong { font-weight: 600; color: var(--text); }
.terms ul { margin: 28px 0 0; padding: 0; list-style: none; }
.terms__meta {
  margin-top: 32px;
  font-size: 13px;
  color: var(--text);
}

/* Formulário de aceite */
.accept {
  margin-top: 134px;
  text-align: center;
}
.accept__sub {
  margin-top: 4px;
  font-size: 20px;
  line-height: 34px;
  color: var(--text-soft);
}
.accept__form {
  max-width: 562px;
  margin: 26px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}
.field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: #F1F1F1;
  font: 500 15px 'Poppins', sans-serif;
  color: var(--btn-text);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #A9A9A9; }
.field input:focus { border-color: #87CE40; box-shadow: 0 0 0 3px rgba(135, 206, 64, .15); }
.field input[aria-invalid="true"] { border-color: #D9534F; }
.field__error {
  display: block;
  min-height: 0;
  margin-top: 4px;
  font-size: 13px;
  color: #C9302C;
}
.field__error:empty { display: none; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text);
  cursor: pointer;
}
.check input { margin: 3px 0 0; accent-color: #6CE570; width: 14px; height: 14px; }

.accept__privacy {
  font-size: 12px;
  line-height: 18px;
  color: #999;
}

.accept__form .btn {
  width: 100%;
  margin-top: 26px;
  height: 55px;
  border: 0;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
}
.accept__form .btn:disabled { opacity: .6; cursor: wait; }

.accept__status {
  font-size: 14px;
  text-align: center;
  color: #C9302C;
}
.accept__status:empty { display: none; }

/* Confirmação depois do aceite */
.accept__done {
  max-width: 562px;
  margin: 26px auto 0;
  padding: 32px 24px;
  border-radius: 6px;
  background: var(--bg);
  box-shadow: var(--neu);
  color: var(--title-2);
  line-height: 1.6;
}
.accept__done strong { color: var(--btn-text); }
.accept__done .btn { margin-top: 24px; }

/* =========================================================
   Animações (mesmos keyframes, curva e durações do original)
   ========================================================= */
@keyframes slideLeft {
  0%   { transform: translateX(-200px); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateX(0); }
}
@keyframes slideUp {
  0%   { transform: translateY(120px); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateY(0); }
}
@keyframes slideDown {
  0%   { transform: translateY(-120px); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateY(0); }
}

/* Só esconde os elementos se o JS estiver ativo */
.js .anim { opacity: 0; }
.js .anim.is-visible {
  opacity: 1;
  animation-duration: var(--dur, 1s);
  animation-delay: var(--delay, 0s);
  animation-timing-function: var(--ease);
  animation-fill-mode: both;
}
.js .anim--left.is-visible { animation-name: slideLeft; }
.js .anim--up.is-visible   { animation-name: slideUp; }
.js .anim--down.is-visible { animation-name: slideDown; }
.js .anim--scale.is-visible { animation-name: scaleIn; }

@keyframes scaleIn {
  0%   { transform: scale(0); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: scale(1); }
}

.hero__title .anim,
.section-title .anim { display: block; }
.cta .section-title .anim { display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  .js .anim { opacity: 1; }
  .js .anim.is-visible { animation: none; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1220px) {
  .container { padding-inline: 16px; }
  .header { padding-inline: 16px; }
  .header__nav { margin-left: 0; }
  .product--website { grid-template-columns: 54% 1fr; column-gap: 4%; }
  .product--ecommerce { grid-template-columns: 40% 1fr; padding-left: 6%; }

  .features--wide { grid-template-columns: repeat(3, minmax(0, 300px)); }
  .split--estrutura { grid-template-columns: 56% 1fr; column-gap: 3%; }
  .split--plataformas { grid-template-columns: 50% 1fr; column-gap: 6%; }
  .split--jornada { grid-template-columns: 1fr 43%; column-gap: 6%; padding-left: 6%; padding-right: 4%; }
  .split--pensado { grid-template-columns: 1fr 51%; column-gap: 3%; padding-left: 6%; }
}

@media (max-width: 900px) {
  .header { height: auto; padding-top: 20px; align-items: center; }
  .header__nav { display: none; }

  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero__text { padding: 40px 0 0; max-width: none; }
  .hero__title { font-size: 40px; line-height: 48px; }
  .hero__art {
    position: relative;
    top: 0; left: auto;
    width: 100%;
    max-width: 520px;
    margin: 40px auto 0;
  }

  .section-title { font-size: 32px; line-height: 40px; }
  .section-title--left { line-height: 42px; }
  .intro { margin-top: 40px; }

  .features { grid-template-columns: 1fr; gap: 48px; margin-top: 56px; }

  .product,
  .product--website,
  .product--ecommerce {
    grid-template-columns: 1fr;
    padding-left: 16px;
    row-gap: 40px;
    margin-top: 80px;
  }
  .product--website .product__art { order: 2; }
  .product__art { width: 100%; max-width: 520px; margin-inline: auto; }

  .hero--page .hero__text { padding-top: 40px; }
  .hero--page .hero__title { line-height: 48px; }
  .hero--page .btn { margin-top: 48px; }

  .features--wide { grid-template-columns: 1fr; }

  .split,
  .split--estrutura,
  .split--plataformas,
  .split--jornada,
  .split--pensado {
    grid-template-columns: 1fr;
    row-gap: 48px;
    margin-top: 80px;
    padding-inline: 16px;
  }
  .split__art,
  .boxes {
    width: 100%;
    max-width: 520px;
    margin-inline: auto;
  }
  .split--estrutura .split__art,
  .split--plataformas .split__art { order: 2; }
  .split--estrutura .split__text,
  .split--plataformas .split__text,
  .split--pensado .split__text { padding: 0; }
  .boxes { max-width: 360px; margin-top: 16px; }

  .cta,
  .page-website .cta,
  .page-ecommerce .cta { margin-top: 80px; }

  .header__client { display: none; }
  .terms { padding-inline: 16px; }
  .accept { margin-top: 80px; padding-inline: 16px; }

  .footer__contacts { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
  .hero__title,
  .hero--page .hero__title { font-size: 34px; line-height: 42px; }
  .section-title { font-size: 28px; line-height: 36px; }
  .btn { min-width: 0; width: 100%; max-width: 320px; }
  .header .btn--sm { width: auto; min-width: 110px; height: 42px; font-size: 15px; }
  .header__logo img { width: 110px; }
}
