body {
    font-family: Arial, sans-serif;
    background-color: #f4f7f6; /* Cor padrão inicial */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    color: #333;
    /* Faz com que a mudança de cor leve 0.5 segundos e seja suave */
    transition: background-color 0.5s ease; 
}

.container {
    width: 100%;
    max-width: 800px;
    padding: 20px;
}

/* --- Estilos do Ecrã Inicial --- */
#intro-container {
    text-align: center;
}

#intro-container h1 {
    color: #28a745;
    font-size: 36px;
    margin-bottom: 40px;
    line-height: 1.3;
}

#start-btn {
    padding: 15px 40px;
    font-size: 20px;
    font-weight: bold;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 30px; /* Formato de pílula */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

#start-btn:hover {
    background-color: #218838;
    transform: scale(1.05);
}

/* --- Restantes estilos que já tínhamos --- */
#quiz-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

#quiz-content {
    flex: 1;
}

#section-title {
    text-align: center;
    color: #28a745;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 10px;
}

h2 {
    color: #333;
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.4;
}

.hidden {
    display: none !important;
}

.nav-btn {
    min-width: 60px;      /* Substituímos 'width' por 'min-width' */
    padding: 0 20px;      /* Dá espaço nas laterais para o texto respirar */
    height: 60px;
    border-radius: 30px;  /* Mudamos de 50% para 30px (cria o efeito de pílula em vez de oval) */
    background-color: #28a745;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 20px;      /* Reduzi de 24px para o texto caber mais elegante */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    flex-shrink: 0;
    white-space: nowrap;  /* Garante que o texto fica numa só linha e não quebra */
}

.nav-btn:hover {
    background-color: #218838;
    transform: scale(1.05);
}

.option {
    margin: 15px 0;
    font-size: 18px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.option input {
    margin-right: 15px;
    transform: scale(1.3);
    cursor: pointer;
}

#result-container {
    text-align: center;
}

#final-score {
    color: #28a745;
    font-size: 60px;
    margin: 20px 0;
}

/* --- REGRAS PARA TELEMÓVEL (Design Responsivo) --- */
@media (max-width: 600px) {
    .container {
        padding: 10px;
    }

    #intro-container h1 {
        font-size: 26px; 
        margin-bottom: 30px;
    }

    #quiz-container {
        gap: 10px; 
        flex-direction: row; 
        align-items: center;
    }

    .nav-btn {
        min-width: 45px;  
        height: 45px;
        font-size: 15px; /* Letra um bocadinho mais pequena para o botão caber em ecrãs estreitos */
        padding: 0 15px;
    }

    h2 {
        font-size: 18px; 
        text-align: center;
    }

    .option {
        font-size: 16px; 
        padding: 10px;
        background: #ebefee; 
        border-radius: 8px;
    }

    #start-btn {
        width: 100%; 
        font-size: 18px;
    }
    
    #final-score {
        font-size: 45px; 
    }
} 

/* --- ESTILOS DO CÍRCULO DE RESULTADO --- */
.score-circle-container {
    position: relative;
    width: 100px; 
    height: 100px;
    margin: 30px auto; 
}

.score-svg {
    width: 100%;  
    height: 100%;
    transform: rotate(-90deg); 
    display: block;
}

.score-svg circle {
    fill: none; 
    stroke-width: 16; 
    stroke-linecap: round;
}

.bg-circle {
    stroke: #e6e6e6; 
}

.progress-circle {
    stroke-dasharray: 440 440; 
    stroke-dashoffset: 440; 
    stroke: #28a745;
    transition: stroke-dashoffset 1.5s ease-out, stroke 1s ease;
}

.score-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#final-score {
    font-size: 28px; 
    color: #333;
    margin: 0;
}

.score-scale {
    font-size: 12px; 
    color: #666;
    margin: 0;
    font-weight: bold;
}

