/* Variáveis de Cores */
:root {
    --purple-600: #9333ea;
    --purple-700: #7c3aed;
    --purple-500: #a855f7;
    --purple-100: #f3e8ff;
    --purple-200: #e9d5ff;
    --indigo-800: #4338ca;
    --green-600: #16a34a;
    --green-500: #22c55e;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --black: #000000;
}

/* Base Geral */
body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'system-ui', sans-serif;
    color: var(--gray-700);
    overflow-x: hidden; 
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.1rem;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Classes de Transição e Animação */
.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* Estilos do Header */
.header {
    background-color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0;
}

.logo {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--purple-600);
}

.logo-img {
    height: 2rem; 
    width: auto;
    max-height: 32px;
}

.nav {
    display: none;
    gap: 1.5rem;
}

.nav-link {
    color: #a09ed8;
    transition: color 0.3s ease;
    font-weight: 600;
}

.nav-link:hover {
    color: #a09ed8;
}

@media (min-width: 768px) {
    .header-content {
        justify-content: space-between;
        padding: 0.4rem 0;
    }
    .nav {
        display: flex;
    }
}


/* Estilos do Banner Principal */
.banner-principal {
    background-image: url('mobile-banner.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    min-height: 30vh;
    padding: 5rem 0;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

/* Overlay sutil para garantir a legibilidade do texto na imagem */
.banner-principal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
   
    z-index: 1;
}

@media (min-width: 768px) {
    .banner-principal {
        background-image: url('desktop-banner.png');
    }
}

.banner-content {
    position: relative; 
    z-index: 10;
    text-align: center;
}

.banner-title {
    font-size: 2.5rem; 
    line-height: 1.1; 
    font-weight: 700;
    color: var(--white); 
    margin-bottom: 1rem;
}

.banner-title .banner-subtitle {
    color: var(--white); 
}

.banner-text {
    font-size: 1.125rem; 
    color: var(--white); 
    margin-bottom: 1.5rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .banner-title {
        font-size: 3.75rem; 
    }
}

.banner-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .banner-actions {
        flex-direction: row;
    }
}

.btn {
    padding: 0.6rem 1.25rem; 
    border-radius: 9999px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    width: auto;
    max-width: 100%;
}

@media (max-width: 639px) {
    .btn {
        width: 100%;
        max-width: 18rem; 
    }
}

@media (min-width: 640px) {
    .btn {
        width: auto;
        max-width: none;
    }
}

.btn-primary {
    background-color: var(--white);
    color: #a09ed8;
}

.btn-primary:hover {
    background-color: #a09ed8;
    color: var(--white);
}

.btn-secondary {
    border: 2px solid var(--white);
    color: var(--white);
    background-color: transparent;
}

.btn-secondary:hover {
    background-color: var(--white);
    color: #a09ed8;
}


/* Estilos de Seção Comum */
.section {
    padding: 2.5rem 0;
}

.section-vantagens {
    background-color: #a09ed8;
}


/* NOVO BANNER: Aplica o fundo de Banner na seção Cadastro */
.section-cadastro {
    background-image: url('perguntas.jpg'); 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
    position: relative; 
    padding: 4rem 0; /* Aumenta o padding para dar destaque */
}

/* Overlay para contraste na seção Cadastro */
.section-cadastro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
     
    z-index: 1;
}

/* REVERSÃO: Remove o banner da seção Quem Somos */
.section-quem-somos {
    background-color: #a09ed8; /* Reverte para fundo branco */
    padding: 2.5rem 0; /* Reverte para padding padrão */
    position: static;
}
/* O seletor .section-quem-somos::before foi removido */


/* NOVO BANNER: Aplica o fundo de Banner na seção FAQ */
.section-faq {
    background-image: url('perguntas.jpg'); 
    background-size: cover; 
    background-position: center center; 
    background-repeat: no-repeat; 
    position: relative; 
    padding: 4rem 0; /* Aumenta o padding para dar destaque */
}

/* Overlay para contraste na seção FAQ */
.section-faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
     
    z-index: 1;
}

