/* GERAL E VARIÁVEIS */
:root {
   --primary-color: #E94057; /* Rosa forte */
   --secondary-color: #F27121; /* Laranja para o tema de São João */
   --accent-color: #FFD700; /* Amarelo ouro para destaque */
   --background-color: #FFF8F5; /* Fundo levemente rosado */
   --text-color: #333;
   --white-color: #FFFFFF;
   --font-title: 'Montserrat', sans-serif;
   --font-body: 'Poppins', sans-serif;
}

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

body {
   font-family: var(--font-body);
   background-color: var(--background-color);
   color: var(--text-color);
   line-height: 1.7; /* Aumentei um pouco a line-height para melhor leitura */
}

.container {
   max-width: 1200px; /* Aumentei a largura máxima para um layout mais espaçoso */
   margin: 0 auto;
   padding: 0 30px; /* Aumentei o padding lateral */
}

/* PADRÕES SUTIS DE SÃO JOÃO (Pode ser adicionado como um background repetível) */
/* Exemplo: background-image: url('assets/images/bg-sao-joao-light.png'); */
/* Crie uma imagem sutil com pequenas bandeirinhas ou um padrão xadrez claro */

/* ANIMAÇÃO DE SCROLL */
.animate-on-scroll {
   opacity: 0;
   transform: translateY(40px); /* Aumentei um pouco o deslocamento */
   transition: opacity 0.7s ease-out, transform 0.7s ease-out; /* Suavizei a transição */
}

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

/* BOTÕES */
.cta-button,
.cta-button-small {
   background: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
   color: var(--white-color);
   padding: 16px 35px; /* Ajustei o padding */
   border-radius: 50px;
   text-decoration: none;
   font-weight: 700; /* Deixei o texto mais forte */
   display: inline-block;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   border: none;
   cursor: pointer;
   font-size: 1.1rem; /* Usei rem para melhor escalabilidade */
   text-transform: uppercase;
   box-shadow: 0 6px 18px rgba(233, 64, 87, 0.5); /* Aumentei a sombra */
}

.cta-button-small {
   padding: 10px 20px; /* Ajustei o padding do botão menor */
   font-size: 0.9rem;
}

.cta-button:hover,
.cta-button-small:hover {
   transform: translateY(-5px); /* Aumentei o efeito de levantar */
   box-shadow: 0 8px 22px rgba(233, 64, 87, 0.7); /* Aumentei a sombra no hover */
}

.pulse {
   animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; /* Usei uma curva de Bézier para um efeito mais suave */
}

@keyframes pulse {
   0% {
       transform: scale(1);
   }

   50% {
       transform: scale(1.03);
   }

   100% {
       transform: scale(1);
   }
}

/* CABEÇALHO */
.header {
   background-color: var(--white-color);
   padding: 20px 0; /* Aumentei o padding vertical */
   box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08); /* Refinei a sombra */
   position: sticky;
   top: 0;
   z-index: 1000;
}

.header .container {
   display: flex;
   justify-content: space-between;
   align-items: center;
}

.header .logo {
   height: 50px; /* Aumentei o tamanho do logo */
   width: auto;
}

/* HERO */
.hero {
   background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://placehold.co/1920x1080/F27121/FFFFFF?text=Arrai%C3%A1+Beb%C3%AAs+Reborns'); /* Usei uma cor temática no placeholder */
   background-size: cover;
   background-position: center;
   color: var(--white-color);
   text-align: center;
   padding: 120px 0; /* Aumentei o padding */
   min-height: 75vh; /* Ajustei a altura mínima */
   display: flex;
   align-items: center;
   justify-content: center;
   position: relative; /* Para posicionar elementos temáticos */
}

/* Elementos temáticos de São João (Exemplo - podem ser imagens reais) */
.hero::before,
.hero::after {
   content: '';
   position: absolute;
   width: 60px;
   height: 60px;
   background-color: var(--accent-color);
   border-radius: 8px;
   transform: rotate(45deg);
   z-index: 0;
}

.hero::before {
   top: 20px;
   left: 50px;
}

.hero::after {
   bottom: 20px;
   right: 50px;
}

.hero-content {
   position: relative;
   z-index: 1;
}

.hero-content h1 {
   font-family: var(--font-title);
   font-size: 4rem; /* Aumentei a fonte do título */
   text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6); /* Refinei a sombra */
   margin-bottom: 20px;
}

.hero-content p {
   font-size: 1.3rem; /* Aumentei a fonte do parágrafo */
   max-width: 700px; /* Aumentei a largura máxima */
   margin: 20px auto 40px; /* Aumentei a margem inferior */
   font-weight: 500;
}

/* COUNTDOWN */
.countdown {
   background: rgba(0, 0, 0, 0.5); /* Refinei a cor de fundo */
   padding: 18px; /* Ajustei o padding */
   border-radius: 10px;
   display: inline-block;
   margin-bottom: 50px; /* Aumentei a margem inferior */
}

