/* Tipografia responsiva mais equilibrada */
:root {
    /* Base */
    --font-base: clamp(0.85rem, 0.8rem + 0.15vw, 0.95rem);

    /* Títulos */
    --h1: clamp(1.8rem, 1.2rem + 2vw, 3rem);
    --h2: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
    --h3: clamp(1.4rem, 1rem + 1.2vw, 2rem);
    --h4: clamp(1.2rem, 0.95rem + 0.8vw, 1.6rem);
    --h5: clamp(1.05rem, 0.9rem + 0.5vw, 1.3rem);
    --h6: clamp(0.95rem, 0.85rem + 0.3vw, 1.1rem);

    /* Textos menores */
    --small: clamp(0.7rem, 0.68rem + 0.1vw, 0.8rem);
    --label: clamp(0.8rem, 0.75rem + 0.15vw, 0.9rem);
    --span: clamp(0.82rem, 0.78rem + 0.15vw, 0.92rem);
}

/* Aplicação */
body {
    font-size: var(--font-base) !important;
    line-height: 1.5;
}

h1 {
    font-size: var(--h1) !important;
    line-height: 1.1;
}

h2 {
    font-size: var(--h2) !important;
    line-height: 1.15;
}

h3 {
    font-size: var(--h3) !important;
    line-height: 1.2;
}

h4,
h4 span,
h4 span i {
    font-size: var(--h4) !important;
    line-height: 1.25;
}

h5,
h5 span {
    font-size: var(--h5) !important;
    line-height: 1.3;
}

h6,
h6 span,
h6 span i {
    font-size: var(--h6) !important;
    line-height: 1.35;
}

p,
span,
a,
button,
input,
textarea,
i,
select {
    font-size: var(--font-base) !important;
}

input,
textarea,
select,
button {
    font-size: clamp(0.8rem, 0.75rem + 0.1vw, 0.9rem) !important;
}

label {
    font-size: var(--label) !important;
    font-weight: 500;
}

small {
    font-size: var(--small) !important;
}

/* span {
    font-size: var(--span) !important;
} */

span.titulo {
    display: block;
    font-size: clamp(0.85rem, 0.8rem + 0.2vw, 1rem);
    font-weight: 600;
    line-height: 1.3;
    margin: 1rem 0;
}