@media (min-width: 768px) {
    /* Aplica o banner desktop para Cadastro e FAQ */
    .section-cadastro,
    .section-faq {
        background-image: url('perguntas.jpg');
    }
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem; 
}

/* ESTILOS DE COR DE TÍTULO PARA SEÇÕES COM FUNDO ESCURO (Cadastro e FAQ) */
.section-cadastro .section-title-dark,
.section-faq .section-title-dark {
    color: var(--white); /* Título em branco */
}
.section-cadastro .section-subtitle-dark,
.section-faq .section-subtitle-dark {
    color: var(--white);
    background-color: #a09ed8;
    border-radius: 0.5rem; /* Subtítulo em roxo claro */
}

/* ESTILOS DE COR DE TÍTULO PARA SEÇÕES COM FUNDO CLARO (Quem Somos - Revertido) */
.section-quem-somos .section-title-dark {
    color: white; /* Título escuro */
}
.section-quem-somos .section-subtitle-dark {
    color: var(--gray-600); /* Subtítulo escuro */
}


/* Estilos de Título Padrão */
.section-title {
    font-size: 1.875rem; 
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.125rem; 
    color: var(--white);
}

.section-title-dark {
    font-size: 1.875rem; 
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.section-subtitle-dark {
    font-size: 1.125rem;
    color: var(--white);
}

.text-center {
    text-align: center;
}

/* Estilos das Vantagens */
.vantagens-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .vantagens-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .vantagens-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.vantagem-card {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--purple-100);
}

.vantagem-icon-wrapper {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(to bottom right, var(--purple-100), var(--purple-200));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.vantagem-img {
    width: 1.5rem; 
    height: 1.5rem;
}

.vantagem-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #ea5ea1;
    margin-bottom: 0.75rem;
}

.vantagem-text {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.625;
}

/* Estilos do Formulário de Cadastro */
.cadastro-wrapper {
    max-width: 62rem;
    margin-left: auto;
    margin-right: auto;
    position: relative; /* Acima do overlay */
    z-index: 10;
}

.cadastro-form {
    /* Fundo do formulário deve ser claro para o texto escuro dentro dele */
    background-color: var(--gray-50);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.form-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    box-sizing: border-box;
}

.form-input:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    box-shadow: 0 0 0 2px #a09ed8;
    border-color: transparent;
}

.form-select {
    appearance: none;
}

.form-submit {
    margin-top: 2rem;
}

.btn-purple {
    width: 100%;
    background-color: #a09ed8;
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border-color: #f5f5f5;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-purple:hover {
    background-color: #ef8ad1;
}

.success-message {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f0fdf4;
    border: 1px solid #4ade80;
    color: #065f46;
    border-radius: 0.5rem;
}

.success-content {
    display: flex;
    align-items: center;
}

.success-img {
    width: 1.25rem; 
    height: 1.25rem; 
    margin-right: 0.5rem; 
}

.hidden {
    display: none;
}

/* Estilos da Seção Quem Somos (REVERTIDO PARA FUNDO CLARO) */
.quem-somos-wrapper {
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1; /* Z-index normalizado */
}

.quem-somos-card {
    background-color: var(--white);
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .quem-somos-card {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.quem-somos-text-area {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .quem-somos-text-area {
        padding: 3rem;
    }
}

.quem-somos-text {
    /* Mantido escuro para contraste com o card branco */
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.quem-somos-text:last-child {
    margin-bottom: 0;
}

.text-purple-highlight {
    color: #a09ed8;
    font-weight: 700;
}

.quem-somos-highlight-area {
    background-color: #ef8ad1;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .quem-somos-highlight-area {
        padding: 3rem;
    }
}

.highlight-content {
    text-align: center;
}

/* Área rosa da imagem */
.quem-somos-highlight-area {
    background-color: #ef8ad1;
    padding: 0; /* remove espaçamento interno */
    display: flex;
    align-items: stretch; /* garante que a imagem preencha toda a altura */
    justify-content: center;
}

/* Imagem dentro da área rosa */
.highlight-img-large {
    width: 100%;
    height: 100%;
    object-fit: cover; /* faz a imagem cobrir o espaço sem distorcer */
    margin: 0;
    border-radius: 0; /* remove as bordas arredondadas */
    display: block;
}

/* Responsividade */
@media (min-width: 768px) {
    .highlight-img-large {
        width: 100%; /* ocupa toda a largura da coluna */
        height: 100%; /* ocupa toda a altura disponível */
        object-fit: cover;
    }
}


.highlight-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #a09ed8;
    margin-bottom: 1rem;
}

.highlight-text {
    color: #a09ed8;
}

/* Estilos da Seção FAQ (COM BANNER) */
.faq-wrapper {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    position: relative; /* Acima do overlay */
    z-index: 10;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--gray-50);
    border-radius: 0.5rem;
}

