/* ==========================================================
   SIGA - SISTEMA INTEGRADO DE GESTÃO ADMINISTRATIVA
   Arquivo: assets/css/style.css
   ========================================================== */


/* ==========================================================
   1. VARIÁVEIS
   ========================================================== */

:root {

    /* CORES PRINCIPAIS */

    --color-primary: #0b75bf;
    --color-primary-dark: #063e69;
    --color-primary-darker: #042b49;
    --color-primary-light: #168fd8;

    --color-secondary: #3aae3b;
    --color-secondary-dark: #2c8b2e;

    --color-white: #ffffff;
    --color-black: #000000;

    /* FUNDOS */

    --color-background: #edf7fd;
    --color-background-light: #f8fcff;

    /* TEXTOS */

    --color-text: #08365f;
    --color-text-dark: #062d4d;
    --color-text-muted: #6e879c;
    --color-text-light: #9aabba;

    /* BORDAS */

    --color-border: #c8d9e6;
    --color-border-light: #dce7ef;

    /* ESTADOS */

    --color-danger: #c62828;
    --color-success: #22863a;
    --color-warning: #b46a00;

    /* SOMBRAS */

    --shadow-small:
        0 4px 12px rgba(5, 45, 77, 0.08);

    --shadow-medium:
        0 12px 30px rgba(5, 45, 77, 0.12);

    --shadow-large:
        0 28px 65px rgba(5, 45, 77, 0.16);

    /* RAIOS */

    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 18px;
    --radius-xl: 24px;
    --radius-full: 999px;

    /* TRANSIÇÕES */

    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;

    /* FONTES */

    --font-main:
        "Inter",
        Arial,
        Helvetica,
        sans-serif;

    --font-heading:
        "Montserrat",
        Arial,
        Helvetica,
        sans-serif;

    /* LAYOUT */

    --page-max-width: 1500px;

    /* MENU FIXO */

    --header-height: 88px;
    --header-height-tablet: 76px;
    --header-height-mobile: 68px;
}


/* ==========================================================
   2. RESET
   ========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;

    margin: 0;
    padding: 0;
}

html {
    width: 100%;
    min-height: 100%;

    scroll-behavior: smooth;

    scroll-padding-top:
        calc(
            var(--header-height)
            + 18px
        );
}

body {
    width: 100%;
    min-height: 100vh;

    font-family:
        var(--font-main);

    font-size: 16px;
    line-height: 1.5;

    color:
        var(--color-text);

    background:
        linear-gradient(
            120deg,
            #f9fdff 0%,
            #edf8fe 48%,
            #e7f3fb 100%
        );

    overflow-x: hidden;

    -webkit-font-smoothing:
        antialiased;

    -moz-osx-font-smoothing:
        grayscale;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;

    max-width: 100%;
}

a {
    color: inherit;

    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    border: 0;
}


/* ==========================================================
   3. ACESSIBILIDADE
   ========================================================== */

.sr-only {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip:
        rect(
            0,
            0,
            0,
            0
        ) !important;

    white-space: nowrap !important;

    border: 0 !important;
}

:focus-visible {
    outline:
        3px solid
        rgba(22, 143, 216, 0.32);

    outline-offset: 3px;
}


/* ==========================================================
   4. APLICAÇÃO
   ========================================================== */

.app {
    position: relative;

    min-height: 100vh;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    isolation: isolate;
}


/* ==========================================================
   5. FUNDO
   ========================================================== */

.background-elements {
    position: fixed;

    inset: 0;

    z-index: -3;

    pointer-events: none;

    overflow: hidden;
}

.background-gradient {
    position: absolute;

    inset: 0;

    background:

        radial-gradient(
            circle at 24% 45%,
            rgba(84, 172, 224, 0.12),
            transparent 35%
        ),

        linear-gradient(
            125deg,
            rgba(255, 255, 255, 0.98) 0%,
            rgba(237, 248, 254, 0.97) 46%,
            rgba(226, 242, 251, 0.96) 100%
        );
}

.background-shape {
    position: absolute;

    border-radius: 50%;
}

.background-shape-top {
    width: 860px;
    height: 860px;

    top: -530px;
    right: -400px;

    background:
        linear-gradient(
            145deg,
            #1c72aa 0%,
            #0d517f 55%,
            #07375d 100%
        );
}

.background-shape-bottom {
    width: 1050px;
    height: 1050px;

    right: -560px;
    bottom: -680px;

    background:
        linear-gradient(
            145deg,
            #0a456f,
            #052f50 60%,
            #03243e
        );
}


/* ==========================================================
   6. CABEÇALHO FIXO
   ========================================================== */

