/* ESTILHO GERAL  */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "NeueJune", sans-serif;
}
/*body{ 
    width: 100%;
    background-color: #2e9b96;
    height: 100vh;
}*/

/* ESTILHO DO CABEÇALHO*/

header {
  padding: 40px 4%;
  background-color: #2e9b96;
  width: 100%;
  height: 102px;
}

.interface {
  max-width: 1280px;
  margin-top: -40px !important;
  height: 102px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo {
  flex: 0 0 10%;
}

.menu-desktop {
  flex: 0 0 100%;
}

.logo img {
  width: 100px;
  height: auto;
  margin-top: 10px;
}
header a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 21px;
}

header a:hover {
  color: #fbb033;
}

header nav {
  list-style-type: none;
}

header nav ul {
  text-align: center;
  padding: 0 0px;
  margin: 0;
}

header nav ul li {
  display: inline-block;
  padding: 0 40px;
  list-style: none;
}

/* Estilo Menu Mobile */
.btn-abrir-menu i {
  display: none;
}

.menu-mobile {
  padding-top: 30px;
  background-color: #2e9b96;
  height: 100vh;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 99999;
  width: 0%;
  overflow: hidden;
  transition: 0.3s;
}
.menu-mobile.abrir-menu {
  width: 60%;
}

.menu-mobile.abrir-menu ~ .overlay-menu {
  display: block;
}

.overlay-menu {
  background-color: #0000006a;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 88888;
  display: none;
}
.btn-fechar i {
  color: #fbb033;
  font-size: 30px;
}

.nav-mobile ul {
  text-align: right;
  list-style: none;
}

.nav-mobile ul li:hover {
  background-color: #fbb033;
  color: #000;
}
.nav-mobile ul li a:hover {
  background-color: #fbb033;
  color: #000;
}
.nav-mobile ul li {
  display: block;
  padding: 20px 10%;
  font-size: 20px;
  font-weight: 300;
}
.nav-mobile ul li a {
  display: block;
  text-decoration: none;
  color: #fff;
}

/* ESTILO fundo DO SITE */

section {
  width: 100%;
  height: 1000px;
  position: relative;
}
section .background-section {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -5;
}
section .background-section video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Fim Estilo fundo do Site */

section .box {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
  background-color: white !important;
  align-items: center;
  text-align: center;
}

.box .txt-topo h1 {
  color: black;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 1px;
  margin-top: -150px;
  margin-bottom: -200px;
}

/* Estilo da BOX*/
.form-box {
  position: relative;
  background-color: rgba(46, 155, 150, 0.8588235294117647);
  border-radius: 10px;
  width: 672px;
  min-height: 393px;
  margin-top: -120px;
  box-shadow: 0px 12px 41px 13px rgba(0, 0, 0, 0.5);
  z-index: 2;
  overflow: hidden;
}
.form-box h1 {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
  margin-top: -15px;
}
.form-box span {
  color: #ffab19;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 10px;
  margin-top: -15px;
}

.form-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #000;
  border-radius: 10px;
  width: 672px;
  min-height: 393px;
  opacity: 0.5;
  z-index: -1;
}
.form-box {
  padding: 30px 3%;
}

.form-box-interna {
  display: flex;
  justify-content: space-between;
  gap: 0px;
}

/* Estilo do formlario */

input.form-checkout.input-valor {
  width: 100%;
  height: 80px;
  padding-left: 10px;
  color: #000;
  font-size: 30px;
  margin-bottom: 15px;
}
input.form-checkout.input-valor::placeholder {
  font-size: 30px;
  padding-left: 8px;
}

.campos {
  flex: 0 0 70%;
}

.selecao {
  flex: 0 0 28%;
}

h1.nome-completo {
  font-size: 14px;
  color: #fff;
  margin-top: -10px;
  text-align: left;
  font-weight: 100;
  letter-spacing: 1.5px;
  margin-bottom: 3px;
}

input.form-checkout.input-nome {
  display: block;
  width: 100%;
  height: 45px;
  padding-left: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin-bottom: 20px;
}

input.form-checkout.input-nome::placeholder {
  font-size: 25px;
  padding-left: 8px;
}

h1.telefone {
  font-size: 14px;
  color: #fff;
  text-align: left;
  font-weight: 100;
  letter-spacing: 1.5px;
  margin-bottom: 3px;
}

