﻿/* ======== CONFIGURAÃ‡Ã•ES GLOBAIS ======== */
:root {
    --primary-color: #b6ced7; /* Azul Claro (para textos e detalhes) */
    --accent-color: #951812;  /* Vermelho Escuro (para CTAs) */
    --text-color: #b6ced7;    /* Cor principal do texto */
    --background-color: #34576f; /* Azul Escuro (fundo principal) */
    --light-gray-bg: #4a6a85; /* Tom intermediÃ¡rio para seÃ§Ãµes */
    --white-color: #ffffff;   /* Branco para textos de destaque e botÃµes */
}

* { 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(--background-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; color: var(--primary-color); }
.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.9; color: var(--primary-color); }

/* ======== 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(--background-color); padding: 30px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); 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(--white-color); margin-bottom: 10px; }
.pain-card p { color: var(--primary-color); }

/* ======== SEÃ‡ÃƒO 3: A SOLUÃ‡ÃƒO GALLANT (FEATURES - REESTRUTURADA) ======== */
.features-section { background-color: var(--background-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.2); }
.feature-text h3 { font-size: 1.8rem; color: var(--white-color); margin-bottom: 15px; font-weight: 700; }
.feature-text p { font-size: 1.1rem; color: var(--primary-color); }

/* ======== SEÃ‡ÃƒO 4: BENEFÃCIO SECUNDÃRIO (ECONOMIA) ======== */
.savings-section { background-color: var(--light-gray-bg); 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; color: var(--white-color); }
.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.9; }

/* ======== SEÃ‡ÃƒO 5: PÃšBLICO-ALVO (REESTRUTURADA) ======== */
.audience-section { background-color: var(--background-color); }
.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(--light-gray-bg); }
.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(--background-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(--white-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(--background-color); }
.client-logos { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 40px; }
.client-logos img { max-height: 50px; filter: brightness(0) invert(1); opacity: 0.7; transition: filter 0.3s ease, opacity 0.3s ease; }
.client-logos img:hover { opacity: 1; }

/* ======== SEÃ‡ÃƒO 8: FAQ ======== */
.faq-section { background-color: var(--light-gray-bg); }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid rgba(182, 206, 215, 0.3); padding: 15px 0; }
.faq-item summary { font-size: 1.2rem; font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 30px; color: var(--white-color); }
.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(--background-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(--background-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; background-color: #e8f0fe; color: #333; }
.contact-form .cta-button { background-color: var(--accent-color); color: var(--white-color); }
.contact-form .cta-button:hover { background-color: #7d140f; }

/* ======== RODAPÃ‰ ======== */
.footer { background-color: #21293e; 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: 1; transform: translateY(0); 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; }
}

/* =============================================== */
/* ============== MODAL WHATSAPP ================ */
/* =============================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    color: #666;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f5f5f5;
    color: #333;
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: #e8f5e8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon svg {
    width: 30px;
    height: 30px;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0 0 10px 0;
}

.modal-header p {
    color: #666;
    margin: 0;
}

.whatsapp-form .form-group {
    margin-bottom: 20px;
}

.whatsapp-form label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.whatsapp-form input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.whatsapp-form input:focus {
    outline: none;
    border-color: #25d366;
}

.whatsapp-submit-btn {
    width: 100%;
    background: #25d366;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.whatsapp-submit-btn:hover {
    background: #20b358;
    transform: translateY(-2px);
}

.whatsapp-submit-btn svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 30px 20px;
        max-width: 350px;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
}