/* Suprema Gestão — landing (dark SaaS / agro financeiro) */

:root {
  --bg: #040f0a;
  --bg-mid: #061a12;
  --bg-elevated: #0c2218;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.1);
  --text: #e8eee9;
  --muted: #93a898;
  --green: #22c55e;
  --green-bright: #4ade80;
  --green-dim: rgba(34, 197, 94, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 16px;
  --radius-sm: 12px;
  --font: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  min-height: 100%;
  /* Ancoras (#contato etc.) respeitam o header fixo */
  scroll-padding-top: 4.75rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(34, 197, 94, 0.55) rgba(4, 15, 10, 0.65);
}

@media (max-width: 960px) {
  html {
    scroll-padding-top: 9rem;
  }
}

/* Scrollbar WebKit */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(4, 15, 10, 0.75);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(74, 222, 128, 0.85) 0%, rgba(34, 197, 94, 0.75) 100%);
  border-radius: 999px;
  border: 2px solid rgba(4, 15, 10, 0.75);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--green-bright) 0%, var(--green) 100%);
}

main[id],
section[id] {
  scroll-margin-top: 4.75rem;
}

@media (max-width: 960px) {
  main[id],
  section[id] {
    scroll-margin-top: 9rem;
  }
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  /* Único fundo da página: rolagem contínua, sem “trocar de pano” por seção */
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, #031a10 0%, var(--bg) 28%, var(--bg-mid) 52%, #05150e 100%),
    radial-gradient(ellipse 140% 90% at 50% -15%, rgba(34, 197, 94, 0.16), transparent 58%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Ambient depth — tom verde contínuo */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 55% at 15% 5%, rgba(34, 197, 94, 0.22), transparent 52%),
    radial-gradient(ellipse 70% 50% at 85% 15%, rgba(74, 222, 128, 0.1), transparent 48%),
    radial-gradient(ellipse 80% 45% at 50% 95%, rgba(16, 185, 129, 0.12), transparent 50%),
    radial-gradient(ellipse 50% 35% at 40% 45%, rgba(34, 197, 94, 0.06), transparent 60%);
  opacity: 1;
}

main {
  position: relative;
  z-index: 1;
  overflow-x: clip;
}

