@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
:root {
  --background-img: url('../assets/img/general-background.png');
}

html {
  scroll-behavior: smooth;
  /* Evita que o site "dance" para os lados se algo vazar */
  overflow-x: hidden; 
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}

body {
  /* Garante que o corpo do site nunca seja maior que a tela */
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased; /* Deixa as fontes mais nítidas no iOS/Mac */
}

/* --- AJUSTE DE SEGURANÇA MOBILE --- */

@media (max-width: 768px) {
  /* Forçamos todas as seções a serem flexíveis e sem alturas travadas */
  section {
    min-height: auto !important;
    height: auto !important;
    padding: 40px 20px !important;
  }

  /* Se o cartão ainda estiver te dando dor de cabeça em telas de 360px */
  .card-container {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    /* O scale garante que o design não quebre, ele apenas encolhe */
    transform: scale(0.8);
    transform-origin: center center;
    margin: -40px 0 !important; /* Remove o espaço fantasma do scale */
  }

  /* Ajuste para inputs não darem zoom automático no iPhone ao clicar */
  input, select, textarea {
    font-size: 16px !important; 
  }
}



body {
  background-image: var(--background-img);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: 'Space Grotesk', sans-serif;
  color: white;
  
}

/* HEADER */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
}

#nav-bar {
  display: flex;
  gap: 2rem;
  margin: 0 2rem;
}

#nav-bar a {
    color: white;
    transition: 
    transform 0.25s ease,
    border-color 0.25s ease;
}

#nav-bar a:hover {
  transform: translateY(-2px);
  border-bottom: 1px solid white;
}


header button {
    padding: 5px 15px;
  font-family: 'Space Grotesk';
  font-weight: bold;

  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);

  color: #fff;
  border-radius: 8px;
  cursor: pointer;

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);

  transition: all 0.3s ease;
}


#botao-cta:hover {
  transform: translateY(-2px);

  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.logo {
    font-size: 1.2rem;
    cursor: pointer;
}

.logo:hover {
  opacity: 0.85;
  transform: scale(1.02);
}



/* IMPEDIR QUEBRA APENAS ONDE NECESSÁRIO */
.logo,
#nav-bar a,
#botao-cta {
  white-space: nowrap;
}

#hero {
  margin: 1rem auto; /* Removi o margin-top exagerado para controlar melhor */
  min-height: 80vh; /* Faz a seção ocupar quase a tela toda para centralizar verticalmente */

  display: flex;
  justify-content: center; /* Centraliza horizontalmente */
  align-items: center;     /* Centraliza verticalmente */
  gap: 4rem;               /* Espaço entre o texto e a imagem */

  max-width: 1000px;
  width: 100%;
  padding: 2rem;
}

#hero .texts {
    display: flex;
    flex-direction: column;
    width: 500px;
    gap: 2rem;
    flex-shrink: 0;
}

#hero h1 {
    font-weight: bold;
    text-wrap: nowrap;
    min-height: 3rem;
}

#typing {
  display: inline-block;
  min-width: 1ch; /* Evita que o elemento suma completamente antes de começar */
  white-space: nowrap;
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

#hero p {
    font-weight: normal;
}

#hero .mini-cards {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

#hero .mini-cards .mini-card {
  background-color: #121218;
  border: 1px solid #262630;
  padding: 1rem;
  width: 10rem;
  border-radius: 10px;
  z-index: 2;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
} 

#hero .mini-cards .mini-card::before {
  content: "";
  position: absolute;
  inset: 0;

  background: #121218;
  opacity: 25%;
  border-radius: 10px;

  transform: translate(-10px, -10px);
  z-index: -1;
}

#hero .mini-cards .mini-card:hover::before {
  transform: translate(-14px, -14px);
  opacity: 0.35;
}

#hero .mini-cards .mini-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

#hero .mini-cards .mini-card h1 {
  text-align: center;
  font-size: 1.5rem;
}

#hero .mini-cards .mini-card p {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-weight: medium;
  color: #B4B4BE;
  font-size: .8rem;
}




#hero div img {
    flex-shrink: 0;
    width: 13rem;
}

.phone-wrapper {
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease;
}

.phone-wrapper img {
  width: 13rem;
  display: block;
  position: relative;
  z-index: 2;
}

