/*
 * CSS da homepage (design "Landing Page Analits").
 * Carregado apenas quando is_front_page() — ver ai_theme_enqueue_assets().
 *
 * Observação: o protótipo foi medido em box-sizing: content-box; o tema usa
 * border-box global. Larguras fixas abaixo já somam o padding do elemento
 * (ex.: card de plano 340 + 68 de padding = 408px).
 */

/* ===== BASE (overrides da home) ===== */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--home-font);
  background: #ffffff;
  color: var(--home-navy);
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--home-accent);
}

a:hover,
a:focus {
  color: var(--home-navy);
  text-decoration: none;
}

.home-container {
  width: 100%;
  max-width: 1228px; /* 1180px de conteúdo + 24px de respiro em cada lado */
  margin-inline: auto;
  padding-inline: 24px;
}

/* ===== LARGURA UNIFICADA (telas ≥900px) =====
   Header, seções e barra do rodapé compartilham exatamente a mesma largura
   fluida (--home-container): margem percentual que acompanha zoom/resolução,
   com teto fixo para telas muito largas. Corrige o excesso de margem lateral
   em monitores grandes / zoom-out e alinha o rodapé ao cabeçalho.
   O layout mobile (≤900px) NÃO é afetado por este bloco. */
@media (min-width: 900px) {
  .home-container,
  .site-footer .wrap {
    width: var(--home-container);
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
  }
}

.home-main section {
  scroll-margin-top: 80px;
}

.home-accent {
  color: var(--home-accent);
}

.home-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--home-accent);
  margin-bottom: 12px;
}

.home-btn {
  display: inline-block;
  font-weight: 800;
  border-radius: var(--home-radius-btn);
  text-align: center;
  transition: all 0.25s ease;
}

.home-btn-primary {
  background: var(--home-blue);
  color: #ffffff;
  box-shadow: var(--home-shadow-cta);
}

.home-btn-primary:hover,
.home-btn-primary:focus {
  background: var(--home-blue-dark);
  color: #ffffff;
}

.home-btn-outline {
  background: #ffffff;
  border: 1.5px solid var(--home-blue);
  color: var(--home-blue);
}

