* {

    margin: 0;
    padding: 0;
    box-sizing: border-box;

}


/* =========================
   CORPO DA PÁGINA
========================= */

body {

    font-family: Arial, sans-serif;

    background: #f4f7fb;
    color: #222;

    line-height: 1.6;

    transition: 0.3s;

    overflow-x: hidden;

}


/* =========================
   MENU DE ACESSIBILIDADE
========================= */

.accessibility-menu {

    width: 100%;

    background: rgba(11, 87, 208, 0.95);

    padding: 12px 15px;

    display: flex;

    justify-content: center;
    align-items: center;

    gap: 10px;

    flex-wrap: wrap;

    position: sticky;

    top: 0;

    z-index: 1000;

    backdrop-filter: blur(8px);

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);

}


/* =========================
   BOTÕES MENU
========================= */

.accessibility-menu button {

    border: none;

    background: white;
    color: #0b57d0;

    padding: 10px 16px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.3s;

    white-space: nowrap;

}


/* Hover */

.accessibility-menu button:hover {

    background: #dce7ff;

    transform: translateY(-2px);

}


/* Clique */

.accessibility-menu button:active {

    transform: scale(0.97);

}


/* =========================
   ÁREA PRINCIPAL
========================= */

.container {

    width: 90%;
    max-width: 1200px;

    margin: 40px auto;

}


/* =========================
   HERO
========================= */

.hero {

    text-align: center;

    margin-bottom: 40px;

}


.hero h1 {

    font-size: 42px;

    color: #0b57d0;

    margin-bottom: 20px;

}


.hero p {

    font-size: 18px;

    max-width: 800px;

    margin: auto;

}


/* =========================
   CARDS
========================= */

.card {

    background: white;

    padding: 30px;

    border-radius: 18px;

    margin-bottom: 30px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    transition: 0.3s;

}


/* Hover cards */

.card:hover {

    transform: translateY(-4px);

}


/* Títulos */

.card h2 {

    color: #0b57d0;

    margin-bottom: 15px;

}


/* Lista */

.card ul {

    padding-left: 20px;

}


.card li {

    margin-bottom: 10px;

}


/* =========================
   GRÁFICOS
========================= */

.chart {

    margin-top: 20px;

}


/* Barras */

.bar {

    padding: 12px;

    border-radius: 10px;

    color: white;

    font-weight: bold;

    margin-bottom: 15px;

}


/* Cores */

.visual {

    width: 85%;

    background: #0b57d0;

}

.auditiva {

    width: 60%;

    background: #4c8bf5;

}

.motora {

    width: 45%;

    background: #7aa7ff;

}

.cognitiva {

    width: 70%;

    background: #2d6cdf;

}


/* =========================
   BOTÃO VOLTAR
========================= */

.back-button {

    position: fixed;

    top: 20px;
    left: 20px;

    background: linear-gradient(135deg, #7b2ff7, #b84dff);

    color: white;

    text-decoration: none;

    padding: 12px 20px;

    border-radius: 14px;

    font-size: 14px;
    font-weight: 600;

    border: 1px solid rgba(255,255,255,0.2);

    backdrop-filter: blur(10px);

    box-shadow:
        0 0 10px rgba(123, 47, 247, 0.5),
        0 0 20px rgba(184, 77, 255, 0.4);

    transition: 0.3s;

    z-index: 2000;

}


/* Hover */

.back-button:hover {

    transform: translateY(-3px);

    box-shadow:
        0 0 15px rgba(123, 47, 247, 0.8),
        0 0 30px rgba(184, 77, 255, 0.7);

}


/* Mobile */

@media (max-width: 480px) {

    .back-button {

        top: 15px;
        left: 15px;

        padding: 10px 16px;

        font-size: 13px;

    }

}


/* Hover botão */

.back-button:hover {

    background: #0847aa;

    transform: translateY(-2px);

}


/* =========================
   DARK MODE
========================= */

.dark-mode {

    background: #111;

    color: white;

}


/* Cards dark */

.dark-mode .card {

    background: #1d1d1d;

    color: white;

}


/* =========================
   ALTO CONTRASTE
========================= */

.high-contrast {

    background: black;

    color: yellow;

}


.high-contrast .card {

    background: black;

    border: 2px solid yellow;

}


/* =========================
   FOCO ACESSÍVEL
========================= */

button:focus,
a:focus {

    outline: 3px solid #ffcc00;

    outline-offset: 3px;

}


/* =========================
   RESPONSIVIDADE TABLET
========================= */

@media (max-width: 768px) {

    .hero h1 {

        font-size: 32px;

    }

    .hero p {

        font-size: 16px;

    }

    .card {

        padding: 22px;

    }

    .accessibility-menu {

        gap: 8px;

    }

    .accessibility-menu button {

        font-size: 13px;

        padding: 9px 12px;

    }

}


/* =========================
   RESPONSIVIDADE MOBILE
========================= */

@media (max-width: 480px) {

    body {

        font-size: 15px;

        padding-bottom: 130px;

    }

    .container {

        width: 94%;

        margin-top: 25px;

    }

    .hero h1 {

        font-size: 26px;

        line-height: 1.3;

    }

    .hero p {

        font-size: 15px;

    }

    .card {

        padding: 18px;

        border-radius: 14px;

    }

    .card h2 {

        font-size: 22px;

    }

    .card p,
    .card li {

        font-size: 15px;

    }

    .bar {

        font-size: 14px;

    }

    /* MENU MOBILE */

    .accessibility-menu {

        position: fixed;

        bottom: 15px;

        top: auto;

        left: 50%;

        transform: translateX(-50%);

        width: 95%;

        border-radius: 18px;

        padding: 10px;

        justify-content: center;

        gap: 6px;

    }

    .accessibility-menu button {

        flex: 1 1 auto;

        font-size: 12px;

        padding: 10px 8px;

        border-radius: 8px;

    }

    /* BOTÃO VOLTAR MOBILE */

    .back-button {

        top: auto;

        bottom: 110px;

        left: 50%;

        transform: translateX(-50%);

        width: 90%;

        text-align: center;

        border-radius: 16px;

        font-size: 13px;

    }

}