/* sombra "orgânica" */
.phone-wrapper .shadow {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);

  width: 70%;
  height: 20px;

  background: rgba(0, 0, 0, 0.35);
  filter: blur(15px);
  border-radius: 50%;

  z-index: 1;
  transition: all 0.3s ease;
}

/* hover */
.phone-wrapper:hover {
  transform: translateY(-6px);
}

.phone-wrapper:hover .shadow {
  width: 80%;
  opacity: 0.5;
  filter: blur(20px);
}

#features {
  width: 100%;
  max-width: 1000px; /* Reduzi um pouco para o conteúdo não ficar tão espalhado */
  margin: 0 auto;    /* Isso centraliza a seção inteira na tela */
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#features > h1 {
  align-self: flex-start; /* Alinha o título principal à esquerda do container */
  margin-bottom: 2rem;
  font-size: 2.5rem;
}

#features .feature {
  display: flex;
  flex-direction: row;
  /* Alinha os itens pelo topo */
  align-items: flex-start; 
  justify-content: space-between;
  width: 100%;
  gap: 4rem;
}

#features .feature .text {
  flex: 1;
  max-width: 450px;
  /* Remove margens superiores do primeiro item do texto para garantir o topo */
  padding-top: 0;
}

#features .feature .text h3 {
  margin-top: 0; /* Garante que o título do texto não tenha espaço acima dele */
  line-height: 1.2;
}

#features .feature img {
  width: 400px;
  height: auto;
  display: block; /* Remove espaços fantasmas abaixo da imagem */
  transition: transform 0.3s ease, filter 0.3s ease;
}

#features .feature:hover img {
  transform: translateY(-6px) scale(1.03);
  filter: brightness(1.05);
}


#graphics {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 6rem 2rem; /* Adicionei um padding lateral para não colar na borda */
  display: flex;
  flex-direction: column; /* Empilha o .content e o .cards */
  gap: 4rem;              /* Espaço entre o bloco de cima e os cards de baixo */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* O container que segura Texto e Imagem */
#graphics .content {
  display: flex;
  flex-direction: row;         /* Lado a lado */
  justify-content: flex-start; /* Texto na esquerda, Imagem na direita */
  gap: 10rem;
  align-items: flex-start;     /* Alinha os topos */
  width: 100%;
}

#graphics .texts {
  flex: 1;
  max-width: 400px;
}

#graphics .content img {
  width: 300px;
  height: auto;

  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.22));

  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

#graphics .content img:hover {
  transform: translateY(-6px) scale(1.03);

  filter: drop-shadow(0 28px 38px rgba(0, 0, 0, 0.28));
}


/* O container que segura os dois cards de comparação */
#graphics .cards {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  width: 100%;
}

/* Estilização dos cards de comparação */
#graphics .card {
  flex: 1; /* Faz os dois cards terem a mesma largura */
  background-color: #121218;
  border: 1px solid #262630;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

#graphics .card:hover {
  transform: translateY(-8px) scale(1.015);

  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.28);

  border-color: rgba(255, 255, 255, 0.14);
}



#graphics .card h1 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

#graphics .card p {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: #B4B4BE;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

/* Estilo das listas dentro dos cards */
#graphics .card ul {
  list-style: none;
}

#graphics .card ul li {
  margin-bottom: 0.8rem;
  font-weight: bold;
}

.green { color: #00FF88; } /* Cor para Nova Bank */
.red { color: #FF4444; }   /* Cor para Bancos Tradicionais */


#personalize {
  display: flex;
  flex-direction: column;

}

#personalize .texts {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 1.5rem;
}

#personalize .texts .text {
  max-width: 400px;
  text-align: center;
}

#personalize .content {
  display: flex;
  flex-direction: row;
  align-items: center;    /* Centraliza o cartão, o rotate e o form verticalmente */
  justify-content: center; /* Centraliza o bloco todo na horizontal */
  gap: 3rem;              /* Espaço igual entre os elementos */
  margin: 4rem auto;      /* Aumentei a margem para respirar melhor */
  max-width: 1200px;
}

@keyframes spinning {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

#personalize .content img[src*="rotate"] {
  animation: spinning 10s linear infinite;
}

#personalize .content img[src*="rotate"] {
  width: 40px;   /* Ajuste leve no tamanho */
  height: 40px;
  flex-shrink: 0; /* Impede que o flexbox amasse a imagem */
  opacity: 0.6;   /* Deixa um pouco mais discreto, combinando com o design */
  cursor: pointer;
}
/*CARTAO DE CREDITO*/

