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

/* Variáveis de cores */
:root {
  --primary: #4F46E5;    /* Azul-roxo principal */
  --secondary: #6366F1;  /* Azul-roxo mais claro */
  --accent: #818CF8;     /* Azul-roxo suave */
  --dark: #3730A3;       /* Azul-roxo escuro */
  --light: #F5F3FF;      /* Roxo claríssimo para fundo */
  --success: #4338CA;    /* Azul-roxo intenso */
  --success-hover: #3730A3;

  /* Sombras personalizadas com tom azul-roxo */
  --shadow-sm: 0 4px 6px rgba(79, 70, 229, 0.1);
  --shadow-md: 0 8px 24px rgba(79, 70, 229, 0.15);
}

/* Estilos gerais */
body {
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: var(--light);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  font-weight: 700;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--dark);
}

.img-box img{
  margin-top: 100px;
  border-radius: 10px;
  width: 70%;
  height: 100%;
  object-fit: cover;

}

/* Header com transição suave */
.header_section {
  position: fixed;
  width: 100%;
  z-index: 1000;
  background-color: var(--primary);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.nav-link buy-btn{
  color: #333;
}

.header_section.scrolled {
  background-color: rgba(79, 70, 229, 0.85);
  backdrop-filter: blur(10px);
}

.navbar-brand {
  color: white !important;
  font-size: 24px;
  font-weight: 700;
}

.navbar-brand img {
  height: 40px;
  margin-right: 10px;
}

.navbar-nav .nav-link {
  color: white !important;
  font-weight: 500;
  margin: 0 10px;
}

.navbar-nav .nav-link:hover {
  color: var(--accent) !important;
}

/* Hero Section */
.hero_area {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--light);
}

.col-md-8 h3{
  color: #FFE600;
font-size: 2em;
}

.slider_section {
  flex: 1;
  display: flex;
  align-items: center;
}

.detail-box {
  padding: 2rem 0;
}

.heading_container2 h2{
  color: #FFE600;
  font-size: 4em;
}

.detail-box h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.text-center{
  color: #ffffff;
  padding: 20px;
} 

.detail-box p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.6;
  color: #666;
  margin-bottom: 30px;
}

/* .row{
  padding: 3rem;
} */

.btn-1, .btn-2 {
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.garanta{
  color: var(--light);
  font-weight: 700;
}

.btn-1 {
  background-color: var(--primary);
  color: white;
  border: none;
  margin-right: 10px;
}

.btn-1:hover {
  background-color: var(--light);
  box-shadow: var(--shadow-md);
  text-decoration: none;
  border: 2px solid var(--primary);
}

.btn-2 {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  text-decoration: none;
}

.btn-2:hover {
  background-color: var(--primary);
  color: white;
  text-decoration: none;
}

/* How It Works Section */
.how-it-works_section {
  background-color: white;
  padding: 80px 0;
  box-shadow: var(--shadow-sm);
}

.how-it-works_section .img-box {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-it-works_section .img-box img {
  max-height: 400px;
  width: auto;
  object-fit: contain;
  margin-top: 0;
}

.steps-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.step-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--primary);
  background-color: var(--light);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.step-box h3 {
  color: var(--dark);
  margin-bottom: 10px;
}

.step-box p {
  color: #555;
}

.step-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* Buy Now Section */
.buy-now_section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
  padding: 40px 0;
  color: white;
}

