/* Configurações Globais e Body */
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: rgba(16, 23, 40);
    color: #fff;
    overflow-x: hidden;
}

.main-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-image: radial-gradient(circle at 85% 80%, rgba(28, 58, 152, 0.5), transparent 40%);
    background-repeat: no-repeat;
    padding: 2rem 2rem 0 2rem;
    position: relative;
    /* overflow: hidden; */
}

/* ... (código do header, botões, etc., permanece o mesmo) ... */

/* Cabeçalho e Logo */
.header {
    padding-bottom: 2rem;
}

.logo-placeholder {
    width: 180px;
    height: 50px;
    border: 1px dashed #444;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 5px;
}
.logo-placeholder p {
    margin: 0;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 1.1rem;
}
.logo-placeholder span {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #ccc;
}

/* Área de Conteúdo Principal */
.content-area {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.instruction-text {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* Grid de Botões */
.buttons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Estilo Base dos Botões */
.btn-custom {
    border-radius: 15px;
    padding: 1.2rem;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #3a4a6b;
    transition: transform 0.2s, box-shadow 0.2s;
    min-height: 120px;
    flex-wrap: wrap;
}

.btn-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    color: #fff;
}

/* Variações de Cor dos Botões */
.btn-green { background-color: rgb(41,167,26); border: none; font-size: 1.5rem; }
.btn-teal { background-color: rgb(0,164,166); border: none; }
.btn-dark-blue { background-color: transparent; }
.btn-dark { background-color: black; }
.btn-dark-white { background-color: white; color:black; }
.btn-orange { background-color: #ff6b35; border: none; }

/* Conteúdo dos Botões */
.btn-text { display: flex; flex-direction: column; }
.btn-text strong { font-size: 1.4rem; font-weight: 700; }
.btn-text span { font-size: 1.1rem; }
.btn-content-top { display: flex; justify-content: space-between; width: 100%; align-items: flex-start; }
.btn-content-top img { margin: 0 auto; }
.btn-dark { position: relative; }
.btn-dark .btn-content-top img { position: absolute; right: 1px; top: 50%; transform: translateY(-50%); }

.btn-teal { position: relative; }
.btn-teal .btn-content-top img { position: absolute; right: 1px; top: 50%; transform: translateY(-50%); }

.btn-text-left { display: flex; flex-direction: column; }
.btn-text-left strong { font-size: 1.2rem; }
.btn-text-left span { font-size: 0.9rem; }
.btn-text-column { display: flex; flex-direction: column; align-items: center; }
.btn-text-column strong { font-size: 1.3rem; }

/* Placeholders para imagens dentro dos botões */
.btn-icon-placeholder, .btn-image-placeholder { background-color: rgba(255, 255, 255, 0.1); border-radius: 5px; }
.btn-icon-placeholder { width: 50px; height: 50px; }
.small-icon { width: 30px; height: 30px; }
.car-icon { width: 60px; height: 25px; }
.small-img { width: 120px; height: 60px; border-radius: 10px; }
.medium-img { width: 100px; height: 80px; border-radius: 10px; align-self: flex-end; }
.small-img-alt { width: 60px; height: 80px; }

/* Elementos específicos de botões */
.with-bar { position: relative; padding-bottom: 2.5rem; overflow: hidden; }
.bottom-bar { position: absolute; bottom: 0; left: 0; width: 100%; background-color: #dc3545; text-align: center; padding: 0.3rem 0; font-size: 0.8rem; }
.btn-bottom-white { background-color: orangered; color: white; width: 100%; text-align: center; border-radius: 8px; padding: 0.5rem; margin-top: 1rem; }

/* Coluna da Imagem da Pessoa (Desktop) */
.person-column {
    position: relative;
    align-self: flex-end;
    height: 100%;
}
.person-image-container {
    position: absolute;
    bottom: -130px;
    right: 15%;
    width: 100%;
    max-width: 500px;
}
.person-placeholder {
    width: 100%;
    padding-top: 120%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: block; /* Garante que o placeholder seja renderizado */
}

/* Imagem da Pessoa (Mobile/Tablet) */
.person-mobile-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-separator {
    border: none;
    border-top: 1px solid #3a4a6b;
    width: 100vw;
    margin: calc(1rem - 17px) 0 0 -50vw;
    margin-left: calc(-50vw + 50%);
    opacity: 0.6;
}
.person-placeholder-mobile {
    width: 70%;
    max-width: 300px;
    padding-top: 80%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

/* Linha horizontal separadora */
.separator-line {
    border: none;
    border-top: 1px solid #494d54;
    margin: 2rem 0 0 0;
    opacity: 0.6;
}

/* NOVO: Estilo do Footer */
.page-footer {
    background-color: rgba(10, 15, 28, 0.8);
    padding: 0.8rem 0;
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 10;
}

.footer-text {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.study{
    color: rgb(237, 21, 102)
}

/* --- Media Queries para Responsividade --- */

@media (max-width: 991.98px) {
    .main-container {
        background-image: none;
        padding: 1.5rem 1.5rem 0 1.5rem;
    }
    .instruction-text {
        text-align: center;
    }
    .buttons-grid {
        grid-template-columns: 1fr;
        padding-bottom: 120px; /* Espaço para o footer */
    }

    /* Linha separadora no mobile */
    .separator-line {
        margin: 1.5rem 0 0 0;
    }
    
    /* Footer no mobile */
    .page-footer {
        padding: 0.8rem 0;
    }
    
    .footer-text {
        font-size: 0.8rem;
    }
}

@media (max-width: 575.98px) {
    .main-container {
        padding: 1rem 1rem 0 1rem;
    }
    .buttons-grid {
        gap: 1rem;
    }
    .btn-custom { 
        padding: 1rem; 
        min-height: 100px;
        flex-wrap: nowrap;
    }
    .btn-text strong { font-size: 1.1rem; }
    .btn-text span { font-size: 0.9rem; }
    .btn-text-column strong { font-size: 1.1rem; }
    .btn-text-column span { font-size: 0.9rem; }
    .btn-text-left strong { font-size: 1.1rem; }
    .btn-text-left span { font-size: 0.8rem; }
    .instruction-text { font-size: 1rem; margin-bottom: 1.5rem; }
    
    .footer-text {
        font-size: 0.75rem;
    }
    
    /* Ajustes específicos para imagens em mobile */
    .btn-custom img {
        max-width: 60px;
        height: auto;
    }
}
