/*
 * Identidade institucional Senac/MT: cabeçalho e rodapé padrão, extraídos do
 * portal de cursos (resources/css/senac-identidade.css). Nesta página os itens
 * não levam a lugar nenhum: menu, telefone e redes sociais são apenas texto/imagem.
 */

@font-face {
    font-family: 'Comercio Sans';
    src: url('../fonts/ComercioSans-Book.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Comercio Sans';
    src: url('../fonts/ComercioSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/montserrat-latin-ext-wght-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('../fonts/montserrat-latin-wght-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* Subconjunto da Font Awesome 4 (SIL OFL 1.1) com os 4 ícones sociais do rodapé. */
@font-face {
    font-family: 'Senac Social Icons';
    src: url('../fonts/senac-social-icons.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: block;
}

:root {
    --senac-azul: #003c7a;
    --senac-azul-conteudo: #084c8b;
    --senac-azul-escuro: #02265b;
    --senac-laranja: #f39322;
    --senac-laranja-forte: #f27d13;
    --senac-laranja-borda: #f7941d;
    --senac-cinza-claro: #ececec;
    --senac-cinza-texto: #aeaeae;
    --senac-rodape-topo: #004384;
    --senac-rodape-base: #003466;
    --senac-icone-rodape: #004587;
    --senac-container: 1170px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background: #fff;
    color: #1e293b;
    font-family: 'Montserrat', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    max-width: 100%;
}

:focus-visible {
    outline: 3px solid var(--senac-laranja);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.senac-container {
    width: 100%;
    max-width: var(--senac-container);
    margin-inline: auto;
    padding-inline: 15px;
}

/* ----------------------------------------------------------------
 * Cabeçalho
 * ---------------------------------------------------------------- */
.senac-header {
    position: relative;
    z-index: 40;
    background: #fff;
    font-family: 'Comercio Sans', sans-serif;
}

.senac-topbar {
    background: var(--senac-cinza-claro);
    min-height: 51px;
    display: flex;
    align-items: center;
}

.senac-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-right: 50px;
}

.senac-topbar__phone {
    margin: 0;
    font-size: 13px;
    line-height: 38px;
    color: var(--senac-azul);
    white-space: nowrap;
}

.senac-topbar__phone strong {
    font-weight: 700;
}

.senac-topbar__social {
    display: flex;
    align-items: center;
    gap: 4px;
}

.senac-topbar__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 24px;
}

.senac-topbar a:focus-visible {
    outline: none;
    background-color: #e3edf8;
    box-shadow: inset 0 -3px 0 var(--senac-laranja);
}

.senac-topbar__social img {
    display: block;
}

.senac-topbar__social .is-facebook img,
.senac-topbar__social .is-linkedin img {
    width: 18px;
    height: 18px;
}

.senac-topbar__social .is-instagram img {
    width: 19px;
    height: 20px;
}

.senac-topbar__social .is-youtube img {
    width: 22px;
    height: 22px;
}

.senac-brandbar {
    padding: 20px 0 30px;
}

.senac-region {
    margin: 0 0 20px;
    text-align: center;
    font-size: 25px;
    line-height: 38px;
    font-weight: 700;
    color: var(--senac-laranja);
}

.senac-navrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
}

.senac-navrow > .senac-logo {
    width: 200px;
    margin-right: 14px;
}

.senac-logo {
    display: block;
    flex-shrink: 0;
}

.senac-logo img {
    display: block;
    height: 45px;
    width: auto;
}

.senac-menu-toggle {
    display: none;
}

.senac-nav {
    display: flex;
    align-items: center;
}

.senac-nav__list {
    display: flex;
    align-items: center;
}

.senac-nav__link {
    display: block;
    padding: 15px 10px;
    font-size: 13.4px;
    font-weight: 700;
    line-height: 20px;
    color: var(--senac-azul-conteudo);
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
}

a.senac-nav__link {
    border-radius: 2px;
}

a.senac-nav__link:hover {
    background-color: var(--senac-cinza-claro);
}

a.senac-nav__link:focus-visible {
    outline: none;
    background-color: #e3edf8;
    box-shadow: inset 0 -3px 0 var(--senac-laranja);
}

.senac-portal-aluno {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 180px;
    height: 33px;
    margin-left: 1.5px;
    border: 2px solid var(--senac-laranja);
    border-radius: 19px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.175);
    font-size: 11px;
    text-transform: uppercase;
    color: var(--senac-cinza-texto);
    text-decoration: none;
    flex-shrink: 0;
}

.senac-portal-aluno:focus-visible {
    outline: none;
    background-color: #e3edf8;
}

.senac-portal-aluno img {
    height: 22px;
    width: 22px;
    filter: contrast(10%);
}

.senac-portal-aluno--mobile {
    display: none;
}

.senac-menu-toggle:focus-visible {
    outline: none;
    background-color: #e3edf8;
    box-shadow: inset 0 -3px 0 var(--senac-laranja);
}

@media (max-width: 1100px) {
    .senac-portal-aluno {
        width: 170px;
    }
}

/* Telas menores: botão "Menu" e lista vertical. */
@media (max-width: 991px) {
    .senac-portal-aluno--desktop {
        display: none;
    }

    .senac-nav.is-open .senac-portal-aluno--mobile {
        display: flex;
    }

    .senac-brandbar {
        padding: 12px 0;
    }

    .senac-brandbar__top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .senac-region {
        flex: 1 1 auto;
        min-width: 0;
        margin: 0;
        font-size: 22px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .senac-navrow {
        display: block;
    }

    .senac-navrow > .senac-logo {
        display: none;
    }

    .senac-menu-toggle {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        padding: 6px 12px;
        border: 0;
        background: transparent;
        font-family: inherit;
        font-size: 14px;
        font-weight: 700;
        color: var(--senac-azul-conteudo);
        text-transform: uppercase;
        cursor: pointer;
    }

    .senac-nav {
        display: none;
        margin-top: 8px;
    }

    .senac-nav.is-open {
        display: block;
    }

    .senac-nav__list {
        display: block;
    }

    .senac-nav__link {
        padding: 12px 10px;
    }

    .senac-portal-aluno {
        margin: 12px 0 4px;
    }
}

@media (min-width: 992px) {
    .senac-brandbar__top .senac-logo {
        display: none;
    }
}

@media (max-width: 500px) {
    .senac-topbar__inner {
        justify-content: center;
        padding-right: 0;
    }

    .senac-topbar__social {
        display: none;
    }

    .senac-brandbar__top {
        gap: 8px;
    }

    .senac-logo img {
        height: 32px;
    }

    .senac-region {
        font-size: 18px;
    }

    .senac-menu-toggle {
        gap: 6px;
        padding: 6px 4px;
    }
}

@media (max-width: 380px) {
    .senac-menu-toggle__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .senac-menu-toggle {
        min-width: 44px;
        justify-content: center;
    }
}

@media (max-width: 340px) {
    .senac-logo img {
        height: 26px;
    }

    .senac-region {
        font-size: 16px;
    }
}

/* ----------------------------------------------------------------
 * Aviso de manutenção
 * ---------------------------------------------------------------- */
.manutencao {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 64px 0 80px;
}

.manutencao__inner {
    max-width: 720px;
    text-align: center;
}

.manutencao__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    margin-bottom: 24px;
    border-radius: 50%;
    background: #fef3e6;
    color: var(--senac-laranja-forte);
}

.manutencao__title {
    margin: 0 0 16px;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--senac-azul-escuro);
}