.countdown #timer {
   font-size: 2.8rem; /* Aumentei a fonte do timer */
   font-weight: 700;
   font-family: var(--font-title);
   letter-spacing: 1px;
}

/* SEÇÕES PADRÃO */
section {
   padding: 90px 0; /* Aumentei o padding vertical */
}

section h2 {
   text-align: center;
   font-family: var(--font-title);
   font-size: 3rem; /* Aumentei a fonte do título da seção */
   margin-bottom: 70px; /* Aumentei a margem inferior */
   color: var(--primary-color);
   position: relative;
   padding-bottom: 10px;
   display: inline-block;
}

section h2::after {
   content: '';
   position: absolute;
   left: 50%;
   bottom: 0;
   transform: translateX(-50%);
   width: 50px;
   height: 3px;
   background-color: var(--secondary-color);
}

/* PROVA SOCIAL */
.social-proof {
   background-color: #f9f9f9; /* Pequena alteração no background */
   padding: 100px 0;
}

.testimonials {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Ajustei a largura mínima */
   gap: 40px; /* Aumentei o gap */
}

.testimonial-card {
   background: var(--white-color);
   padding: 35px; /* Aumentei o padding */
   border-radius: 12px;
   text-align: center;
   border: 1px solid #eee; /* Adicionei uma borda sutil */
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Refinei a sombra */
}

.testimonial-card img {
   width: 100px; /* Aumentei o tamanho da imagem */
   height: 100px;
   border-radius: 50%;
   margin-bottom: 25px; /* Aumentei a margem */
   object-fit: cover;
   border: 3px solid var(--primary-color); /* Adicionei uma borda à imagem */
}

.testimonial-card p {
   font-style: italic;
   color: #666;
   margin-bottom: 20px;
}

.testimonial-card strong {
   display: block;
   margin-top: 15px;
   color: var(--primary-color);
   font-weight: 700;
}

/* PRODUTOS */
.products {
   background: url('https://placehold.co/1920x300/FFF8F5/EEE?text=Padr%C3%A3o+Sutil+de+Fundo') repeat-y; /* Adicionei um fundo sutil */
}

.product-grid {
   display: grid;
   grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Ajustei a largura mínima */
   gap: 50px; /* Aumentei o gap */
}

.product-card {
   background: var(--white-color);
   border-radius: 18px; /* Aumentei o border-radius */
   overflow: hidden;
   box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); /* Refinei a sombra */
   text-align: center;
   padding-bottom: 40px; /* Aumentei o padding inferior */
   position: relative;
   transition: transform 0.3s ease;
}

