/* style-home.css - Estilos Exclusivos da Landing Page MenuCardAPP */

:root {
    --color-1: #A65D78; 
    --color-2: #8C4A6F;
    --color-3: #632D5A;
    --color-4: #4D1E51;
    --color-white: #ffffff;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-4);
    color: var(--color-white);
    min-height: 100vh;
}

/* --- HEADER CENTRALIZADO --- */
.app-header-home {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 70px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    z-index: 1001;
    max-width: 100% !important;
}

.logo-home img {
    height: 45px;
    width: auto;
}

/* --- CONTEÚDO PRINCIPAL --- */
.app-main-home {
    padding: 100px 20px 60px 20px;
}

@media (min-width: 768px) {
    .desktop-grid-home {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: center;
        margin-bottom: 60px;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .login-section-home {
        align-items: flex-start; /* Volta o alinhamento para a esquerda no PC */
        text-align: left;
    }
    
    .login-title-home {
        text-align: left !important;
    }

    .btn-whatsapp-home {
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 0;
    }

    .login-title-home { font-size: 2.5rem !important; text-align: left !important; }
    .hero-text-home { text-align: left !important; }

    .faq-section-home, 
    .section-solucao-home {
        width: 50% !important; /* Reduz para 50% apenas no computador */
    }
}

.login-section-home {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza o conteúdo horizontalmente no celular */
    text-align: center;   /* Centraliza o texto */
    line-height: 1.1;
}

.login-title-home {
    text-align: center; /* Garante que o título fique no meio */
}

.btn-whatsapp-home {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px; /* Cria o espaço entre o botão e a imagem abaixo */
    width: fit-content;  /* Garante que o botão não estique 100% se não quiser */
}

.login-title-home {
    font-size: 2rem;
    margin-bottom: 5px;
    color: white;
    font-weight: 700;
}

.hero-text-home {
    margin-top: 15px;
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.btn-whatsapp-home {
    background-color: #25d366;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: var(--transition);
    margin-top: 30px;
}

.btn-whatsapp-home:hover { transform: scale(1.05); }

/* --- SEÇÃO VANTAGENS --- */
.section-solucao-home {
    width: 100%;
    margin-top: 60px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.grid-atalhos-home {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card-vantagem-home {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 30px 10px;
    margin: 0;
    text-align: center;
}

.card-vantagem-home i {
    font-size: 2rem;
    color: var(--color-1);
    margin-bottom: 15px;
}

.card-vantagem-home h3 {
    color: var(--color-4);
    font-size: 1rem;
    margin-bottom: 10px;
}

.card-vantagem-home p {
    color: #666;
    font-size: 0.8rem;
}

/* --- FAQ ACORDEÃO --- */
.faq-section-home {
    width: 100%;
    background-color: white;
    border-radius: 20px;
    margin-top: 40px;
    padding: 30px 20px;
    margin-left: auto;
    margin-right: auto;
}

.faq-header-title-home {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-4);
    margin-bottom: 30px;
}

.faq-header-title-home span { color: var(--color-1); }

.faq-item-home {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    cursor: pointer;
}

.faq-question-home {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: var(--color-4);
    font-size: 1rem;
}

.faq-answer-home {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.faq-item-home.active .faq-answer-home {
    max-height: 200px;
    padding-top: 10px;
}

.faq-item-home i { transition: transform 0.3s; color: #888; }
.faq-item-home.active i { transform: rotate(180deg); }

/* --- FOOTER INSTITUCIONAL --- */
.footer-home {
    background-color: #ffffff;
    color: var(--color-4);
    padding: 40px 0 120px;
    text-align: center;
    border-top: 1px solid #eee;
    width: 100%;
    position: relative;
}

.footer-container-home {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-brand-info img {
    height: 35px;
    width: auto;
    opacity: 0.8;
    filter: grayscale(100%);
    margin-bottom: 10px;
}

.footer-links-home {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.footer-links-home a {
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

/* --- TAB BAR MÓVEL (ESTILO APP NO INDEX) --- */
.app-footer-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--color-white);
    padding: 8px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 500px;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    left: 50%;
    transform: translateX(-50%);
}

.footer-icon-home {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-2);
    flex: 1;
}

.footer-icon-home.active { color: var(--color-4); }
.footer-icon-home i { font-size: 1.2rem; margin-bottom: 4px; }
.footer-icon-home span { font-size: 0.7rem; font-weight: 600; }