/* ============================================================
   PedeBen — landing page comercial
   Paleta: padrão vermelho oficial do digital-menu
   (packages/ui/src/tokens.css: --brand, --brand-dark, --brand-light)
   ============================================================ */

:root {
  /* marca (tokens do digital-menu) */
  --brand: #e11d2e;
  --brand-dark: #c4101f;
  --brand-light: #fef2f3;
  --brand-soft: #fde5e7;

  /* superfícies quentes (substituem o rosa chapado das faixas) */
  --warm-50: #fffaf7;
  --warm-100: #fff3ec;
  --warm-200: #ffe6da;
  --surface-warm: linear-gradient(180deg, var(--warm-50) 0%, var(--warm-100) 100%);

  /* texto e superfícies */
  --ink: #111827;
  --ink-muted: #6b7280;
  --ink-subtle: #9ca3af;
  --surface: #ffffff;
  --border: #e5e7eb;

  /* WhatsApp (cor da plataforma) */
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  /* forma e sombra (espelha os tokens do digital-menu) */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --shadow-card: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.06);
  --shadow-raised: 0 4px 12px rgba(16, 24, 40, 0.08);
  --shadow-overlay: 0 12px 32px rgba(16, 24, 40, 0.16);
  --shadow-soft: 0 10px 30px -12px rgba(225, 29, 46, 0.18), 0 2px 6px rgba(16, 24, 40, 0.05);
  --shadow-lift: 0 18px 40px -14px rgba(225, 29, 46, 0.28), 0 4px 10px rgba(16, 24, 40, 0.06);

  /* tipografia */
  --font-display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* ritmo */
  --section-y: clamp(56px, 7vw, 88px);
  --container: 1200px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

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

/* ---------- botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-lg {
  padding: 15px 26px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 16px rgba(225, 29, 46, 0.25);
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(225, 29, 46, 0.3);
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-2px);
  box-shadow: var(--shadow-raised);
}

.btn-ghost .ic-wa {
  color: var(--whatsapp);
}

.btn-outline {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand);
}

.btn-outline:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(225, 29, 46, 0.25);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
}

.btn .ic {
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}

.btn-primary:hover .ic {
  transform: translateX(3px);
}

/* ---------- ícones ---------- */
.ic {
  display: inline-block;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- eyebrow ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
}

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

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-card);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--header-h);
}

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

.site-nav {
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  gap: 28px;
}

.site-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding-block: 6px;
}

.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

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

.site-nav a:hover::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle .ic-close {
  display: none;
}

.nav-toggle[aria-expanded='true'] .ic-open {
  display: none;
}

.nav-toggle[aria-expanded='true'] .ic-close {
  display: inline-block;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(24px, 4vw, 40px) clamp(72px, 8vw, 104px);
  background:
    radial-gradient(60% 70% at 85% 35%, var(--warm-200) 0%, rgba(255, 230, 218, 0) 70%),
    var(--surface-warm);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 4.1vw, 56px);
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-top: 14px;
}

.hero-sub {
  margin-top: 16px;
  font-size: clamp(16px, 2vw, 19px);
  color: var(--ink-muted);
  max-width: 46ch;
}

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

.hero-ctas .btn {
  min-height: 54px;
}

.hero-ctas .btn-ghost {
  border-color: #d1d5db;
}

/* A ilustração cresce para além da coluna e sangra à direita, como na
   referência; o `overflow: hidden` do .hero corta o excesso. */
.hero-art {
  position: relative;
  min-width: 0;
  margin-right: clamp(-160px, -9vw, 0px);
}

