/* --- ESTILOS GLOBAIS --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #f4f6f8;
    color: #333;
    line-height: 1.6;
}

/* --- LOGOS --- */
.logo, .logosenai {
    position: absolute;
    top: 25px;
    left: 150px;
    z-index: 10;
}

.logo img, .logosenai img {
    display: block;
    width: 150px;
    height: auto;
}

.btn-fechar {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    color: #a0aab2;
    cursor: pointer;
}

.btn-fechar:hover {
    color: white;
}

/* --- CONTEÚDO PADRÃO --- */
.conteudo {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative; 
    z-index: 2; /* Garante que o bloco branco fique acima dos emojis */
}

.conteudo h2 {
    color: #1e2022;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.conteudo img {
    border-radius: 12px; /* Quebra a rigidez de imagens dentro do texto */
}

/* --- PÁGINA DE ATRAÇÕES (Estrutura em Grid/Lista) --- */
.periodo-bloco {
    margin-bottom: 30px;
}

.periodo-bloco h3 {
    background-color: #333940;
    color: #fff;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.turma-bloco {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    border-bottom: 4px solid #0056b3; 
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
}

.turma-bloco:hover {
    transform: translateY(-5px); /* Efeito de levantar */
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.turma-bloco h4 {
    color: #0056b3;
    margin-bottom: 5px;
}

.turma-bloco ul {
    list-style-type: square;
    margin-left: 20px;
    color: #555;
}

/* --- LAYOUT DIVIDIDO (Texto de um lado, Imagem do outro) --- */
.layout-dividido {
    display: flex;
    gap: 40px;
    align-items: center; 
}

.texto-metade {
    flex: 1;
}

.imagem-metade {
    flex: 1;
}

.imagem-metade img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1); 
    object-fit: cover;
}

/* --- BOTÕES DE CHAMADA PARA AÇÃO (CTA) --- */
.btn-cta {
    display: inline-block;
    background-color: #ff7300; 
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 15px;
    font-size: 10px;
    font-weight: bold;
    margin-top: 25px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background-color: #e66600; 
    transform: translateY(-4px); 
    box-shadow: 0 8px 20px rgba(255, 115, 0, 0.4);
    color: white;
}

/* --- FORMULÁRIO DE FEEDBACK --- */
.conteudo form {
    max-width: 600px; /* Limita o crescimento do formulário no PC */
    margin: 0 auto; /* Centraliza o formulário dentro da caixa branca */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.pergunta-titulo {
    display: block;
    font-size: 1.15rem;
    color: #b33600; 
    font-weight: bold;
    border-bottom: 2px solid #ef9d77; 
    padding-bottom: 8px;
    margin-bottom: 12px;
    background: transparent; 
    border-left: none;
    border-right: none;
    border-top: none;
    border-radius: 15px;
}

input[type="text"], select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
}

.radio-group input[type="radio"] {
    display: none; /* Oculta a bolinha padrão */
}
/* Container para deixar as opções lado a lado */
.opcoes-container {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; 
    justify-content: center; /* Mudou de space-between para flex-start (alinha tudo à esquerda) */
}

/* Transformando APENAS as labels de resposta em botões */
.opcoes-container label {
    flex: 1 1 120px; 
    max-width: 160px; /* Reduzimos levemente a largura máxima para ficarem mais delicados */
    text-align: center;
    font-size: 1rem;
    padding: 10px; /* Reduzido de 12px para 10px para não ficarem tão altos */
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #fdfdfd;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #555; 
}

.opcoes-container input[type="radio"]:checked + label {
    background-color: #0056b3;
    color: white;
    border-color: #0056b3;
    transform: scale(1.05); 
    box-shadow: 0 4px 10px rgba(0, 86, 179, 0.3);
}

input[type="submit"] {
    background-color: #ff7300; 
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
    width: 100%;
    margin-top: 10px;
}

input[type="submit"]:hover {
    background-color: #e66600; 
    transform: scale(1.02);
}

/* --- BANNER E EFEITO DE VÉU ESCURO --- */
.imagem-com-veu {
    position: relative;
    width: 100%;
    background-color: #000;
}

.imagem-com-veu img {
    display: block;
    width: 100%;
    height: 45vh; 
    object-fit: cover;
}

.imagem-com-veu::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.8)); 
    pointer-events: none;
}

#cabecalho {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%); 
    font-family: 'Abril Fatface', serif;
    font-size: 100px;
    color: #ffffff; 
    text-align: center;
    width: 100%;
    opacity: 0;
    animation: fadeUp 1s ease-out forwards; 
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

