/* ===== HOME CSS - DOCA PJ ===== */

.hero {
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
  margin: 0;
  min-height: 0; /* altura definida pelo conteúdo */
  padding: 56px 0; /* garante espaçamento inferior sem travar altura */
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

.hero-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  color: var(--sky);
}

.hero .hero-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

.hero-cta-box {
  display: flex;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 520px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
}

.hero-cta-box input {
  flex: 1;
  padding: 16px 20px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  font-family: "Inter", sans-serif;
  outline: none;
  min-width: 0;
}

.hero-cta-box button {
  padding: 16px 24px;
  border-radius: 10px;
  background: var(--sky);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  font-family: "Inter", sans-serif;
  transition: background var(--transition);
}

.hero-cta-box button:hover {
  background: var(--sky-hover);
}

.hero-cta-box button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.hero-trust svg {
  width: 16px;
  height: 16px;
}

.hero-agreement {
  margin-top: 16px;
  display: flex;
  justify-content: center;
}

.agreement-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.agreement-label input {
  width: 16px;
  height: 16px;
  accent-color: var(--sky);
}

.agreement-label a {
  color: var(--sky);
  text-decoration: underline;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--sky);
}

/* Nav top */
/* Estilos globais de site-nav movidos para global.css */

/* Icon helper */
.icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-box svg {
  width: 24px;
  height: 24px;
}

.icon-box-red {
  background: #fef2f2;
  color: #dc2626;
}

.icon-box-sky {
  background: #f0f9ff;
  color: var(--sky);
}

/* Steps */
.step-number {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--sky);
  margin-bottom: 8px;
}

/* Pricing */
.pricing-card {
  position: relative;
}

.pricing-card .price {
  font-size: 40px;
  font-weight: 800;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.pricing-card .price-period {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 400;
}

.pricing-featured {
  background: var(--navy);
  color: var(--white);
  border: none;
}

.pricing-featured .price-period {
  color: rgba(255, 255, 255, 0.5);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--sky);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.check-list {
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 12px;
}

.check-list li svg {
  width: 18px;
  height: 18px;
  color: var(--sky);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-featured .check-list li {
  color: rgba(255, 255, 255, 0.8);
}

/* Footer */
/* Estilos globais de site-footer movidos para global.css */

/* Centraliza ícones dentro dos cards (mantém texto alinhado à esquerda). */
.card.text-left .icon-box,
.card-flat.text-left .icon-box {
  margin-left: auto;
  margin-right: auto;
}

/* Mais sombra nos cards de pricing */
.pricing-card {
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-featured {
  box-shadow: var(--shadow-sm);
}

.pricing-featured:hover {
  box-shadow: var(--shadow-lg);
}

/* ===== UTILS PARA REMOVER CSS INLINE (home.php) ===== */
.text-navy {
  color: var(--navy);
}

.home-text-muted {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.home-footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.35);
}

.mb-4 {
  margin-bottom: 4px;
}
.mb-8 {
  margin-bottom: 8px;
}
.mb-16 {
  margin-bottom: 16px;
}
.mb-24 {
  margin-bottom: 24px;
}
.mb-40 {
  margin-bottom: 40px;
}

.mt-8 {
  margin-top: 8px;
}
.mt-32 {
  margin-top: 32px;
}

.spacer-48 {
  height: 48px;
}
.spacer-40 {
  height: 40px;
}

.home-card-title-17-navy {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

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

.home-step-title-20 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.home-step-desc-contrast {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

.icon-box-sky-soft {
  margin: 0 auto 16px;
  background: rgba(14, 165, 233, 0.15);
}

.pricing-grid {
  max-width: 740px;
  margin: 0 auto;
}

.pricing-title-monthly {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.pricing-title-annual {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-price-navy {
  color: var(--navy);
}

.pricing-annual-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 24px;
}

.pricing-eco-sky {
  color: var(--sky);
  font-weight: 600;
}

.home-legal-note {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.home-link-sky-underline {
  color: var(--sky);
  text-decoration: underline;
}

/* Estilos globais de footer-links movidos para global.css */

/* Estilos globais de footer-bottom movidos para global.css */

.cnpj-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 120;
}

.cnpj-modal.is-open {
  display: flex;
}

.cnpj-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.64);
  backdrop-filter: blur(4px);
}

.cnpj-modal__dialog {
  position: relative;
  width: min(100%, 720px);
  max-height: calc(100vh - 48px);
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 30px 90px rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.cnpj-modal__scroll {
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

.cnpj-modal__scroll::-webkit-scrollbar {
  width: 10px;
}

.cnpj-modal__scroll::-webkit-scrollbar-track {
  background: transparent;
}

.cnpj-modal__scroll::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.35);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.cnpj-modal__content {
  padding: 32px;
}

.cnpj-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.9);
  color: #0f172a;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.cnpj-modal__eyebrow {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
}

.cnpj-modal__title {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 28px;
  line-height: 1.15;
  max-width: 420px;
}

.cnpj-modal__subtitle {
  margin: 0 0 20px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.7;
  max-width: 540px;
}

.cnpj-modal__status {
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  background: #f8fafc;
  color: #334155;
}

.cnpj-modal__status.is-loading {
  background: #eff6ff;
  color: #1d4ed8;
}

.cnpj-modal__status.is-success {
  background: #ecfdf5;
  color: #047857;
}

.cnpj-modal__status.is-error {
  background: #fef2f2;
  color: #b91c1c;
}

.cnpj-modal__results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cnpj-modal__actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
  padding-top: 8px;
}

.cnpj-modal__cta {
  min-width: 180px;
  box-shadow: 0 16px 32px rgba(14, 165, 233, 0.24);
}

.cnpj-modal__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 16px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.cnpj-modal__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.cnpj-modal__value {
  color: var(--navy);
  font-size: 15px;
  line-height: 1.5;
}

body.cnpj-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-cta-box {
    flex-direction: column;
  }

  .cnpj-modal__results {
    grid-template-columns: 1fr;
  }

  .cnpj-modal__content {
    padding: 28px 20px 20px;
  }

  .cnpj-modal__title,
  .cnpj-modal__subtitle {
    max-width: none;
  }
}

@media (max-width: 577px) {
  .hero {
    padding-bottom: 40px;
  }
}

@media (max-width: 320px) {
  .hero {
    padding-bottom: 36px;
  }
}

/* Garante que o conteúdo "comece" abaixo do header fixo (sem margin-top hack). */