.home-btn-outline:hover,
.home-btn-outline:focus {
  background: var(--home-blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(43, 80, 236, 0.35);
}

/* ===== HEADER (fixo/transparente só na home) ===== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(27, 38, 83, 0.06), 0 6px 20px rgba(27, 38, 83, 0.06);
  backdrop-filter: blur(10px);
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header .wrap {
  width: 100%;
  max-width: 1228px;
  padding: 18px 24px;
  gap: 24px;
  flex-wrap: nowrap;
}

/* Cabeçalho usa a MESMA largura das seções/rodapé em telas ≥900px.
   (Definido após a regra base acima para vencer na cascata.) */
@media (min-width: 900px) {
  .site-header .wrap {
    width: var(--home-container);
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
}

.site-branding {
  padding: 0;
}

.site-branding a {
  display: flex;
  align-items: center;
  color: var(--home-navy);
  font-size: 22px;
  font-weight: 900;
}

.site-branding p {
  display: none;
}

.site-branding .custom-logo {
  height: 44px;
  width: auto;
}

.main-navigation {
  flex: 1;
  padding-bottom: 0;
}

.main-navigation ul {
  justify-content: flex-end;
  align-items: center;
  gap: 34px;
  flex-wrap: nowrap;
}

.main-navigation a {
  color: var(--home-navy);
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 4px;
  background: linear-gradient(var(--home-accent), var(--home-accent)) left bottom / 0% 2px no-repeat;
  transition: all 0.25s ease;
}

.main-navigation a:hover,
.main-navigation a:focus {
  color: var(--home-accent);
  background-size: 100% 2px;
}

.main-navigation .current-menu-item > a {
  color: var(--home-accent);
  background-size: 100% 2px;
}

.main-navigation .menu-item-cta > a {
  background: var(--home-blue);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  padding: 11px 22px;
  border-radius: var(--home-radius-btn);
  box-shadow: 0 6px 16px rgba(43, 80, 236, 0.3);
  transition: all 0.25s ease;
}

.main-navigation .menu-item-cta > a:hover,
.main-navigation .menu-item-cta > a:focus {
  background: var(--home-blue-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(43, 80, 236, 0.45);
}

.mobile-menu-toggle {
  background: none;
  border: none;
  width: auto;
  height: auto;
  padding: 8px;
  gap: 5px;
}

.mobile-menu-toggle-bar {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--home-navy);
}

/* ===== MENU MOBILE (off-canvas à direita, visual do design) ===== */

.mobile-sidebar-overlay {
  background: rgba(27, 38, 83, 0.45);
}

.mobile-sidebar {
  left: auto;
  right: 0;
  width: min(85vw, 318px);
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  box-shadow: -12px 0 34px rgba(27, 38, 83, 0.2);
}

.mobile-sidebar.is-open {
  transform: translateX(0);
}

.mobile-sidebar-close {
  border: none;
  background: none;
  font-size: 24px;
  color: var(--home-navy);
  padding: 6px;
  width: auto;
  height: auto;
}

.mobile-navigation ul {
  gap: 0;
}

.mobile-navigation a {
  color: var(--home-navy);
  font-size: 16px;
  font-weight: 700;
  padding: 12px 8px;
  border-bottom: 1px solid #eef2fa;
}

.mobile-navigation .current-menu-item > a {
  color: var(--home-accent);
  font-weight: 800;
}

.mobile-navigation .menu-item-cta > a {
  display: block;
  margin-top: 18px;
  background: var(--home-blue);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  padding: 13px 0;
  border-radius: var(--home-radius-btn);
  border-bottom: 0;
  text-align: center;
  box-shadow: var(--home-shadow-cta);
}

/* ===== HERO ===== */

.home-hero {
  /* Banner de fundo (arte enviada pelo cliente) sobre a cor base. */
  background-color: var(--home-bg-hero);
  background-image: url("../images/hero-banner.jpg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
}

.home-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding-top: clamp(96px, 16vh, 150px);
  padding-bottom: clamp(16px, 4.5vh, 40px);
}

.home-hero-copy {
  text-align: center;
}

/* Mockup do notebook + celular (PNG com transparência sobre o banner). */
.home-hero-img {
  width: 100%;
  max-width: 780px;
  height: auto;
  display: block;
  margin-inline: auto;
  animation: home-float-y 6s ease-in-out infinite;
}

.home-hero .home-eyebrow {
  font-size: 13px;
  margin-bottom: 14px;
}

.home-hero-title {
  font-size: 52px;
  line-height: 1.08;
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  margin: 0 0 20px;
}

.home-hero-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--home-body);
  margin: 0 auto 26px;
  max-width: 420px;
}

.home-price-card {
  display: inline-block;
  background: #ffffff;
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius-card);
  padding: 22px 26px;
  box-shadow: 0 10px 30px rgba(27, 38, 83, 0.06);
}

.home-price-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.home-price-old {
  font-size: 16px;
  font-weight: 800;
  color: var(--home-body);
  text-decoration: line-through;
}

.home-price-badge {
  background: #2b3f91;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 999px;
}

.home-price-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--home-muted);
}

.home-price-value {
  font-size: 44px;
  font-weight: 900;
  color: var(--home-navy);
  line-height: 1.1;
}

.home-price-note {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--home-muted);
  margin-bottom: 16px;
}

.home-hero-cta {
  display: block;
  font-size: 15px;
  padding: 13px 28px;
}

.home-hero-cta:hover,
.home-hero-cta:focus {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 30px rgba(43, 80, 236, 0.5);
}

.home-hero-badges {
  display: flex;
  align-items: center;
  gap: 44px;
  justify-content: center;
  padding-bottom: clamp(20px, 4.5vh, 46px);
}

.home-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--home-navy);
}

/* Hero ocupa 100% da altura da 1ª dobra (desktop): a seção preenche a
   viewport inteira, a imagem cede altura e, em janelas baixas, tipografia
   e card compactam por etapas. Mobile (≤900px) permanece inalterado. */
@media (min-width: 900px) {
  .home-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  /* A grade cresce para preencher a sobra vertical; conteúdo centralizado. */
  .home-hero-grid {
    flex-grow: 1;
  }

  /* Desconta a admin bar do WP (só aparece para usuário logado). */
  body.admin-bar .home-hero {
    min-height: calc(100vh - 32px);
  }
}

