/* ============================================================
   LANDING PAGES — Componentes compartilhados (Google Ads)
   Reaproveita tokens de style.css.
   ============================================================ */

/* ---------- Header sobre hero escuro (legibilidade) ---------- */
body.hero-dark .site-header:not(.is-stuck) .brand-logo--light { display: none; }
body.hero-dark .site-header:not(.is-stuck) .brand-logo--neg { display: block; }
body.hero-dark .site-header:not(.is-stuck) .main-nav a { color: rgba(255, 255, 255, 0.86); }
body.hero-dark .site-header:not(.is-stuck) .main-nav a:hover { background: rgba(255, 255, 255, 0.12); }
body.hero-dark .site-header:not(.is-stuck) .nav-toggle span,
body.hero-dark .site-header:not(.is-stuck) .nav-toggle span::before,
body.hero-dark .site-header:not(.is-stuck) .nav-toggle span::after { background: #fff; }

/* ---------- HERO (claro, com colagem + prova social) ---------- */
.lp-hero {
  background:
    radial-gradient(120% 100% at 90% -10%, rgba(245, 166, 35, 0.1), transparent 55%),
    var(--paper-warm);
  padding: clamp(1.6rem, 3vw, 2.6rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.lp-hero .container { max-width: var(--hero-max); }
.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.urgency-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--paper);
  border: 1px solid rgba(245, 166, 35, 0.4);
  color: var(--accent-strong);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.84rem;
  padding: 0.5rem 0.95rem;
  border-radius: var(--pill);
  box-shadow: var(--shadow-card);
}
.urgency-pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent-strong); box-shadow: 0 0 0 0 rgba(224, 140, 11, 0.6); animation: dot-ping 1.8s infinite; }
@keyframes dot-ping { 0% { box-shadow: 0 0 0 0 rgba(224,140,11,0.5); } 70% { box-shadow: 0 0 0 8px rgba(224,140,11,0); } 100% { box-shadow: 0 0 0 0 rgba(224,140,11,0); } }

.lp-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.55rem); margin-top: 1.2rem; }
.lp-hero h1 mark { background: linear-gradient(transparent 60%, rgba(245,166,35,0.35) 60%); color: inherit; padding: 0 0.1em; }
.lp-hero .lead { margin-top: 1.2rem; max-width: 540px; color: var(--text); }

.lp-chips { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.7rem; }
.lp-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--pill); padding: 0.55rem 0.95rem;
  font-size: 0.88rem; font-weight: 500; box-shadow: var(--shadow-card);
}
.lp-chip svg { width: 18px; height: 18px; color: var(--accent-strong); flex: none; }
.lp-chip .stars { color: var(--accent); display: inline-flex; }
.lp-chip b { font-family: var(--font-head); }