/* Container Principal - Onde a mágica 3D começa */
.credit-card {
    width: 400px;
    height: 250px;
    position: relative;
    perspective: 1000px; /* Profundidade para o giro */
    cursor: pointer;
    background: transparent !important;
    border: none !important;
}

/* O "esqueleto" que realmente gira */
.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

/* Classe de giro aplicada pelo JS */
.card-inner.flipped {
    transform: rotateY(180deg);
}

/* Propriedades comuns às duas faces */
.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden; /* Esconde o verso ao girar */
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

/* --- CONTEÚDO DA FRENTE --- */

.card-front .logo {
    position: absolute;
    top: 25px;
    left: 250px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
}

.card-front img[src*="chip"] {
    position: absolute;
    top: 70px;
    left: 30px;
    width: 50px;
    transition: filter 0.3s ease;
}

.card-front .code {
    position: absolute;
    top: 140px;
    left: 30px;
    font-size: 1.1rem;
    letter-spacing: 3px;
    font-weight: bolder;
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
}

.card-front .name {
    position: absolute;
    bottom: 30px;
    left: 30px;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
}

.card-front img[src*="holografico"] {
    position: absolute;
    bottom: 25px;
    right: 30px;
    width: 60px;
    opacity: 0.8;
}

/* --- CONTEÚDO DO VERSO --- */

.card-back {
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0; /* Tarja preta encosta na borda */
}

.codes {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Alinha tudo à direita */
    gap: 15px; /* Espaço entre Data e CVV */
    margin-top: 10px;
    padding-right: 30px;
}

.black-bar {
    width: 100%;
    height: 50px;
    background: #000;
    margin-top: 30px;
}

.valid-area, .cvv-area {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Alinha o texto 'VALID/CVV' com a barrinha */
}

.valid-area span, 
.cvv-area span {
    font-size: 0.6rem;
    color: #fff;
    font-family: 'Inter', sans-serif;
    margin-bottom: 2px;
}

.disclaimer-text {
  font-size: .5rem;
  width: 350px;
  padding: 0 1rem;
  margin-top: 1rem;
}

.cvv-area {
  margin: 0; /* Removido margens fixas para não quebrar o alinhamento do flex */
  text-align: right;
}

.white-bar {
    background: #eee;
    color: #000;
    padding: 5px 12px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 0.8rem;
    display: inline-block;
    min-width: 50px;
    text-align: center;
}


/* --- EFEITOS DE HOVER --- */

/* Inclinação leve ao passar o mouse */
.credit-card:hover .card-inner {
    transform: translateY(-10px) rotateX(5deg);
}

/* Efeito de brilho varrendo */
.card-front::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    transition: 0.6s ease-in-out;
}

.credit-card:hover .card-front::after {
    left: 100%;
}

/* Detalhes de interação */
.credit-card:hover img[src*="chip"] {
    filter: brightness(1.3) drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
}

.credit-card:hover .code {
    letter-spacing: 4px;
    transition: letter-spacing 0.5s ease;
}

#personalize form {
  display: flex;
  flex-direction: column; /* Label e Input um embaixo do outro */
  gap: 1rem;
}

/* Criar um container interno no HTML ou selecionar os botões */
.theme-container {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.theme {
    width: 70px;
    height: 50px;
    border-radius: 10%;
    /* Borda transparente por padrão para não "pular" quando ativar */
    border: 2px solid transparent; 
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.theme:hover {
    transform: scale(1.1);
}


.theme .active {
    border-color: #ffffff; /* Borda branca */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

/* Ajuste específico para o botão branco não sumir */
#theme-white {
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    border: 1px solid #ccc; /* Borda cinza clarinha só para ele */
}
#theme-white.active {
    border: 2px solid #ffffff; /* Borda branca de destaque no clique */
}

#theme-black {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f0f1a 100%);
}

#theme-purple {
    background: linear-gradient(135deg, #6b21a8 0%, #3b0764 100%);
}

/* Isso garante que o verso fique escondido e o 3D funcione */
.card-inner {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    position: relative;
}