input.form-checkout.input-telefone {
  display: block;
  width: 100%;
  height: 45px;
  padding-right: 170px !important;
  padding-left: 50px;
  font-size: 20px;
  font-weight: 600;
  color: #000;
  margin-bottom: 8px;
}

input.form-checkout.input-telefone::placeholder {
  font-size: 25px;
  padding-left: 1px;
}

h1.cpf {
  font-size: 14px;
  color: #fff;
  text-align: left;
  font-weight: 100;
  letter-spacing: 1.5px;
  margin-top: 8px;
  margin-bottom: 3px;
}

input.form-checkout.input-cpf {
  display: block;
  width: 100%;
  height: 45px;
  padding-left: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin-bottom: 15px;
}
input.form-checkout.input-cpf::placeholder {
  font-size: 20px;
  padding-left: 10px;
}

input.form-checkout.input-nome-cartao {
  display: block;
  width: 100%;
  height: 45px;
  padding-left: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin-bottom: 15px;
}

input.form-checkout.input-numero-cartao {
  display: block;
  width: 100%;
  height: 45px;
  padding-left: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin-bottom: 15px;
}

input.form-checkout.input-validade-cartao {
  display: block;
  width: 30%;
  height: 45px;
  padding-left: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #000;
  margin-bottom: 15px;
}

/* Texto Selecione */

.txt-opcao {
  color: #fff;
  font-size: 13px;
  text-align: left;
  font-weight: 300;
  margin-top: -100px;
  letter-spacing: 1.5px;
}

.linha-justificada1 {
  margin-top: 20px;
}

/* Estilo do Selecionar - Projetos */

.opcao-select {
  width: 100%;
  height: 45px;
  margin-top: 25px;
  padding: 12px 20px 12px 48px;
  font-size: 15px;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid #ccc;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D%2230%22%20height%3D%2230%22%20viewBox%3D%220%200%2020%2020%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpolygon%20fill%3D%22%23fbb033%22%20points%3D%225%2C7%2010%2C12%2015%2C7%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 115px top -1px;
  background-size: 50px;
  box-sizing: border-box;
}

/* Estilo dos Botões */

.botoes {
  display: flex;
  justify-content: space-between;
  gap: 0px;
  margin-top: 30px;
}

.btn-pix button {
  display: flex;
  color: #fff;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 65px;
  font-size: 40px;
  font-weight: 500;
  background-color: rgba(46, 155, 150, 0.8588235294117647);
  border-radius: 8px 8px 8px 8px;
  border-color: transparent;
  box-shadow: 0px 0px 27px -5px rgba(0, 0, 0, 0.5);
}
.btn-pix a {
  text-decoration: none; /* remove sublinhado */
}

.btn-pix button:focus {
  outline: none; /* remove contorno azul de foco */
}
.icone-pix {
  padding-top: 5px;
  width: 40px;
  height: 50px;
  margin-left: -50px;
}

.btn-cartao button {
  display: flex;
  color: #fff;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 65px;
  font-size: 25px;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -1px;
  background-color: rgba(46, 155, 150, 0.8588235294117647);
  border-radius: 8px 8px 8px 8px;
  border-color: transparent;
  box-shadow: 0px 0px 27px -5px rgba(0, 0, 0, 0.5);
}

.btn-cartao a {
  text-decoration: none; /* remove sublinhado */
}

.btn-cartao button:focus {
  outline: none; /* remove contorno azul de foco */
}
.icone-cartao {
  padding-top: 5px;
  width: 40px;
  height: 50px;
  margin-left: 5px;
}

.btn-outros button {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  justify-content: center;
  width: 170px;
  height: 65px;
  font-size: 25px;
  font-weight: 500;
  background-color: rgba(46, 155, 150, 0.8588235294117647);
  border-radius: 8px 8px 8px 8px;
  border-color: transparent;
  box-shadow: 0px 0px 27px -5px rgba(0, 0, 0, 0.5);
}
.btn-outros a {
  text-decoration: none; /* remove sublinhado */
}

.btn-outros button:focus {
  outline: none; /* remove contorno azul de foco */
}
.icone-outros {
  padding-top: 5px;
  width: 40px;
  height: 50px;
  margin-left: -30px;
}

/* Footer */

/* Conteiner */
footer {
  padding: 40px 4%;
  background-color: #2e9b96;
  width: 100%;
  height: 300px;
}

