/*
  NR NOW — Folha de estilos
  Estrutura: reset, layout, cabeçalho, seções, componentes e responsividade.
*/

/* =========================================================
   1. RESET E BASE
   ========================================================= */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #071a34;
}

p {
  line-height: 1.55;
}

.container {
  max-width: 1160px;
  margin: auto;
  padding: 0 28px;
}

/* =========================================================
   2. TIPOGRAFIA E ELEMENTOS GERAIS
   ========================================================= */
h1 {
  margin: 0 0 18px;
  font-size: 36px;
  line-height: 1.14;
}

h2 {
  margin: 6px 0;
  font-size: 28px;
}

h3 {
  margin: 12px 0 6px;
  font-size: 17px;
}

h4 {
  margin: 0;
}

em,
.eyebrow {
  color: #d7c416;
  font-style: normal;
}

.eyebrow {
  font-size: 20px;
  font-weight: bold;
}

.center {
  text-align: center;
}

.center > p:not(.eyebrow) {
  max-width: 800px;
  margin: 8px auto 25px;
}

/* =========================================================
   3. BOTÕES
   ========================================================= */
.btn {
  display: inline-block;
  padding: 15px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

.yellow {
  background: #d7c416;
  color: #071a34;
}

.outline {
  margin-left: 10px;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.darkbtn {
  background: #07233e;
  color: #ffffff;
}

.actions {
  display: flex;
  flex-wrap: wrap;       /* Permite que os botões quebrem linha no mobile */
  gap: 16px;             /* Cria o espaçamento de 16px entre eles */
  justify-content: flex-start; /* Alinha os botões à esquerda no desktop */
}

@media (max-width: 768px) {
  .actions {
    flex-direction: column;
    align-items: flex-start; /* Alinha os botões à esquerda no mobile */
  }
  .actions .btn {
    width: 100%;         /* Opcional: faz os botões ocuparem a largura total no mobile */
    max-width: 320px;    /* Limita o tamanho máximo para não esticar demais */
    text-align: center;  /* Mantém o texto do botão centralizado internamente */
  }
}
/* =========================================================
   4. LOGO
   A imagem deve estar em: img/logonrnow.png
   ========================================================= */
.logo {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  font-size: 27px;
  text-decoration: none;
}

.logo img {
  display: block;
  width: auto;
  max-width: 180px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

/* =========================================================
   5. HERO / CABEÇALHO E SEÇÕES ESCURAS
   ========================================================= */
.dark,
footer {
  background: #03213a;
  color: #ffffff;
}

/* O Hero agora tem a cor de base combinada com a imagem de fundo responsiva */
.hero {
  background: linear-gradient(rgba(3, 33, 58, 0.85), rgba(3, 33, 58, 0.95)), url('../img/seu-background.png') center/cover no-repeat;
  color: #ffffff;
  border-bottom: 12px solid #d3bf12;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.links {
  display: flex;
  gap: 31px;
}

.links a {
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 45px;
  padding-top: 25px;
  padding-bottom: 55px;
  align-items: center;
}

.hero p {
  max-width: 560px;
}

.actions {
  margin-top: 20px;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 30px;
  color: #e5e8e9;
  font-size: 14px;
}

.trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px; /* Espaço entre o ícone e o texto */
}

.trust-icon {
  width: 25px;
  height: 25px;
  color: #d7c416;
  flex-shrink: 0; /* Impede o ícone de amassar em telas menores */
}

/* =========================================================
   6. IMAGEM DO SISTEMA (RESPONSIVA E ENQUADRADA)
   ========================================================= */
.hero-image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

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

/* =========================================================
   7. SEÇÕES E CARDS
   ========================================================= */
.light {
  padding: 32px 0;
}

.dark {
  padding: 28px 0;
}

.cards {
  display: grid;
  gap: 14px;
}

.four {
  grid-template-columns: repeat(4, 1fr);
}

.five {
  grid-template-columns: repeat(5, 1fr);
}

.cards article {
  padding: 20px 14px;
  font-size: 34px;
}

.cards article p {
  margin: 0;
  font-size: 12px;
}

.dark .cards article {
  border: 1px solid #7d7e3d;
  border-radius: 10px;
  color: #d7c416;
}

.dark .cards h3,
.dark .cards p {
  color: #ffffff;
}

.benefits article {
  color: #071a34;
}

.card-inline-icon {
  width: 42px;
  height: 42px;
  display: block;
  margin: 0 auto 12px;
  fill: #071a34; /* Aplica a cor azul direto no vetor */
}

.solution-inline-icon {
  width: 42px;
  height: 42px;
  display: block;
  margin: 0 auto 12px;
  fill: #c6b010; /* Aplica a cor amarela direto no vetor */
}

.steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.step-item {
  flex: 1;
  text-align: center;
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 20px;
}

/* Número no círculo amarelo pequeno */
.step-number {
  background-color: #c6b010;
  color: #000;
  font-weight: bold;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  position: absolute;
  left: calc(50% - 46px); /* Fixa o número à esquerda do círculo maior */
  z-index: 2;
}

/* Círculo maior do ícone principal */
.step-icon-wrapper {
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff; /* Altere para a cor desejada do ícone */
}

.step-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

/* Seta pontilhada amarela */
.step-arrow {
  position: absolute;
  right: -40%;
  top: 50%;
  width: 60%;
  height: 2px;
  border-bottom: 2px dashed #c6b010;
}

.step-arrow::after {
  content: '';
  position: absolute;
  right: 0;
  top: -3px;
  width: 6px;
  height: 6px;
  border-top: 2px solid #c6b010;
  border-right: 2px solid #c6b010;
  transform: rotate(45deg);
}

/* Remove a seta em telas menores ou adapta o layout */
@media (max-width: 768px) {
  .steps {
    flex-direction: column;
    align-items: center;
  }
  .step-arrow {
    display: none;
  }
  .step-number {
    position: static;
    margin-right: 10px;
  }
  .step-header {
    gap: 10px;
  }
}


/* Configurações Gerais da Seção Recursos */
/* Configurações Gerais da Seção Recursos - Com Linha no Topo */
.resources-section {
  background-color: #ffffff;
  border-top: 1px solid #071a34; /* Linha fina na cor azul escura do seu projeto */
  padding: 80px 20px;
  text-align: center;
}
.inline-badge-yellow {
  background-color: #fdf6cc;
  color: #c6b010;
  padding: 6px 18px;
  border-radius: 20px;
  display: inline-block;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 15px;
}
.highlight-yellow {
  color: #c6b010;
}
.resources-section h2 {
  font-size: 36px;
  color: #071a34;
  margin: 0 0 15px 0;
}
.resources-subtitle {
  color: #666;
  max-width: 700px;
  margin: 0 auto 50px;
  font-size: 18px;
  line-height: 1.5;
}

/* Grid de 3 Colunas */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1140px;
  margin: 0 auto;
}

/* Estilo do Card individual */
.resource-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 35px 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02);
}
.resource-card h3 {
  font-size: 20px;
  color: #071a34;
  margin: 20px 0 12px 0;
  line-height: 1.3;
}
.resource-card p {
  color: #4a5568;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.bold-text {
  font-weight: bold;
  color: #071a34;
}