.buy-now_section .detail-box {
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.buy-now_section .icon-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.buy-now_section .feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.buy-now_section .feature-item i {
  font-size: 2.5rem;
  color: white;
}

.buy-now_section .feature-item span {
  font-size: 1.1rem;
  text-align: center;
}

.buy-now_section .btn-1 {
  background-color: #FFE600;
  color: #333333;
  padding: 15px 30px;
  font-size: 1.1rem;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.buy-now_section .btn-1:hover {
  background-color: #FFF159;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.buy-now_section .btn-1 i {
  font-size: 1.2rem;
}

/* Qualities Section */
.qualities_section {
  background-color: var(--light);
  padding: 80px 0;
}

.quality-box {
  transition: transform 0.3s ease;
  border-radius: 16px;
  border: 1px solid rgba(79, 70, 229, 0.1);
  height: 100%;
  background-color: white;
  padding: 20px;
  text-align: center;
  margin-bottom: 20px;
}

.quality-box h3 {
  color: var(--dark);
  margin-bottom: 10px;
}

.quality-box p {
  color: #555;
}

.quality-box:hover {
  transform: translateY(-5px);
}

/* Info Section - Rodapé Reformulado */
.info_section {
  background-color: var(--dark);
  color: white;
  padding: 60px 0 30px;
}

.info_top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info_logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.info_logo img {
  height: 50px;
  filter: brightness(0) invert(1);
}

.info_logo span {
  font-size: 24px;
  font-weight: 600;
  color: white;
}

.social_box {
  display: flex;
  gap: 20px;
}

.social_box a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.social_box a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.social_box i {
  font-size: 20px;
  color: white;
}

.info_main {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.info_main h5 {
  color: #FFE600;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.info_main ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info_main ul li {
  margin-bottom: 10px;
}

.info_main ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info_main ul li a:hover {
  color: #FFE600;
  transform: translateX(5px);
}

.info_main .contact_info p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
}

.info_main .contact_info i {
  color: #FFE600;
}

/* Footer Section */
.footer_section {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  text-align: center;
}

.footer_section p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

#how-it-works{
  padding: 30px 0px;
}

/* Atualizações gerais */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.img-box img {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.img-box:hover img {
  transform: scale(1.05);
}

/* Media Queries para melhor responsividade */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }

  .navbar-brand span {
    font-size: 20px;
  }

  .detail-box {
    text-align: center;
    padding: 0 15px;
  }

  .btn-box {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
  }

  .btn-1, .btn-2 {
    padding: 10px 20px;
    font-size: 16px;
    min-width: 140px;
  }

  .info_section .row > div {
    margin-bottom: 30px;
  }

  .buy-now_section .detail-box {
    padding: 30px 20px;
  }

  .buy-now_section h2 {
    font-size: 26px;
  }

  .how-it-works_section .img-box {
    margin-top: 30px;
  }

  .buy-now_section .icon-container {
    flex-wrap: wrap;
  }

  .buy-now_section .feature-item {
    margin-bottom: 15px;
    min-width: 140px;
  }

  .info_top {
    flex-direction: column;
    align-items: center;
    padding: 30px 0 20px;
  }

  .info_main {
    padding: 20px 0;
  }

  .info_main ul li a {
    padding: 5px 0;
  }

  .info_main .contact_info p {
    margin-bottom: 15px;
  }

  .layout_padding {
    padding: 40px 0;
  }
  
  .slider_section {
    padding-top: 100px;
    padding-bottom: 30px;
  }

  .how-it-works_section .step-box {
    margin-bottom: 15px;
    padding: 15px;
  }

  .quality-box {
    margin-bottom: 15px;
    padding: 15px;
  }

  .info_section {
    padding: 40px 0 20px;
  }

  .info_top {
    margin-bottom: 20px;
  }

  .info_main .col-md-3 {
    margin-bottom: 15px;
  }

  .info_main h5 {
    margin-bottom: 10px;
  }

  .info_main ul li {
    margin-bottom: 5px;
  }
}

