/* ===================== TOKENS ===================== */
:root {
  --color-black: #0a0a0a;
  --color-black-2: #111111;
  --color-yellow: #ffd400;
  --color-yellow-strong: #ffc400;
  --color-yellow-soft: #fff0a3;
  --color-gray: #1b1b1b;
  --color-card: #161616;
  --color-card-2: #1d1d1d;
  --color-border: #2a2a2a;
  --color-text: #f5f5f5;
  --color-muted: #a3a3a3;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 45px -20px rgba(0, 0, 0, 0.85);
  --shadow-yellow: 0 14px 40px -12px rgba(255, 212, 0, 0.45);
  --container: 1440px;
  --header-mobile-height: 71px;   /* header sticky (.header__inner 70px + borda 1px) */
  --mobile-sticky-height: 78px;   /* barra fixa inferior WhatsApp/Ligar (= body padding-bottom mobile) */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Sora', var(--font-sans);
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background-color: var(--color-black);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
svg { width: 100%; height: 100%; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1em; }
@media (min-width: 700px) { .container { padding: 0 2em; } }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.hl { color: var(--color-yellow); }

/* ===================== PROTEÇÃO GLOBAL CONTRA OVERFLOW HORIZONTAL ===================== */
html, body { max-width: 100%; overflow-x: clip; }
@supports not (overflow-x: clip) {
  html, body { overflow-x: hidden; }
}
img, svg, video, canvas, iframe { max-width: 100%; }
.container,
.grid, .grid--2, .grid--3, .grid--4,
.benefits-grid, .benefit-card,
.card, .feature, .step,
.problem__inner, .problem__content,
.steps {
  min-width: 0;
}

/* ===================== ICONS (sprite local) ===================== */
.icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; display: inline-block; vertical-align: -0.15em; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn .icon { width: 1.2em; height: 1.2em; }
.btn--sm { padding: 12px 16px; font-size: 14px; }
.btn--lg { padding: 18px 36px; font-size: 17px; }
.btn--block { width: 100%; padding: 16px 24px; font-size: 16px; }

.btn--primary { background-color: var(--color-yellow); color: #1a1500; box-shadow: var(--shadow-yellow); }
.btn--primary:hover { background-color: var(--color-yellow-strong); transform: translateY(-3px); box-shadow: 0 20px 50px -12px rgba(255, 212, 0, 0.6); }
.btn--outline { background-color: transparent; color: var(--color-text); border: 2px solid var(--color-border); }
.btn--outline:hover { border-color: var(--color-yellow); color: var(--color-yellow); transform: translateY(-3px); }
.btn--ghost { background-color: rgba(255,255,255,.05); color: var(--color-text); border: 1px solid var(--color-border); }
.btn--ghost:hover { background-color: rgba(255,255,255,.1); transform: translateY(-2px); }

/* Focus visible for accessibility */
a:focus-visible,
.btn:focus-visible,
details summary:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 2px;
}

/* ===================== HEADER ===================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(10,10,10,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.header.is-scrolled { box-shadow: var(--shadow); background-color: rgba(10,10,10,.95); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 16px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; padding: 0; }
.logo__img { height: 64px; width: auto; max-width: 200px; display: block; }
.logo__icon { display: grid; place-items: center; width: 36px; height: 36px; padding: 8px; background-color: var(--color-yellow); color: #1a1500; border-radius: 10px; }
.logo__text { font-size: 18px; color: var(--color-text); }
.logo__text strong { color: var(--color-yellow); font-weight: 800; }

.nav { display: none; gap: 28px; }
.nav a { font-size: 15px; color: var(--color-muted); font-weight: 500; transition: color .2s ease; position: relative; padding: 10px 0; }
.nav a:hover { color: var(--color-yellow); }

.header__cta { display: flex; align-items: center; gap: 10px; }
.header__cta-phone { display: none; }

/* Mobile: header mostra apenas o botão de telefone com o número visível */
@media (max-width: 899px) {
  .header__cta .btn--primary { display: none; }
  .header__cta-label { display: none; }
  .header__cta-phone { display: inline; }
  .header__cta .btn--sm { padding: 13px 12px; font-size: 13px; gap: 7px; min-height: 44px; }
}
@media (max-width: 480px) {
  .logo__text { font-size: 15px; }
  .logo__icon { width: 32px; height: 32px; padding: 7px; }
  .header__inner { gap: 8px; }
  .header__cta .btn--sm { padding: 13px 10px; font-size: 12px; gap: 6px; min-height: 44px; }
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(680px, 72vh, 760px);
  display: flex;
  align-items: center;
  padding: 72px 0;
  background-color: var(--color-black); /* fallback escuro caso a imagem não carregue */
  background-image: url("../imagens/hero-carro-bateria.webp");
  background-size: cover;
  background-position: center bottom; /* mobile: carro alinhado à base, como cenário */
  background-repeat: no-repeat;
}
/* Overlay escuro (mobile-first: vertical, imagem aparece como cenário, texto soberano) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(10, 10, 10, 0.92) 0%,
      rgba(10, 10, 10, 0.82) 46%,
      rgba(10, 10, 10, 0.95) 100%
    );
}
/* Grid sutil acima da imagem, abaixo do conteúdo */
.hero__grid {
  position: absolute; inset: 0; z-index: 2;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .6;
  pointer-events: none;
}
.hero__glow {
  position: absolute; top: -180px; right: -120px; z-index: 2;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(255,212,0,.14), transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.hero__inner { position: relative; z-index: 3; width: 100%; }
.hero__content { max-width: 600px; margin-inline: auto; text-align: center; }

/* Desktop: conteúdo à esquerda, imagem com mais presença à direita */
@media (min-width: 900px) {
  .hero {
    padding: 80px 0;
    background-position: center right; /* favorece o carro no lado direito */
  }
  .hero::before {
    background:
      linear-gradient(90deg,
        rgba(10, 10, 10, 0.97) 0%,
        rgba(10, 10, 10, 0.90) 30%,
        rgba(10, 10, 10, 0.60) 58%,
        rgba(10, 10, 10, 0.34) 100%
      ),
      radial-gradient(circle at 82% 42%,
        rgba(255, 210, 0, 0.14) 0%,
        rgba(255, 210, 0, 0.05) 32%,
        transparent 62%
      ),
      radial-gradient(ellipse 120% 100% at 50% 50%,
        transparent 58%,
        rgba(0, 0, 0, 0.40) 100%
      );
  }
  .hero__content { max-width: 700px; margin-inline: auto; text-align: center; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; margin-top: 2rem; }
  .hero__actions .btn { min-width: 300px; }
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background-color: rgba(255,212,0,.1); border: 1px solid rgba(255,212,0,.3);
  color: var(--color-yellow); font-size: 13px; font-weight: 600;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background-color: var(--color-yellow); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }

.hero__title { font-size: clamp(2.2rem, 7vw, 3.8rem); font-weight: 800; margin: 22px 0 18px; letter-spacing: -0.03em; }
.hero__subtitle { font-size: clamp(1.05rem, 2.5vw, 1.25rem); color: var(--color-muted); max-width: 560px; margin: 0 auto 8px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Emergency card */
.glass {
  background: linear-gradient(160deg, rgba(29,29,29,.9), rgba(17,17,17,.9));
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.emergency-card { padding: 24px; }
.emergency-card__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.emergency-card__icon { display: grid; place-items: center; width: 46px; height: 46px; padding: 11px; background-color: var(--color-yellow); color: #1a1500; border-radius: 12px; flex-shrink: 0; }
.emergency-card__title { font-size: 20px; }
.emergency-card__sub { font-size: 13px; color: var(--color-yellow); font-weight: 600; }
.emergency-card__text { color: var(--color-muted); margin-bottom: 18px; font-size: 15px; }
.emergency-card__list { display: grid; gap: 10px; }
.emergency-card__list span { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.emergency-card__list svg { width: 16px; height: 16px; color: var(--color-yellow); flex-shrink: 0; }

/* ===================== URGENCY BAR ===================== */
.urgency-bar { background-color: var(--color-yellow); color: #1a1500; text-align: center; }
.urgency-bar__inner { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 16px 20px; }
.urgency-bar__icon { width: 26px; height: 26px; flex-shrink: 0; }
.urgency-bar p { font-size: 15px; font-weight: 500; }

/* ===================== SECTIONS ===================== */
.section { padding: 80px 0; }
.section--alt { background-color: var(--color-black-2); border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.section--featured { padding: 96px 0; }
.section__head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section__title { font-size: clamp(1.7rem, 4.5vw, 2.6rem); font-weight: 800; text-align: center; }
.section__lead { color: var(--color-muted); margin-top: 16px; font-size: 1.1rem; text-align: center; }

.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--color-muted); margin-bottom: 10px; }
.eyebrow--yellow { color: var(--color-yellow); }

/* ===================== GRIDS ===================== */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: repeat(2, 1fr); }
.benefits-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }

/* Cards */
.card {
  background: linear-gradient(165deg, var(--color-card-2), var(--color-card));
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); border-color: var(--color-border); box-shadow: var(--shadow); }
.card__icon { display: grid; place-items: center; width: 52px; height: 52px; padding: 13px; border-radius: 14px; background-color: rgba(255,212,0,.12); color: var(--color-yellow); margin-bottom: 18px; transition: background-color .25s ease; }
.card:hover .card__icon { background-color: var(--color-yellow); color: #1a1500; }
.card__title { font-size: 19px; margin-bottom: 8px; }
.card__text { color: var(--color-muted); font-size: 15px; margin-bottom: 18px; }
.card__link { color: var(--color-yellow); font-weight: 600; font-size: 15px; position: relative; padding: 13px 0; margin: -13px 0; }
.card__link:hover { text-decoration: underline; }
.card__cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; margin-top: auto;
  padding: 14px 24px;
  background-color: var(--color-yellow);
  color: #1a1500;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow-yellow);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card__cta svg { width: 18px; height: 18px; flex-shrink: 0; fill: #1a1500; }
.card__cta:hover { background-color: var(--color-yellow-strong); transform: translateY(-3px); box-shadow: 0 20px 50px -12px rgba(255, 212, 0, 0.6); }

/* Card -- Featured (with image) */
.card--featured {
  display: grid; grid-template-columns: 1fr; overflow: hidden; padding: 0;
}
.card--featured:hover { transform: translateY(-4px); border-color: var(--color-border); box-shadow: var(--shadow); }
.card__visual { overflow: hidden; }
.card__visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; transition: transform .4s ease; }
.card--featured:hover .card__visual img { transform: scale(1.04); }
.card--featured .card__body { padding: 28px 24px; text-align: center; display: flex; flex-direction: column; }
.card--featured .card__text { margin-bottom: 22px; }
.card--featured .card__icon { margin-bottom: 14px; }

/* Features */
.feature {
  display: flex; gap: 18px; align-items: flex-start;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .25s ease, border-color .25s ease;
}
.feature:hover { transform: translateY(-5px); border-color: rgba(255,212,0,.4); }
.feature__icon { display: grid; place-items: center; width: 46px; height: 46px; padding: 11px; border-radius: 12px; background-color: rgba(255,212,0,.12); color: var(--color-yellow); flex: 0 0 auto; }
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature > div { flex: 1; min-width: 0; }
.feature p { color: var(--color-muted); font-size: 14px; line-height: 1.55; }

/* ===================== PROBLEM ===================== */
.problem__inner { display: grid; gap: 36px; align-items: center; grid-template-columns: minmax(0, 1fr); }
.problem__content { text-align: center; }
.problem__text { color: var(--color-muted); margin: 16px 0 26px; font-size: 1.05rem; }
.problem__signs { display: grid; gap: 14px; }
.problem__signs li {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; border-radius: var(--radius-sm);
  background-color: var(--color-card); border: 1px solid var(--color-border);
  font-weight: 500;
}
.problem__signs svg { width: 24px; height: 24px; color: var(--color-yellow); flex-shrink: 0; }

/* ===================== STEPS ===================== */
.steps { display: grid; gap: 20px; grid-template-columns: 1fr; counter-reset: step; }
.step {
  position: relative;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.step__num { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background-color: var(--color-yellow); color: #1a1500; font-family: var(--font-display); font-weight: 800; font-size: 24px; margin-bottom: 18px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--color-muted); font-size: 14px; }

/* ===================== GARANTIA + PARCELAMENTO (benefit cards) ===================== */
.benefit-card {
  display: flex; flex-direction: column;
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  min-width: 0;
  max-width: 100%;
}
@media (max-width: 699px) { .benefit-card { padding: 28px 24px; } }
.benefit-card--accent {
  background: linear-gradient(165deg, rgba(255,212,0,.06), var(--color-card));
  border-color: rgba(255,212,0,.28);
}
.benefit-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background-color: rgba(255,212,0,.12);
  color: var(--color-yellow);
  margin-bottom: 22px;
  align-self: center;
}
.benefit-card__icon svg { width: 26px; height: 26px; }
.benefit-card__title { font-size: clamp(1.35rem, 2.5vw, 1.7rem); font-weight: 800; margin-bottom: 12px; text-align: center; }
.benefit-card__text { color: var(--color-muted); margin-bottom: 24px; text-align: center; }
.benefit-card__list { display: grid; gap: 12px; margin-bottom: 28px; }
.benefit-card__list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.benefit-card__list svg { width: 20px; height: 20px; color: var(--color-yellow); flex-shrink: 0; }
.benefit-card__highlight {
  display: inline-flex; align-items: baseline; gap: 10px; align-self: flex-start;
  padding: 14px 20px; margin-bottom: 28px;
  border-radius: var(--radius-sm);
  background-color: rgba(255,212,0,.12);
  border: 1px solid rgba(255,212,0,.3);
  max-width: 100%;
}
.benefit-card__highlight strong { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; letter-spacing: -0.03em; color: var(--color-yellow); }
.benefit-card__highlight span { font-size: .95rem; font-weight: 600; color: var(--color-text); }
.benefit-card__cta { margin-top: auto; align-self: center; }

/* ===================== REVIEWS (Google-style) ===================== */
.reviews__summary {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px;
  max-width: 820px; margin: 0 auto 48px;
}
.reviews__score { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.reviews__score strong { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; color: var(--color-text); }
.reviews__stars { display: flex; gap: 2px; }
.reviews__stars .icon { width: 22px; height: 22px; color: var(--color-yellow); }
.reviews__score span { font-size: .95rem; color: var(--color-muted); }
.reviews__google-btn { flex-shrink: 0; }
.reviews__grid { gap: 24px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.review-card {
  background: linear-gradient(165deg, var(--color-card-2), var(--color-card));
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
}
.review-card__top { display: flex; align-items: center; gap: 12px; }
.review-card__avatar {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background-color: rgba(255,212,0,.15);
  color: var(--color-yellow);
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  flex-shrink: 0;
}
.review-card__name { font-weight: 600; font-size: .95rem; color: var(--color-text); }
.review-card__date { font-size: .82rem; color: var(--color-muted); }
.review-card__google { width: 18px; height: 18px; flex-shrink: 0; margin-left: auto; }
.review-card__stars { display: flex; gap: 2px; }
.review-card__stars .icon { width: 18px; height: 18px; color: var(--color-yellow); }
.review-card__text { color: var(--color-text); font-size: .95rem; line-height: 1.6; }

@media (max-width: 600px) {
  .reviews__summary { justify-content: center; text-align: center; }
  .reviews__score { justify-content: center; }
}

/* ===================== CTA FINAL ===================== */
.cta-final { background: radial-gradient(ellipse 70% 100% at 50% 0%, rgba(255,212,0,.1), transparent 70%); text-align: center; }
.cta-final__inner { max-width: 720px; margin: 0 auto; }
.cta-final p { color: var(--color-muted); margin: 16px 0 30px; font-size: 1.1rem; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ===================== FAQ ===================== */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item { background-color: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-sm); overflow: hidden; }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; cursor: pointer; font-weight: 600; font-size: 16px;
  list-style: none; transition: color .2s ease;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--color-yellow); }
.faq__chevron { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq__chevron::before, .faq__chevron::after {
  content: ''; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px;
  background-color: var(--color-yellow); border-radius: 2px; transition: transform .25s ease;
}
.faq__chevron::before { transform: translate(-50%,-50%); }
.faq__chevron::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq__item[open] .faq__chevron::after { transform: translate(-50%,-50%) rotate(0); }
.faq__answer { padding: 0 22px 20px; color: var(--color-muted); font-size: 15px; }

/* ===================== FOOTER ===================== */
.footer { background-color: var(--color-black-2); border-top: 1px solid var(--color-border); padding-top: 52px; }
.footer__inner { display: grid; gap: 36px; grid-template-columns: 1fr; padding-bottom: 40px; }
.footer__tagline { color: var(--color-muted); margin-top: 14px; font-size: 15px; }
.footer h3 { font-size: 15px; margin-bottom: 16px; color: var(--color-text); }
.footer__contact { display: grid; gap: 10px; align-content: start; }
.footer__contact a { color: var(--color-muted); font-size: 14px; display: inline-flex; align-items: center; gap: 10px; transition: color .2s ease; padding: 11px 0; }
.footer__contact a:hover { color: var(--color-yellow); }
.footer__address { color: var(--color-muted); font-size: 13px; padding: 4px 0 8px; }
.footer__contact svg { width: 16px; height: 16px; color: var(--color-yellow); flex-shrink: 0; }
.footer__bottom { border-top: 1px solid var(--color-border); padding: 22px 0; }
.footer__bottom .container { display: grid; gap: 8px; }
.footer__bottom p { color: var(--color-muted); font-size: 13px; text-align: center; }

/* ===================== FLOATING CTA (DESKTOP) ===================== */
.float-cta { display: none; position: fixed; right: 22px; bottom: 22px; z-index: 90; flex-direction: column; align-items: flex-end; gap: 12px; }
.float-cta__whats {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  background-color: #25d366; color: #052e16; font-weight: 700;
  box-shadow: 0 14px 36px -10px rgba(37,211,102,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.float-cta__whats svg { width: 24px; height: 24px; }
.float-cta__whats:hover { transform: translateY(-3px) scale(1.03); }
.float-cta__phone {
  display: grid; place-items: center; width: 50px; height: 50px; padding: 13px;
  border-radius: var(--radius-sm); background-color: var(--color-yellow); color: #1a1500;
  box-shadow: var(--shadow-yellow); transition: transform .2s ease;
  margin-right: 4px;
}
.float-cta__phone:hover { transform: translateY(-3px) scale(1.05); }

/* ===================== MOBILE BAR ===================== */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background-color: rgba(10,10,10,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--color-border); }
.mobile-bar__btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px; }
.mobile-bar__btn svg { width: 20px; height: 20px; }
.mobile-bar__btn--whats { background-color: #25d366; color: #052e16; }
.mobile-bar__btn--call { background-color: var(--color-yellow); color: #1a1500; }

/* ===================== ANIMATIONS ===================== */
:root { --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1); --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1); }
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s var(--ease-out-quint), transform .65s var(--ease-out-quint); }
  .reveal.is-visible { opacity: 1; transform: translateY(0); }
  /* Hero entrance: blur + scale */
  .hero__inner .reveal { transform: translateY(16px) scale(0.96); filter: blur(6px); transition: opacity .7s var(--ease-out-expo), transform .7s var(--ease-out-expo), filter .7s var(--ease-out-expo); }
  .hero__inner .reveal.is-visible { transform: translateY(0) scale(1); filter: blur(0); }
  /* Card grid and steps: subtle entrance */
  .grid--3 .reveal, .steps .reveal { transform: translateY(20px); }
  .grid--3 .reveal.is-visible, .steps .reveal.is-visible { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; filter: none !important; }
  html { scroll-behavior: auto; }
  .badge__dot { animation: none; }
}

/* ===================== RESPONSIVE ===================== */
@media (min-width: 700px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .problem__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .footer__inner { display: flex; justify-content: space-between; gap: 36px; }
  .footer__brand { max-width: 480px; }
  .footer__bottom .container { grid-template-columns: 1fr auto 1fr; align-items: center; }
  .footer__bottom p:first-child { text-align: left; }
  .footer__bottom p:nth-child(2) { text-align: center; }
  .footer__bottom p:nth-child(3) { text-align: right; }
}

@media (min-width: 900px) {
  .nav { display: flex; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .benefits-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .benefit-card__list { display: flex; flex-wrap: wrap; gap: 12px; }
  .benefit-card__list li { width: calc(50% - 6px); }
  .float-cta { display: flex; }
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
  #tipos .section__lead, #atendimento .section__lead { white-space: nowrap; }
  /* Hero desktop: conteúdo alinhado à esquerda */
  .hero__content { text-align: left; max-width: 680px; margin-inline: 0; }
  .hero__subtitle { margin-left: 0; margin-right: 0; max-width: 600px; }
  .hero__actions { justify-content: flex-start; }
  /* Problem section: coluna de texto alinhada à esquerda no desktop */
  .problem__content { text-align: left; }
  .problem__content .section__title { text-align: left; }
}

/* keep content above mobile bar */
@media (max-width: 899px) {
  body { padding-bottom: 78px; }
}

/* Hero mobile: centralização vertical real na área visível (entre header e barra sticky) */
@media (max-width: 768px) {
  .hero {
    min-height: calc(100vh - var(--header-mobile-height));   /* fallback */
    min-height: calc(100svh - var(--header-mobile-height));  /* viewport mobile estável (sem jump) */
    display: flex;
    align-items: center;
    padding-top: max(3rem, env(safe-area-inset-top));
    /* reserva a barra sticky para o conteúdo centralizar acima dela, com 3rem de respiro */
    padding-bottom: calc(3rem + var(--mobile-sticky-height));
    background-position: center bottom;
  }
  /* respiro entre subtítulo e o botão WhatsApp, controlado pelo wrapper */
  .hero__actions { margin-top: clamp(1.75rem, 6vw, 2.5rem); }
}

/* Telas baixas (ex.: 360x640): compacta o conteúdo da Hero para caber com >=3rem nos dois lados e centralizar */
@media (max-width: 768px) and (max-height: 660px) {
  .hero__title { margin: 14px 0 12px; }
  .hero__subtitle { margin-bottom: 4px; }
  .hero__actions { margin-top: clamp(1rem, 4vw, 1.5rem); }
}

/* Mobile: CTAs principais em largura total */
@media (max-width: 768px) {
  .hero__actions .btn,
  .problem__content .btn,
  .cta-final__actions .btn,
  .benefit-card__cta {
    width: 100%;
    max-width: 100%;
    white-space: normal; /* permite quebra para o label não estourar o card */
  }
}

/* ===================== BACK TO TOP ===================== */
.back-to-top {
  position: fixed;
  bottom: 88px; right: 18px; z-index: 89;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--color-card);
  border: 1px solid var(--color-border);
  color: var(--color-yellow);
  opacity: 0; transform: translateY(10px);
  transition: opacity .3s cubic-bezier(0.22, 1, 0.36, 1), transform .3s cubic-bezier(0.22, 1, 0.36, 1), background-color .2s ease;
  pointer-events: none;
}
.back-to-top.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.back-to-top:hover { background-color: var(--color-yellow); color: #1a1500; }
.back-to-top svg { width: 20px; height: 20px; }
@media (min-width: 900px) {
  .back-to-top { bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: none; }
}