.header,
.site-header {
    width: 100%;
}

.site-header-fixed {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    z-index: 1000;

    min-height:
        var(--header-height);

    background:
        rgba(
            247,
            252,
            255,
            0.96
        );

    border-bottom:
        1px solid
        rgba(
            160,
            190,
            210,
            0.32
        );

    box-shadow:
        0 4px 18px
        rgba(
            5,
            45,
            77,
            0.08
        );

    backdrop-filter:
        blur(16px);

    -webkit-backdrop-filter:
        blur(16px);

    transition:
        background var(--transition-normal),
        box-shadow var(--transition-normal),
        border-color var(--transition-normal);
}


/* ESTADO APÓS ROLAGEM */

.site-header-fixed.is-scrolled {
    background:
        rgba(
            255,
            255,
            255,
            0.985
        );

    border-bottom-color:
        rgba(
            130,
            167,
            192,
            0.45
        );

    box-shadow:
        0 8px 28px
        rgba(
            5,
            45,
            77,
            0.14
        );
}


/* ==========================================================
   7. ESPAÇADOR DO CABEÇALHO
   ========================================================== */

.header-spacer {
    width: 100%;

    height:
        var(--header-height);

    flex:
        0 0
        var(--header-height);
}


/* ==========================================================
   8. CONTAINER DO CABEÇALHO
   ========================================================== */

.header-container {
    width:
        min(
            calc(100% - 70px),
            var(--page-max-width)
        );

    height:
        var(--header-height);

    margin:
        0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


/* ==========================================================
   9. MARCA NO CABEÇALHO
   ========================================================== */

.header-brand {
    flex:
        0 0 auto;

    display: flex;
    align-items: center;

    gap: 11px;

    min-width: 0;

    transition:
        opacity var(--transition-fast),
        transform var(--transition-fast);
}

.header-brand:hover {
    opacity: 0.94;

    transform:
        translateY(-1px);
}

.header-logo {
    width: 58px;
    height: 58px;

    flex:
        0 0 58px;

    object-fit: contain;
}

.header-brand-text {
    display: flex;
    flex-direction: column;

    min-width: 0;
}

.header-brand-text strong {
    font-family:
        var(--font-heading);

    font-size: 23px;
    line-height: 1;

    font-weight: 800;

    color:
        var(--color-primary-dark);
}

.header-brand-text span {
    margin-top: 4px;

    font-size: 9px;

    color:
        var(--color-text-muted);

    white-space: nowrap;
}


/* ==========================================================
   10. MENU PRINCIPAL DESKTOP
   ========================================================== */

.main-navigation {
    flex:
        1 1 auto;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    min-width: 0;
}

.main-navigation-list {
    list-style: none;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap:
        clamp(
            15px,
            2.1vw,
            36px
        );
}

.main-navigation-item {
    display: flex;
}

.main-navigation-link {
    position: relative;

    min-height: 44px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding:
        0 3px;

    color:
        var(--color-text-muted);

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        color var(--transition-fast);
}

.main-navigation-link::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 2px;

    width: 0;
    height: 3px;

    transform:
        translateX(-50%);

    border-radius:
        var(--radius-full);

    background:
        linear-gradient(
            90deg,
            var(--color-primary-light),
            var(--color-secondary)
        );

    transition:
        width var(--transition-normal);
}

.main-navigation-link:hover,
.main-navigation-link.active {
    color:
        var(--color-primary-dark);
}

.main-navigation-link:hover::after,
.main-navigation-link.active::after {
    width: 100%;
}


/* ==========================================================
   11. BOTÃO MOBILE
   ========================================================== */

.mobile-menu-button {
    display: none;

    width: 44px;
    height: 44px;

    flex:
        0 0 44px;

    align-items: center;
    justify-content: center;
    flex-direction: column;

    gap: 5px;

    background:
        rgba(
            255,
            255,
            255,
            0.75
        );

    border:
        1px solid
        rgba(
            177,
            204,
            221,
            0.82
        );

    border-radius: 10px;

    cursor: pointer;

    transition:
        background var(--transition-fast),
        border-color var(--transition-fast);
}

.mobile-menu-button:hover {
    background:
        var(--color-white);

    border-color:
        var(--color-primary-light);
}

.mobile-menu-line {
    width: 21px;
    height: 2px;

    display: block;

    background:
        var(--color-primary-dark);

    border-radius:
        var(--radius-full);

    transition:
        transform var(--transition-normal),
        opacity var(--transition-normal);
}


/* ESTADO ABERTO */

.mobile-menu-button.is-active
.mobile-menu-line:nth-child(1) {
    transform:
        translateY(7px)
        rotate(45deg);
}

