/* ======== CONFIGURAÇÕES GLOBAIS ======== */
:root {
    --primary-color: #11214e; /* Azul Marinho */
    --accent-color: #951812;  /* Vermelho Escuro */
    --text-color: #333;
    --background-color: #ffffff;
    --light-gray-bg: #f7f9fc;
    --white-color: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body { 
    font-family: 'Poppins', sans-serif; 
    color: var(--text-color); 
    background-color: var(--background-color); 
    line-height: 1.7; 
    font-variant-ligatures: no-common-ligatures;
    -webkit-font-variant-ligatures: no-common-ligatures;
    font-feature-settings: "liga" 0, "clig" 0;
    -webkit-font-feature-settings: "liga" 0, "clig" 0;
    text-rendering: optimizeLegibility;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
main section { padding: 80px 0; }
.section-title { text-align: center; font-size: 2.5rem; color: var(--primary-color); margin-bottom: 50px; font-weight: 700; line-height: 1.3; }
.cta-button { display: inline-block; background-color: var(--accent-color); color: var(--white-color); padding: 15px 35px; border-radius: 50px; text-decoration: none; font-weight: 600; font-size: 1.1rem; text-transform: uppercase; transition: transform 0.3s ease, background-color 0.3s ease; border: none; cursor: pointer; }
.cta-button:hover { transform: translateY(-3px); background-color: #7d140f; }

/* ======== BOTÃO FLUTUANTE DE WHATSAPP ======== */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 40px; right: 40px; background-color: #25d366; color: var(--white-color); border-radius: 50px; text-align: center; font-size: 30px; box-shadow: 2px 2px 10px rgba(0,0,0,0.2); z-index: 100; display: flex; justify-content: center; align-items: center; transition: transform 0.3s ease; }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 32px; height: 32px; }

/* ======== SEÇÃO 1: HERO ======== */
.hero { display: flex; height: 90vh; min-height: 700px; width: 100%; }
.hero-text-column { flex: 1.1; background-color: var(--primary-color); color: var(--white-color); display: flex; align-items: center; clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%); z-index: 2; }
.hero-content-container { max-width: 1100px; margin: 0 auto; padding: 0 40px; width: 100%; }
.hero-image-column { flex: 0.9; background-color: #ccc; margin-left: -100px; }
.hero-image-column img { width: 100%; height: 100%; object-fit: cover; }
.hero-content { max-width: 600px; text-align: left; }
.hero-kicker { font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; opacity: 0.8; }
.hero-title { font-size: 3.5rem; margin-bottom: 25px; font-weight: 700; line-height: 1.3; color: var(--white-color); text-align: left; }
.hero-subtitle { font-size: 1.2rem; margin-bottom: 40px; font-weight: 400; opacity: 0.8; }

/* ======== SEÇÃO 2: DOR PRINCIPAL (REESTRUTURADA) ======== */
.pain-points-section { background-color: var(--light-gray-bg); }
.pain-points-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pain-card { background: var(--white-color); padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); text-align: center; border-top: 4px solid var(--accent-color); }
.pain-card-icon { margin: 0 auto 20px; width: 60px; height: 60px; background-color: var(--accent-color); border-radius: 50%; display: flex; justify-content: center; align-items: center; }
.pain-card-icon img { width: 30px; height: 30px; border-radius: 50%; }
.pain-card h3 { font-size: 1.3rem; color: var(--primary-color); margin-bottom: 10px; }

/* ======== SEÇÃO 3: A SOLUÇÃO GALLANT (FEATURES - REESTRUTURADA) ======== */
.features-section { background-color: var(--white-color); }
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.feature-row:not(:last-child) { margin-bottom: 80px; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-image img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.feature-text h3 { font-size: 1.8rem; color: var(--primary-color); margin-bottom: 15px; font-weight: 700; }
.feature-text p { font-size: 1.1rem; }

/* ======== SEÇÃO 4: BENEFÍCIO SECUNDÁRIO (ECONOMIA) ======== */
.savings-section { background-color: var(--primary-color); color: var(--white-color); text-align: center; clip-path: polygon(0 5%, 100% 0, 100% 95%, 0 100%); }
.savings-section h2 { font-size: 2.2rem; margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.savings-highlight { display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 30px; }
.savings-number { font-size: 8rem; font-weight: 700; line-height: 1; color: var(--white-color); }
.savings-text { font-size: 2rem; font-weight: 600; line-height: 1.1; text-align: left; opacity: 0.9; }
.savings-section p { font-size: 1.1rem; max-width: 700px; margin-left: auto; margin-right: auto; opacity: 0.8; }

/* ======== SEÇÃO 5: PÚBLICO-ALVO (REESTRUTURADA) ======== */
.audience-section { background-color: var(--light-gray-bg); }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.audience-card { position: relative; height: 250px; border-radius: 10px; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 20px; color: var(--white-color); font-weight: 700; font-size: 1.3rem; text-shadow: 2px 2px 5px rgba(0,0,0,0.7); overflow: hidden; transition: transform 0.3s ease; }
.audience-card:hover { transform: scale(1.05); }
.audience-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%); z-index: 1; }
.audience-card span { position: relative; z-index: 2; }

/* ======== SEÇÃO 6: PROCESSO 'CHAVE NA MÃO' (COM VÍDEO) ======== */
.process-section { background-color: var(--white-color); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.process-step { text-align: center; }
.step-number { width: 60px; height: 60px; background-color: var(--primary-color); color: var(--white-color); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; margin: 0 auto 20px; }
.process-step h3 { font-size: 1.3rem; color: var(--primary-color); margin-bottom: 10px; }
.video-wrapper { position: relative; padding-top: 56.25%; height: 0; overflow: hidden; max-width: 900px; background-color: #000; border-radius: 8px; margin: 60px auto 0; }
.video-wrapper .youtube-facade { position: absolute; top: 0; left: 0; width: 100%; height: 100%; cursor: pointer; }
.video-wrapper .youtube-facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-wrapper .youtube-facade .play-button { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 68px; height: 48px; background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 68 48"><path d="M66.52 7.74c-.78-2.93-2.49-5.41-5.42-6.19C55.79.13 34 0 34 0S12.21.13 6.9 1.55c-2.93.78-4.63 3.26-5.42 6.19C.06 13.05 0 24 0 24s.06 10.95 1.48 16.26c.78 2.93 2.49 5.41 5.42 6.19C12.21 47.87 34 48 34 48s21.79-.13 27.1-1.55c2.93-.78 4.64-3.26 5.42-6.19C67.94 34.95 68 24 68 24s-.06-10.95-1.48-16.26z" fill="red"></path><path d="M45 24 27 14v20" fill="white"></path></svg>') no-repeat; transition: transform 0.1s ease-in-out, opacity 0.1s ease-in-out; }
.video-wrapper .youtube-facade:hover .play-button { transform: translate(-50%, -50%) scale(1.1); opacity: 0.9; }
.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* ======== SEÇÃO 7: PROVA SOCIAL ======== */
.testimonials-section { background-color: var(--light-gray-bg); }
.client-logos { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 40px; }
.client-logos img { max-height: 50px; filter: grayscale(100%); opacity: 0.7; transition: filter 0.3s ease, opacity 0.3s ease; }
.client-logos img:hover { filter: grayscale(0%); opacity: 1; }

/* ======== SEÇÃO 8: FAQ ======== */
.faq-section { background-color: var(--white-color); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e0e0e0; padding: 15px 0; }
.faq-item summary { font-size: 1.2rem; font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 30px; }
.faq-item summary::-webkit-details-marker, .faq-item summary::marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 5px; font-size: 1.5rem; color: var(--primary-color); transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-top: 15px; margin-left: 10px; }

/* ======== SEÇÃO 9: CONTATO FINAL ======== */
.contact-section { background-color: var(--primary-color); color: var(--white-color); text-align: center; clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%); padding-top: 120px; }
.contact-section h2 { font-size: 2.5rem; margin-bottom: 15px; color: var(--white-color); }
.contact-section p { opacity: 0.9; max-width: 600px; margin: 0 auto; }
.contact-form { max-width: 600px; margin: 40px auto 0; display: grid; gap: 20px; text-align: left; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; border: none; border-radius: 5px; font-family: 'Poppins', sans-serif; font-size: 1rem; }
.contact-form textarea { resize: vertical; }
.contact-form .cta-button { background-color: var(--accent-color); }
.contact-form .cta-button:hover { background-color: #7d140f; }
.error-message { color: #ff3333; font-size: 0.9em; font-weight: 600; display: none; text-align: left; width: 100%; margin-top: -10px; margin-bottom: 10px; }
input#celular.error-border { border: 2px solid #ff3333 !important; }

/* ======== RODAPÉ ======== */
.footer { background-color: #0b1531; color: #a9b3c9; text-align: center; padding: 30px 0; font-size: 0.9rem; }
.footer p { margin-bottom: 5px; }

/* ======== ANIMAÇÃO DE ROLAGEM ======== */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.pain-card:nth-child(2), .process-step:nth-child(2) { transition-delay: 0.1s; }
.pain-card:nth-child(3), .process-step:nth-child(3) { transition-delay: 0.2s; }
.pain-card:nth-child(4), .process-step:nth-child(4) { transition-delay: 0.3s; }

/* ======== RESPONSIVIDADE ======== */
@media (max-width: 1100px) {
    .pain-points-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
    .audience-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
    .hero { flex-direction: column; height: auto; }
    .hero-text-column { flex: none; width: 100%; clip-path: none; text-align: center; padding: 80px 0; }
    .hero-image-column { margin-left: 0; }
    .hero-content-container { padding: 0 20px; }
    .hero-content { text-align: center; }
    .hero-title { text-align: center; }
    .hero-image-column { flex: none; width: 100%; height: 400px; }
    .feature-row, .feature-row.reverse { grid-template-columns: 1fr; text-align: center; }
    .feature-row.reverse { direction: ltr; }
    .feature-image { margin-bottom: 30px; }
}
@media (max-width: 768px) {
    main section { padding: 60px 0; }
    .section-title, .contact-section h2, .savings-section h2 { font-size: 2rem; }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .savings-section, .contact-section { clip-path: none; padding-top: 60px; }
    .savings-number { font-size: 5rem; }
    .savings-text { font-size: 1.2rem; }
    .pain-points-grid, .process-grid, .audience-grid { grid-template-columns: 1fr; }
    .whatsapp-float { width: 50px; height: 50px; right: 20px; bottom: 20px; }
}
/* ======================================================= */
/* ======== ESTILOS PARA VALIDAÇÃO DO FORMULÁRIO ======== */
/* ======================================================= */

/* Estilo para a mensagem de erro de texto */
.error-message {
    color: #ff3333; /* Um vermelho mais vivo e acessível */
    font-size: 0.9em;
    font-weight: 600; /* Um pouco mais de destaque */
    display: none; /* Começa escondido por padrão */
    text-align: left;
    width: 100%;
    margin-top: -10px; /* Puxa para perto do campo */
    margin-bottom: 10px;
}

/* Estilo para a borda do campo quando houver erro */
input#celular.error-border {
    border: 2px solid #ff3333 !important; /* O !important dá uma força extra para garantir que este estilo seja aplicado sobre qualquer outro */
}