.header,
.footer {
  position: relative;
  z-index: 1;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(4, 15, 10, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.5625rem clamp(1.375rem, 4vw, 2.25rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo__img {
  height: clamp(3rem, 8vw, 4rem);
  width: auto;
  max-width: min(320px, 78vw);
  display: block;
  object-fit: contain;
}

.logo__img--footer {
  height: clamp(2.5rem, 6.5vw, 3.375rem);
  max-width: min(300px, 85vw);
}

.logo__accent {
  color: var(--green);
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s var(--ease);
}

.nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s var(--ease);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.btn[hidden] {
  display: none !important;
}

.btn--header {
  background: var(--green);
  color: #020403;
  white-space: nowrap;
}

.btn--header:hover {
  background: var(--green-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(34, 197, 94, 0.35);
}

.btn--primary {
  background: linear-gradient(180deg, var(--green-bright) 0%, var(--green) 100%);
  color: #020403;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.4);
}

.btn--secondary {
  background: var(--green-dim);
  color: var(--green-bright);
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.btn--secondary:hover {
  background: rgba(34, 197, 94, 0.22);
  border-color: rgba(74, 222, 128, 0.5);
  transform: translateY(-1px);
}

.btn--lg {
  padding: 0.9rem 1.5rem;
  font-size: 1rem;
}

.btn--xl {
  padding: 1.1rem 2rem;
  font-size: 1.05rem;
  border-radius: 12px;
}

/* Hero — 2 columns GRID only (no flex-wrap) */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
  padding: clamp(4rem, 6.5svh, 5.75rem) 1.5rem;
}

.hero__grid {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  /* Leve ajuste óptico para cima, mantendo o centro equilibrado */
  transform: translateY(clamp(-0.5rem, -1.25svh, -0.25rem));
}

.hero__content {
  text-align: left;
  justify-self: start;
  max-width: 560px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  margin: 0 0 1.25rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-bright);
  background: var(--green-dim);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 999px;
}

.hero__title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.hero__lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
}

.hero__actions {
  margin-bottom: 2rem;
}

/* Faixa inferior dos cards: mais afastada do grid/texto+imagem (sem linha) */
.hero__below {
  width: 100%;
  align-self: stretch;
  margin-top: clamp(2rem, 4vw, 3.25rem);
}

.hero__below-inner {
  width: 100%;
  padding-top: 0;
  border-top: none;
}

.hero__below-kicker {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-wins {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
}

.hero-win {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  transition:
    border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.hero-win:hover {
  border-color: rgba(34, 197, 94, 0.28);
  background: rgba(34, 197, 94, 0.06);
}

.hero-win__icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-bright);
}

.hero-win__icon svg {
  width: 100%;
  height: 100%;
}

.hero-win__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.hero-win__title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-win__desc {
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--muted);
}

.hero__segments-kicker {
  margin: 0 0 0.75rem;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-segments {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.45rem 0.55rem;
}

.hero-segments__item {
  padding: 0.45rem 0.95rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(232, 238, 233, 0.88);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
}

.input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.input::placeholder {
  color: rgba(139, 154, 143, 0.7);
}

.input:focus {
  border-color: rgba(34, 197, 94, 0.45);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.form-feedback {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--green-bright);
  min-height: 1.25em;
}

.form-feedback--error {
  color: #f87171;
}

.input--textarea {
  display: block;
  min-height: 8rem;
  resize: vertical;
  line-height: 1.5;
}

/* Contact section */
.section--contact {
  border-top: none;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-aside {
  padding-top: 0.25rem;
}

.contact-aside__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: left;
}

.contact-aside__lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  line-height: 1.45;
  color: var(--muted);
}

.contact-aside__list {
  margin: 0 0 1.5rem;
  padding: 0 0 0 1.2rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.65;
}

.contact-aside__list li {
  margin-bottom: 0.5rem;
}

.contact-aside__list li::marker {
  color: var(--green);
}

.contact-aside__wa {
  width: fit-content;
}

.contact-form {
  position: relative;
  width: 100%;
  min-width: 0;
  margin-top: 0;
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
}

.contact-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1rem;
  align-items: start;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form__label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.contact-form__optional {
  font-weight: 400;
  opacity: 0.85;
}

.contact-form__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.contact-form__actions {
  margin-top: 0.25rem;
}

.contact-form__actions .btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.contact-form__feedback-panel {
  margin-top: 0;
}
.contact-form.contact-form--busy .contact-form__grid,
.contact-form.contact-form--success .contact-form__grid {
  display: none;
}
.contact-form.contact-form--busy .contact-form__feedback-panel,
.contact-form.contact-form--success .contact-form__feedback-panel {
  min-height: min(280px, 48vh);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(4, 12, 8, 0.45);
  box-shadow: var(--shadow);
}
.contact-form.contact-form--busy .form-feedback,
.contact-form.contact-form--success .form-feedback {
  margin-top: 0;
  font-size: clamp(1rem, 2.8vw, 1.125rem);
  line-height: 1.55;
  max-width: 28rem;
  font-weight: 600;
}
.contact-form.contact-form--success .form-feedback {
  color: var(--green-bright);
}
.contact-form__new-msg {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .contact-form__grid {
    grid-template-columns: 1fr;
  }
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--border);
}

.stats__item {
  text-align: left;
}

.stats__value {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.stats__label {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Hero image */
.hero__visual {
  justify-self: end;
  width: 100%;
  max-width: 520px;
}

.hero__image-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  will-change: transform;
}

.hero__image {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
  transform: scale(1.02);
  transition: transform 0.5s var(--ease);
}

.hero__image-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.12) 0%,
    transparent 50%,
    rgba(4, 15, 10, 0.45) 100%
  );
  pointer-events: none;
}

/* Sections */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Divisor suave entre blocos */
.section-divider {
  display: block;
  width: min(1200px, calc(100% - 3rem));
  height: 1px;
  margin: 0 auto;
  border: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.07) 22%,
    rgba(34, 197, 94, 0.24) 50%,
    rgba(255, 255, 255, 0.07) 78%,
    transparent 100%
  );
}

.section-divider--footer {
  width: 100%;
  max-width: none;
  opacity: 0.9;
}

/* Fundo único da página (body + .ambient); seções só organizam conteúdo */
.section {
  position: relative;
  isolation: isolate;
  padding: clamp(4rem, 6vw, 5.5rem) 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-align: left;
}

.section__subtitle {
  margin: 0 0 2.5rem;
  color: var(--muted);
  max-width: 42ch;
  text-align: left;
}

.section--pain {
  border-top: none;
}

.section__subtitle--pain {
  margin-bottom: 2rem;
  max-width: 52ch;
}