/* Telas grandes e altas: amplia o conteúdo da coluna de texto do hero para
   equilibrar com o mockup (evita o texto pequeno ao lado da imagem grande).
   Só afeta ≥1200px de largura E ≥850px de altura — laptops/telas baixas
   mantêm a tipografia compacta definida acima. */
@media (min-width: 1200px) and (min-height: 850px) {
  .home-hero .home-eyebrow {
    font-size: 15px;
    letter-spacing: 2.5px;
    margin-bottom: 20px;
  }

  .home-hero-title {
    font-size: 60px;
    margin-bottom: 26px;
  }

  .home-hero-text {
    font-size: 19px;
    max-width: 500px;
    margin-bottom: 36px;
  }

  .home-price-card {
    padding: 30px 36px;
  }

  .home-price-old {
    font-size: 17px;
  }

  .home-price-badge {
    font-size: 12px;
    padding: 6px 14px;
  }

  .home-price-label {
    font-size: 13px;
  }

  .home-price-value {
    font-size: 54px;
  }

  .home-price-note {
    font-size: 12px;
    margin-bottom: 20px;
  }

  .home-hero-cta {
    font-size: 17px;
    padding: 16px 34px;
  }

  .home-hero-badges {
    gap: 52px;
  }

  .home-badge {
    font-size: 15px;
  }
}

@media (min-width: 900px) and (max-height: 820px) {
  .home-hero .home-eyebrow {
    margin-bottom: 10px;
  }

  .home-hero-title {
    font-size: 44px;
    margin-bottom: 14px;
  }

  .home-hero-text {
    font-size: 15.5px;
    margin-bottom: 18px;
  }

  .home-price-card {
    padding: 16px 22px;
  }

  .home-price-value {
    font-size: 38px;
  }

  .home-price-note {
    margin-bottom: 12px;
  }
}

@media (min-width: 900px) and (max-height: 700px) {
  .home-hero-title {
    font-size: 38px;
    margin-bottom: 12px;
  }

  .home-hero-text {
    font-size: 14.5px;
    margin-bottom: 14px;
  }

  .home-price-old {
    font-size: 14px;
  }

  .home-price-value {
    font-size: 32px;
  }

  .home-hero-cta {
    font-size: 14px;
    padding: 11px 24px;
  }

  .home-badge {
    font-size: 13px;
  }
}

/* ===== SERVIÇOS ===== */

.home-services {
  background: #ffffff;
  padding: 72px 0;
}

.home-services h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  color: var(--home-navy);
  margin: 0 0 44px;
}

.home-features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.home-feature-card {
  background: #ffffff;
  border: 1px solid var(--home-border-soft);
  border-radius: var(--home-radius-card);
  padding: 26px 16px;
  text-align: center;
  box-shadow: var(--home-shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(27, 38, 83, 0.1);
  border-color: var(--home-blue-100);
}

.home-feature-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.home-feature-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--home-navy);
  margin-bottom: 8px;
}

.home-feature-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--home-muted);
}

/* ===== RESULTADOS / BENEFÍCIOS ===== */

.home-results {
  background: #ffffff;
  padding: 20px 0 72px;
}

.home-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.home-results h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 18px;
}

.home-results-copy p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--home-muted);
  margin: 0 0 22px;
  max-width: 400px;
}

.home-check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--home-navy);
}

.home-check svg {
  flex-shrink: 0;
}

.home-stats-wrap {
  position: relative;
}

.home-stats-panel {
  background: #f6f9fe;
  border: 1px solid var(--home-border-soft);
  border-radius: 18px;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.home-stat-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--home-navy);
  margin-bottom: 6px;
}

.home-stat-value {
  font-size: 30px;
  font-weight: 900;
  color: var(--home-navy);
}

.home-stat-delta {
  font-size: 12px;
  font-weight: 700;
  color: var(--home-muted);
  margin-bottom: 14px;
}

.home-stat-up {
  color: var(--home-green);
}

.home-circle-badge {
  position: absolute;
  left: 50%;
  bottom: -38px;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px dashed var(--home-blue-100);
  border-radius: 50%;
  width: 118px;
  height: 118px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 26px rgba(27, 38, 83, 0.1);
}

