/* RESET BÁSICO */
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:Arial, sans-serif;background:#f5f5f5;color:#333;line-height:1.4}

/* esconder skip-link antigo */
.skip-link{display:none!important}

/* HEADER */
.site-header{
  position:fixed;top:0;left:0;width:100%;
  background:#8CC63F;
  color:#fff;
  padding:10px 16px;
  display:flex;
  justify-content:center;
  z-index:1000;
  box-shadow:0 4px 12px rgba(0,0,0,.25)
}
.header-inner{
  width:100%;
  max-width:1300px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo-credboa{
  height:48px;
  width:auto;
  display:block;
}
.menu-toggle{
  background:transparent;
  color:#fff;
  font-size:28px;
  line-height:1;
  border:2px solid #fff;
  border-radius:10px;
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.menu-dropdown{
  position:absolute;
  right:16px;
  top:64px;
  background:#4a7f1f;
  color:#fff;
  border-radius:10px;
  box-shadow:0 20px 40px rgba(0,0,0,.4);
  padding:16px;
  min-width:220px;
  display:none;
  flex-direction:column;
  z-index:1500;
}
.menu-dropdown a{
  color:#fff;
  text-decoration:none;
  font-weight:600;
  padding:10px 12px;
  border-radius:8px;
  font-size:16px;
  line-height:1.3;
}
.menu-dropdown a:hover{
  background:rgba(255,255,255,.12);
}
.menu-dropdown.show{
  display:flex;
}

/* HERO FULL WIDTH (HOME) */
.hero{
  position:relative;
  width:100%;
  padding-top:110px;
  padding-bottom:100px;
  background-image:
    linear-gradient(rgba(92,143,47,0.55),rgba(92,143,47,0.55)),
    url("img/capa.jpg");
  background-size:cover;
  background-position:center top;
  background-repeat:no-repeat;
  color:#fff;
  text-align:center;
  overflow:hidden;
  z-index:1;
}
.hero::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-1px;
  height:60px;
  background:radial-gradient(circle at 50% 0%,rgba(0,0,0,0.18)0%,rgba(0,0,0,0)70%);
  pointer-events:none;
  z-index:2;
}
.hero-inner-wrapper{
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;
}
.hero-logo img{
  max-width:200px;
  height:auto;
  display:block;
  margin:0 auto 16px;
}
.hero-title{
  font-size:clamp(32px,2vw+24px,56px);
  font-weight:800;
  line-height:1.15;
  margin:0 0 20px;
  color:#fff;
  text-shadow:0 4px 16px rgba(0,0,0,.6);
}
.hero-desc{
  font-size:clamp(18px,.4vw+16px,22px);
  font-weight:500;
  line-height:1.4;
  color:#fff;
  max-width:900px;
  margin:0 auto 28px;
  text-shadow:0 4px 16px rgba(0,0,0,.6);
}
.hero-cta{
  display:inline-block;
  background:#fff;
  color:#184d14;
  font-weight:600;
  font-size:20px;
  line-height:1.3;
  padding:16px 24px;
  border-radius:6px;
  text-decoration:none;
  box-shadow:0 24px 32px rgba(0,0,0,.45);
  min-width:260px;
  text-align:center;
}
.hero-cta:hover{
  filter:brightness(.97);
  transform:translateY(-1px);
  box-shadow:0 28px 38px rgba(0,0,0,.5);
  transition:all .12s ease;
}

/* SEÇÃO GRANA NA MÃO (HOME ANTIGA) */
.cartao-card-wrapper{
  max-width:1300px;
  margin:0 auto;
  padding:24px 16px 16px;
}
.cartao-card{
  background:#f7faef;
  border:1px solid #dfeac5;
  border-radius:12px;
  padding:24px;
  box-shadow:0 24px 48px rgba(0,0,0,.07);
  width:100%;
  display:flex;
  flex-direction:column;
  text-align:center;
}
.cartao-badge{
  background:#eef5dc;
  color:#2d4f1f;
  font-weight:700;
  font-size:14px;
  border-radius:999px;
  padding:6px 12px;
  align-self:center;
  margin-bottom:12px;
}
.cartao-card-title{
  font-size:28px;
  font-weight:700;
  line-height:1.3;
  color:#12360f;
  margin:0 0 16px;
}
.cartao-card-desc{
  font-size:18px;
  line-height:1.5;
  color:#1a1a1a;
  max-width:900px;
  margin:0 auto 24px;
}
.cartao-card-btn{
  text-align:center;
  text-decoration:none;
  background:#a6e34d;
  color:#0f2f0f;
  font-weight:700;
  font-size:20px;
  line-height:1.3;
  border:none;
  border-radius:8px;
  padding:16px 24px;
  box-shadow:0 16px 32px rgba(0,0,0,.12);
  max-width:480px;
  width:100%;
  margin:0 auto;
}
.cartao-card-btn:hover{
  filter:brightness(.95);
  transform:translateY(-1px);
  box-shadow:0 20px 36px rgba(0,0,0,.16);
  transition:all .12s ease;
}

/* SERVIÇOS (cards com imagem e blur) */
.services{
  max-width:1300px;
  margin:0 auto;
  padding:24px 16px 40px;
}
.services-heading{
  font-size:28px;
  font-weight:800;
  color:#1a1a1a;
  margin:0 0 24px;
  text-align:center;
}
.services-grid-v2{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(380px,100%),1fr));
  gap:24px;
}
.service-card-v2{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  border-radius:16px;
  padding:24px;
  min-height:260px;
  text-decoration:none;
  overflow:hidden;
  background:#000;
  box-shadow:0 24px 48px rgba(0,0,0,.25);
  background-image:var(--img);
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.service-card-v2::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.5);
  transition:all .25s ease;
}
.service-card-v2::after{
  content:"";
  position:absolute;
  inset:0;
  backdrop-filter:blur(2px) brightness(.8);
  transition:all .25s ease;
}
.service-card-v2:hover::before{
  background:rgba(0,0,0,.3);
}
.service-card-v2:hover::after{
  backdrop-filter:blur(0px) brightness(1);
}
.service-badge-v2{
  position:relative;
  z-index:2;
  display:inline-block;
  font-size:14px;
  font-weight:600;
  line-height:1.2;
  color:#fff;
  border:1px solid rgba(255,255,255,.6);
  background:rgba(0,0,0,.3);
  border-radius:999px;
  padding:8px 12px;
  margin-bottom:16px;
  align-self:flex-start;
}
.service-textblock{
  position:relative;
  z-index:2;
  color:#fff;
  text-shadow:0 4px 12px rgba(0,0,0,.8);
}
.service-title-v2{
  font-size:24px;
  font-weight:700;
  line-height:1.25;
  margin:0 0 12px;
  color:#fff;
}
.service-desc-v2{
  font-size:15px;
  line-height:1.4;
  margin:0 0 20px;
  color:#fff;
  max-width:90%;
}
.service-cta-v2{
  display:inline-block;
  font-size:15px;
  font-weight:700;
  color:#fff;
  background:rgba(0,0,0,.4);
  border:1px solid rgba(255,255,255,.6);
  border-radius:8px;
  padding:10px 14px;
  line-height:1.2;
  text-shadow:0 4px 12px rgba(0,0,0,.8);
}