.mobile-menu-button.is-active
.mobile-menu-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.is-active
.mobile-menu-line:nth-child(3) {
    transform:
        translateY(-7px)
        rotate(-45deg);
}


/* ==========================================================
   12. MENU MOBILE
   ========================================================== */

.mobile-navigation {
    position: absolute;

    top: 100%;
    left: 0;
    right: 0;

    width: 100%;

    padding:
        10px 20px
        18px;

    background:
        rgba(
            255,
            255,
            255,
            0.985
        );

    border-top:
        1px solid
        rgba(
            186,
            210,
            225,
            0.45
        );

    border-bottom:
        1px solid
        rgba(
            186,
            210,
            225,
            0.72
        );

    box-shadow:
        0 14px 30px
        rgba(
            5,
            45,
            77,
            0.13
        );

    backdrop-filter:
        blur(15px);

    -webkit-backdrop-filter:
        blur(15px);
}

.mobile-navigation[hidden] {
    display: none;
}

.mobile-navigation-list {
    width: 100%;
    max-width: 720px;

    margin:
        0 auto;

    list-style: none;
}

.mobile-navigation-list li {
    width: 100%;
}

.mobile-navigation-link {
    width: 100%;

    min-height: 50px;

    display: flex;
    align-items: center;

    padding:
        0 14px;

    border-bottom:
        1px solid
        var(--color-border-light);

    color:
        var(--color-text-dark);

    font-size: 14px;
    font-weight: 600;

    transition:
        color var(--transition-fast),
        background var(--transition-fast);
}

.mobile-navigation-list
li:last-child
.mobile-navigation-link {
    border-bottom: 0;
}

.mobile-navigation-link:hover,
.mobile-navigation-link.active {
    color:
        var(--color-primary);

    background:
        #f4faff;
}


/* ==========================================================
   13. CONTEÚDO PRINCIPAL
   ========================================================== */

.main {
    width: 100%;

    flex: 1;
}

.page-section {
    position: relative;

    width: 100%;
}

.hero-section {
    min-height:
        calc(
            100vh
            -
            var(--header-height)
            -
            58px
        );
}

.main-container {
    width:
        min(
            calc(100% - 70px),
            var(--page-max-width)
        );

    margin:
        0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.16fr)
        minmax(440px, 0.84fr);

    gap:
        clamp(
            50px,
            6vw,
            100px
        );

    align-items: center;

    padding:
        35px 0
        55px;
}


/* ==========================================================
   14. ÁREA INSTITUCIONAL
   ========================================================== */

.institutional {
    position: relative;

    min-height: 690px;

    display: flex;
    align-items: center;
}

.institutional-content {
    position: relative;

    width: 100%;

    padding:
        25px 10px
        65px
        0;
}

.institutional-brand {
    display: flex;
    align-items: center;

    gap: 20px;
}

.institutional-logo {
    width: 138px;
    height: 138px;

    object-fit: contain;
}

.institutional-brand-name h1 {
    font-family:
        var(--font-heading);

    font-size:
        clamp(
            72px,
            7vw,
            108px
        );

    line-height: 0.9;

    font-weight: 800;

    letter-spacing: -6px;

    color: #0a4b7f;
}

.institutional-brand-name p {
    margin-top: 12px;

    font-size:
        clamp(
            16px,
            1.35vw,
            21px
        );

    font-weight: 500;

    color:
        var(--color-text-dark);
}


/* ==========================================================
   15. CHAMADA
   ========================================================== */

.institutional-heading {
    max-width: 650px;

    margin-top: 46px;
}

.heading-detail {
    width: 70px;
    height: 4px;

    display: flex;

    margin-bottom: 22px;

    overflow: hidden;

    border-radius:
        var(--radius-full);
}

.heading-detail span:first-child {
    flex: 1.6;

    background:
        var(--color-primary-light);
}

.heading-detail span:last-child {
    flex: 0.6;

    background:
        var(--color-secondary);
}

.institutional-heading p,
.institutional-heading strong {
    display: block;

    font-family:
        var(--font-heading);

    font-size:
        clamp(
            34px,
            3vw,
            49px
        );

    line-height: 1.2;
}

.institutional-heading p {
    font-weight: 400;

    color: #0b4a78;
}

.institutional-heading strong {
    font-weight: 700;

    color: #1b8bd3;
}


/* ==========================================================
   16. BENEFÍCIOS
   ========================================================== */

.institutional-benefits {
    max-width: 760px;

    margin-top: 44px;

    display: grid;

    grid-template-columns:
        repeat(
            4,
            1fr
        );
}