.card-front, .card-back {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.card-back {
    transform: rotateY(180deg);
}

/* Classe que o JS vai adicionar */
.card-inner.flipped {
    transform: rotateY(180deg);
}



#ratings {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#ratings .texts {
    text-align: center;
}

.reviews-container {
    display: flex;
    flex-wrap: wrap; /* Para quebrar linha no mobile */
    gap: 2rem;
    justify-content: center;
}

.review-card {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2.5rem;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
}

.stars {
    color: #FFD700; /* Cor dourada das estrelas */
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.comment {
    font-style: italic;
    color: #B4B4BE;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00FF88; /* Detalhe na cor do banco */
}

.user-info h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.user-info span {
    font-size: 0.8rem;
    color: #666;
}

#personalize input {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-family: 'Inter', sans-serif;
}


#partners {
    width: 100%;
    padding: 4rem 0;
    background: transparent;
    overflow: hidden; /* Esconde as imagens que saem da lateral */
}

#partners .slider {
    position: relative;
    width: 100%;
    display: flex;
}

#partners .track {
    display: flex;
    width: calc(250px * 12); /* Largura de uma imagem * total de imagens (incluindo duplicatas) */
    animation: scroll 30s linear infinite; /* Animação suave e infinita */
    gap: 4rem; /* Espaço entre os logos */
    align-items: center;
}

#partners .track img {
    width: 150px; /* Ajuste o tamanho conforme sua logo */
    height: auto;
    filter: grayscale(1) opacity(0.5); /* Efeito sutil: cinza e meio transparente */
    transition: all 0.3s ease;
}

#partners .track img:hover {
    filter: grayscale(0) opacity(1); /* Quando passa o mouse na imagem, ela ganha vida */
    transform: scale(1.1);
}

/* FUNÇÃO: Parar ao passar o mouse */
#partners .slider:hover .track {
    animation-play-state: paused;
}



/* A ANIMAÇÃO */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move exatamente metade da largura total da track (a parte duplicada) */
        transform: translateX(calc(-150px * 6 - 4rem * 6)); 
    }
}

#cta-tunnel {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Removemos o background-color daqui */
    background: transparent; 
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.grid-container {
    position: absolute;
    width: 100%;
    height: 100%;
    perspective: 600px;
    top: 0;
    left: 0;
    z-index: 1;
}

.grid-lines {
    position: absolute;
    width: 200%;
    height: 200%;
    left: -50%;
    top: -25%; /* Ajustado para centralizar o horizonte */
    
    /* Linhas mais sutis para não brigar com o fundo do site */
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 60px 60px;
    
    transform: rotateX(75deg); /* Inclinação mais agressiva estilo a foto */
    animation: grid-move 4s linear infinite;
}

/* Efeito de "Fade" nas bordas para o túnel não acabar do nada */
.grid-container::before {
    content: "";
    position: absolute;
    inset: 0;
    /* Esse gradiente faz o grid sumir suavemente nas pontas e no meio */
    background: radial-gradient(circle, transparent 10%, var(--background-img-color, #000) 90%);
    /* DICA: Se o seu fundo for uma imagem, use um radial-gradient para as bordas apenas */
    background: radial-gradient(circle, transparent 0%, rgba(10, 10, 15, 0.8) 100%);
    z-index: 2;
}

@keyframes grid-move {
    0% {
        transform: rotateX(75deg) translateY(0);
    }
    100% {
        transform: rotateX(75deg) translateY(60px);
    }
}

.cta-content {
    position: relative;
    z-index: 10; /* Garante que o texto fique acima do grid */
    text-align: center;
}

/* Estilo do Botão mantendo o padrão que você pediu */
#btn-start {
    background: #fff;
    color: #000;
    border: none;
    padding: 1.2rem 3rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 2rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: 0.3s ease;
}

#btn-start:hover {
    transform: translateY(-5px); /* Sobe levemente */
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1); /* Sombra suave branca */
    background-color: #f0f0f0; /* Muda o tom de branco de leve */
    letter-spacing: 1px; /* Dá uma leve expandida no texto */
}

#btn-start:active {
    transform: translateY(-2px); /* Efeito de clique (afunda um pouco) */
}


#contact {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 6rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-container {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-form {
    width: 100%;
    max-width: 600px;
    background-color: #121218; /* Mesmo fundo dos seus mini-cards */
    border: 1px solid #262630; /* Mesma borda */
    padding: 3rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Estilo das Labels */