.home-circle-plus {
  color: var(--home-blue);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.home-circle-title {
  color: var(--home-blue);
  font-size: 11px;
  font-weight: 800;
}

.home-circle-text {
  font-size: 11px;
  font-weight: 800;
  color: var(--home-navy);
  line-height: 1.3;
}

/* ===== GALERIA DE MOCKUPS (faixas deslizantes, estilo neo.page) =====
   Faixas full-bleed: os cards atravessam a tela de ponta a ponta e o
   movimento é feito por transform no track (ver js/home.js). */

.home-gallery {
  background: var(--home-bg-tint);
  padding: 56px 0;
  overflow: hidden;
}

.home-gallery-mobile {
  display: none;
}

.home-marquee {
  overflow: hidden;
}

.home-marquee + .home-marquee {
  margin-top: 22px;
}

.home-marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  will-change: transform;
}

/* O movimento é uma animação CSS de 0 a -50% do track: como o JS deixa as
   duas metades idênticas, o loop fecha sem emenda. A duração é definida
   inline pelo JS (velocidade constante, independente da quantidade). */
.home-marquee[data-marquee-ready] .home-marquee-track {
  animation-name: home-marquee-left;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-duration: 40s; /* fallback; o JS ajusta pela largura real */
}

.home-marquee[data-marquee-direction="right"][data-marquee-ready] .home-marquee-track {
  animation-name: home-marquee-right;
}

/* Pausa ao passar o mouse. */
.home-marquee:hover .home-marquee-track {
  animation-play-state: paused;
}

@keyframes home-marquee-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes home-marquee-right {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-marquee[data-marquee-ready] .home-marquee-track {
    animation: none;
  }
}

/* Os prints têm proporções diferentes (1,29 a 1,43). O card fixa a proporção
   e a imagem preenche 100% com object-fit: cover — sem sobras em branco e
   com todos os cards da faixa na mesma altura. */
.home-marquee-item {
  flex: 0 0 auto;
  width: 440px;
  aspect-ratio: 1.42;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(27, 38, 83, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-marquee-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(27, 38, 83, 0.2);
}

.home-marquee-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  /* Mantém o topo do print (cabeçalho + título) visível ao recortar. */
  object-position: center top;
}

/* Faixa mobile: mockups de celular (proporção retrato). */
.home-gallery-mobile .home-marquee-item {
  width: 190px;
  aspect-ratio: 520 / 1124;
  border-radius: 18px;
}

/* ===== COMO FUNCIONA ===== */

.home-steps {
  background: #ffffff;
  padding: 64px 0;
  text-align: center;
}

.home-steps .home-eyebrow {
  margin-bottom: 10px;
}

.home-steps h2 {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 44px;
}

.home-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-items: start;
  position: relative;
}

.home-steps-line {
  position: absolute;
  top: 32px;
  left: 12%;
  right: 12%;
  border-top: 2px dotted var(--home-blue-100);
}

.home-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.home-step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--home-bg-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 8px #ffffff;
}

.home-step-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--home-body);
  font-weight: 600;
  max-width: 180px;
}

/* ===== GOOGLE ADS ===== */

.home-ads {
  background: var(--home-bg-band);
  padding: 70px 0;
}

.home-ads-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.home-google-logo {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 14px;
}

.g-blue {
  color: #4285f4;
}

.g-red {
  color: #ea4335;
}

.g-yellow {
  color: #fbbc05;
}

.g-green {
  color: #34a853;
}

.g-ads {
  color: #8a94ad;
  font-weight: 600;
}

.home-ads h2 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 16px;
}

.home-ads-copy p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--home-body);
  margin: 0 0 20px;
  max-width: 420px;
}

.home-ads .home-check-list {
  gap: 11px;
  margin-bottom: 26px;
}

.home-ads-cta {
  font-size: 14px;
  padding: 12px 28px;
}

.home-ads-media {
  position: relative;
  padding-bottom: 74px;
}

.home-search-pill {
  background: #ffffff;
  border-radius: 999px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(27, 38, 83, 0.08);
  margin-bottom: 20px;
}

.home-search-pill span {
  font-size: 14px;
  color: var(--home-body);
  font-weight: 600;
}