.conteiner {
  max-width: 1280px;
  margin-top: -40px !important;
  height: 230px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-footer {
  flex: 0 0 16%;
}

.quem-somos {
  flex: 0 0 28%;
}

.parceria {
  flex: 0 0 28%;
}

.diretoria {
  flex: 0 0 28%;
}

footer a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
}

footer ul li {
  list-style: none;
}

footer a:hover {
  color: #fbb033;
}

/* Logo Footer*/

.logo-footer img {
  width: 150px;
  height: auto;
  margin-top: 10px;
}

/* Quem Somos */

.quem-somos {
  width: 100%;
  line-height: 50px;
}

/* Parceria */

.parceria {
  width: 100%;
  line-height: 50px;
}

/* Diretoria */

.diretoria {
  width: 100%;
  line-height: 55px;
}
.diretoria ul li {
  margin-top: -50px;
}
.icones i {
  font-size: 40px;
  padding-right: 10px;
  color: #fff;
}
.icones i:hover {
  color: #fbb033;
}

/* Conteiner 2 */

.localizacao {
  display: flex;
  color: #fff;
  font-size: 30px;
  margin-bottom: 15px;
}
.localizacao ul li a {
  color: #fbb033;
  font-weight: 300;
  font-size: 20px;
}

.direitos {
  width: 100%;
  display: flex;
  justify-content: center;
}