.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: bold;
    font-size: 0.9rem;
    color: white;
}

/* Estilo dos Inputs e Textarea */
.contact-form input, 
.contact-form textarea {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    color: white;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: #666; /* Destaque na cor do banco ao clicar */
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 15px rgba(255,255,255, 0.18);
}

/* Botão Enviar (Seguindo o padrão quadrado e limpo do CTA) */
.btn-submit {
    background-color: white;
    color: black;
    border: none;
    padding: 1.2rem;
    font-weight: bold;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: #fff; /* Mantém o branco */
    
    /* Sombra clara e espalhada (glow) igual a de inputs focados */
    /* O segredo é o terceiro valor (20px) que é o espalhamento */
    box-shadow: 0 0 12px 4px rgba(255, 255, 255, 0.2); 
    
    /* Borda sutil para o branco não "vazar" no azul */
    border: 1px solid rgba(255, 255, 255, 0.8);
    
    /* Removemos o transform para não mexer 1px sequer no layout */
    transform: none; 
}

/* Efeito de detalhe lateral (Opcional, para combinar com o Hero) */
.contact-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #666;
    border-radius: 20px 0 0 20px;
}

#main-footer {
    width: 100%;
    background-color: #05050a; /* Fundo do site */
    border-top: 1px solid rgba(255, 255, 255, 0.08); /* Linha sutil no topo */
    padding: 5rem 2rem 2rem;
    margin-top: 5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4rem;
}

/* Coluna da Marca */
.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-brand .logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: #B4B4BE;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

/* Redes Sociais no Padrão dos Cards */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #666; /* Cor de destaque do banco */
    transform: translateY(-3px);
}

/* Colunas de Links */
.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-col h4 {
    color: white;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-col a {
    color: #B4B4BE;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #666;
}

/* Rodapé Final */
.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: #666;
    font-size: 0.85rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: white;
}


/* RESPONSIVIDADE TABLET (Até 900px) */
@media (max-width: 900px) {
  header {
    padding: 1rem 2rem; /* Reduz o respiro lateral */
  }

  #nav-bar {
    gap: 1.5rem; /* Ajusta o espaço entre os links */
  }

  #nav-bar a {
    font-size: 0.85rem;
  }

  .logo {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
    /* 1. RESET DE SEÇÕES: Mata o espaço vazio */
    section {
        padding: 20px 15px !important; /* Quase nada de respiro */
        min-height: auto !important;
        height: auto !important;
        display: block !important; /* Garante que as seções empilhem sem frescura */
    }

    /* 2. COMPRESSÃO DO FORMULÁRIO */
    .form-area {
        margin-top: 0 !important;
        padding: 10px !important;
    }

    .form-area h2 {
        font-size: 1.5rem !important;
        margin-bottom: 10px !important;
    }

    /* Diminui o espaço entre os inputs */
    #personalize form {
        display: flex;
        flex-direction: column;
        gap: 10px !important; 
    }

    /* 3. O CARTÃO: Se ele estiver "gigante", vamos encolher de verdade */
    .card-container {
        transform: scale(0.7) !important; /* Encolhe 30% do tamanho */
        transform-origin: center center;
        margin: -50px auto !important; /* Puxa o que está embaixo para cima dele */
        width: 100%;
        display: flex;
        justify-content: center;
    }

    /* 4. FOOTER E BOTÕES */
    .disclaimer-text {
        margin-top: 5px !important;
        line-height: 1.1;
    }

    #btn-start, .btn-submit {
        width: 100% !important;
        margin-top: 10px !important;
        padding: 0.8rem !important;
    }
}

/* Caso raro: Telas abaixo de 360px (Segurança extrema) */
@media (max-width: 359px) {
  .card-container {
    transform: scale(0.7);
  }
  
  h1 {
    font-size: 1.5rem !important;
  }
}



@media (max-width: 480px) {
    /* Em vez de scale agressivo, ajustamos o tamanho real */
    .card-inner {
        width: 320px; /* Largura ideal para quase todos os celulares */
        height: 200px;
    }

    /* Ajustamos as fontes internas do cartão para não ficarem minúsculas */
    .card-name {
        font-size: 1.1rem !important;
        bottom: 20px !important;
        left: 20px !important;
    }

    .chip-icon {
        width: 40px !important;
    }
}