/* COMO FUNCIONA */
.como-funciona{
  background:#f5f5f5;
  padding:24px 16px 40px;
}
.cf-head{
  text-align:center;
  font-size:32px;
  font-weight:800;
  line-height:1.2;
  color:#1a1a1a;
  margin-bottom:24px;
}
.steps{
  max-width:1300px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr));
  gap:24px;
}
.step{
  background:#fff;
  border-radius:12px;
  padding:24px;
  text-align:center;
  box-shadow:0 24px 48px rgba(0,0,0,.07);
}
.step-emoji{
  font-size:24px;
  line-height:1;
  margin-bottom:12px;
}
.step h3{
  font-size:22px;
  font-weight:800;
  line-height:1.3;
  color:#195c1d;
  margin:0 0 12px;
}
.step-num{
  color:#8CC63F;
  margin-right:4px;
}
.step p{
  font-size:16px;
  color:#444;
  margin:0;
  line-height:1.4;
}

/* SOLICITAÇÃO HOME */
.solicitacao-section{
  background:#f5f5f5;
  padding:24px 16px 40px;
}
.solicitacao-inner{
  max-width:1300px;
  margin:0 auto;
  background:#fff;
  border-radius:12px;
  box-shadow:0 24px 60px rgba(0,0,0,.12);
  border:1px solid #dfeac5;
  padding:24px;
}
.solicitacao-inner h2{
  font-size:24px;
  font-weight:800;
  line-height:1.2;
  color:#1a1a1a;
  margin:0 0 16px;
}
.lead-form .grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
@media(max-width:780px){
  .lead-form .grid-2{grid-template-columns:1fr}
}
.field{
  display:flex;
  flex-direction:column;
}
.field.full{grid-column:1 / -1}
.field label{
  font-size:14px;
  font-weight:600;
  color:#333;
  margin-bottom:4px;
}
.field input,
.field select,
.field textarea{
  border:1px solid #ccc;
  border-radius:6px;
  padding:10px 12px;
  font-size:15px;
  outline:none;
  width:100%;
  resize:vertical;
  min-height:42px;
}
.field textarea{min-height:60px}
.check-line{
  display:flex;
  gap:8px;
  align-items:flex-start;
  font-size:13px;
  color:#444;
  margin:16px 0;
  line-height:1.4;
}
.whats-send{
  background:#fff;
  border:2px solid #4CAF50;
  color:#0f2f0f;
  font-weight:700;
  font-size:16px;
  border-radius:8px;
  padding:14px 18px;
  cursor:pointer;
  box-shadow:0 16px 32px rgba(0,0,0,.12);
}
.whats-send:hover{
  background:#4CAF50;
  color:#fff;
  transition:.15s;
}
.aviso-golpe{
  font-size:13px;
  color:#333;
  margin-top:16px;
  line-height:1.4;
}