/* Fundo amarelo pequeno do ícone */
.resource-icon-bg {
  width: 44px;
  height: 44px;
  background-color: #fdf6cc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.resource-icon-bg svg {
  width: 22px;
  height: 22px;
  color: #071a34;
}

/* Responsividade */
@media (max-width: 992px) {
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .resources-grid {
    grid-template-columns: 1fr;
  }
  .resources-section h2 {
    font-size: 28px;
  }
}
/* =========================================================
   8. ETAPAS DO PROCESSO
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.steps b {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #071a34;
  background: #d7c416;
}

.steps p {
  font-size: 12px;
}

/* =========================================================
   9. CTA E RODAPÉ
   ========================================================= */
.cta {
  padding: 0; /* Remove padding vertical para permitir o sangramento da imagem */
  color: #09203a;
  background: linear-gradient(100deg, #c6b010, #c6b010);
  overflow: hidden;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 60px;
  align-items: stretch; /* Estica a coluna para preencher o fundo de cima a baixo */
}

/* Enquadramento perfeito na lateral direita sem folgas */
.cta-image-wrapper {
  display: flex;
  grid-column: 2; 
  height: 100%;
}

.cta-image-wrapper .responsive-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Recorta e adapta a imagem sem distorções na proporção do container */
}

.cta-content {
  text-align: left;
  grid-column: 1;
  grid-row: 1;
  padding: 36px 0; /* Aplica o espaçamento apenas na coluna de texto */
}

.cta h2 {
  margin-top: 0;
  max-width: 100%;
}

.cta p {
  margin-bottom: 25px;
  color: #071a34;
}