/* --- MENU LATERAL --- */
.menu-lateral {
    position: fixed;
    z-index: 9999;
    height: 100vh;
    width: 260px;
    top: 0;
    left: 0;
    background-color: rgba(30, 32, 34, 0.85); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding-top: 100px;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    gap: 15px; 
}

.menu-lateral.aberto {
    transform: translateX(0);
}

.menu-lateral a {
    padding: 10px 30px;
    text-decoration: none;
    font-size: 18px;
    color: #a0aab2;
    display: block;
    transition: 0.2s;
}

.menu-lateral a:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1); 
}

.btn-abrir {
    position: fixed;
    top: 20px;
    left: 15px;
    z-index: 9998;
    background-color: #333940;
    color: white;
    padding: 10px 15px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-abrir:hover {
    background-color: #4a535c;
    transform: scale(1.05); 
}

/* --- ANIMAÇÃO NO FUNDO (EMOJIS) --- */
#animacao-sorvetes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; 
    z-index: -1; 
    overflow: hidden;
}

.sorvete-animado {
    position: absolute;
    bottom: -50px;
    opacity: 0.8;
    animation: flutuar linear forwards;
}

@keyframes flutuar {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(-110vh) rotate(360deg); opacity: 0; }
}
/* --- RODAPÉ (FOOTER) CLARO --- */
.site-footer {
    background-color: #ffffff; /* Fundo branco, sólido e limpo */
    color: #333333; /* Texto escuro para facilitar a leitura */
    margin-top: auto; 
    padding: 15px 5% 5px 5%; 
    border-top: 3px solid #0044ff; /* Detalhe laranja vibrante no topo */
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.05); /* Sombra bem suave */
    position: relative;
    z-index: 10; /* Mantém o footer acima dos emojis */
    font-family: 'Arial', sans-serif;
    margin-bottom: 0 !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr; 
    gap: 15px; 
    max-width: 800px; 
    margin: 0 auto; 
    align-items: center; 
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Linha divisória bem suave */
}

.footer-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-logo-img {
    max-width: 70px; 
    height: auto;
    object-fit: contain;
}

.footer-col h4 {
    font-size: 0.85rem; 
    color: #0022ff; /* Títulos em Laranja */
    margin-top: 0;
    margin-bottom: 6px; 
    font-weight: 700;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 3px; 
    padding: 0;
    margin: 0;
}

.footer-links li {
    font-size: 0.7rem; 
}

.footer-links a {
    color: #555555; /* Links em cinza chumbo */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: #2600ff; /* Laranja ao passar o mouse */
    transform: translateX(3px); /* Efeito do link indo para o lado */
}

.footer-bottom {
    text-align: center;
    padding-top: 5px;
    margin-top: 10px; 
    font-size: 0.65rem; 
    color: #777777; /* Texto de direitos autorais mais discreto */
    border-top: none; 
}

.footer-bottom p { margin: 0; }
.footer-bottom strong { color: #333333; font-weight: 700; }

/* --- RESPONSIVIDADE (Celulares e Tablets) --- */
@media screen and (max-width: 768px) {
    #cabecalho {
        font-size: 45px; 
    }

    .logo, .logosenai {
        left: 50%;
        transform: translateX(-50%);
        top: 60px; 
    }

    .conteudo {
        margin: 90px 15px 20px 15px; 
        padding: 20px 15px; 
    }

    /* Ajuste para o layout dividido no celular */
    .layout-dividido {
        flex-direction: column; 
        gap: 20px;
        text-align: center;
    }
    
    .imagem-metade {
        order: -1; 
    }
    
    .btn-cta {
        width: 100%; 
        text-align: center;
    }

    /* Formulário empilhado no celular */
   
    /* Formulário: Botões lado a lado no celular, mas em tamanho confortável */
    .opcoes-container {
        flex-direction: row; /* Mantém os botões lado a lado */
        flex-wrap: wrap; /* Permite quebrar a linha se a tela for muito pequena */
        gap: 10px; 
    }

    .opcoes-container label {
        width: auto; 
        flex: 1 1 45%; /* Faz cada botão ocupar cerca de metade da tela */
        max-width: none; 
        padding: 12px 10px; /* Reduz a altura (obesidade) do botão */
        font-size: 1rem; /* Volta o tamanho da fonte ao padrão normal */
    }

    .grid-cards {
        grid-template-columns: 1fr; 
    }
    
    input[type="submit"] {
        padding: 15px 25px;
        font-size: 18px;
    }
}

/* --- RESPONSIVIDADE EXTRA (Telas muito pequenas) --- */
@media screen and (max-width: 400px) {
    #cabecalho {
        font-size: 35px;
    }
    
    .conteudo h2 {
        font-size: 1.5rem; 
    }
}