/* =============================================
   RESPONSIVIDADE NOVA BANK
   Cole no FINAL do seu style.css
   ============================================= */

/* ---- TABLET (até 900px) ---- */
@media (max-width: 900px) {

  #nav-bar {
    display: none;
  }

  #hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    min-height: auto;
  }

  #hero .texts {
    width: 100%;
    align-items: center;
  }

  #hero h1 {
    text-wrap: wrap;
  }

  #hero .mini-cards {
    justify-content: center;
  }

  #features .feature {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  #features .feature img {
    width: 100%;
    max-width: 400px;
  }

  #graphics .content {
    flex-direction: column;
    gap: 2rem;
  }

  #graphics .content img {
    width: 100%;
    max-width: 300px;
    align-self: center;
  }

  #graphics .cards {
    flex-direction: column;
  }

  #personalize .content {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  #personalize .content img[src*="rotate"] {
    transform: rotate(90deg);
  }

  .footer-container {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .legal-links {
    justify-content: center;
  }
}

/* ---- MOBILE (até 600px) ---- */
@media (max-width: 600px) {

  header {
    padding: 1rem;
  }

  #hero {
    padding: 1.5rem 1rem;
    margin: 2rem auto;
  }

  #hero .phone-wrapper img {
    width: 150px;
  }


  #hero h1 {
    font-size: 1.6rem;
  }

  #hero .mini-cards {
    flex-wrap: wrap;
    justify-content: center;
    width: 350px;
    margin-bottom: 3rem;
  }

  #hero .mini-cards .mini-card  h1 {
    font-size: 1.5rem;
  }

  #hero .mini-cards .mini-card p {
    font-size: .7rem;
  }

  #hero .mini-cards .mini-card {
    width: 45%;
  }

  #features {
    padding: 3rem 1rem;
  }

  #features > h1 {
    font-size: 1.6rem;
  }

  #graphics {
    padding: 3rem 1rem;
  }

  .credit-card {
    width: 320px;
    height: 200px;
  }

  .card-front .code {
    font-size: 0.85rem;
    letter-spacing: 2px;
    top: 110px;
  }

  .card-front .name {
    font-size: 0.75rem;
    bottom: 20px;
  }

  .card-front img[src*="chip"] {
    top: 55px;
    width: 40px;
  }

  .card-front img[src*="holografico"] {
    width: 45px;
    bottom: 18px;
  }

  .card-front .logo-card {
    top: 18px;
    left: 190px;
    font-size: 1rem;
  }

  .credit-card:hover .card-inner {
    transform: none;
  }

  #personalize {
    padding: 3rem 1rem;
  }

  #personalize form {
    width: 100%;
    max-width: 320px;
  }

  #ratings {
    padding: 3rem 1rem;
  }

  .reviews-container {
    flex-direction: column;
  }

  .review-card {
    min-width: unset;
    max-width: 100%;
  }

  #cta-tunnel {
    height: auto;
    padding: 5rem 1rem;
  }

  .cta-content h1 {
    font-size: 1.4rem;
  }

  #btn-start {
    width: 100%;
    padding: 1rem;
  }

  #contact {
    padding: 3rem 1rem;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1.5rem;
  }

  #main-footer {
    padding: 3rem 1rem 2rem;
  }
}