footer {
  padding: 38px 0;
}

.footer {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 30px;
}

.footer p {
  font-size: 12px;
  line-height: 1.8;
}


/* Layout Geral da Seção - Fundo Branco */
.pricing-section {
  background-color: #ffffff;
  padding: 60px 20px;
}
.inline-badge {
  background-color: #fdf6cc;
  color: #c6b010;
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
  font-weight: bold;
  font-size: 14px;
}
.highlight-text {
  color: #c6b010;
}
.pricing-section .subtitle {
  color: #666;
  max-width: 600px;
  margin: 10px auto 40px;
}

/* Grid de Planos */
.pricing-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Card Padrão */
.pricing-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
  text-align: left;
}

/* Card em Destaque (Professional) */
.pricing-card.featured {
  border: 3px solid #c6b010;
  background-color: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(198, 176, 16, 0.2);
  transform: scale(1.02);
  z-index: 2;
}

/* Etiqueta Mais Popular */
.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #c6b010;
  color: #000000;
  font-size: 13px;
  font-weight: bold;
  padding: 4px 18px;
  border-radius: 20px;
}

/* Elementos Internos do Card */
.card-header h3 {
  font-size: 24px;
  color: #071a34;
  margin: 0 0 10px 0;
}
.card-header .price {
  font-size: 40px;
  font-weight: 800;
  color: #071a34;
}
.credits-info {
  color: #c6b010;
  font-weight: bold;
  font-size: 16px;
  margin: 4px 0;
}
.target-info {
  color: #718096;
  font-size: 14px;
  margin: 8px 0 20px 0;
}

/* Botões dos Planos */
.btn-pricing {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 25px;
  transition: opacity 0.2s;
}
.btn-pricing:hover {
  opacity: 0.9;
}
.dark-btn {
  background-color: #071a34;
  color: #ffffff;
}
.yellow-btn {
  background-color: #c6b010;
  color: #000000;
}

/* Lista de Recursos com Ícone de Check */
.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.features-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #4a5568;
  font-size: 15px;
}
.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #c6b010;
  font-weight: bold;
  font-size: 16px;
}

/* Responsividade Mobile */
@media (max-width: 768px) {
  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }
  .pricing-card {
    width: 100%;
    max-width: 380px;
  }
  .pricing-card.featured {
    transform: scale(1);
    margin: 20px 0;
  }
}

.old-price {
  text-decoration: line-through;
  text-decoration-color: #ff3333; /* Apenas a linha fica vermelha */
  font-size: inherit;             /* Mantém o mesmo tamanho de fonte do bloco */
  font-weight: inherit;           /* Mantém o mesmo peso/negrito do bloco */
  color: inherit;                 /* Mantém a mesma cor azul-escura original */
  margin-right: 8px;
}

/* Banner de Destaque nos Planos */
.pricing-banner {
  background-color: #fdf6cc; /* Fundo amarelo suave idêntico aos badges */
  border: 1px solid #c6b010;
  border-radius: 8px;
  max-width: 800px;
  margin: 0 auto 40px auto; /* Centraliza e dá espaçamento antes do grid */
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.pricing-banner p {
  color: #071a34; /* Azul escuro padrão */
  font-size: 16px;
  font-weight: bold;
  margin: 0;
  text-align: left;
}

.banner-icon {
  color: #c6b010; /* Ícone amarelo escuro */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Responsividade para telas menores */
@media (max-width: 600px) {
  .pricing-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
  }
  .pricing-banner p {
    text-align: center;
    font-size: 15px;
  }
}

/* =========================================================
   10. RESPONSIVIDADE
   ========================================================= */
@media (max-width: 800px) {
  .links {
    display: none;
  }

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

  .hero-image-wrapper {
    margin-top: 30px;
  }

  .four,
  .five,
  .steps,
  .footer {
    grid-template-columns: 1fr 1fr;
  }

  h1 {
    font-size: 30px;
  }

  /* Ajustes responsivos para o CTA com imagem na direita */
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cta-image-wrapper {
    grid-column: auto;
    height: 300px; /* Limita a altura da imagem no mobile para não quebrar a tela */
  }

  .cta-content {
    grid-column: auto;
    grid-row: auto;
    text-align: center;
    padding: 36px 28px;
  }
}

/* =========================================================
   11. ANIMAÇÃO DE SCROLL (FADE-IN)
   ========================================================= */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform;
}

.scroll-animate.active {
  opacity: 1;
  transform: translateY(0);
}