/* FOOTER */
.site-footer{
  background:#8CC63F;
  color:#103b10;
  font-size:14px;
  margin-top:40px;
}
.footer-grid{
  max-width:1300px;
  margin:0 auto;
  padding:32px 16px 20px;
}
.foot-legal{
  font-size:13px;
  line-height:1.6;
  color:#0d2f0d;
  text-align:justify;
  margin:0 0 16px;
}
.footer-bottom{
  border-top:1px solid rgba(0,0,0,.08);
  padding:12px 16px;
  text-align:center;
  color:#0d2f0d;
  font-size:13px;
}

/* MODAIS */
.overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:16px;
  z-index:3000;
}
.overlay.hidden{display:none}
.modal-card{
  background:#fff;
  border-radius:12px;
  max-width:700px;
  width:100%;
  max-height:85vh;
  overflow:auto;
  padding:24px;
  position:relative;
  box-shadow:0 24px 60px rgba(0,0,0,.4);
}
.modal-card h2{
  font-size:24px;
  font-weight:800;
  color:#184d14;
  margin:0 0 12px;
}
.modal-card p{
  font-size:16px;
  line-height:1.5;
  color:#333;
  margin:0 0 16px;
}
.modal-card ul{
  padding-left:20px;
  font-size:16px;
  line-height:1.5;
  color:#333;
}
.modal-card li{margin-bottom:10px}
.modal-close{
  position:absolute;
  top:12px;
  right:12px;
  border:0;
  background:transparent;
  color:#333;
  font-size:28px;
  line-height:1;
  cursor:pointer;
}

/* BOTÃO WHATSAPP FLUTUANTE */
.whats-float{
  position:fixed;
  right:18px;
  bottom:18px;
  z-index:3500;
  width:96px;
  height:96px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  box-shadow:0 12px 22px rgba(0,0,0,.25);
  background:transparent;
}
.whats-float img{
  width:100%;
  height:100%;
  border-radius:50%;
  display:block;
}

/* ========================= */
/*     PÁGINA CARTÃO         */
/* ========================= */

.page-cartao{
  background:#f5f5f5;
  color:#1a1a1a;
  font-family:Arial, sans-serif;
  padding-top:0; /* sem faixa branca acima do hero */
}

/* HERO CARTÃO */
.hero-cartao{
  position:relative;
  background:linear-gradient(180deg,rgba(128,194,65,1) 0%,rgba(106,167,50,1) 100%);
  color:#fff;

  /* espaço pro header fixo + deixa o fundo verde indo até o topo */
  padding:110px 20px 0;

  min-height:560px; /* alto pra não cortar cabeça da galera no fundo */
  width:100%;

  display:flex;
  align-items:flex-end;
  justify-content:center;

  overflow:hidden;
}
.hero-cartao.full-bleed{
  width:100%;
}

/* camada da foto de fundo */
.hero-cartao-overlay{
  position:absolute;
  inset:0;
  background:url('img/capa.jpg') center top / 115% no-repeat;
  opacity:.22;
  z-index:0;
  filter:brightness(.8);
}