/* --- ANIMAÇÃO DO PLANETA E EDIFÍCIO --- */
.planet-container {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 40px auto 20px auto;
    display: flex;
    justify-content: center;
    align-items: flex-end; 
}

.css-planet {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: #2b7095; 
    position: absolute;
    bottom: 0;
    overflow: hidden;
    box-shadow: inset -20px -20px 40px rgba(0,0,0,0.6), 
                inset 10px 10px 20px rgba(255,255,255,0.2), 
                0 10px 20px rgba(0,0,0,0.3);
}

.landmass {
    width: 400px; 
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 60%, #468c5b 25px, transparent 26px),
        radial-gradient(circle at 40% 30%, #468c5b 35px, transparent 36px),
        radial-gradient(circle at 70% 70%, #468c5b 30px, transparent 31px),
        radial-gradient(circle at 90% 40%, #468c5b 40px, transparent 41px);
    background-size: 200px 100%;
    opacity: 0.85;
    animation: spinPureCSS 8s linear infinite;
}

@keyframes spinPureCSS {
    0% { transform: translateX(0); }
    100% { transform: translateX(-200px); }
}

/* =========================================================
   EDIFÍCIO FEUC 100% CSS ART (Versão Realista)
   ========================================================= */

.css-building {
    position: absolute;
    bottom: 165px; 
    z-index: 10;
    display: flex;
    align-items: flex-end;
    filter: drop-shadow(0 12px 8px rgba(0,0,0,0.5)); 
}

:root {
    --b-pink: #d89f8d; /* Rosa velho mais realista da fachada */
    --b-roof: #3b424c; /* Ardósia escura do telhado */
    --b-trim: #e8e3d3; /* Pedra clara das molduras */
    --b-win:  #222b2e; /* Vidro escuro/esverdeado das janelas */
    --b-wood: #4a2c17; /* Madeira da porta central */
}

/* Corpo central do palacete */
.main-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Telhado central com formato trapezoidal */
.roof {
    width: 95px;
    height: 32px;
    background: var(--b-roof);
    clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
    border-bottom: 3px solid var(--b-trim);
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
    padding-bottom: 4px;
    box-sizing: border-box;
}

/* Mansardas (janelas no telhado) */
.dormer {
    width: 10px;
    height: 14px;
    background: var(--b-win);
    border: 2px solid var(--b-trim);
    border-radius: 5px 5px 0 0;
    position: relative;
}

/* Fachada principal com 2 andares */
.facade {
    width: 85px;
    height: 75px;
    background: var(--b-pink);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 2px solid var(--b-trim);
    border-bottom: none;
    padding: 8px 0 0 0;
    box-sizing: border-box;
    position: relative;
}

.floor {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-end;
    width: 100%;
}

.top-floor {
    margin-bottom: 6px;
}

/* Janelas com arco romano e moldura de pedra */
.window, .door {
    background: var(--b-win);
    border: 2px solid var(--b-trim);
    border-radius: 6px 6px 0 0; 
    position: relative;
    overflow: hidden;
}

.window {
    width: 12px;
    height: 20px;
}

/* Caixilharia branca (cruz) nos vidros das janelas */
.window::before {
    content: ''; position: absolute;
    top: 0; left: 50%; width: 2px; height: 100%;
    background: var(--b-trim); transform: translateX(-50%);
}
.window::after {
    content: ''; position: absolute;
    top: 50%; left: 0; width: 100%; height: 2px;
    background: var(--b-trim); transform: translateY(-50%);
}

/* Varanda central no 1º andar */
.balcony-win {
    height: 24px;
    width: 14px;
    border-radius: 7px 7px 0 0;
    overflow: visible; /* Permite que a varanda saia para fora */
}

.balcony {
    position: absolute;
    bottom: -5px;
    left: -8px;
    width: 26px;
    height: 8px;
    background: var(--b-trim);
    border-radius: 3px;
    box-shadow: 0 3px 5px rgba(0,0,0,0.4);
    border: 1px solid #d0c9b5;
    z-index: 5;
    /* Detalhe do gradeamento */
    background-image: repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(0,0,0,0.2) 2px, rgba(0,0,0,0.2) 4px);
}

/* Porta central em madeira */
.door {
    width: 16px;
    height: 28px;
    background: var(--b-wood);
    border-radius: 8px 8px 0 0;
    box-shadow: inset 0 0 0 2px rgba(0,0,0,0.3);
}

.door::before, .door::after {
    display: none; /* Remove a cruz da janela na porta */
}

/* Torre do lado direito */
.tower {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-left: -5px; /* Encosta perfeitamente ao corpo principal */
    z-index: 1;
}

.tower-top {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Gradeamento plano no topo da torre */
.railing {
    width: 28px;
    height: 6px;
    border: 2px solid var(--b-trim);
    border-bottom: none;
    background: repeating-linear-gradient(90deg, transparent, transparent 2px, var(--b-trim) 2px, var(--b-trim) 4px);
    box-sizing: border-box;
}

.tower-roof-mansard {
    width: 38px;
    height: 22px;
    background: var(--b-roof);
    clip-path: polygon(15% 0, 85% 0, 100% 100%, 0 100%);
    border-bottom: 2px solid var(--b-trim);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 2px;
    box-sizing: border-box;
}

.tower-body {
    width: 32px;
    height: 75px; 
    background: var(--b-pink);
    border: 2px solid var(--b-trim);
    border-bottom: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    box-sizing: border-box;
}

.door.narrow {
    width: 12px;
    height: 22px;
    background: var(--b-wood);
}

/* Escadaria/Base que une todo o palacete */
.building-base {
    position: absolute;
    bottom: -6px;
    left: -10%;
    width: 120%;
    height: 8px;
    background: var(--b-trim);
    border-radius: 2px;
    z-index: 3;
    box-shadow: inset 0 -3px 0 rgba(0,0,0,0.15), 0 5px 5px rgba(0,0,0,0.3);
}

@media (max-width: 600px) {
    .planet-container {
        transform: scale(0.85); 
        margin-top: 10px;
    }
}

/* =========================================================
   LOGÓTIPO FEUC & NOTAS
   ========================================================= */

.logo-fixo {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    font-family: 'Trebuchet MS', 'Segoe UI', Arial, sans-serif;
    pointer-events: none; 
}

.logo-ano {
    color: #666;
    font-size: 12px;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
}

.logo-flex {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-caixa {
    background-color: #d1232a; 
    color: white;
    font-weight: bold;
    font-size: 24px;
    padding: 2px 10px 6px 10px;
    letter-spacing: -0.5px;
}

.logo-texto {
    color: #d1232a;
    font-size: 14px;
    line-height: 1.1;
}

@media (max-width: 600px) {
    .logo-fixo {
        bottom: 10px;
        left: 10px;
        transform: scale(0.65); 
        transform-origin: bottom left;
    }
}

.score-explanation {
    font-size: 14px;
    color: #555;
    max-width: 320px; 
    margin: 15px auto; 
    line-height: 1.5;
}


/* =========================================================
   DESENHO CSS: PLANETA E PESSOA A ANDAR (Categorias)
   ========================================================= */

#quiz-graphic-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; /* Encosta os elementos ao fundo */
    width: 100%;
    height: 130px; /* Altura do contentor do desenho */
    margin-bottom: -15px; /* Aproxima o desenho do título da secção */
    position: relative;
}

/* --- Continentes do Planeta Pequeno (Agora a rodar!) --- */
/* --- Continentes do Planeta Pequeno (Cópia exata do grande, mas à escala) --- */
/* --- Continentes do Planeta Pequeno (Rotação 100% fluida) --- */
.static-landmass {
    width: 100%; /* Já não precisa de ser mais largo que o planeta */
    height: 100%;
    opacity: 0.85;
    background-image: 
        radial-gradient(circle at 20% 60%, #468c5b 9px, transparent 10px),
        radial-gradient(circle at 40% 30%, #468c5b 13px, transparent 14px),
        radial-gradient(circle at 70% 70%, #468c5b 11px, transparent 12px),
        radial-gradient(circle at 90% 40%, #468c5b 14px, transparent 15px);
    background-size: 72px 100%; 
    animation: spinSmallPlanet 8s linear infinite; 
}

/* --- KEYFRAMES: Animação de rotação sem cortes --- */
@keyframes spinSmallPlanet {
    0% { background-position: 0 0; }
    /* Em vez de mover o elemento, fazemos deslizar apenas a "pintura" do fundo */
    100% { background-position: -72px 0; } 
}


/* =========================================================
   DESENHO CSS: PLANETA E PESSOA PARADA (Categoria Mobilidade)
   ========================================================= */

#quiz-graphic-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end; 
    width: 100%;
    height: 120px; 
    /* CORREÇÃO: Margem positiva para afastar o planeta do texto "MOBILIDADE" */
    margin-bottom: 15px; 
    position: relative;
}

/* --- PLANETA (Mais pequeno) --- */
.static-planet {
    width: 65px;  /* Tamanho reduzido */
    height: 65px;
    border-radius: 50%;
    background-color: #2b7095; 
    position: relative;
    overflow: hidden;
    box-shadow: inset -8px -8px 15px rgba(0,0,0,0.5), 
                0 4px 8px rgba(0,0,0,0.2);
    z-index: 1;
}

.static-landmass {
    width: 100%;
    height: 100%;
    opacity: 0.85;
    background-image: 
        radial-gradient(circle at 20% 60%, #468c5b 12px, transparent 13px),
        radial-gradient(circle at 45% 35%, #468c5b 16px, transparent 17px),
        radial-gradient(circle at 75% 70%, #468c5b 14px, transparent 15px),
        radial-gradient(circle at 90% 40%, #468c5b 15px, transparent 16px);
}

/* --- PESSOA PARADA E REALISTA --- */
.static-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

/* Cabeça */
.static-person .head {
    width: 12px;
    height: 14px;
    background-color: #f1c27d; /* Tom de pele */
    border-radius: 50% 50% 40% 40%; /* Formato ligeiramente oval */
    margin-bottom: 1px;
    box-shadow: inset -2px -2px 4px rgba(0,0,0,0.2); /* Sombra 3D */
}

/* Tronco vermelho (com braços) */
.static-person .torso {
    width: 16px;
    height: 20px;
    background-color: #d1232a; /* Camisola vermelha */
    border-radius: 5px 5px 2px 2px; /* Ombros arredondados */
    box-shadow: inset -2px -2px 5px rgba(0,0,0,0.2);
    position: relative;
    z-index: 2;
}

/* Braços laterais criados a partir do tronco */
.static-person .torso::before,
.static-person .torso::after {
    content: '';
    position: absolute;
    top: 1px;
    width: 5px;
    height: 18px;
    background-color: #b51c22; /* Vermelho mais escuro para os braços */
    border-radius: 3px;
}
.static-person .torso::before { left: -4px; transform: rotate(4deg); }
.static-person .torso::after { right: -4px; transform: rotate(-4deg); }

/* Pernas castanhas */
.static-person .legs {
    display: flex;
    gap: 2px; /* Espaço entre as pernas */
    margin-top: -1px;
    z-index: 1;
}

.static-person .leg {
    width: 7px;
    height: 22px;
    background-color: #6b4423; /* Calças castanhas */
    border-radius: 2px;
    box-shadow: inset -1px -2px 3px rgba(0,0,0,0.3);
}

/* =========================================================
   FIGURAS DAS CATEGORIAS (CSS ART)
   ========================================================= */

.figure-wrapper {
    position: absolute;
    bottom: 60px; /* Pousado no topo do planeta */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 10;
}

/* --- 2. ALIMENTAÇÃO (Árvore com Maçãs) --- */
#fig-alimentacao { flex-direction: column; align-items: center; }
.tree-trunk { width: 10px; height: 22px; background-color: #6b4423; border-radius: 2px; }
.tree-leaves { position: absolute; bottom: 15px; width: 40px; height: 40px; background-color: #3b8e4e; border-radius: 50%; box-shadow: inset -4px -4px 6px rgba(0,0,0,0.2); }
.apple { position: absolute; width: 6px; height: 6px; background-color: #dc3545; border-radius: 50%; box-shadow: inset -1px -1px 2px rgba(0,0,0,0.3); }
.apple.a1 { top: 8px; left: 8px; }
.apple.a2 { top: 14px; right: 8px; }
.apple.a3 { bottom: 8px; left: 16px; }

/* --- 3. CONSUMO E VESTUÁRIO (Estendal) --- */
#fig-consumo { width: 70px; height: 35px; justify-content: space-evenly; align-items: flex-start; }
.clothesline { position: absolute; top: 2px; left: -10px; width: 90px; height: 10px; border-bottom: 1.5px solid #fff; border-radius: 50%; z-index: 0; }
.tshirt { width: 16px; height: 20px; border-radius: 2px; position: relative; z-index: 1; margin-top: 5px; box-shadow: inset -2px -2px 4px rgba(0,0,0,0.2); }
.tshirt::before, .tshirt::after { content: ''; position: absolute; top: 1px; width: 6px; height: 8px; border-radius: 2px; }
.tshirt::before { left: -4px; transform: rotate(20deg); }
.tshirt::after { right: -4px; transform: rotate(-20deg); }
.orange-shirt, .orange-shirt::before, .orange-shirt::after { background-color: #fd7e14; }
.purple-shirt, .purple-shirt::before, .purple-shirt::after { background-color: #6f42c1; }

/* --- 4. HÁBITOS DE ESTUDO (Portátil e Livro) --- */
/* --- 4. HÁBITOS DE ESTUDO (Apenas Portátil Centrado) --- */
#fig-estudo { 
    /* Removemos o gap porque só há um item */
    margin-bottom: 2px; 
    display: flex;
    justify-content: center; /* Garante que o item único fica centrado na sua caixa */
    width: 30px; /* Define uma largura base para a caixa da figura para ajudar no centramento global */
}
.laptop { 
    position: relative; 
    width: 24px; 
    height: 16px; 
    background-color: #333; 
    border: 2px solid #adb5bd; 
    border-radius: 3px 3px 0 0; 
    box-sizing: border-box; 
    z-index: 2;
}
.laptop::after { 
    content: ''; 
    position: absolute; 
    bottom: -4px; 
    left: -4px; 
    width: 28px; 
    height: 4px; 
    background-color: #adb5bd; 
    border-radius: 0 0 3px 3px; 
}
/* Estilos do livro removidos */

/* --- 5. LAZER (Garrafa e Tremoços) --- */
/* --- 5. LAZER (Garrafa e Tremoços) --- */
#fig-lazer { 
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: -5px; /* Pousa os elementos perfeitamente no topo do planeta */
}
.beer-bottle { 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    position: relative;
    z-index: 10; /* Garrafa fica à frente */
    margin-right: -16px; /* Puxa a garrafa para a direita, sobrepondo o prato */
}
.bottle-neck { 
    width: 6px; 
    height: 12px; 
    background-color: #8b4513; 
    border-radius: 2px 2px 0 0; 
    position: relative; 
}
.bottle-neck::before { 
    content: ''; 
    position: absolute; 
    top: -2px; 
    left: -1px; 
    width: 8px; 
    height: 3px; 
    background-color: #5c2d0c; 
    border-radius: 2px; 
}
.bottle-body { 
    width: 16px; 
    height: 24px; 
    background-color: #8b4513; 
    border-radius: 4px 4px 2px 2px; 
    position: relative; 
    box-shadow: inset -3px -3px 4px rgba(0,0,0,0.4); 
    overflow: hidden; 
}
.bottle-label { 
    position: absolute; 
    top: 6px; 
    left: 0; 
    width: 100%; 
    height: 10px; 
    background-color: #dc3545; 
}
.plate-container { 
    display: flex; 
    flex-direction: column; 
    align-items: flex-end; /* Encosta os tremoços ao lado direito do prato */
    position: relative;
    z-index: 5; /* Prato fica atrás da garrafa */
    margin-bottom: 2px; /* Levanta ligeiramente o prato para acompanhar a curva do planeta */
}
.tremocos { 
    display: flex; 
    justify-content: flex-end;
    width: 100%; 
    gap: 2px; 
    margin-bottom: -4px; /* Desce os tremoços para o fundo do prato */
    padding-right: 4px; /* Não os deixa colar à margem direita do prato */
    box-sizing: border-box;
    z-index: 2; 
    position: relative; 
}
.tremoco { 
    width: 5px; 
    height: 5px; 
    background-color: #ffc107; 
    border-radius: 50%; 
    box-shadow: inset -1px -1px 2px rgba(0,0,0,0.2); 
}
.plate { 
    width: 26px; 
    height: 8px; 
    background-color: #f8f9fa; 
    border-radius: 50%; 
    box-shadow: 0 2px 3px rgba(0,0,0,0.2); 
    z-index: 1; 
    border: 1px solid #e0e0e0;
}


/* --- 6. ATIVIDADES EXTRACURRICULARES (Bola e Pincel) --- */
/* --- 6. ATIVIDADES EXTRACURRICULARES (Apenas Bola de Futebol Centrada) --- */
#fig-extracurriculares { 
    gap: 0; /* Removemos o gap porque só há um item */
    margin-bottom: 2px; 
    display: flex;
    justify-content: center; /* Garante que a bola fica centrada na sua caixa */
    width: 30px; /* Define uma largura base para ajudar no centramento global */
}

.sports-ball { 
    width: 20px; 
    height: 20px; 
    background-color: #fff; /* Base branca da bola de futebol */
    border-radius: 50%; 
    border: 1px solid #ccc; /* Borda cinza clara */
    position: relative; 
    box-shadow: inset -2px -2px 4px rgba(0,0,0,0.1),
                0 2px 3px rgba(0,0,0,0.2); 
    overflow: hidden; 
    
    /* Criar o padrão de bola de futebol com gradientes */
    background-image: 
        radial-gradient(circle at 50% 50%, #333 25%, transparent 26%), /* Gomo central */
        radial-gradient(circle at 10% 20%, #333 20%, transparent 21%),
        radial-gradient(circle at 90% 20%, #333 20%, transparent 21%),
        radial-gradient(circle at 10% 80%, #333 20%, transparent 21%),
        radial-gradient(circle at 90% 80%, #333 20%, transparent 21%);
}

/* Removemos os pseudoelementos ::before e ::after que faziam as linhas do basquete */
.sports-ball::before,
.sports-ball::after {
    display: none;
}

/* Estilos do pincel removidos */


/* =========================================================
   LAYOUT DO RESULTADO FINAL E SUGESTÕES
   ========================================================= */

.result-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    margin-top: 20px;
    text-align: left;
}

.score-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 350px;
}

/* Tabela de Sugestões */
.suggestions-section {
    flex: 1.5;
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-width: 450px;
}

.suggestions-section h3 {
    color: #d1232a;
    margin-top: 0;
    margin-bottom: 5px;
    font-size: 22px;
}

.suggestions-subtext {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}

#suggestions-list {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#suggestions-list li {
    font-size: 14px;
    line-height: 1.5;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eaeaea;
}

#suggestions-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Regra para empilhar em telemóveis */
@media (max-width: 768px) {
    .result-layout {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}