.manutencao__title::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    margin: 20px auto 0;
    border-radius: 2px;
    background: var(--senac-laranja);
}

.manutencao__text {
    margin: 0 auto 12px;
    max-width: 560px;
    font-size: 1.0625rem;
    color: #475569;
}

/* Links no texto do aviso: mesma cor do texto, sublinhado só ao passar o mouse. */
.manutencao__text a {
    color: inherit;
    font-weight: 600;
    text-decoration: none;
}

.manutencao__text a:hover,
.manutencao__text a:focus-visible {
    text-decoration: underline;
}

/* ----------------------------------------------------------------
 * Rodapé
 * ---------------------------------------------------------------- */
.senac-footer {
    border-top: 4px solid var(--senac-laranja-borda);
    background-image: linear-gradient(to top, var(--senac-rodape-base), var(--senac-rodape-topo));
    color: #fff;
    font-family: 'Comercio Sans', sans-serif;
}

.senac-footer__inner {
    max-width: 880px;
    min-height: 115px;
    margin-inline: auto;
    padding-inline: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.senac-footer__logo {
    width: 100px;
    height: auto;
}

.senac-footer__info {
    margin: 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.35;
    font-style: normal;
}

.senac-footer__social {
    display: flex;
    gap: 8px;
}

.senac-footer__social a {
    display: inline-block;
    padding: 6px;
    border-radius: 6px;
    background-color: #fff;
    vertical-align: middle;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}

.senac-footer__social a:hover,
.senac-footer__social a:focus-visible {
    background-color: var(--senac-laranja-borda);
}

.senac-footer__icon {
    display: block;
    width: 20px;
    height: 20px;
    font-family: 'Senac Social Icons';
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    color: var(--senac-icone-rodape);
    speak: never;
}

.senac-footer__icon.is-facebook::before {
    content: '\f09a';
}

.senac-footer__icon.is-instagram::before {
    content: '\f16d';
}

.senac-footer__icon.is-linkedin::before {
    content: '\f0e1';
}

.senac-footer__icon.is-youtube::before {
    content: '\f167';
}

@media (max-width: 768px) {
    .senac-footer__inner {
        flex-direction: column;
        gap: 0;
        padding-bottom: 8vw;
    }

    .senac-footer__logo {
        width: 26vw;
        max-width: 140px;
        margin: 5.75vw 0 8vw;
    }

    .senac-footer__info {
        order: 3;
        font-size: max(12px, 2.9vw);
    }

    .senac-footer__social {
        gap: 12px;
        margin-bottom: 9vw;
    }
}