.home-ad-card {
  background: #ffffff;
  border-radius: var(--home-radius-card);
  padding: 24px 26px;
  box-shadow: 0 14px 34px rgba(27, 38, 83, 0.1);
  max-width: 452px;
}

.home-ad-tag {
  font-size: 12px;
  font-weight: 800;
  color: var(--home-navy);
  margin-bottom: 10px;
}

.home-ad-site {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--home-body);
}

.home-ad-globe {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--home-bg-icon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.home-ad-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--home-blue);
  line-height: 1.35;
  margin-bottom: 8px;
}

.home-ad-desc {
  font-size: 13.5px;
  color: var(--home-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

.home-ad-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--home-navy);
}

.home-ads-stats {
  position: absolute;
  right: 0;
  bottom: -60px;
  background: #ffffff;
  border-radius: var(--home-radius-card);
  padding: 16px 18px;
  box-shadow: 0 14px 34px rgba(27, 38, 83, 0.14);
  width: 186px;
}

.home-ads-stats-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--home-muted);
  margin-bottom: 4px;
}

.home-ads-stats-value {
  font-size: 24px;
  font-weight: 900;
  color: var(--home-navy);
}

.home-ads-stats-caption {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--home-muted);
  margin-bottom: 8px;
}

/* ===== RELATÓRIOS ===== */

.home-reports {
  background: #ffffff;
  padding: 72px 0;
}

.home-reports-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.home-reports-copy {
  text-align: right;
}

.home-reports h2 {
  font-size: 32px;
  font-weight: 900;
  line-height: 1.25;
  margin: 0 0 16px;
}

.home-reports-copy p {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--home-muted);
  margin: 0;
}

.home-reports-copy strong {
  color: var(--home-navy);
}

.home-reports-media {
  display: flex;
  align-items: center;
  gap: 20px;
}

.home-report-card {
  background: #ffffff;
  border: 1px solid var(--home-border);
  border-radius: 28px;
  padding: 22px 18px;
  width: 256px;
  box-shadow: 0 18px 40px rgba(27, 38, 83, 0.12);
}

.home-report-site {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--home-muted);
}

.home-report-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid #cdd9f0;
  display: inline-block;
  flex-shrink: 0;
}

.home-report-stats {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.home-report-stat-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--home-muted);
}

.home-report-stat-value {
  font-size: 20px;
  font-weight: 900;
}

.home-report-range {
  background: var(--home-bg-icon);
  border-radius: 6px;
  font-size: 9.5px;
  font-weight: 700;
  color: var(--home-muted);
  text-align: center;
  padding: 4px 0;
  margin-bottom: 10px;
}

.home-report-pies {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.home-report-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  opacity: 0.55;
}

.home-report-mini {
  background: #ffffff;
  border: 1px solid var(--home-border);
  border-radius: 10px;
  width: 170px;
  height: 124px;
  padding: 10px;
}

/* ===== PLANOS ===== */

.home-plans {
  background: var(--home-bg-band);
  padding: 70px 0;
  text-align: center;
}

.home-plans-pill {
  display: inline-block;
  background: #dbe5f8;
  color: var(--home-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.home-plans h2 {
  font-size: 36px;
  font-weight: 800;
  margin: 0 0 6px;
}

.home-plans-sub {
  font-size: 30px;
  font-weight: 400;
  color: var(--home-body);
  margin-bottom: 44px;
}

.home-plans-grid {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.home-plan-card {
  background: #ffffff;
  border: 1px solid var(--home-border);
  border-radius: 16px;
  padding: 36px 34px;
  /* 3 cards por linha no desktop, com quebra automática em telas menores. */
  flex: 1 1 340px;
  max-width: 430px;
  /* Coluna flex: a lista cresce e empurra o CTA para a base, deixando os
     botões dos três cards alinhados mesmo com listas de tamanhos diferentes. */
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 34px rgba(27, 38, 83, 0.08);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-plan-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(27, 38, 83, 0.14);
}

.home-plan-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.home-plan-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}

.home-plan-price {
  margin-bottom: 4px;
}

.home-plan-currency {
  font-size: 22px;
  font-weight: 800;
  color: var(--home-blue);
}

.home-plan-amount {
  font-size: 42px;
  font-weight: 900;
  color: var(--home-blue);
}

.home-plan-cents {
  font-size: 20px;
  font-weight: 800;
  color: var(--home-blue);
}

.home-plan-per {
  font-size: 14px;
  font-weight: 700;
  color: var(--home-muted);
}

.home-plan-sub {
  font-size: 13px;
  font-weight: 700;
  color: var(--home-muted);
  margin-bottom: 24px;
}

.home-plan-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  flex-grow: 1; /* ocupa a sobra e mantém o CTA na base do card */
}

/* Listas longas (mais de 6 itens) em duas colunas: o card fica com altura
   parecida com a dos demais, sem esconder nenhum item. */
.home-plan-items-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  align-content: start;
}