@media (max-width: 576px) {
  .quality-box {
    margin-bottom: 25px;
  }

  .step-box {
    margin-bottom: 30px;
  }

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

  .social_box {
    margin-top: 20px;
  }

  /* Melhorias no cabeçalho para mobile */
  .header_section {
    padding: 10px 0;
  }

  .navbar-brand {
    font-size: 22px;
  }

  .navbar-brand img {
    height: 35px;
  }

  /* Melhorias na seção slider para dispositivos pequenos */
  .slider_section {
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .slider_section .detail-box h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .slider_section .detail-box p {
    font-size: 16px;
    line-height: 1.5;
  }

  /* Ajustes para a seção de qualidades */
  .qualities_section .quality-box {
    padding: 20px 15px;
  }

  /* Ajustes para os botões */
  .btn-1, .btn-2 {
    display: block;
    width: 100%;
    margin: 10px 0;
    text-align: center;
  }

  /* Layout padding ajustado */
  .layout_padding {
    padding: 30px 0;
  }

  .heading_container h2,
  .heading_container2 h2 {
    margin-bottom: 15px;
  }

  .slider_section .detail-box h1 {
    margin-bottom: 15px;
  }

  .slider_section .detail-box p {
    margin-bottom: 20px;
  }

  .btn-box {
    margin-top: 15px;
  }

  .step-box h3,
  .quality-box h3 {
    margin-bottom: 5px;
  }

  .info_top {
    padding-bottom: 15px;
  }

  .img-box img {
    margin-top: 15px;
  }
}

@media (max-width: 420px) {
  .navbar-brand span {
    font-size: 20px;
  }

  .slider_section .detail-box h1 {
    font-size: 24px;
  }

  .heading_container h2,
  .heading_container2 h2 {
    font-size: 24px;
  }

  .how-it-works_section .steps-container {
    padding: 0 10px;
  }

  .step-box h3,
  .quality-box h3 {
    font-size: 20px;
  }

  .buy-now_section .detail-box {
    margin: 0 5px;
  }
}

/* Animação de fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Adição de delay para animações sequenciais */
.step-box:nth-child(1) {
  animation-delay: 0.2s;
}

.step-box:nth-child(2) {
  animation-delay: 0.4s;
}

.step-box:nth-child(3) {
  animation-delay: 0.6s;
}

.quality-box:nth-child(1) {
  animation-delay: 0.2s;
}

.quality-box:nth-child(2) {
  animation-delay: 0.4s;
}

.quality-box:nth-child(3) {
  animation-delay: 0.6s;
}

/* Ajustes para redução de espaços em branco */
.layout_padding {
  padding: 60px 0;
}

/* Estilos dos botões */
.buy-btn {
  background-color: #FFD700;
  color: #000 !important;
  padding: 8px 20px !important;
  border-radius: 25px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  font-weight: 700 !important;
  font-size: 1.1em !important;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: inline-block;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.buy-btn:hover {
  background-color: #FFC800;
  transform: translateY(-2px) translateZ(0);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  color: #000 !important;
}

.buy-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: 0.5s ease;
}

.buy-btn:hover::before {
  left: 100%;
}

.buy-btn:active {
  transform: translateY(1px) translateZ(0);
}

/* Ajuste para o container do botão no menu */
.nav-item .buy-btn {
  margin: 0 5px;
  display: inline-block;
}

/* Estilo para o botão do Mercado Livre */
.btn-1.mt-3 {
  display: inline-block;
  padding: 12px 30px;
  background-color: #FFD700;
  color: #000;
  border-radius: 25px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
  border: none;
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.2);
}

.btn-1.mt-3:hover {
  background-color: #FFC800;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
  color: #000;
  text-decoration: none;
}

.btn-1.mt-3:active {
  transform: translateY(1px);
  box-shadow: 0 2px 5px rgba(255, 215, 0, 0.2);
}

.btn-1.mt-3 i {
  margin-right: 8px;
}

/* Ajuste do container do botão */
.detail-box {
  position: relative;
  padding-bottom: 20px;
}

.detail-box .btn-1.mt-3 {
  position: relative;
  z-index: 1;
}

/* Estilos para os Modais de Políticas */
.modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-header {
  background-color: var(--primary);
  color: white;
  border-radius: 15px 15px 0 0;
  padding: 1.5rem;
}

.modal-header .close {
  color: white;
  opacity: 0.8;
  text-shadow: none;
}

.modal-header .close:hover {
  opacity: 1;
}

.modal-title {
  font-weight: 600;
  font-size: 1.5rem;
}

.modal-body {
  padding: 2rem;
  max-height: 70vh;
  overflow-y: auto;
}

.modal-body h6 {
  color: var(--primary);
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  font-size: 1.1rem;
}

.modal-body h6:first-child {
  margin-top: 0;
}

.modal-body p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.modal-body ul {
  list-style-type: none;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.modal-body ul li {
  position: relative;
  margin-bottom: 0.5rem;
  color: #555;
  line-height: 1.6;
}

.modal-body ul li:before {
  content: "•";
  color: var(--primary);
  font-weight: bold;
  position: absolute;
  left: -1rem;
}

.modal-body strong {
  color: var(--primary);
}

/* Estilização da barra de rolagem do modal */
.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: var(--dark);
}