.benefit-item {
    position: relative;

    min-height: 92px;

    padding:
        0 16px;

    text-align: center;
}

.benefit-item:first-child {
    padding-left: 0;
}

.benefit-item:last-child {
    padding-right: 0;
}

.benefit-item:not(:last-child)::after {
    content: "";

    position: absolute;

    right: 0;
    top: 8px;

    width: 1px;
    height: 58px;

    background:
        linear-gradient(
            180deg,
            transparent,
            #b5cbd9 15%,
            #b5cbd9 85%,
            transparent
        );
}

.benefit-icon {
    width: 38px;
    height: 38px;

    margin:
        0 auto 8px;

    display: grid;
    place-items: center;
}

.benefit-icon img {
    max-width: 34px;
    max-height: 34px;

    object-fit: contain;
}

.benefit-item h2 {
    font-size: 13px;
    line-height: 1.35;

    font-weight: 600;

    color:
        var(--color-text-dark);
}


/* ==========================================================
   17. IMAGEM INSTITUCIONAL
   ========================================================== */

.institutional-image {
    position: absolute;

    left: -145px;
    bottom: -20px;

    width: 830px;
    height: 250px;

    z-index: -1;

    opacity: 0.45;

    overflow: hidden;

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.25) 15%,
            black 40%,
            black 100%
        );

    mask-image:
        linear-gradient(
            to bottom,
            transparent 0%,
            rgba(0, 0, 0, 0.25) 15%,
            black 40%,
            black 100%
        );
}

.institutional-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        saturate(0.6)
        brightness(1.05);
}

.institutional-quote {
    position: absolute;

    right: 2%;
    bottom: 2px;

    width: 270px;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 18px;
    line-height: 1.35;

    font-style: italic;

    color:
        rgba(
            7,
            57,
            95,
            0.82
        );

    transform:
        rotate(-7deg);
}

.institutional-quote::after {
    content: "";

    display: block;

    width: 120px;
    height: 3px;

    margin:
        12px 0
        0 58px;

    background:
        linear-gradient(
            90deg,
            var(--color-primary-light) 72%,
            var(--color-secondary) 72%
        );

    border-radius:
        var(--radius-full);
}


/* ==========================================================
   18. AUTENTICAÇÃO
   ========================================================== */

.authentication {
    display: flex;
    align-items: center;
    justify-content: center;
}

.authentication-card {
    position: relative;

    width: 100%;
    max-width: 590px;

    padding:
        42px
        42px
        32px;

    background:
        rgba(
            255,
            255,
            255,
            0.97
        );

    border:
        1px solid
        rgba(
            255,
            255,
            255,
            0.8
        );

    border-radius: 24px;

    box-shadow:
        var(--shadow-large);

    backdrop-filter:
        blur(14px);

    -webkit-backdrop-filter:
        blur(14px);
}

.authentication-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 28px;
    right: 28px;

    height: 3px;

    background:
        linear-gradient(
            90deg,
            var(--color-primary-light),
            var(--color-secondary)
        );

    border-radius:
        0 0 10px 10px;
}

.authentication-header {
    margin-bottom: 28px;
}

.authentication-header h2 {
    font-family:
        var(--font-heading);

    font-size:
        clamp(
            28px,
            2.3vw,
            36px
        );

    font-weight: 700;

    color:
        var(--color-primary-darker);
}

.authentication-header p {
    margin-top: 8px;

    font-size: 15px;

    color:
        var(--color-text-muted);
}


/* ==========================================================
   19. FORMULÁRIO
   ========================================================== */

.login-form {
    width: 100%;
}

.form-group {
    margin-bottom: 14px;
}

.input-wrapper {
    position: relative;

    display: flex;
    align-items: center;
}

.input-wrapper input,
.form-input {
    width: 100%;

    min-height: 54px;

    padding:
        0 50px
        0 52px;

    background:
        var(--color-white);

    border:
        1px solid
        var(--color-border);

    border-radius: 10px;

    color:
        var(--color-text-dark);

    font-size: 15px;

    outline: none;

    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
}

.input-wrapper input::placeholder,
.form-input::placeholder {
    color: #9cafbd;
}

.input-wrapper input:hover,
.form-input:hover {
    border-color: #adc3d3;
}

.input-wrapper input:focus,
.form-input:focus {
    border-color:
        var(--color-primary-light);

    box-shadow:
        0 0 0 4px
        rgba(
            22,
            143,
            216,
            0.1
        );
}

.input-icon {
    position: absolute;

    left: 17px;

    width: 22px;
    height: 22px;

    display: grid;
    place-items: center;

    pointer-events: none;
}