.lp-hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.9rem; }
.lp-hero-note { margin-top: 1rem; font-size: 0.9rem; color: var(--text-mute); display: inline-flex; align-items: center; gap: 0.5rem; }
.lp-hero-note svg { width: 18px; height: 18px; color: #16a34a; }

/* Colagem do hero */
.lp-collage { position: relative; }
.lp-collage .lp-collage-main { aspect-ratio: 4 / 5; border-radius: var(--r-lg); box-shadow: var(--shadow-soft); display: grid; place-items: center; }
.lp-collage .media-emblem { width: 96px; height: 96px; }
.lp-collage .media-emblem svg { width: 44px; height: 44px; }

.review-float {
  position: absolute; left: -22px; bottom: 34px;
  background: var(--paper); border-radius: var(--r);
  padding: 1.1rem 1.2rem; box-shadow: var(--shadow-soft);
  max-width: 250px; border: 1px solid var(--line);
}
.review-float .stars { display: inline-flex; gap: 1px; color: var(--accent); margin-bottom: 0.5rem; }
.review-float .stars svg { width: 16px; height: 16px; }
.review-float p { font-size: 0.86rem; color: var(--text); margin: 0 0 0.6rem; line-height: 1.5; }
.review-float .who { font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; color: var(--ink); }

.rating-float {
  position: absolute; top: 22px; right: -16px;
  background: var(--ink); color: #fff; border-radius: var(--r);
  padding: 1rem 1.2rem; box-shadow: var(--shadow-float);
  text-align: center; border: 1px solid var(--line-dark);
}
.rating-float .num { font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; line-height: 1; }
.rating-float .stars { color: var(--accent); display: inline-flex; margin: 0.25rem 0; }
.rating-float .stars svg { width: 13px; height: 13px; }
.rating-float .src { font-size: 0.72rem; color: rgba(255, 255, 255, 0.6); }

/* ---------- BARRA DE CONFIANÇA ---------- */
.trust-bar { background: var(--ink); color: #fff; }
.trust-bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 0.85rem; justify-content: center; padding: 1.5rem 1rem; position: relative; }
.trust-item + .trust-item::before { content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 1px; background: var(--line-dark); }
.trust-item svg { width: 30px; height: 30px; color: var(--accent); flex: none; }
.trust-item b { font-family: var(--font-head); font-size: 1.4rem; display: block; line-height: 1; }
.trust-item span { font-size: 0.82rem; color: rgba(255, 255, 255, 0.6); }

/* ---------- PORTFÓLIO (serviços realizados) ---------- */
.portfolio-grid {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 1.1rem;
}
.portfolio-item { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-card); }
.portfolio-item .media { position: absolute; inset: 0; display: grid; place-items: center; }
.portfolio-item.tall { grid-row: span 2; }
.portfolio-item.wide { grid-column: span 2; }
.portfolio-cap { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 1rem 1.1rem; background: linear-gradient(transparent, rgba(10, 10, 14, 0.78)); color: #fff; }
.portfolio-cap b { font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; }
.portfolio-cap span { display: block; font-size: 0.78rem; color: rgba(255, 255, 255, 0.75); margin-top: 1px; }
.portfolio-note { text-align: center; margin-top: 2rem; color: var(--text-mute); font-size: 0.95rem; }

/* ---------- AVALIAÇÃO AGREGADA ---------- */
.rating-band {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center; background: var(--paper-warm); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: clamp(1.8rem, 4vw, 3rem);
}
.rating-score { text-align: center; padding-right: clamp(1rem, 3vw, 2.4rem); border-right: 1px solid var(--line); }
.rating-score .num { font-family: var(--font-head); font-weight: 700; font-size: clamp(3rem, 7vw, 4.2rem); line-height: 1; color: var(--ink); }
.rating-score .stars { color: var(--accent); display: inline-flex; gap: 2px; margin: 0.4rem 0; }
.rating-score .stars svg { width: 20px; height: 20px; }
.rating-score .count { font-size: 0.85rem; color: var(--text-mute); }
.rating-points { display: grid; gap: 0.9rem; }
.rating-point { display: flex; gap: 0.7rem; align-items: flex-start; font-weight: 500; color: var(--ink); }
.rating-point .ck { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; }
.rating-point .ck svg { width: 14px; height: 14px; }

/* ---------- DEPOIMENTOS ---------- */
.reviews-grid { margin-top: clamp(2rem, 4vw, 3rem); display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.7rem; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.review-card .stars { display: inline-flex; gap: 2px; color: var(--accent); margin-bottom: 0.9rem; }
.review-card .stars svg { width: 18px; height: 18px; }
.review-card blockquote { color: var(--text); font-size: 1rem; line-height: 1.65; flex: 1; }
.review-meta { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.4rem; }
.review-meta .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--steel-1), var(--steel-2)); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; flex: none; }
.review-meta .nm { font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.review-meta .lo { font-size: 0.82rem; color: var(--text-mute); }
.review-meta .gg { margin-left: auto; }
.review-meta .gg svg { width: 22px; height: 22px; }

/* ---------- GARANTIA / REVERSÃO DE RISCO ---------- */
.guarantee {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center; background: var(--ink); color: rgba(255, 255, 255, 0.8);
  border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.6rem); position: relative; overflow: hidden; isolation: isolate;
}
.guarantee::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 120% at 0% 0%, rgba(245,166,35,0.2), transparent 55%); }
.guarantee-badge {
  width: 140px; height: 140px; border-radius: 50%; flex: none;
  display: grid; place-items: center; text-align: center;
  background: radial-gradient(circle at 50% 40%, rgba(245,166,35,0.22), rgba(255,255,255,0.04));
  border: 2px solid var(--accent); color: #fff;
}
.guarantee-badge svg { width: 30px; height: 30px; color: var(--accent); }
.guarantee-badge b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; line-height: 1; margin-top: 0.3rem; }
.guarantee-badge span { font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); margin-top: -4px; }
.guarantee h2 { color: #fff; }
.guarantee p { margin-top: 0.8rem; color: #ffffff73; }
.guarantee .hero-actions { margin-top: 1.8rem; }

/* ---------- BAIRROS ---------- */
.lp-bairros { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: clamp(1.8rem, 4vw, 2.6rem); justify-content: center; max-width: 880px; margin-inline: auto; }
.lp-bairros span { background: var(--paper); border: 1px solid var(--line); border-radius: var(--pill); padding: 0.6rem 1.1rem; font-size: 0.92rem; font-weight: 500; color: var(--ink); transition: border-color 0.25s var(--ease), transform 0.25s var(--ease); }
.lp-bairros span:hover { border-color: var(--accent); transform: translateY(-2px); }

/* ---------- CTA STICKY MOBILE ---------- */
.cta-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none; gap: 0.6rem; padding: 0.7rem clamp(0.7rem, 3vw, 1rem); background: rgba(17, 17, 20, 0.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line-dark); }
.cta-sticky .btn { flex: 1; }
.cta-sticky .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,0.3); }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 980px) {
  .lp-hero-grid { grid-template-columns: 1fr; }
  .lp-collage { max-width: 460px; margin-inline: auto; width: 100%; }
  .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(odd)::before { display: none; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .rating-band { grid-template-columns: 1fr; text-align: center; }
  .rating-score { border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 1.6rem; }
  .rating-point { text-align: left; }
  .guarantee { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

@media (max-width: 860px) {
  .cta-sticky { display: flex; }
  body.has-sticky-cta { padding-bottom: 78px; }
  body.has-sticky-cta .wpp-float { bottom: 90px; }
}

@media (max-width: 560px) {
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .portfolio-item.wide { grid-column: span 2; }
  .review-float { left: 8px; bottom: 12px; max-width: 210px; }
  .rating-float { right: 6px; }
}