/* conteúdo dentro do hero */
.hero-cartao-inner{
  position:relative;
  z-index:2;
  max-width:1300px;
  width:100%;

  display:flex;
  flex-wrap:nowrap;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;

  padding-bottom:0;
  color:#fff;
  text-shadow:0 4px 16px rgba(0,0,0,.6);
}

/* COLUNA TEXTO */
.hero-col-text{
  flex:1 1 600px;
  min-width:280px;
  max-width:700px;
  text-align:left;
  color:#fff;
  transform: translateY(-150px);
}
.hero-col-text h1{
  font-size:clamp(28px,1.5vw+24px,42px);
  font-weight:800;
  line-height:1.2;
  margin:0 0 16px;
  color:#fff;
}
.hero-cartao-desc{
  font-size:1.1rem;
  line-height:1.5;
  margin:0 0 24px;
  color:#fff;
}
.hero-cartao-btn{
  font-size:1rem;
  font-weight:700;
  border-radius:10px;
  text-decoration:none;
  display:inline-block;
}

/* COLUNA IMAGEM (mulher) */
.hero-col-img{
  flex:0 0 auto;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
  min-width:360px;
  max-width:420px;
}
.hero-col-img img{
  width:300%;
  max-width:560px;
  height:auto;
  object-fit:contain;

  /* encosta a base da mulher exatamente no verde do rodapé da seção */
  margin-bottom:-4px;

  filter:drop-shadow(0 8px 18px rgba(0,0,0,.35));
}

/* MOBILE hero */
@media(max-width:768px){
  .hero-cartao{
    padding:100px 20px 40px;
    min-height:440px;
  }
  .hero-cartao-inner{
    flex-wrap:wrap;
    justify-content:center;
    text-align:center;
  }
  .hero-col-text{
    flex:1 1 100%;
    max-width:600px;
    text-align:center;
    margin:0 auto;
    transform:translateY(20px); /* ↓ desce um pouco o texto no mobile */
  }
  .hero-col-img{
    display:none; /* esconde mulher no mobile pra não quebrar layout */
  }
  .hero-cartao-btn{
    margin-left:auto;
    margin-right:auto;
  }
}

/* BLOCO VANTAGENS / CONDIÇÕES */
.vantagens-bloco{
  background:#fff;
  padding:40px 20px 20px;
}
.vantagens-inner{
  max-width:1100px;
  margin:0 auto;
}
.vantagens-inner h2{
  text-align:center;
  font-size:1.5rem;
  color:#184d14;
  font-weight:800;
  margin:0 0 24px;
}
.vantagens-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
  margin-bottom:40px;
}
.vant-card{
  background:#f8fff0;
  border:1px solid #d8efb8;
  border-radius:16px;
  padding:20px;
  box-shadow:0 8px 18px rgba(0,0,0,.05);
  text-align:center;
}
.vant-icone{
  font-size:28px;
  margin-bottom:10px;
}
.vant-card h3{
  margin:0 0 10px;
  color:#184d14;
  font-size:1.1rem;
  font-weight:800;
}
.vant-card p{
  margin:0;
  color:#333;
  font-size:.95rem;
  line-height:1.4;
}

.condicoes-title{
  text-align:center;
  font-size:1.4rem;
  color:#184d14;
  font-weight:800;
  margin:0 0 24px;
}
.condicoes-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:20px;
  margin-bottom:20px;
}
.cond-card{
  background:#f8fff0;
  border:1px solid #d8efb8;
  border-radius:16px;
  padding:20px;
  box-shadow:0 8px 18px rgba(0,0,0,.05);
  text-align:center;
}
.cond-icone{
  font-size:26px;
  margin-bottom:10px;
}
.cond-card h4{
  margin:0 0 6px;
  color:#184d14;
  font-size:1rem;
  font-weight:800;
}
.cond-card p{
  margin:0;
  color:#333;
  font-size:.9rem;
  line-height:1.4;
}