.direitos ul li {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

/* Fim Footer */

@media screen and (max-width: 1252px) {
  /* header */
  .btn-abrir-menu i {
    display: block;
    color: #fbb033;
    font-size: 40px;
    margin-left: 90px;
  }
  .menu-desktop {
    display: none;
  }
  .logo img {
    margin-left: -50px;
  }

  /* Box - Formulario */
  .box .txt-topo h1 {
    margin-top: -50px;
    font-size: 18px;
  }

  .form-box {
    width: 85%;
    height: 240px;
    padding: 30px 3%;
    margin-top: -10px;
  }

  /* Estilo formulario */

  input.form-checkout.input-valor {
    height: 60px;
  }
  input.form-checkout.input-valor::placeholder {
    font-size: 30px;
    padding-left: 8px;
  }
  input.form-checkout.input-nome {
    font-size: 15px;
  }

  input.form-checkout.input-telefone {
    padding-right: 17px !important;
    padding-left: 50px;
    font-size: 15px;
    font-weight: 600;
    color: #000;
    margin-bottom: 8px;
  }

  input.form-checkout.input-telefone::placeholder {
    font-size: 25px;
    padding-left: 1px;
  }

  /* Selelicone */
  .linha-justificada4 {
    margin-top: 15px;
    margin-bottom: -15px;
  }
  .linha-justificada5 {
    margin-top: 15px;
    margin-bottom: -15px;
  }
  .linha-justificada6 {
    margin-top: 15px;
    margin-bottom: -15px;
  }
  .linha-justificada7 {
    margin-top: 15px;
    margin-bottom: -15px;
  }
  .linha-justificada8 {
    margin-top: 15px;
    margin-bottom: -15px;
  }

  .linha-justificada1 {
    display: none;
  }
  .linha-justificada2 {
    display: none;
  }
  .linha-justificada3 {
    display: none;
  }
  .txt-opcao {
    color: #fff;
    font-size: 10px;
    text-align: left;
    font-weight: 300;
    margin-top: -100px;
    letter-spacing: 1.5px;
  }

  /* Estilo do Selecionar - Projetos */

  .opcao-select {
    margin-top: 30px;
    padding-right: 0px;
    padding-left: 25px;
    font-size: 13px;
    background-position: left -12px top -1px;
    background-size: 48px;
  }

  /* Botoes */

  .btn-pix button {
    display: flex;
    color: #fff;
    align-items: center;
    justify-content: center;
    width: 95px;
    height: 45px;
    font-size: 20px;
    font-weight: 500;
  }
  .icone-pix {
    padding-top: 1px;
    width: 35px;
    height: 30px;
    margin-left: -20px;
  }
  .btn-cartao button {
    display: flex;
    color: #fff;
    align-items: center;
    justify-content: center;
    width: 95px;
    height: 45px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 1px;
  }
  .icone-cartao {
    padding-top: 0px;
    width: 35px;
    height: 40px;
    margin-left: 2px;
  }

  .btn-outros button {
    width: 95px;
    font-size: 15px;
    height: 45px;
  }
  .icone-outros {
    padding-top: 1px;
    width: 30px;
    height: 40px;
    margin-left: 0;
  }
  .botoes {
    margin-top: 10px;
  }

  /* Footer */

  footer {
    padding: 40px 10%;
  }

  footer a {
    font-size: 14px;
  }

  /* Logo Footer*/

  .logo-footer img {
    width: 100px;
    margin-top: 10px;
  }

  /* Quem Somos */

  .quem-somos {
    margin-left: 15px;
  }

  /* Parceria */

  .parceria {
    margin-left: 10px;
  }

  /* Diretoria */

  .diretoria ul li {
    margin-top: 35px;
  }

  .icones {
    display: flex;
    flex-direction: column;
  }

  .icones i {
    font-size: 20px;
    margin-left: 20px;
    margin-top: -10px;
  }

  /* Conteiner 2 */

  .localizacao {
    margin-top: -20px;
    font-size: 30px;
  }
  .localizacao ul li {
    display: flex;
    margin-top: 20px;
    margin-bottom: 5px;
  }

  .localizacao ul li a {
    line-height: 1.1;
    font-size: 15px;
  }

  .direitos ul li {
    margin-top: -8px;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
  }

  /* Fim Footer */
}
@media screen and (min-width: 1252px) {
  .linha-justificada4 {
    display: none;
  }
  .linha-justificada5 {
    display: none;
  }
  .linha-justificada6 {
    display: none;
  }
  .linha-justificada7 {
    display: none;
  }
  .linha-justificada8 {
    display: none;
  }
}
/* CSS WhatsApp */

.whatsapp-link {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 50px;
  box-shadow: 1px 1px 2px #888;
  z-index: 1000;
}
.fa-whatsapp {
  margin-top: 5px;
}

/* ========================================================== */
/* == CSS DO CARTÃO REVISADO E CORRIGIDO - COLE ISTO NO LUGAR DO ANTIGO == */
/* ========================================================== */

/* Quando o modo de pagamento é ativado, o formulário desce */
.box.modo-pagamento-cartao section {
  height: 1000px;
}

.box.modo-pagamento-cartao section .box {
  height: 100%;
}
.box.modo-pagamento-cartao .form-box {
  margin-bottom: 150px;
  margin-top: 200px; /* Ajuste se precisar de mais ou menos espaço */
}
.box.modo-pagamento-cartao .layout-card {
  margin-top: -211px;
}
.box.modo-pagamento-cartao h1.cpf {
  margin-top: -10px;
}
.box.modo-pagamento-cartao .form-checkout.input-validade-cartao {
  width: 80px;
  margin-bottom: -20px;
}
.box.modo-pagamento-cartao .bloco-cvv-cartao h1 {
  margin-bottom: 15px;
}
.box.modo-pagamento-cartao .bloco-cvv-cartao input {
  width: 80px;
  height: 45px;
  font-size: 15px;
  margin-left: -120px;
  margin-top: -15px;
  padding-left: 10px;
  margin-bottom: -20px;
}
.box.modo-pagamento-cartao .txt-topo h1 {
  display: none;
}

/* 1. O PALCO (Container principal do cartão) */
.layout-card {
  display: none; /* Começa oculto */
  position: absolute;
  /* Centraliza o cartão na tela */
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;

  /* Definimos o tamanho aqui, e não nas faces */
  width: 450px;
  height: 253px;
  perspective: 1200px;
}

/* 2. O ATOR (A parte que gira) */
.card-flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

/* Ação de girar */
.layout-card.is-flipped .card-flipper {
  transform: rotateY(180deg);
}

/* 3. AS FACES (Frente e Verso) - Estilos em comum */
.layout-card-frente,
.layout-card-verso {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0px -6px 41px 11px rgba(0, 0, 0, 0.5);
}

/* Imagem de fundo deve preencher a face */
.frente-card,
.verso-card {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 4. CONTEÚDO DA FACE DA FRENTE */
.layout-card-frente .descricao-cartao {
  position: absolute; /* Este é o "mapa" para os textos */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 25px;
  font-family: "Courier New", Courier, monospace;
  color: white;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.descricao-cartao h1,
.descricao-cartao h2 {
  font-size: 0.8rem;
  font-weight: normal;
  opacity: 0.9;
  margin: 0;
  position: absolute; /* Posicionamento absoluto dentro de .descricao-cartao */
}
.descricao-cartao h1 {
  /* Rótulo "Nome no cartão" */
  bottom: 60px;
  left: 25px;
}
.descricao-cartao h2 {
  /* Rótulo "Validade" */
  bottom: 60px;
  right: 25px;
}

.descricao-cartao .numero-cartao {
  position: absolute;
  top: 120px; /* Distância do topo */
  left: 130px;
  font-size: 1.5rem;
  letter-spacing: 3px;
}
.descricao-cartao .nome-cartao {
  position: absolute;
  bottom: 30px; /* Distância de baixo */
  left: 25px;
  font-size: 1.1rem;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.descricao-cartao .nome-cartao.aparecer {
  opacity: 1;
  transform: translateY(0);
}
.descricao-cartao .validade-cartao {
  position: absolute;
  bottom: 30px; /* Distância de baixo */
  right: 25px;
  font-size: 1.1rem;
}

/* 5. CONTEÚDO DA FACE DO VERSO */
.layout-card-verso {
  transform: rotateY(180deg); /* Começa já girado */
}

.layout-card-verso .barra-magnetica {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #333;
}

.layout-card-verso .cvv {
  position: absolute;
  top: 110px;
  left: 60%;
  width: 30%;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.654);
  text-align: right;
  padding: 10px 15px;
  border-radius: 4px;
}

.layout-card-verso .cvv {
  color: black;
  font-size: 1.2rem;
  font-family: "Courier New", Courier, monospace;
}
.layout-card-verso h1 {
  /* Oculta o h1 "CVV" pois a área já é clara */
  display: none;
}
.box.modo-pagamento-cartao .bloco-cvv-cartao input::placeholder {
  font-weight: 700;
}
/* ========================================================== */
/* == CSS RESPONSIVO PARA DISPOSITIVOS MÓVEIS (ATÉ 768px) == */
/* ========================================================== */

@media (max-width: 768px) {
  /* --- AJUSTES GERAIS QUANDO O CARTÃO APARECE --- */

  /* Quando o cartão aparece, a margem para empurrar o formulário é menor no mobile */
  .box.modo-pagamento-cartao .form-box {
    margin-top: -20px; /* Um pouco menos de margem para telas menores */
    height: auto;
    width: 70%;
    aspect-ratio: 450/654;
  }

  /* Oculta o título "Preencha as informações..." para ganhar espaço */
  .box.modo-pagamento-cartao .txt-topo h1 {
    display: none;
  }
  /* AJUSTES DO FORMULÁRIO */
  .box.modo-pagamento-cartao .form-checkout.input-valor {
    height: 35px;
  }
  .box.box.modo-pagamento-cartao .form-checkout.input-valor::placeholder {
    font-size: 20px;
    padding-left: 8px;
  }
  .box.box.modo-pagamento-cartao .area-cartao {
    display: flex;
    flex-direction: column;
  }
  .box.modo-pagamento-cartao .validade-cvv-cartao {
    display: flex;
  }
  .box.box.modo-pagamento-cartao .form-checkout.input-cpf,
  .box.box.modo-pagamento-cartao .form-checkout.input-nome-cartao,
  .box.box.modo-pagamento-cartao .form-checkout.input-numero-cartao {
    height: 35px;
    font-size: 15px;
    width: 220px;
  }
  .box.box.modo-pagamento-cartao .form-checkout.input-cpf::placeholder,
  .box.box.modo-pagamento-cartao .form-checkout.input-nome-cartao::placeholder,
  .box.box.modo-pagamento-cartao
    .form-checkout.input-numero-cartao::placeholder,
  .box.modo-pagamento-cartao .form-checkout.input-validade-cartao::placeholder {
    font-size: 18px;
  }

  .box.modo-pagamento-cartao h1.cpf,
  .box.modo-pagamento-cartao h1.nome-completo {
    font-size: 13px;
    margin-top: -13px;
    margin-bottom: 1px;
  }

  /* Faz com que os campos de validade e CVV ocupem a largura toda e fiquem um embaixo do outro */
  .box.modo-pagamento-cartao .bloco-validade-cartao,
  .box.modo-pagamento-cartao .bloco-ccv-cartao {
    display: block;
    width: 100% !important; /* Força a largura total */
    margin: 0 0 20px 0 !important; /* Remove margens laterais e adiciona margem inferior */
  }
  .box.modo-pagamento-cartao .bloco-cvv-cartao h1 {
    margin-left: -50px;
  }
  .box.modo-pagamento-cartao .form-checkout.input-validade-cartao {
    width: 50%; /* Ocupa toda a largura disponível */
    margin-right: -8px;
    margin-bottom: 1px;
  }

  /* Ajustes nos botões para telas menores */
  .box.modo-pagamento-cartao .botoes {
    margin-top: -10px;
  }
  .box.modo-pagamento-cartao .bloco-cvv-cartao input {
    width: 70%;
    margin-top: 0px;
  }

  .box.modo-pagamento-cartao .btn-pix button,
  .box.modo-pagamento-cartao .btn-outros button {
    width: 70px;
  }
  .box.modo-pagamento-cartao .btn-cartao button {
    width: 90px;
  }
  .box.modo-pagamento-cartao .icone-pix {
    width: 28px;
    height: 25px;
    margin-left: -2px; /* Ajusta a margem para centralizar o ícone */
  }
  .box.modo-pagamento-cartao .icone-outros {
    width: 28px;
    height: 25px;
    margin-left: 1px;
    margin-right: -4px;
  }

  /* --- AJUSTES NO LAYOUT DO CARTÃO VISUAL --- */

  /* 1. O PALCO (Container principal do cartão) */
  .layout-card {
    /* Diminuímos o tamanho do cartão para caber na tela */
    width: 70%; /* Ocupa 90% da largura da tela, em vez de 450px fixos */

    /* Usamos aspect-ratio para manter a proporção correta do cartão */
    aspect-ratio: 450 / 253;
    height: auto; /* A altura se ajusta automaticamente com o aspect-ratio */

    /* Sobe um pouco o cartão na tela */
    top: 35%;
  }

  /* --- AJUSTES NOS TEXTOS DO CARTÃO --- */

  /* 2. CONTEÚDO DA FACE DA FRENTE */
  .layout-card-frente .descricao-cartao {
    padding: 15px; /* Menos preenchimento interno */
  }

  .descricao-cartao .numero-cartao {
    /* Reduzimos as fontes para melhor leitura no mobile */
    top: 47%; /* Ajusta a posição vertical */
    left: 17%;
    font-size: 0.99rem; /* Fonte menor */
    letter-spacing: 2px;
    width: 90%;
  }

  .descricao-cartao h1, /* Rótulo "Nome no cartão" */
    .descricao-cartao h2 {
    /* Rótulo "Validade" */
    bottom: 24% !important;
    font-size: 0.6rem; /* Rótulos menores */
  }

  .descricao-cartao .nome-cartao,
  .descricao-cartao .validade-cartao {
    bottom: 9%;
    font-size: 0.7rem; /* Textos menores */
  }

  .descricao-cartao h1 {
    left: 15px;
    bottom: 20%;
  }
  .descricao-cartao .nome-cartao {
    left: 15px;
    bottom: 9%;
    font-size: 0.7rem; /* Nome do cartão menor */
  }

  .descricao-cartao h2 {
    right: 15px;
  }
  .descricao-cartao .validade-cartao {
    right: 15px;
  }

  /* 3. CONTEÚDO DA FACE DO VERSO */
  .layout-card-verso .barra-magnetica {
    top: 20px;
    height: 40px;
  }
  .layout-card-verso .cvv {
    top: 75px;
    font-size: 1rem;
  }
}

/* Bandeira Cartão */
.bandeira-cartao {
  position: absolute;
  top: 20px;
  right: 25px;
  width: 65px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.bandeira-cartao.default,
.bandeira-cartao.visa,
.bandeira-cartao.mastercard,
.bandeira-cartao.elo,
.bandeira-cartao.amex {
  opacity: 1;
  transform: scale(1);
}
.bandeira-cartao.visa {
  background-image: url("bandeira-cartao/visa.svg");
}
.bandeira-cartao.mastercard {
  background-image: url("bandeira-cartao/mastercard.svg");
}
.bandeira-cartao.elo {
  background-image: url("bandeira-cartao/elo.svg");
}
.bandeira-cartao.amex {
  background-image: url("bandeira-cartao/amex.svg");
}