.input-icon img {
    max-width: 21px;
    max-height: 21px;

    object-fit: contain;
}

.password-toggle {
    position: absolute;

    right: 13px;
    top: 50%;

    width: 32px;
    height: 32px;

    transform:
        translateY(-50%);

    display: grid;
    place-items: center;

    background: transparent;

    border-radius: 50%;

    cursor: pointer;
}

.password-toggle:hover {
    background: #eef7fc;
}

.password-toggle img {
    width: 20px;
    height: 20px;

    object-fit: contain;
}


/* ==========================================================
   20. OPÇÕES DO LOGIN
   ========================================================== */

.login-options {
    margin:
        12px 0
        24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;
}

.remember-me {
    display: flex;
    align-items: center;

    gap: 8px;

    font-size: 12px;

    color:
        var(--color-text-muted);

    cursor: pointer;
}

.remember-me input {
    appearance: none;
    -webkit-appearance: none;

    width: 20px;
    height: 20px;

    display: grid;
    place-items: center;

    border:
        2px solid
        var(--color-primary-light);

    border-radius: 5px;

    background:
        var(--color-white);

    cursor: pointer;
}

.remember-me input::after {
    content: "✓";

    font-size: 14px;
    font-weight: 800;

    color:
        var(--color-white);

    transform:
        scale(0);
}

.remember-me input:checked {
    background:
        var(--color-primary-light);
}

.remember-me input:checked::after {
    transform:
        scale(1);
}

.forgot-password {
    font-size: 12px;
    font-weight: 500;

    color:
        var(--color-primary);

    text-decoration: underline;

    text-underline-offset: 2px;
}


/* ==========================================================
   21. BOTÃO ENTRAR
   ========================================================== */

.button {
    min-height: 54px;

    padding:
        0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    border-radius: 10px;

    cursor: pointer;

    font-size: 15px;
    font-weight: 600;

    transition:
        background var(--transition-fast),
        transform var(--transition-fast),
        box-shadow var(--transition-fast);
}

.button-primary {
    color:
        var(--color-white);

    background:
        linear-gradient(
            90deg,
            #0873c7,
            #1388d3
        );

    box-shadow:
        0 8px 20px
        rgba(
            7,
            111,
            188,
            0.16
        );
}

.button-primary:hover {
    background:
        linear-gradient(
            90deg,
            #0665af,
            #0f7cc3
        );

    transform:
        translateY(-1px);

    box-shadow:
        0 10px 24px
        rgba(
            7,
            111,
            188,
            0.21
        );
}

.button-login {
    width: 100%;
}

.button-arrow {
    font-size: 19px;
    line-height: 1;
}


/* ==========================================================
   22. MENSAGENS
   ========================================================== */

.login-message {
    min-height: 18px;

    margin-top: 10px;

    text-align: center;

    font-size: 12px;
}

.login-message.error {
    color:
        var(--color-danger);
}

.login-message.success {
    color:
        var(--color-success);
}

.login-message.warning {
    color:
        var(--color-warning);
}


/* ==========================================================
   23. SEPARADOR
   ========================================================== */

.auth-separator {
    margin:
        22px 0;

    display: flex;
    align-items: center;

    gap: 12px;

    color:
        var(--color-text-light);

    font-size: 11px;
    font-weight: 500;

    letter-spacing: 0.06em;
}

.auth-separator::before,
.auth-separator::after {
    content: "";

    flex: 1;

    height: 1px;

    background:
        var(--color-border-light);
}


/* ==========================================================
   24. PROVEDORES DE LOGIN
   ========================================================== */

.external-authentication {
    display: grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap: 10px;
}

.auth-provider {
    position: relative;

    width: 100%;

    min-height: 76px;

    padding:
        10px 12px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 5px;

    background:
        var(--color-white);

    border:
        1px solid
        var(--color-border);

    border-radius: 11px;

    box-shadow:
        0 2px 7px
        rgba(
            5,
            45,
            77,
            0.04
        );

    text-align: center;

    overflow: hidden;

    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--transition-fast),
        background var(--transition-fast);
}

.auth-provider:hover {
    transform:
        translateY(-1px);

    border-color: #9fbfd4;

    box-shadow:
        0 6px 14px
        rgba(
            5,
            45,
            77,
            0.08
        );

    background: #fbfdff;
}


/* ==========================================================
   25. LOGOS DOS PROVEDORES
   ========================================================== */