.pain-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.pain-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.35rem 1.35rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition:
    border-color 0.25s var(--ease),
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.pain-card:hover {
  border-color: rgba(34, 197, 94, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.pain-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  color: var(--green-bright);
  background: var(--green-dim);
  border: 1px solid rgba(34, 197, 94, 0.22);
}

.pain-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.pain-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--text);
}

.pain-card__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Glass cards */
.section--solution {
  border-top: none;
}

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

.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}

.card {
  padding: 1.75rem 1.5rem;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(34, 197, 94, 0.25);
}

.card__step {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.08em;
}

.card__title {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.card__text {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Testimonials */
.section--testimonials {
  border-top: none;
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.quote {
  margin: 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.quote__text {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text);
  flex: 1;
}

.quote__meta {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.quote__name {
  font-style: normal;
  font-weight: 700;
  font-size: 0.9rem;
}

.quote__role {
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer: faixa própria, contraste com o corpo da página */
.footer {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: 1.625rem 0 1.375rem;
  background: linear-gradient(180deg, rgba(2, 10, 6, 0.97) 0%, #010604 100%);
  border-top: 1px solid rgba(34, 197, 94, 0.12);
  box-shadow: 0 -24px 48px rgba(0, 0, 0, 0.35);
}

.footer__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.25rem;
}

.footer__brand {
  margin: 0;
  line-height: 0;
}

.footer__copy {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.footer__copy a {
  color: var(--green-bright);
  text-decoration: none;
}

.footer__copy a:hover {
  text-decoration: underline;
}

/* Crédito: agência criativa (lado direito do rodapé) */
.site-credit-beway {
  justify-self: end;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.22rem;
  padding: 0;
  line-height: 1;
  text-decoration: none;
  opacity: 0.82;
  transition:
    opacity 0.22s var(--ease),
    transform 0.22s var(--ease);
}

.site-credit-beway:hover,
.site-credit-beway:focus-visible {
  opacity: 1;
  outline: none;
}

.site-credit-beway:focus-visible {
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.45);
  border-radius: 4px;
}

.site-credit-beway__label {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  text-transform: none;
  opacity: 0.88;
  line-height: 1.2;
}

.site-credit-beway__logo {
  display: block;
  height: 19px;
  width: auto;
  max-width: 86px;
  object-fit: contain;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
  transition: transform 0.22s var(--ease);
}

.site-credit-beway:hover .site-credit-beway__logo {
  transform: translateY(-1px);
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: calc(2.35rem + env(safe-area-inset-bottom, 0px));
  z-index: 200;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.45);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.55);
}

.whatsapp-float__icon {
  width: 28px;
  height: 28px;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.65s var(--ease),
    transform 0.65s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger via delay on children — optional inline data-delay */
.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}
.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}
.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

/* Responsive — stack grid to single column; never flex-wrap on hero */
@media (max-width: 960px) {
  body {
    background-attachment: scroll;
  }

  .header__inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto;
    grid-template-areas:
      "brand toggle"
      "cta cta"
      "links links";
    align-items: center;
    padding-inline: clamp(1.25rem, 5vw, 1.875rem);
    padding-block: 0.5rem;
  }

  .logo {
    grid-area: brand;
    justify-self: start;
  }

  .nav-toggle {
    display: flex;
    grid-area: toggle;
    justify-self: end;
  }

  .btn--header {
    grid-area: cta;
    width: 100%;
    justify-content: center;
  }

  .nav {
    display: none;
    grid-area: links;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-top: 0.25rem;
  }

  .header.is-open .nav {
    display: flex;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__visual {
    justify-self: start;
    max-width: none;
  }

  .hero-wins {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.35rem;
    max-width: 17rem;
    margin-left: auto;
    margin-right: auto;
    padding-top: 1.5rem;
  }

  .stats__item {
    text-align: center;
  }

  .cards,
  .testimonials {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 0.95rem;
  }

  .site-credit-beway {
    justify-self: center;
    align-items: center;
  }

  .site-credit-beway__logo {
    height: 18px;
    max-width: 82px;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: calc(2.1rem + env(safe-area-inset-bottom, 0px));
  }
}

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

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

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

  .hero__grid {
    transform: none;
  }

  .btn:hover,
  .card:hover,
  .pain-card:hover,
  .hero-win:hover,
  .whatsapp-float:hover {
    transform: none;
  }

  .site-credit-beway,
  .site-credit-beway__logo {
    transition: none;
  }

  .site-credit-beway:hover .site-credit-beway__logo {
    transform: none;
  }
}