.product-card:hover {
   transform: translateY(-8px); /* Aumentei o efeito de levantar */
   box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-card .badge {
   position: absolute;
   top: 20px;
   left: 20px;
   background-color: var(--secondary-color);
   color: var(--white-color);
   padding: 8px 15px; /* Ajustei o padding da badge */
   border-radius: 8px;
   font-size: 0.8rem;
   font-weight: 700;
   text-transform: uppercase;
   letter-spacing: 0.5px;
}

.product-card img {
   width: 100%;
   height: auto;
   border-bottom: 1px solid #eee; /* Adicionei uma borda inferior à imagem */
}

.product-card h3 {
   font-size: 2rem; /* Aumentei a fonte do título do produto */
   margin: 25px 0 15px; /* Ajustei as margens */
   color: var(--primary-color);
   font-weight: 700;
}

.product-card .description {
   padding: 0 30px; /* Aumentei o padding lateral */
   margin-bottom: 30px; /* Aumentei a margem inferior */
   color: #555;
}

.price {
   display: flex;
   flex-direction: column;
   align-items: center;
   margin-bottom: 30px; /* Aumentei a margem inferior */
}

.price .old-price {
   text-decoration: line-through;
   color: #999;
   font-size: 1rem;
   margin-bottom: 5px;
}

.price .new-price {
   font-size: 2.5rem; /* Aumentei a fonte do preço novo */
   font-weight: 700;
   color: var(--secondary-color); /* Usei a cor secundária para o preço */
}

.price span {
   font-size: 1rem;
   color: #777;
   margin-top: 5px;
}

/* SOBRE */
.about {
   background: var(--white-color);
   padding: 100px 0;
}

.about-flex {
   display: flex;
   align-items: center;
   gap: 80px; /* Aumentei o gap */
}

.about-image {
   flex: 1;
}

.about-image img {
   width: 100%;
   border-radius: 20px; /* Aumentei o border-radius */
   box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.about-text {
   flex: 1.2;
}

.about-text h2 {
   text-align: left;
   margin-bottom: 40px; /* Aumentei a margem inferior */
}

.about-text p {
   font-size: 1.1rem;
   color: #555;
   line-height: 1.8;
   margin-bottom: 25px;
}

/* FAQ */
.faq {
   background-color: #f9f9f9;
   padding: 100px 0;
}

.faq-item {
   background: var(--white-color);
   margin-bottom: 15px; /* Aumentei a margem */
   border-radius: 8px;
   border: 1px solid #eee;
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
   width: 100%;
   background: none;
   border: none;
   text-align: left;
   padding: 25px; /* Aumentei o padding */
   font-size: 1.1rem;
   font-weight: 700;
   cursor: pointer;
   position: relative;
   color: var(--text-color);
}

.faq-question::after {
   content: '+';
   position: absolute;
   right: 25px; /* Ajustei a posição */
   font-size: 1.5rem;
   color: var(--secondary-color);
   transition: transform 0.3s ease;
}

.faq-question.active::after {
   transform: rotate(45deg);
}

.faq-answer {
   max-height: 0;
   overflow: hidden;
   transition: max-height 0.4s ease-out; /* Suavizei a transição */
   padding: 0 25px 25px; /* Ajustei o padding */
   color: #666;
}

/* FOOTER */
.footer {
   background-color: #222; /* Cor mais escura */
   color: #ddd; /* Cor do texto mais clara */
   text-align: center;
   padding: 50px 0; /* Aumentei o padding */
}

.footer .container {
   display: flex;
   flex-direction: column;
   align-items: center;
}

.footer p {
   margin-bottom: 10px;
   font-size: 0.9rem;
}

.security-seals {
   margin-top: 20px;
}

.security-seals span {
   display: inline-block;
   background-color: #444;
   padding: 8px 15px; /* Ajustei o padding */
   border-radius: 8px;
   margin: 0 8px;
   font-size: 0.8rem;
}

/* CHECKOUT PAGE */
.checkout-container {
   display: flex;
   gap: 50px; /* Aumentei o gap */
   margin-top: 50px; /* Aumentei a margem superior */
}

.checkout-form,
.order-summary {
   background: var(--white-color);
   padding: 40px; /* Aumentei o padding */
   border-radius: 15px; /* Aumentei o border-radius */
   box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); /* Refinei a sombra */
}

.checkout-form {
   flex: 2;
}

.order-summary {
   flex: 1;
   position: sticky;
   top: 150px; /* Ajustei o posicionamento sticky */
}

.order-summary h3 {
   font-size: 1.8rem;
   margin-bottom: 25px;
   color: var(--primary-color);
   text-align: left;
}

.order-summary p {
   margin-bottom: 15px;
   font-size: 1rem;
}

.order-summary hr {
   border-top: 1px solid #eee;
   margin: 20px 0;
}

.order-summary strong {
   font-weight: 700;
}

.form-group {
   margin-bottom: 25px;
}

.form-group label {
   display: block;
   margin-bottom: 8px;
   font-weight: 700;
   color: var(--text-color);
}

.form-group input {
   width: 100%;
   padding: 14px; /* Aumentei o padding */
   border: 1px solid #ddd;
   border-radius: 8px;
   font-size: 1rem;
}

#pix-display {
   text-align: center;
   margin-top: 40px;
   border: 2px dashed var(--secondary-color); /* Usei a cor secundária */
   padding: 30px; /* Aumentei o padding */
   border-radius: 12px;
}

#pix-display h3 {
   color: var(--secondary-color);
   margin-bottom: 20px;
}

#pix-qrcode {
   max-width: 300px; /* Aumentei o tamanho do QR Code */
   margin: 20px auto;
   border: 1px solid #eee;
   border-radius: 8px;
}

#pix-copiaecola {
   width: 100%;
   padding: 15px; /* Aumentei o padding */
   text-align: center;
   background: #f4f4f4;
   border: 1px solid #ddd;
   border-radius: 8px;
   margin-bottom: 15px;
   font-size: 1rem;
}

#pix-display button#copy-button {
   width: 100%; /* O botão copiar ocupa toda a largura */
}

#pix-message {
   margin-top: 20px;
   color: #555;
   font-size: 0.9rem;
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
   .container {
       padding: 0 40px;
   }

   .hero {
       padding: 100px 0;
   }

   .hero-content h1 {
       font-size: 3rem;
   }

   .hero-content p {
       font-size: 1.2rem;
   }

   .about-flex {
       gap: 40px;
   }
}

@media (max-width: 768px) {
   .container {
       padding: 0 20px;
   }

   .hero {
       padding: 80px 0;
       min-height: auto;
   }

   .hero-content h1 {
       font-size: 2.5rem;
   }

   .hero-content p {
       font-size: 1.1rem;
       margin-bottom: 30px;
   }

   .countdown #timer {
       font-size: 2rem;
   }

   section {
       padding: 70px 0;
   }

   section h2 {
       font-size: 2.2rem;
       margin-bottom: 50px;
   }

   .about-flex {
       flex-direction: column;
   }

   .about-image {
       margin-bottom: 30px;
   }

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

   .order-summary {
       position: static;
       margin-top: 30px;
   }
}

@media (max-width: 480px) {
   .hero-content h1 {
       font-size: 2rem;
   }

   .hero-content p {
       font-size: 1rem;
   }

   .countdown #timer {
       font-size: 1.6rem;
   }

   .testimonial-card {
       padding: 25px;
   }

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

   .product-card .description {
       padding: 0 20px;
   }
}