.provider-logo {
    width: 100%;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.provider-logo-image {
    display: block;

    width: auto;
    height: auto;

    max-width: 122px;
    max-height: 30px;

    object-fit: contain;
    object-position: center;
}

.provider-text {
    width: 100%;

    display: flex;
    justify-content: center;

    text-align: center;
}

.provider-text span {
    font-size: 9px;
    line-height: 1.25;

    color:
        var(--color-text-muted);
}


/* GOV.BR NA SEGUNDA LINHA */

.external-authentication
.auth-provider:nth-child(3) {
    grid-column:
        1 / 2;
}


/* ==========================================================
   26. RODAPÉ DO CARD
   ========================================================== */

.authentication-footer {
    margin-top: 25px;

    text-align: center;
}

.authentication-footer blockquote {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 12px;

    font-style: italic;

    color:
        var(--color-text-light);
}


/* ==========================================================
   27. RODAPÉ PRINCIPAL
   ========================================================== */

.footer {
    position: relative;

    z-index: 20;

    width: 100%;

    min-height: 68px;

    display: flex;
    align-items: center;

    background:
        rgba(
            4,
            39,
            66,
            0.985
        );

    color:
        rgba(
            255,
            255,
            255,
            0.74
        );

    border-top:
        1px solid
        rgba(
            255,
            255,
            255,
            0.05
        );
}

.footer-container {
    width:
        min(
            calc(100% - 70px),
            var(--page-max-width)
        );

    margin:
        0 auto;

    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        auto
        minmax(180px, 0.7fr);

    align-items: center;

    gap:
        25px;

    font-size: 10px;
}


/* ==========================================================
   28. COPYRIGHT
   ========================================================== */

.footer-info {
    display: flex;
    align-items: center;

    flex-wrap: wrap;
}

.footer-info span {
    display: inline-flex;
    align-items: center;
}

.footer-copyright {
    font-weight: 500;

    color:
        rgba(
            255,
            255,
            255,
            0.82
        );
}

.footer-separator {
    margin:
        0 10px;

    color:
        rgba(
            255,
            255,
            255,
            0.35
        );
}


/* ==========================================================
   29. LINKS DO RODAPÉ
   ========================================================== */

.footer-navigation {
    display: flex;
    align-items: center;
    justify-content: center;

    white-space: nowrap;
}

.footer-navigation a {
    color:
        rgba(
            255,
            255,
            255,
            0.72
        );

    transition:
        color var(--transition-fast);
}

.footer-navigation a:hover {
    color:
        var(--color-white);
}


/* ==========================================================
   30. DESENVOLVEDOR
   ========================================================== */

.footer-developer {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 5px;

    white-space: nowrap;
}

.footer-developer span {
    color:
        rgba(
            255,
            255,
            255,
            0.52
        );
}

.footer-developer a {
    font-weight: 600;

    color:
        rgba(
            255,
            255,
            255,
            0.88
        );

    transition:
        color var(--transition-fast);
}

.footer-developer a:hover {
    color:
        #65bdf1;

    text-decoration: underline;

    text-underline-offset: 2px;
}


/* ==========================================================
   31. ESTADOS
   ========================================================== */

.is-loading {
    pointer-events: none;

    opacity: 0.7;
}

button:disabled,
input:disabled {
    cursor: not-allowed;

    opacity: 0.6;
}


/* ==========================================================
   32. DESKTOPS MENORES
   ========================================================== */

@media (max-width: 1280px) {

    .header-container,
    .main-container,
    .footer-container {
        width:
            calc(100% - 50px);
    }

    .header-container {
        gap: 28px;
    }

    .main-navigation-list {
        gap: 20px;
    }

    .main-navigation-link {
        font-size: 12px;
    }

    .main-container {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(400px, 0.9fr);

        gap: 45px;
    }

    .institutional-logo {
        width: 110px;
        height: 110px;
    }

    .institutional-brand-name h1 {
        font-size: 78px;
    }

    .institutional-heading p,
    .institutional-heading strong {
        font-size: 38px;
    }

    .authentication-card {
        max-width: 540px;

        padding:
            38px
            34px
            28px;
    }

    .auth-provider {
        min-height: 70px;
    }

    .provider-logo {
        height: 30px;
    }

    .provider-logo-image {
        max-width: 105px;
        max-height: 27px;
    }

    .footer-container {
        grid-template-columns:
            1fr auto;
    }

    .footer-developer {
        grid-column:
            1 / -1;

        justify-content: center;

        padding-bottom: 8px;
    }

}


/* ==========================================================
   33. TABLETS / NOTEBOOKS
   ========================================================== */

@media (max-width: 1024px) {

    :root {
        --header-height:
            var(--header-height-tablet);
    }

    html {
        scroll-padding-top:
            calc(
                var(--header-height-tablet)
                + 14px
            );
    }

    .site-header-fixed {
        min-height:
            var(--header-height-tablet);
    }

    .header-spacer {
        height:
            var(--header-height-tablet);

        flex-basis:
            var(--header-height-tablet);
    }

    .header-container {
        height:
            var(--header-height-tablet);

        justify-content:
            space-between;
    }

    .header-logo {
        width: 50px;
        height: 50px;

        flex-basis: 50px;
    }

    .header-brand-text strong {
        font-size: 20px;
    }

    .header-brand-text span {
        font-size: 8px;
    }


    /* MENU DESKTOP SOME */

    .main-navigation {
        display: none;
    }


    /* HAMBÚRGUER APARECE */

    .mobile-menu-button {
        display: flex;
    }


    /* CONTEÚDO */

    .main-container {
        max-width: 760px;

        grid-template-columns: 1fr;

        padding-top: 28px;
    }

    .hero-section {
        min-height: auto;
    }

    .institutional {
        min-height: auto;
    }

    .institutional-content {
        padding:
            20px 0
            30px;

        text-align: center;
    }

    .institutional-brand {
        justify-content: center;
    }

    .institutional-heading {
        margin:
            32px auto 0;
    }

    .heading-detail {
        margin-left: auto;
        margin-right: auto;
    }

    .institutional-benefits {
        margin-left: auto;
        margin-right: auto;
    }

    .institutional-image,
    .institutional-quote {
        display: none;
    }

    .authentication {
        padding-bottom: 40px;
    }

    .authentication-card {
        max-width: 580px;
    }

    .provider-logo-image {
        max-width: 110px;
        max-height: 28px;
    }


    /* RODAPÉ */

    .footer {
        padding:
            16px 0;
    }

    .footer-container {
        display: flex;
        flex-direction: column;

        gap: 10px;

        text-align: center;
    }

    .footer-info,
    .footer-navigation,
    .footer-developer {
        justify-content: center;
    }

}


/* ==========================================================
   34. TABLETS PEQUENOS
   ========================================================== */

@media (max-width: 768px) {

    .header-container,
    .main-container,
    .footer-container {
        width:
            calc(100% - 30px);
    }

    .header-brand-text span {
        max-width: 230px;

        white-space: normal;

        line-height: 1.2;
    }

    .institutional-logo {
        width: 88px;
        height: 88px;
    }

    .institutional-brand-name h1 {
        font-size: 64px;
    }

    .institutional-brand-name p {
        font-size: 12px;
    }

    .institutional-heading p,
    .institutional-heading strong {
        font-size: 30px;
    }

    .institutional-benefits {
        grid-template-columns:
            repeat(
                2,
                1fr
            );

        row-gap: 18px;
    }

    .benefit-item:nth-child(2)::after {
        display: none;
    }

    .authentication-card {
        padding:
            34px
            26px
            26px;
    }

    .external-authentication {
        gap: 9px;
    }

    .auth-provider {
        min-height: 68px;

        padding: 9px;
    }

    .provider-logo {
        height: 28px;
    }

    .provider-logo-image {
        max-width: 100px;
        max-height: 25px;
    }

    .provider-text span {
        font-size: 8px;
    }

    .footer-navigation {
        flex-wrap: wrap;

        white-space: normal;
    }

}


/* ==========================================================
   35. CELULARES
   ========================================================== */

@media (max-width: 520px) {

    :root {
        --header-height:
            var(--header-height-mobile);
    }

    html {
        scroll-padding-top:
            calc(
                var(--header-height-mobile)
                + 12px
            );
    }

    .site-header-fixed {
        min-height:
            var(--header-height-mobile);
    }

    .header-spacer {
        height:
            var(--header-height-mobile);

        flex-basis:
            var(--header-height-mobile);
    }

    .header-container {
        width:
            calc(100% - 20px);

        height:
            var(--header-height-mobile);

        gap: 10px;
    }

    .header-brand {
        gap: 7px;
    }

    .header-logo {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }

    .header-brand-text strong {
        font-size: 17px;
    }

    .header-brand-text span {
        max-width: 170px;

        margin-top: 2px;

        font-size: 7px;

        line-height: 1.15;
    }

    .mobile-menu-button {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }

    .mobile-navigation {
        padding:
            8px 10px
            14px;
    }

    .mobile-navigation-link {
        min-height: 46px;

        font-size: 13px;
    }


    /* PRINCIPAL */

    .main-container {
        width:
            calc(100% - 20px);

        padding-top: 20px;
    }

    .institutional-brand {
        gap: 8px;
    }

    .institutional-logo {
        width: 65px;
        height: 65px;
    }

    .institutional-brand-name h1 {
        font-size: 49px;

        letter-spacing: -4px;
    }

    .institutional-brand-name p {
        max-width: 220px;

        font-size: 9px;

        text-align: left;
    }

    .institutional-heading {
        margin-top: 24px;
    }

    .institutional-heading p,
    .institutional-heading strong {
        font-size: 24px;
    }

    .institutional-benefits {
        margin-top: 32px;
    }

    .benefit-item {
        padding:
            0 8px;
    }

    .benefit-item h2 {
        font-size: 11px;
    }


    /* LOGIN */

    .authentication-card {
        padding:
            28px
            18px
            24px;

        border-radius: 18px;
    }

    .authentication-header h2 {
        font-size: 24px;
    }

    .authentication-header p {
        font-size: 13px;
    }

    .input-wrapper input {
        min-height: 50px;
    }

    .login-options {
        flex-direction: column;

        align-items: flex-start;

        gap: 10px;
    }

    .button {
        min-height: 50px;
    }


    /* PROVEDORES */

    .external-authentication {
        grid-template-columns: 1fr;
    }

    .external-authentication
    .auth-provider:nth-child(3) {
        grid-column: auto;
    }

    .auth-provider {
        min-height: 64px;

        flex-direction: row;

        justify-content:
            flex-start;

        gap: 14px;

        padding:
            9px 14px;

        text-align: left;
    }

    .provider-logo {
        width: 110px;
        height: 28px;

        flex:
            0 0 110px;

        justify-content:
            flex-start;
    }

    .provider-logo-image {
        max-width: 98px;
        max-height: 25px;
    }

    .provider-text {
        justify-content:
            flex-start;

        text-align: left;
    }

    .provider-text span {
        font-size: 9px;
    }


    /* RODAPÉ */

    .footer {
        min-height: auto;

        padding:
            18px 0;
    }

    .footer-container {
        width:
            calc(100% - 24px);

        gap: 11px;

        font-size: 9px;
    }

    .footer-info {
        justify-content: center;

        line-height: 1.6;
    }

    .footer-navigation {
        justify-content: center;

        line-height: 1.8;
    }

    .footer-developer {
        justify-content: center;

        white-space: normal;
    }

}


/* ==========================================================
   36. CELULARES MUITO PEQUENOS
   ========================================================== */

@media (max-width: 360px) {

    .header-brand-text span {
        display: none;
    }

    .institutional-logo {
        width: 58px;
        height: 58px;
    }

    .institutional-brand-name h1 {
        font-size: 44px;
    }

    .institutional-heading p,
    .institutional-heading strong {
        font-size: 22px;
    }

    .authentication-card {
        padding:
            26px
            14px
            22px;
    }

    .provider-logo {
        width: 92px;

        flex-basis: 92px;
    }

    .provider-logo-image {
        max-width: 86px;
        max-height: 23px;
    }

    .footer-separator {
        margin:
            0 5px;
    }

}


/* ==========================================================
   37. TELAS COM ALTURA REDUZIDA
   ========================================================== */

@media
(max-height: 760px)
and
(min-width: 1025px) {

    :root {
        --header-height: 72px;
    }

    .site-header-fixed {
        min-height: 72px;
    }

    .header-spacer {
        height: 72px;

        flex-basis: 72px;
    }

    .header-container {
        height: 72px;
    }

    .header-logo {
        width: 48px;
        height: 48px;

        flex-basis: 48px;
    }

    .header-brand-text strong {
        font-size: 20px;
    }

    .main-container {
        padding-top: 12px;
        padding-bottom: 28px;
    }

    .institutional {
        min-height: 610px;
    }

    .institutional-heading {
        margin-top: 30px;
    }

    .institutional-benefits {
        margin-top: 30px;
    }

    .authentication-card {
        padding:
            30px
            34px
            24px;
    }

    .authentication-header {
        margin-bottom: 22px;
    }

    .auth-provider {
        min-height: 64px;
    }

    .provider-logo {
        height: 27px;
    }

    .provider-logo-image {
        max-width: 98px;
        max-height: 24px;
    }

}


/* ==========================================================
   38. REDUÇÃO DE MOVIMENTO
   ========================================================== */

@media
(prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration:
            0.01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            0.01ms !important;

        scroll-behavior:
            auto !important;
    }

}


/* ==========================================================
   39. IMPRESSÃO
   ========================================================== */

@media print {

    .background-elements,
    .site-header-fixed,
    .header-spacer,
    .authentication,
    .footer {
        display: none !important;
    }

    body {
        background:
            #ffffff;

        color:
            #000000;
    }

    .main-container {
        display: block;

        width: 100%;
    }

}