.faq-button {
    width: 100%;
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    color: var(--gray-800);
    transition: color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
}

.faq-button:hover {
    color: #a09ed8;
}

.faq-icon-arrow {
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

/* Seta pura CSS (Arrow-shape) */
.arrow-shape {
    display: block;
    width: 0.625rem; 
    height: 0.625rem;
    border-right: 2px solid var(--gray-700); 
    border-bottom: 2px solid var(--gray-700);
    transform: rotate(45deg); 
    transition: all 0.3s ease;
}

/* Rotação e cor da seta ao abrir o FAQ (controlada pelo JS) */
.faq-button[aria-expanded="true"] .faq-icon-arrow {
    transform: rotate(180deg);
}

.faq-button:hover .faq-icon-arrow .arrow-shape {
    border-color: #a09ed8; 
}

.faq-content {
    padding: 0 1.5rem 1rem 1.5rem;
}

.faq-text {
    color: var(--gray-600);
    font-size: 1rem; 
}

/* Estilos da Seção de Contato WhatsApp */
.section-contato {
    background-color: #a09ed8;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 40vh; 
    padding: 3rem 0; 
    display: flex; 
    align-items: center; 
}

/* Elementos decorativos (mantidos) */
.section-contato::before,
.section-contato::after {
    content: '';
    position: absolute;
    opacity: 0.1;
    filter: blur(2rem);
    border-radius: 9999px;
    z-index: 0;
}

.section-contato::before {
    top: 2.5rem; left: 2.5rem;
    width: 8rem; height: 8rem;
    background-color: var(--white);
    filter: blur(1.5rem);
}

.section-contato::after {
    bottom: 2.5rem; right: 2.5rem;
    width: 10rem; height: 10rem;
    background-color: #a09ed8;
    filter: blur(2rem);
}

.contato-content {
    position: relative;
    z-index: 10;
}

.contato-wrapper {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.contato-header {
    margin-bottom: 3rem;
}

.contato-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5rem;
    height: 5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.contato-img {
    width: 2.5rem; 
    height: 2.5rem;
}

.contato-title {
    font-size: 2.5rem; 
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.contato-text-subtitle {
    font-size: 1.125rem; 
    color: var(--white);
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

.contato-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .contato-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contato-cta {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.whatsapp-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(to right, var(--green-500), var(--green-600));
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

.whatsapp-img {
    width: 2rem;
    height: 2rem;
}

.cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
}

.cta-text {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(to right, var(--green-500), var(--green-600));
    color: var(--white);
    padding: 0.6rem 1.25rem; 
    border-radius: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp:hover {
    background: linear-gradient(to right, var(--green-600), var(--green-700));
}

.whatsapp-btn-img {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    
}

.contato-info-list {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contato-info-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.info-card-icon-wrapper {
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.info-card-emoji {
    font-size: 1.5rem;
}

.info-card-title {
    color: var(--white);
    font-weight: 600;
}

.info-card-text {
    color: var(--purple-100);
    font-size: 0.875rem;
}

/* Estilos do Rodapé */
.footer {
    background-color: var(--gray-800);
    color: var(--white);
    padding: 0.5rem 0;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: var(--gray-400);
}