/* ---- MOBILE PEQUENO (300px–420px) ---- */
@media (max-width: 420px) {

  body {
    width: 100%;
    overflow-x: hidden;
  }

  /* HEADER */
  header {
    padding: 0.8rem;
  }

  .logo {
    font-size: 1rem;
  }

  header button {
    padding: 4px 10px;
    font-size: 0.8rem;
  }

  /* ================================
     HERO: texto + celular lado a lado
     ================================ */
  #hero {
    flex-direction: row !important;   /* lado a lado */
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.8rem !important;
    padding: 1rem 0.8rem !important;
    text-align: left !important;
    width: 100%;
    box-sizing: border-box;
  }

  /* Textos ocupam o espaço restante após o celular */
  #hero .texts {
    flex: 1;
    min-width: 0;           /* permite encolher sem vazar */
    align-items: flex-start !important;
    gap: 0.8rem;
  }

  #hero h1 {
    font-size: 1rem;
    white-space: normal;
  }

  #hero p {
    font-size: 0.72rem;
    line-height: 1.4;
  }

  #hero .phone-wrapper img {
    width: 400px;
  }

  /* Mini-cards embaixo do texto, compactos */
  #hero .mini-cards {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start !important;
  }

  #hero .mini-cards .mini-card {
    width: 44%;
    padding: 0.5rem;
  }

  #hero .mini-cards .mini-card h1 {
    font-size: 0.95rem;
  }

  #hero .mini-cards .mini-card p {
    font-size: 0.65rem;
  }

  /* Celular menor e fixo à direita */
  .phone-wrapper {
    flex-shrink: 0;
  }

  .phone-wrapper img {
    width: 90px !important;
  }

  /* FEATURES */
  #features {
    padding: 2rem 0.8rem;
    width: 100%;
    box-sizing: border-box;
  }

  #features > h1 {
    font-size: 1.3rem;
  }

  #features .feature .text h3 {
    font-size: 0.95rem;
  }

  #features .feature .text p {
    font-size: 0.82rem;
  }

  /* GRAPHICS */
  #graphics {
    padding: 2rem 0.8rem;
    width: 100%;
    box-sizing: border-box;
  }

  #graphics .texts h1 {
    font-size: 1.3rem;
  }

  #graphics .texts p,
  #graphics .card p {
    font-size: 0.82rem;
  }

  #graphics .card h1 {
    font-size: 1.1rem;
  }

  /* CARTÃO */
  .credit-card {
    width: 270px;
    height: 170px;
  }

  .card-front .logo-card {
    top: 14px;
    left: 158px;
    font-size: 0.82rem;
  }

  .card-front img[src*="chip"] {
    top: 44px;
    left: 18px;
    width: 32px;
  }

  .card-front .code {
    top: 96px;
    left: 18px;
    font-size: 0.68rem;
    letter-spacing: 1px;
  }

  .card-front .name {
    bottom: 14px;
    left: 18px;
    font-size: 0.6rem;
  }

  .card-front img[src*="holografico"] {
    width: 35px;
    bottom: 12px;
    right: 18px;
  }

  /* PERSONALIZE */
  #personalize {
    padding: 2rem 0.8rem;
    width: 100%;
    box-sizing: border-box;
  }

  #personalize .texts h1 {
    font-size: 1.3rem;
  }

  #personalize .texts p {
    font-size: 0.82rem;
  }

  #personalize form {
    width: 100%;
    max-width: 270px;
  }

  #personalize input {
    font-size: 14px;
    padding: 9px;
  }

  .theme-container {
    gap: 8px;
  }

  .theme {
    width: 52px;
    height: 36px;
  }

  /* RATINGS */
  #ratings {
    padding: 2rem 0.8rem;
    width: 100%;
    box-sizing: border-box;
  }

  #ratings .texts h1 {
    font-size: 1.3rem;
  }

  .review-card {
    padding: 1.2rem 0.9rem;
  }

  .comment {
    font-size: 0.82rem;
  }

  /* ================================
     CTA TUNNEL: altura fixa + grade visível
     ================================ */
  #cta-tunnel {
    height: 500px !important;   /* altura suficiente para a grade aparecer */
    padding: 0 0.8rem !important;
    overflow: hidden;
  }

  /* Garante que o grid ocupe tudo */
  .grid-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }

  .cta-content h1 {
    font-size: 1.15rem;
  }

  .cta-content p {
    font-size: 0.82rem;
  }

  #btn-start {
    width: 100%;
    padding: 0.9rem;
  }

  /* CONTACT */
  #contact {
    padding: 2rem 0.8rem;
    width: 100%;
    box-sizing: border-box;
  }

  #contact .texts h1 {
    font-size: 1.3rem;
  }

  .contact-form {
    padding: 1.4rem 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-form::before {
    display: none;
  }

  .btn-submit {
    width: 100%;
    padding: 0.9rem;
    font-size: 0.9rem;
  }

  /* FOOTER */
  #main-footer {
    padding: 2rem 0.8rem 1.5rem;
  }

  .footer-brand .logo {
    font-size: 1rem;
  }

  .footer-brand p,
  .footer-col a,
  .footer-col h4 {
    font-size: 0.82rem;
  }

  .footer-bottom {
    font-size: 0.75rem;
  }

  .legal-links {
    gap: 0.8rem;
  }
}