/* Inclua aqui o CSS do arquivo html_20250527_db89e6.html */
/* E adicione estilos para os templates do WordPress */

.s4a4-intro,
.s4a4-game,
.s4a4-final {
    margin: 0 auto;
}
.s4a4-intro p:not(.has-background):last-of-type,
.s4a4-game p:not(.has-background):last-of-type,
.s4a4-final p:not(.has-background):last-of-type{
    text-align: left !important;
}
.s4a4-btn {
    width:260px!important;
    border: 0;
    border-radius: 12px;
    background: #F47600;
    display: flex;
    height: 56px;
    padding: 0 20px;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: #F7FAFC;
    text-align: center;
    text-overflow: ellipsis;
    font-family: "Roboto Condensed";
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    transition: all 0.3s ease;
}

.s4a4-btn:hover {
    background: #CD6300;
    transform: scale(1.05);
}

/* Estilos do jogo interativo */
#s4a4-interactive-game {
    max-width: 800px;
    margin: 30px auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.pergunta {
    margin-bottom: 30px;
}

.pergunta h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 18px;
}

/* Opções de resposta */
.opcoes-forma,
.opcoes-limites,
.opcoes-cor,
.opcoes-opacidade,
.opcoes-movimento {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin: 20px 0 30px;
}

.opcao {
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background: white;
}

.opcao:hover {
    border-color: #3498db;
    transform: translateY(-2px);
}

.opcao.selecionada {
    border-color: #2ecc71;
    background: #f0fff4;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2);
}

/* Previews das opções */
.forma-preview {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    background: #3498db;
}

.circulo { border-radius: 50%; }
.quadrado { }
.retangulo {
    width: 70px;  /* Largura maior que altura */
    height: 40px;
    margin: 10px auto 20px;
}
/* Para o retângulo específico no preview */
.retangulo.forma-preview {
    width: 70px;
    height: 40px;
}
.triangulo { 
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
.pentagono { 
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.limite-preview {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    background: #f1c40f;
}

.limite-preview.solid { border: 3px solid #333; }
.limite-preview.dashed { border: 3px dashed #333; }
.limite-preview.none { border: none; }

.cor-preview {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    border-radius: 50%;
    border: 2px solid #ddd;
}

.opacidade-preview {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    background: #3498db;
    border: 2px solid #ddd;
}

.movimento-preview {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    border-radius: 50%;
    background: #9b59b6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Adicione a nova animação horizontal: */
@keyframes mover-horizontal {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(20px); }
}

@keyframes mover-horizontal-suave {
    0% { transform: translateX(-10px); }
    50% { transform: translateX(10px); }
    100% { transform: translateX(-10px); }
}

/* Atualize o estilo do preview de movimento: */
.movimento-preview.movimento {
    animation: mover-horizontal-suave 2s ease-in-out infinite;
}

/* Para a forma final em movimento: */
.em-movimento {
    animation: mover-horizontal 3s ease-in-out infinite;
}

/* Preview da forma final */
#preview-container {
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 10px;
    border: 2px dashed #ddd;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#forma-preview-final {
    transition: all 0.3s ease;
}

/* Botões */
.btn-continuar,
.btn-voltar,
#s4a4-submit-answer {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    margin: 10px 5px;
    background: #2ecc71;
    color: white;
}

.btn-continuar {
    background: #2ecc71;
    color: white;
}

.btn-continuar:hover:not(:disabled) {
    background: #27ae60;
}

.btn-continuar:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.btn-voltar {
    background: #95a5a6;
    color: white;
}

.btn-voltar:hover {
    background: #7f8c8d;
}

#s4a4-answer-form label {
    display: block;
    padding: 10px;
    margin: 5px 0;
    background: white;
    border-radius: 5px;
    cursor: pointer;
}

#s4a4-answer-form label:hover {
    background: #f8f9fa;
}

#s4a4-answer-form input[type="radio"] {
    margin-right: 10px;
}

/* Estilos específicos para cada forma */
.circulo { 
    border-radius: 50%; 
}

.quadrado { 
    /* Quadrado é o padrão, não precisa de estilo especial */
}

.retangulo { 
    width: 70px;
    height: 40px;
}

.triangulo { 
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.pentagono { 
    clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

/* Para o preview na pergunta */
.forma-preview.circulo { border-radius: 50%; }
.forma-preview.retangulo { width: 70px; height: 40px; }
.forma-preview.triangulo { clip-path: polygon(50% 0%, 0% 100%, 100% 100%); }
.forma-preview.pentagono { clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); }

/* Para o preview final (tamanhos diferentes) */
#forma-preview-final.circulo,
#forma-preview-final.quadrado,
#forma-preview-final.triangulo,
#forma-preview-final.pentagono {
    width: 150px;
    height: 150px;
}

#forma-preview-final.retangulo {
    width: 180px;
    height: 100px;
}