.hero-art::before {
  content: '';
  position: absolute;
  inset: 4% 2% 2% 6%;
  border-radius: 48% 52% 44% 56% / 55% 45% 55% 45%;
  background: radial-gradient(ellipse at 55% 50%, #ffffff 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 0;
}

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

.hero-art img {
  width: 100%;
  max-width: none;
}

/* ---------- faixas ---------- */
.band {
  background: var(--brand-light);
}

/* ---------- soluções ---------- */
/* Os cards sobem sobre a base do hero (margem negativa) e costuram as duas
   seções, como na referência. Por isso a faixa não tem fundo próprio. */
.solutions.band {
  position: relative;
  z-index: 2;
  margin-top: clamp(-72px, -6vw, -48px);
  padding-block: 0;
  background: transparent;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.solution-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  border: 1px solid rgba(225, 29, 46, 0.08);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-width: 0;
}

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

.icon-tile {
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: linear-gradient(145deg, var(--warm-100), var(--brand-soft));
  color: var(--brand);
  display: grid;
  place-items: center;
}

.icon-tile .ic {
  width: 26px;
  height: 26px;
}

.solution-card h3 {
  font-size: 16px;
  font-weight: 700;
}

.solution-card p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ---------- como funciona ---------- */
.how {
  padding-block: var(--section-y);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.how h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-top: 14px;
}

.how-sub {
  margin-top: 16px;
  color: var(--ink-muted);
  max-width: 44ch;
}

.how-art {
  margin-top: 30px;
}

.how-art img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-raised);
}

/* timeline vertical com linha pontilhada que se desenha */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding-left: 8px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 31px;
  top: 24px;
  bottom: 24px;
  width: 0;
  border-left: 2px dashed var(--brand);
  opacity: 0.55;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.6s ease;
}

.timeline.drawn::before {
  clip-path: inset(0 0 0% 0);
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: start;
}

.step-icon {
  position: relative;
  z-index: 1;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 2px solid var(--brand);
  color: var(--brand);
  display: grid;
  place-items: center;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.step:hover .step-icon {
  background: var(--brand);
  color: #fff;
  transform: scale(1.06);
}

.step h3 {
  font-size: 17px;
  font-weight: 700;
  padding-top: 2px;
}

.step p {
  margin-top: 4px;
  font-size: 14.5px;
  color: var(--ink-muted);
}

/* ---------- planos ---------- */
.plans {
  padding-block: var(--section-y);
}

.plans-head {
  text-align: center;
  max-width: 62ch;
  margin-inline: auto;
}

.plans-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-top: 12px;
}

.plans-sub {
  margin-top: 12px;
  color: var(--ink-muted);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(32px, 5vw, 52px);
  align-items: stretch;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-width: 0;
}

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

.plan-featured {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-raised);
}

.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  animation: badge-pulse 2.4s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(225, 29, 46, 0.35);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(225, 29, 46, 0);
  }
}

.plan-card h3 {
  font-size: 21px;
  font-weight: 800;
}

.plan-tagline {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-muted);
}

.plan-price {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}

.plan-price .currency {
  font-size: 17px;
  font-weight: 700;
}

.plan-price .amount {
  font-size: clamp(34px, 3.4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.plan-price .period {
  font-size: 15px;
  color: var(--ink-muted);
  font-family: var(--font-body);
}

.plan-features {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
}

.plan-features .ic {
  color: var(--brand);
  flex: 0 0 auto;
  margin-top: 2px;
}

.plan-card .btn {
  margin-top: 24px;
}

/* ---------- depoimentos ---------- */
.testimonials {
  padding-block: var(--section-y);
}

.testimonials-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.testimonials-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-top: 12px;
}

.testimonials-note {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-subtle);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: clamp(28px, 4vw, 40px);
}

.testimonial-card {
  margin: 0;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-width: 0;
}

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

/* avatar grande na lateral esquerda, como na referência */
.testimonial-avatar img {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 3px solid var(--brand-light);
}

.testimonial-body {
  min-width: 0;
}

.testimonial-card blockquote {
  margin: 0;
}

.testimonial-card blockquote p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* estrelas, nome e cargo alinham com a coluna do texto, não com o card */
.stars {
  display: flex;
  gap: 3px;
  color: var(--brand);
  margin-top: 12px;
}

.testimonial-card figcaption {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
}

.testimonial-card figcaption strong {
  font-size: 15px;
}

.testimonial-card figcaption span {
  font-size: 13px;
  color: var(--ink-muted);
}