.home-plan-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--home-body);
}

.home-plan-item svg {
  flex-shrink: 0;
}

.home-plan-cta {
  display: block;
  font-size: 15px;
  padding: 13px 0;
}

/* ===== CONTATO (rodapé do design) ===== */

.home-contact {
  background: #ffffff;
}

/* Grade full-width: a foto sangra até a borda esquerda da tela (sem margem
   branca) e o texto se alinha à direita com o container (ver bloco ≥900px). */
.home-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: stretch;
}

.home-contact-photo {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}

.home-contact-info {
  padding: 44px 24px 44px 0;
  align-self: center;
}

/* Alinha a borda direita do texto do rodapé à borda direita do container
   (mesma margem lateral de --home-container). */
@media (min-width: 900px) {
  .home-contact-info {
    padding: 44px max(3vw, calc((100vw - var(--home-container-max)) / 2)) 44px 0;
  }
}

.home-contact-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--home-navy);
  margin-bottom: 16px;
}

.home-contact-lines {
  font-size: 13px;
  line-height: 1.8;
  color: var(--home-muted);
}

.home-contact-lines a {
  color: var(--home-muted);
}

.home-contact-address {
  margin-top: 18px;
}

.home-privacy-link {
  font-size: 13px;
  font-weight: 700;
  margin: 22px 0 26px;
}

.home-privacy-link a {
  color: var(--home-navy);
}

.home-contact-seals {
  height: 52px;
  width: auto;
  display: block;
}

/* ===== WHATSAPP FLUTUANTE ===== */

.home-whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--home-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  animation: home-wa-pulse 2.4s ease-out infinite;
}

.home-whatsapp-float:hover,
.home-whatsapp-float:focus {
  background: #1fb958;
}

/* ===== RODAPÉ DO TEMA (barra de copyright) ===== */

.site-footer {
  margin-top: 0;
  background: #ffffff;
  border-top: 1px solid var(--home-border-soft);
  font-size: 13px;
  color: var(--home-muted);
}

.site-footer a {
  color: var(--home-navy);
  font-weight: 700;
}

.site-footer a:hover,
.site-footer a:focus {
  color: var(--home-accent);
}

/* ===== ANIMAÇÕES ===== */

@keyframes home-float-y {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

@keyframes home-wa-pulse {
  0% {
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.45);
  }

  70% {
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4), 0 0 0 16px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

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

  .home-hero-img,
  .home-whatsapp-float {
    animation: none;
  }
}

/* ===== TELAS GRANDES: conteúdo preenche a largura das seções =====
   Nas seções de 2 colunas (e nos cards de planos) o conteúdo cresce para
   ocupar as colunas, sem deixar vãos no meio. Só a partir de 1300px —
   abaixo disso o container já é estreito e a proporção original se mantém. */
