/* MIZUNO IDIOMAS - PADRAO GLOBAL DE LEGIBILIDADE */

:root {
    --mizuno-fonte: Arial, Helvetica, sans-serif;
    --mizuno-texto: #252525;
    --mizuno-secundario: #454545;
}

/* Fonte consistente */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body,
button,
input,
select,
textarea {
    font-family: var(--mizuno-fonte) !important;
}

body {
    color: var(--mizuno-texto);
    line-height: 1.6;
    -webkit-font-smoothing: auto;
}

/* Textos comuns */
p,
li,
label,
td,
th,
dd,
dt {
    line-height: 1.6;
    letter-spacing: normal;
}

/* Titulos */
h1, h2, h3, h4 {
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* Textos secundarios */
small,
.muted,
.descricao,
.subtitulo {
    line-height: 1.55;
}

/* Controles */
button,
input,
select,
textarea {
    line-height: 1.4;
}

/* Evitar cortes em telas pequenas */
img,
video,
iframe {
    max-width: 100%;
}

img {
    height: auto;
}

main,
section,
article {
    min-width: 0;
}

/* Ajustes especificos do portal */
body:has(.sidebar) .sidebar .menu-item {
    font-size: calc(17px * var(--escala-mizuno, 1)) !important;
    font-weight: 600 !important;
}

body:has(.sidebar) .sidebar h2 {
    font-size: calc(14px * var(--escala-mizuno, 1)) !important;
    font-weight: 700 !important;
}

body:has(.sidebar) .card p,
body:has(.sidebar) .banner p,
body:has(.sidebar) .topo p {
    font-size: calc(17px * var(--escala-mizuno, 1)) !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
}

/* Celulares */
@media (max-width: 700px) {
    button,
    input,
    select,
    textarea {
        font-size: max(16px, 1em);
    }

    button,
    [role="button"] {
        min-height: 44px;
    }

    h1, h2, h3 {
        overflow-wrap: break-word;
    }
}

/* Preferencias de movimento */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}