/* ---------- contato ---------- */
.contact {
  padding-block: 0 var(--section-y);
}

.contact-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-top: 12px;
}

.contact-sub {
  margin-top: 10px;
  color: var(--ink-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(26px, 4vw, 38px);
  align-items: start;
}

/* formulário dentro de um painel branco arredondado, como na referência */
.lead-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.field label {
  font-size: 13.5px;
  font-weight: 600;
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-subtle);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}

.field input.invalid,
.field textarea.invalid {
  border-color: var(--brand-dark);
}

.field-message {
  grid-row: span 2;
}

/* honeypot fora da visão de humanos, sem display:none (bots pulam) */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* botão largo preenchendo a coluna esquerda, nivelado com a textarea */
.form-footer {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: start;
}

.form-footer .btn {
  width: 100%;
}

.form-status {
  font-size: 14px;
  font-weight: 500;
  min-height: 1.4em;
}

.form-status.ok {
  color: var(--whatsapp-dark);
}

.form-status.error {
  color: var(--brand-dark);
}

.btn[disabled] {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

/* cartão lateral do WhatsApp: conteúdo à esquerda, personagem sangrando no canto direito */
.whatsapp-card {
  position: relative;
  background: var(--brand-light);
  border: 1px solid var(--brand-soft);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  min-width: 0;
}

.wa-content {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.wa-badge {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.35);
}

.whatsapp-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-top: 16px;
}

.whatsapp-card p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--ink-muted);
  max-width: 30ch;
}

.whatsapp-card .btn {
  margin-top: 18px;
}

/* a personagem absoluta só convive com o botão em cards largos */
@media (max-width: 640px) {
  .whatsapp-card .wa-art {
    position: static;
    width: min(56%, 200px);
    margin: 14px -20px -42px auto;
  }
}

.wa-art {
  display: block;
  position: absolute;
  right: -8px;
  bottom: -12px;
  width: min(44%, 185px);
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 28px;
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 140px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--ink-muted);
}

.footer-nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
}

.footer-nav a {
  font-size: 13.5px;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

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

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  color: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-fab {
  position: fixed;
  right: calc(22px + env(safe-area-inset-right, 0px));
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: var(--whatsapp);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.07);
  background: var(--whatsapp-dark);
}

/* anel de 1px que cresce e desaparece (efeito radar) */
.whatsapp-fab .ring {
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-full);
  border: 1px solid var(--whatsapp);
  animation: fab-pulse 2s ease-out infinite;
  pointer-events: none;
}

.whatsapp-fab .ring-2 {
  animation-delay: 1s;
}

@keyframes fab-pulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.65);
    opacity: 0;
  }
}

/* ---------- scroll reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--delay, 0s);
}

.js .reveal.revealed {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

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

  .whatsapp-fab .ring {
    display: none;
  }
}

/* ============================================================
   Responsivo
   ============================================================ */

@media (max-width: 1200px) {
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  /* No mobile, texto e CTAs vêm primeiro; a ilustração fecha o hero. */
  .hero-art {
    max-width: 520px;
    margin: 8px auto 0;
  }

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

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

  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

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

  .whatsapp-card {
    max-width: 480px;
  }

  /* navegação mobile */
  .btn-header {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-raised);
    padding: 10px 20px 20px;
    display: none;
  }

  .site-nav.open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .site-nav a {
    display: block;
    padding: 12px 6px;
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  /* Carrossel com arraste: os cards correm na horizontal e o próximo fica
     à vista, sinalizando que há mais. O overflow fica só na lista. */
  .solutions-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    margin-inline: -20px;
    padding: 4px 20px 18px;
    scrollbar-width: none;
  }

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

  .solution-card {
    scroll-snap-align: start;
  }

  .lead-form {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .field-message {
    grid-row: auto;
  }

  .testimonial-card {
    grid-template-columns: 72px 1fr;
    gap: 14px;
  }

  .testimonial-avatar img {
    width: 72px;
    height: 72px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    margin-left: 0;
  }

  .brand img {
    width: 140px;
  }
}