@media (min-width: 1300px) {
  /* RESULTADOS — coluna de texto justa ao conteúdo; painel preenche o resto */
  .home-results-grid {
    grid-template-columns: minmax(auto, 640px) 1fr;
  }

  .home-results h2 {
    font-size: 40px;
  }

  .home-results-copy p {
    max-width: 600px;
    font-size: 16px;
  }

  .home-check {
    font-size: 16px;
  }

  .home-stats-panel {
    padding: 40px 46px;
    gap: 40px;
  }

  .home-stat-label {
    font-size: 15px;
  }

  .home-stat-value {
    font-size: 40px;
  }

  .home-stat-delta {
    font-size: 13px;
  }

  /* GOOGLE ADS — texto mais largo; o cartão de anúncio preenche a coluna */
  .home-ads h2 {
    font-size: 38px;
  }

  .home-ads-copy p {
    max-width: 700px;
    font-size: 16px;
  }

  .home-ad-card {
    max-width: 680px;
  }

  .home-ad-title {
    font-size: 20px;
  }

  .home-ad-desc {
    font-size: 15px;
  }

  .home-search-pill span {
    font-size: 15px;
  }

  /* RELATÓRIOS */
  .home-reports h2 {
    font-size: 40px;
  }

  .home-reports-copy p {
    font-size: 15.5px;
  }

  .home-report-card {
    width: 340px;
  }

  .home-report-stat-value {
    font-size: 24px;
  }

  .home-report-mini {
    width: 208px;
    height: 150px;
  }

  /* PLANOS — 3 cards lado a lado; textos permanecem no tamanho base. */
  .home-plans-grid {
    gap: 28px;
  }
}

/* ===== MOBILE (breakpoint do tema: 900px) ===== */

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

/* ≤600px a admin bar do WP é position:absolute e some ao rolar —
   o header então assume o topo para não deixar vão vazio. */
@media (max-width: 600px) {
  body.admin-bar .site-header.is-scrolled {
    top: 0;
  }
}

/* ===== JANELAS ESTREITAS / TABLET (não afeta o mobile ≤900px) ===== */

@media (min-width: 900px) and (max-width: 1200px) {
  .home-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) and (max-width: 1100px) {
  .home-reports-media {
    flex-wrap: wrap;
    justify-content: center;
  }

  .home-results-grid,
  .home-ads-grid,
  .home-reports-grid {
    gap: 36px;
  }
}

@media (max-width: 899.98px) {
  .home-main h1 {
    font-size: 36px;
  }

  .home-main h2 {
    font-size: 24px;
  }

  .home-main section {
    scroll-margin-top: 70px;
  }

  .site-header .wrap {
    padding: 12px 16px;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 110px;
    padding-bottom: 24px;
    padding-inline: 20px;
  }

  /* Textos alinhados à esquerda no mobile (pedido do cliente); apenas os
     elementos visuais seguem centralizados. */
  .home-hero-copy,
  .home-results-copy,
  .home-ads-copy,
  .home-reports-copy {
    text-align: left;
  }

  .home-hero-copy {
    text-align: center;
  }

  .home-stats-wrap,
  .home-ads-media,
  .home-reports-media {
    text-align: center;
  }

  .home-hero-text,
  .home-results-copy p,
  .home-ads-copy p,
  .home-reports-copy p {
    margin-left: 0;
    margin-right: 0;
  }


  .home-hero-text {
    margin-left: auto;
    margin-right: auto;
  }

  .home-price-card {
    display: block;
  }

  .home-hero-badges {
    flex-wrap: wrap;
    gap: 16px 24px;
    justify-content: center;
    padding-bottom: 36px;
  }

  .home-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-results-grid,
  .home-ads-grid,
  .home-reports-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .home-check-list {
    align-items: flex-start;
  }

  .home-check {
    text-align: left;
  }

  .home-circle-badge {
    position: static;
    transform: none;
    margin: 20px auto 0;
  }

  /* Galeria: no mobile mostra a faixa de mockups de celular (como no neo.page). */
  .home-gallery {
    padding: 40px 0;
  }

  .home-gallery-desktop {
    display: none;
  }

  .home-gallery-mobile {
    display: block;
  }

  .home-steps-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .home-steps-line {
    display: none;
  }

  .home-ads-media {
    padding-bottom: 0;
  }

  .home-ads-stats {
    position: static;
    width: auto;
    margin-top: 16px;
    text-align: center;
  }

  .home-reports-media {
    flex-wrap: wrap;
    justify-content: center;
  }

  .home-plans-sub {
    font-size: 22px;
  }

  /* No mobile os cards ficam empilhados: lista volta para uma coluna. */
  .home-plan-items-two-cols {
    grid-template-columns: 1fr;
  }

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

  .home-contact-info {
    padding: 32px 20px;
    text-align: center;
  }

  .home-contact-seals {
    margin: 0 auto;
  }
}