/* FORM CARTÃO */
.cartao-form-wrapper{
  background:#f5f5f5;
  padding:40px 20px 60px;
}
.cartao-form-card{
  background:#fff;
  border:1px solid #e0ead5;
  border-radius:16px;
  box-shadow:0 12px 30px rgba(0,0,0,.08);
  max-width:1100px;
  margin:0 auto;
  padding:24px 24px 32px;
}
.cartao-form-card h2{
  color:#184d14;
  margin:0 0 8px;
  font-size:1.4rem;
  line-height:1.2;
  font-weight:800;
}
.form-mini-desc{
  color:#444;
  font-size:.95rem;
  line-height:1.4;
  margin:0 0 20px;
}
.form-grid-2{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
@media(max-width:680px){
  .form-grid-2{grid-template-columns:1fr;}
}
.form-field{
  display:flex;
  flex-direction:column;
  margin-bottom:16px;
}
.form-field label{
  font-weight:700;
  font-size:.9rem;
  color:#444;
  margin-bottom:6px;
}
.form-field input,
.form-field select{
  border:1px solid #ccc;
  border-radius:8px;
  padding:12px;
  font-size:1rem;
  background:#fff;
}
.form-termo{
  font-size:.8rem;
  color:#555;
  line-height:1.4;
  margin:8px 0 16px;
}

/* botões gerais */
.btn-primary{
  background:#a6e34d;
  color:#11440e;
  border:none;
  font-weight:800;
  font-size:1rem;
  border-radius:10px;
  padding:14px 20px;
  cursor:pointer;
  transition:.15s;
  text-align:center;
  display:inline-block;
}
.btn-primary:hover{
  filter:brightness(.95);
  box-shadow:0 10px 20px rgba(0,0,0,.15);
}
.btn-white{
  background:#fff;
  color:#2e7d32;
  border:2px solid transparent;
  font-weight:700;
  padding:14px 20px;
  border-radius:10px;
  cursor:pointer;
  font-size:1rem;
}
.btn-white:hover{
  box-shadow:0 10px 20px rgba(0,0,0,.18);
}

.status-msg{
  margin-top:14px;
  font-size:.9rem;
}
.status-msg.sending{color:#666;}
.status-msg.success{color:#2e7d32;font-weight:700;}
.status-msg.error{color:#b00020;font-weight:700;}

/* ATENÇÃO À SEGURANÇA */
.pre-req-bloco{
  background:#1a2b12;
  color:#fff;
  padding:40px 20px;
}
.pre-req-inner{
  max-width:1100px;
  margin:0 auto;
  text-align:center;
}
.pre-req-inner h2{
  margin:0 0 24px;
  color:#fff;
  font-size:1.4rem;
  font-weight:800;
}
.pre-req-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:24px;
  margin-bottom:20px;
}
.pre-req-item{
  max-width:320px;
  background:#24361a;
  border:1px solid rgba(255,255,255,.15);
  border-radius:12px;
  padding:16px 18px;
  box-shadow:0 12px 24px rgba(0,0,0,.4);
  text-align:center;
  color:#fff;
  font-size:.95rem;
  line-height:1.4;
}
.check-icone{
  font-size:20px;
  font-weight:bold;
  color:#a6e34d;
  margin-bottom:8px;
  display:block;
  text-align:center;
}
.pre-req-obs{
  font-size:.8rem;
  line-height:1.4;
  color:#cfe6b9;
  display:block;
}
/* ===== AJUSTE DA SEÇÃO: Pagamento no cartão ===== */
.cartao{
  background:#fafafa;
  border:1px solid #e7e7e7;
  border-radius:10px;
  padding:16px;
  margin:18px 0;
}

/* Linha: Número do cartão | CVV */
.cartao .grid-2{
  display:grid;
  grid-template-columns: 1fr 160px; /* cvv fixo */
  gap:12px;
  margin-top:12px;
}

/* Próxima linha: Validade | checkbox titular */
.cartao .grid-2 + .grid-2{
  grid-template-columns: 1fr 1fr;
}

/* Inputs do bloco do cartão iguais entre si */
.cartao input[type="text"],
.cartao input[type="password"],
.cartao input[type="number"]{
  width:100%;
  padding:10px;
  border:1px solid #d8d8d8;
  border-radius:8px;
  background:#fff;
  line-height:1.2;
  box-sizing:border-box;
}

/* Labels do cartão */
.cartao > label,
.cartao .grid-2 label{
  display:block;
  margin-bottom:6px;
  font-weight:700;
  color:#444;
}

/* Checkbox “Sou o titular do cartão” alinhado */
.cartao .grid-2 + .grid-2 > label{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:26px;
  font-weight:600;
}

/* Responsivo: empilha quando apertar */
@media (max-width: 640px){
  .cartao .grid-2{ grid-template-columns: 1fr; }
  .cartao .grid-2 + .grid-2{ grid-template-columns: 1fr; }
}
