/********** PALET **********/

:root {
    --apus-blue: #285095;
    --apus-light-blue: #2E98ED;
    --apus-green: #285A06;
    --apus-light-green: #3B8210;
    --apus-orange: #F25D24;
    --apus-light-orange: #FF931E;
    --apus-gray: #808080;
}

/*:root 2 {
    
}

/********** TYPOGRAPHY **********/

@font-face {
    font-family: 'Arsenal';
    src: url("../fonts/arsenal-regular-webfont.edd7a41053dc.woff2") format('woff2'),
        url("../fonts/arsenal-regular-webfont.1647b1b683fe.woff") format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Arsenal';
    src: url("../fonts/arsenal-italic-webfont.f8ae6f4e59b4.woff2") format('woff2'),
        url("../fonts/arsenal-italic-webfont.020d6b44d8ec.woff") format('woff');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Arsenal';
    src: url("../fonts/arsenal-bold-webfont.b34f6a41f103.woff2") format('woff2'),
        url("../fonts/arsenal-bold-webfont.01894e599110.woff") format('woff');
    font-weight: 700;
    font-style: normal;
}





@font-face {
    font-family: 'Roboto-Condensed';
    src: url("../fonts/robotocondensed-light-webfont.4dff1484cd0c.woff2") format('woff2'),
        url("../fonts/robotocondensed-light-webfont.6cce7debbc6f.woff") format('woff');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto-Condensed';
    src: url("../fonts/robotocondensed-regular-webfont.02ef195a456a.woff2") format('woff2'),
        url("../fonts/robotocondensed-regular-webfont.880062935ced.woff") format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto-Condensed';
    src: url("../fonts/robotocondensed-bold-webfont.5842b47c1a35.woff2") format('woff2'),
        url("../fonts/robotocondensed-bold-webfont.4d9692e3487c.woff") format('woff');
    font-weight: normal;
    font-weight: 700;
    font-style: normal;
}




@font-face {
    font-family: 'Roboto';
    src: url("../fonts/roboto-thin-webfont.f4796307338d.woff2") format('woff2'),
        url("../fonts/roboto-thin-webfont.8c6277fe39c4.woff") format('woff');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/roboto-light-webfont.aa21f1808cfa.woff2") format('woff2'),
        url("../fonts/roboto-light-webfont.e344ef6ab132.woff") format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/roboto-regular-webfont.ec56d4b9b704.woff2") format('woff2'),
        url("../fonts/roboto-regular-webfont.abdf94eed598.woff") format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/roboto-italic-webfont.bd3f025e85bf.woff2") format('woff2'),
        url("../fonts/roboto-italic-webfont.ace8c021ee84.woff") format('woff');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/roboto-bold-webfont.6fcbbb0e717e.woff2") format('woff2'),
        url("../fonts/roboto-bold-webfont.5ed64c269534.woff") format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url("../fonts/roboto-black-webfont.dfef8b13fcd7.woff2") format('woff2'),
        url("../fonts/roboto-black-webfont.d9cdb65887de.woff") format('woff');
    font-weight: 900;
    font-style: normal;
}





@font-face {
    font-family: 'Signika';
    src: url("../fonts/signika-light-webfont.ab39a574e303.woff2") format('woff2'),
        url("../fonts/signika-light-webfont.9c5084b5167b.woff") format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Signika';
    src: url("../fonts/signika-regular-webfont.4c811af8a6a1.woff2") format('woff2'),
        url("../fonts/signika-regular-webfont.ddc09b218557.woff") format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Signika';
    src: url("../fonts/signika-semibold-webfont.944453bc67ce.woff2") format('woff2'),
        url("../fonts/signika-semibold-webfont.e5e1a23ca352.woff") format('woff');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Signika';
    src: url("../fonts/signika-bold-webfont.fb23f9610ea9.woff2") format('woff2'),
        url("../fonts/signika-bold-webfont.6136570e0b88.woff") format('woff');
    font-weight: 700;
    font-style: normal;
}

/********** BACKGROUND GRID **********/

.grid-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 900000;
    pointer-events: none;
}

.grid-overlay.active {
    display: block;
}

.grid-overlay::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(255, 0, 0, 0.4) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 0, 0, 0.4) 1px, transparent 1px);
    background-size: calc(100% / 12) 100%;
}

@media (max-width: 928px) {
    .grid-overlay::before {
        background-size: 60px 60px;
    }
}

/********** RESET AND BASE **********/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    min-width: 0;
}

html {
    font-size: 16px;
    scrollbar-width: auto;
    scrollbar-color: #285095 #333;
    hanging-punctuation: first last;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 1rem;
}

::-webkit-scrollbar-track {
    background: #285095;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #333;
}

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    font-family: 'Roboto', 'Roboto-Condensed', 'Signika', 'Arsenal', sans-serif;
    color: #555;
    background-color: #FFF;
    margin: 0;
    display: flex;
    flex-direction: column;
}

img,
picture,
svg,
video {
    display: block;
    max-width: 100%;
}


h1 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(5rem, 4vw + 1rem, 5rem);
    margin-bottom: 2rem;
    font-weight: 900;
}

h2 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(3.75rem, 3.5vw + 1rem, 3.75rem);
    margin-bottom: 1.75rem;
    font-weight: 700;
    overflow-wrap: break-word;
    hyphens: auto;
}

h3 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(2rem, 3vw + 1rem, 2rem);
    margin-bottom: 1.5rem;
    font-weight: 600;
    overflow-wrap: break-word;
    hyphens: auto;
}

h4 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.75rem, 2.5vw + 1rem, 1.75rem);
    font-weight: 500;
    margin-bottom: 1.25rem;
    overflow-wrap: break-word;
    hyphens: auto;
}

h5 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.5rem, 2vw + 1rem, 1.5rem);
    margin-bottom: 1rem;
    font-weight: 400;
    overflow-wrap: break-word;
    hyphens: auto;
}

h6 {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(1.25rem, 1.5vw + 1rem, 1.25rem);
    margin-bottom: 0.75rem;
    font-weight: 700;
    overflow-wrap: break-word;
    hyphens: auto;
}

p {
    font-family: 'Roboto', sans-serif;
    font-size: clamp(0.875rem, 1.5vw + 1rem, 0.875rem);
    margin-bottom: 0.875rem;
    font-weight: 300;
    hyphens: auto; 
    max-width: 70ch;
    margin: 0 auto;
}

a {
    color: #2E98ED;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

.page-container {
    padding-top: 96px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.container {
    width: calc(100% / 12 * 10);
    margin: 0 auto;
}

.section-large {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.section-medium {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.section-small {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.underline {
    padding-bottom: 0;
    position: relative;
}

.underline::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0.375rem;
    border-radius: 12px;
    background: #303030;
}

.underline-light {
    padding-bottom: 0;
    position: relative;
}

.underline-light::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 0.125rem;
    border-radius: 12px;
    background: linear-gradient(to right, #3B8210, #FF931E, #F25D24, #285A06);
}

textarea {
    resize: none;
}

textarea:focus {
    outline: 2px solid #808080;
}

input:focus {
    outline: 2px solid #808080;
}



#popup-overlay { 
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
}

#popup-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    width: 35vw;
    height: 15vh;
    border-radius: 8px;
    z-index: 5000;
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
    background: rgba(255, 255, 255, 0.35);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    gap: 1.5rem;
    box-shadow: -4px 4px 16px rgba(0,0,0,0.2);
    padding: 0.75rem;
}

.popup-left,
.popup-right {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%; 
    height: 100%;
    box-sizing: border-box;
}

.popup-left-image {
    background-image: url("../svg/apus-only-logo.24b44a31f940.svg");
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
}

.popup-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0.75rem;
    width: 100%;
    box-sizing: border-box;
}


#popup-message {
    color: #333;
    text-align: center;
    font-family: 'Roboto', 'Signika', 'Arsenal', sans-serif;
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 0px;
    line-height: 1.5;
    padding: 0;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    white-space: normal;
}

.close-popup {  /* popup do button-contact */
    position: absolute;
    top: -4px; 
    right: 4px; 
    background: transparent;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 10000; 
    transition: color 0.3s ease;
}

.close-popup:hover,
.close-popup:focus { /* popup do button-contact */
    color: #808080;
    outline: none;
}


/*img {
      font-style: italic;
      max-width: 100%;
      height: auto;
      vertical-align: middle;
      background-repeat: no-repeat;
      background-size: cover;
  } 


  
  /* - - - - - - - - - - - - - - - - - */

/********** base.html **********/

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: 100vw;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.hidden {
    opacity: 0;
    visibility: hidden;
}

#logoanimation {
    width: 12rem;
    height: auto;
    animation: pulsar 2s infinite;
}

@keyframes pulsar {
    0% {
        transform: scale(0.95);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.4;
    }

    100% {
        transform: scale(0.95);
        opacity: 1;
    }
}









/*HEADER*/
header {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #ffffff7f;
    width: 100%;
    height: 96px;
    box-sizing: border-box;
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 95%;
    width: calc(80rem - 2rem);
    margin: 0 auto;
    height: 100%;
}

header.shadow {
    box-shadow: -2px 2px 12px rgba(0,0,0,0.15);
}


header.scrolled-down {
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
}

header.scrolled-up {
    transform: translateY(0);
    transition: transform 0.3s ease-in-out;
}

#apus-logo-original {
    height: 4.5rem;
    width: auto;
    transition: 0.2s;
    overflow: visible;
}

#apus-logo-original:hover {
    scale: 1.016
}

.main-nav > ul {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
    position: static; 
    left: auto; 
    width: auto; 
    max-width: none; 
}

.main-nav > li {
    position: relative;
    display: inline-block;
    padding: 0;
    margin: 0;
}

.main-nav > ul > li {
    padding-right: 3rem;
    padding-left: 3rem;
    position: relative;
    display: block;
}

.main-nav > ul > li:last-child {
    padding-right: 0;
}

.main-nav > ul > li > a {
    text-decoration: none;
    font-family: 'Signika', 'Arsenal', sans-serif;
    font-size: 1rem;
    letter-spacing: 0px;
    font-weight: 300;
    color: #333;
    transition: color 0.4s ease;
    position: relative;
    display: block; 
    padding: 1.5rem 0;
    margin: -1.5rem 0;
}

.main-nav ul li a span {
    position: relative;
}

.main-nav ul li a span::after {
    content: '';
    position: absolute;
    bottom: -0.15rem;
    left: 50%;
    width: 0;
    height: 1px;
    border-radius: 36px;
    background: linear-gradient(to right, #285095, #2E98ED);
    transition: width 0.2s ease-out;
    transform: translateX(-50%);
}

.main-nav ul li a:hover span::after,
.main-nav ul li a.active span::after {
    width: 100%;
}

.main-nav ul li a.active span::after {
    background: linear-gradient(to right, #303030, #808080);
    transition: none;
}


/*adicionais do dropdown-menu*/
.main-nav ul li.dropdown-open > a::after {
    width: 100%;
}

.main-nav ul li.dropdown-open > a {
    text-shadow: 0px 0px 0, -0.5px -0.5px #333;
}

.main-nav > ul > li > a.dropdown-toggle {
    display: flex; 
    align-items: center;
}

.dropdown-indicator {
    margin-left: 0.0675rem; 
    width: 0.75rem; 
    transition: transform 0.3s ease;
    color: #333;
}

.dropdown-open .dropdown-indicator {
    transform: rotate(180deg);
}

.main-nav > ul > li {
    height: 100%; 
}

/*dropdown-menu*/
.dropdown-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(0rem);
    background: linear-gradient(to bottom, #333333ef, #2850958d);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 0rem;
    width: auto;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s, transform 0.4s;
    z-index: 1001;
    pointer-events: none;
    white-space: nowrap;
    overflow: hidden;
    box-shadow: -2px 2px 12px rgba(0,0,0,0.15);
}

.dropdown-menu ul {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.dropdown-menu li {
    display: flex;
    align-items: center; 
    justify-content: center;
    margin: 0; 
    padding: 0;
    min-height: 0;
}

.dropdown-menu li a {
    color: #fff;
    text-decoration: none;
    padding: 1.5rem; 
    display: block; 
    width: 100%; 
    box-sizing: border-box; 
    transition: background-color 0.4s; 
    border-radius: 0;
    font-family: 'Signika', 'Arsenal', sans-serif;
    font-size: 1rem;
    letter-spacing: 0px;
    font-weight: 300;
    text-align: center;
}

.dropdown-menu li a:hover {
    text-shadow: 0px 0px 0, -0.5px -0.5px #333;
}

.dropdown-menu li:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px; 
}

.dropdown-menu li:last-child {
    border-bottom-left-radius: 12px; 
    border-bottom-right-radius: 12px; 
}
/*dropdown-menu*/


/*contact-dropdown-menu*/
/* Estilos gerais para o formulário de contato dentro do dropdown */
.contact-form-dropdown {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1.5rem;
    background: #ffffffa6;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    box-shadow: -2px 2px 12px rgba(0,0,0,0.15);
    width: 360px; 
    z-index: 9999
}

/* item específico do dropdown de contato */
.contact-dropdown {
    position: relative;
}

/* dropdown de contato alinhado à direita do botão Contato */
.contact-dropdown > .contact-form-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    transform: none !important;
    width: min(360px, calc(100vw - 1rem));
    max-width: calc(100vw - 1rem);
    z-index: 9999;
}

.form-group {
    display: flex;
    flex-direction: column; 
    align-items: flex-start;
}

.form-group label {
    display: block;
    width: 100%;
    box-sizing: border-box; 
    font-family: 'Signika', 'Roboto', 'Roboto-Condensed', 'Arsenal', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    text-align: left;
    color: #333;
    letter-spacing: 4px;
    padding-bottom: 0.125rem;
    padding-top: 0.625rem;
}

.form-group input,
.form-group textarea,
.form-group select,
.form-group-phone input,
.form-group-phone textarea,
.form-group-phone select {
    padding: 0.375rem;
    border-top-left-radius: 0px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 12px;
    border: 1px solid #DDD;
    width: 100%;
    box-sizing: border-box; 
    font-family: 'Signika', 'Roboto', 'Roboto-Condensed', 'Arsenal', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: -0.4px;
    background-color: #fff;
    color: #555;
}

.form-group textarea {
    height: 9rem;
}

.form-group select,
.form-group-phone select {
    -webkit-appearance: none; /* Remove a aparência padrão do WebKit */
    -moz-appearance: none; /* Remove a aparência padrão do Mozilla */
    appearance: none; /* Remove a aparência padrão */
    padding: 0.375rem;
    border-top-left-radius: 0px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 12px;
    border: 1px solid #DDD;
    width: 100%;
    box-sizing: border-box; 
    font-family: 'Signika', 'Roboto', 'Roboto-Condensed', 'Arsenal', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: -0.4px;
    background-color: #fff;
    color: #555;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="5" viewBox="0 0 10 5"><path fill="%23555" d="M0 0l5 5 5-5z"/></svg>'); /* Adiciona uma seta personalizada */
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 10px 5px;
    padding-right: 1.5rem; /* Adiciona espaço para a seta personalizada */
}


/* Estilos para o container do número de telefone que inclui prefixo e número */
.form-group-phone {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.phone-number-label {
    font-family: 'Signika', 'Roboto', 'Roboto-Condensed', 'Arsenal', sans-serif;
    font-size: 0.875rem;
    font-weight: 300;
    text-align: left;
    color: #333;
    letter-spacing: -0.4px;
    display: block; 
}

#phone-number-id_0 {
    flex-basis: 40%; 
    background-color: #fff;
    color: #333;
}

#phone-number-id_1 {
    flex-grow: 1; 
}

.contact-form button[type="submit"] {
    padding: 0.5rem 2.25rem;
    background-color: #285095;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: -2px 2px 12px rgba(0,0,0,0.15);
    display: block; /* Importante para permitir a margem automática funcionar */
    margin-left: auto;  
    margin-right: auto; 
    margin-top: 1rem;   
    font-family: 'Signika', 'Arsenal', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: -0.4px;
}

.contact-form button[type="submit"]:hover,
.contact-form button[type="submit"]:focus {
    background-color: #F4F1EC;
    color: #303030;
}



/*contact-dropdown-menu*/

/*header-login-button*/
.main-nav ul li.login-button a {
    color: #333;
    text-decoration: none;
    border-radius: 12px;
    margin-top: -1.25rem;
    padding: 0.5rem 2.5rem;
    font-family: 'Signika', 'Arsenal', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    font-weight: 400;
    box-shadow: -2px 2px 12px rgba(0,0,0,0.15);
    border: 1px solid #555;
    transition: 0.2s ease-in-out;
}

.main-nav ul li.login-button a::after{
    background: none;
}

.main-nav ul li.login-button a:hover {
    background-color: #808080;
    color: #333;
    text-shadow: none;
    box-shadow: -2px 2px 12px rgba(0,0,0,0.15);
    border: 1px solid #333;
}

.hamburger {
    display: none;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    position: absolute;
    margin-right: 0rem;
    top: 50%;
    transform: translateY(-50%) scaleX(2);
    cursor: pointer;
    z-index: 1001;
}

.hamburger .bar {
    display: block;
    width: 3.75rem;
    height: 6px;
    background-color: #333;
    margin: 6px auto;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

@media (max-width: 1100px) {
    .main-nav > ul > li {
        padding-left: 1.5rem;
        padding-right: 3rem;
        position: relative;
        display: block;
    }
}

@media (max-width: 1000px) {
    .main-nav > ul > li {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        position: relative;
        display: block;

    }
}

@media (max-width: 840px) {
    html {
        font-size: 16px;
    }

    h1 {
        font-size: 3.75rem;
    }

    .main-nav > ul > li > a::after {
        display: none; /* Oculta o sublinhado antigo */
    }

    /* Certifique-se de que o sublinhado do modo de hambúrguer é visível */
    .main-nav ul li a span::before {
        display: inline-block; /* Garante que o sublinhado novo aparece */
    }

    .hamburger {
        display: block;
        cursor: pointer;
        border: none;
        background: none;
        padding: 0;
        position: absolute;
        right: 1.5rem;
        top: 50%;
        transform: translateY(-50%) scaleX(1);
        z-index: 1001;
    }

    .hamburger.active .bar:nth-child(2){
        opacity: 0;
      }

    .hamburger.active .bar:nth-child(1){
        transform: translateY(12px) rotate(45deg);
      }
    
    .hamburger.active .bar:nth-child(3){
        transform: translateY(-12px) rotate(-45deg);
      }
      
      .main-nav > ul {
        position: fixed;
        left: -100%;
        background: linear-gradient(to bottom, #333333ef, #2850958d);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0;
        top: 6rem;
        z-index: 1002;
        list-style: none;
        max-width: 95%;
        min-width: 80%;
        border-bottom-right-radius: 12px;
        border-bottom-left-radius: 12px;
        box-shadow: -6px 6px 12px rgba(0,0,0,0.15);
        transition: none;
    }
    
    .main-nav > ul.active {
        left: 0%;
        transform: translateX(12.5%);
    }

    .main-nav > ul > li {
        display: flex;
        align-items: center;
        justify-content: center;
        align-content: center;
        width: 100%;
        margin: 0;
        padding: 1.5rem 0rem;
        text-align: center;
    }

    .main-nav > ul > li > a {
        display: flex;
        position: relative;
        align-items: center;
        justify-content: center;
        line-height: 5rem;
        text-decoration: none;
        width: 30%;
        text-align: center;
        color: #fff;
        font-size: 1rem;
        font-weight: 200;
        padding: 0rem;
        box-sizing: border-box;
    }

    .main-nav > ul > li > a span::after {
        bottom: 1.5rem;
    }

    .dropdown-indicator {
        margin-left: 0.0675rem; 
        width: 0.75rem; 
        transition: transform 0.3s ease;
        color: #fff;
    }
    



    .dropdown-menu {
        position: block;
        top: 2.25rem;
        width: auto;
        padding: 0rem;
        background-color: transparent;
        border: 2px solid #f2c65f5f;
        box-shadow: none;
    }

    .dropdown-menu ul {
        position: relative;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        padding: 1.5rem;
        margin: 0;
        height: 100%;
        width: 100%;
        background-color: transparent;
        box-shadow: none;

    }

    .dropdown-menu li {
        display: flex;
        align-items: center; 
        justify-content: center;
        margin: 0; 
        padding: 1rem;
        background-color: transparent;
        box-shadow: none;

    }
    
    .dropdown-menu li a {
        display: block; 
        width: 100%; 
        box-sizing: border-box; 
        transition: background-color 0.4s; 
        border-radius: 0;
        font-family: 'Signika', 'Arsenal', sans-serif;
        font-size: 1rem;
        font-weight: 400;
        text-align: center;
        margin: 0; 
        padding: 0rem;
        height: 2.5rem;
        background-color: transparent;
        box-shadow: none;
    }

    .main-nav ul .contact-form-dropdown {
        width: 85%;
        top: -1.25rem;
    }

    .contact-form-dropdown {
        position: fixed;
        left: 50%;
        background: #ffffffa6;
        color: #555;
        padding: 1rem;
    }

    .form-group textarea {
        height: 7.5rem;
    }

    .main-nav ul li.login-button a {
        color: #fff;
        text-decoration: none;
        border-radius: 8px;
        padding: 0rem 2.5rem;
        font-family: 'Signika', 'Arsenal', sans-serif;
        font-size: 1rem;
        letter-spacing: 2px;
        font-weight: 400;
        transition: 0.2s ease-in-out;
        border: none;
        box-shadow: 6px -6px 12px rgba(255, 255, 255, 0.15);
        box-shadow: -6px 6px 12px rgba(0,0,0,0.15);
        width: 100%;
    }
    
    .main-nav ul li.login-button a:hover {
        background-color: #d8aa4f4a;
        color: #fff;
        text-shadow: none;
        border: none;
        box-shadow: 6px -6px 12px rgba(255, 255, 255, 0.15);
        box-shadow: -6px 6px 12px rgba(0,0,0,0.15);
    }

    .main-nav > ul > li:last-child {
        padding-right: 0;
    }
}













/* footer */

.site-footer {
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #303030, #285095);
    width: 100%;
    color: #fff;
    padding: 3rem 0 1rem 0;
    text-align: center;
    min-height: 18rem;
    height: auto;
    box-sizing: border-box;
    flex-shrink: 0;
    margin-top: 0;
}

.footer-container {
    display: flex;
    flex-direction: column;
    max-width: 95%;
    width: calc(80rem - 2rem);
    margin-left: auto;
    margin-right: auto;
    justify-content: space-between;
    gap: 1.5rem;
    box-sizing: border-box;
}

/* linha 1 */
.footer-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* colunas */
.footer-column-1,
.footer-column-2,
.footer-column-3 {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    min-width: 0;
    box-sizing: border-box;
}

.footer-column-1 {
    align-items: flex-end;
    flex: 0 1 22%;
    max-width: 22%;
    position: relative;
    padding-top: 6rem;
}

.footer-column-2 {
    align-items: flex-end;
    flex: 0 1 18%;
    max-width: 18%;
}

.footer-column-3 {
    align-items: flex-end;
    flex: 0 1 28%;
    max-width: 28%;
}

/* logo */
#apus-logo-style {
    height: 4.5rem;
    width: auto;
    transition: 0.2s;
    overflow: visible;
    margin-bottom: 0;
    position: absolute;
    left: 0;
    top: 0;
}

#apus-logo-style:hover {
    scale: 1.016
}

/* coluna 1 e navegação */
.footer-text-1,
.footer-nav {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
    width: 100%;
    height: 100%;
}

.footer-text-1 a,
.footer-nav a {
    display: inline-flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-decoration: none;
    font-family: 'Roboto', 'Signika', 'Arsenal', sans-serif;
    letter-spacing: -0.7px;
    font-size: 0.96rem;
    color: #fff;
    transition: color 0.4s ease;
    text-align: left;
    word-wrap: break-word;
    hyphens: auto;
    padding-bottom: 2.25rem;
    position: relative;
    line-height: 1.3;
}

.footer-text-1 a {
    font-weight: 250;
}

.footer-nav a {
    font-weight: 300;
}

.footer-text-1 a:hover,
.footer-nav a:hover {
    text-shadow: 0px 0px 0, -0.5px -0.5px #333;
}

.footer-text-1 a span,
.footer-nav a span {
    position: relative;
}

.footer-text-1 a span::after,
.footer-nav a span::after {
    content: '';
    position: absolute;
    bottom: -0.2rem;
    left: 50%;
    width: 0;
    height: 1px;
    border-radius: 36px;
    background: linear-gradient(to right, #808080, #fff);
    transition: width 0.2s ease-out;
    transform: translateX(-50%);
}

.footer-text-1 a:hover span::after,
.footer-text-1 a.active span::after,
.footer-nav a:hover span::after,
.footer-nav a.active span::after {
    width: 100%;
}

.footer-text-1 a.active span::after,
.footer-nav a.active span::after {
    background: linear-gradient(to right, #285095, #2E98ED);
    transition: none;
}

.footer-initial-arrow {
    margin-left: 0.0675rem;
    width: 1rem;
    transition: transform 0.3s ease;
    color: #fff;
}

/* newsletter */
.footer-newsletter {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: stretch;
    width: 100%;
}

.footer-newsletter p {
    font-family: 'Signika', 'Arsenal', sans-serif;
    color: #FFF;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.37rem;
    text-align: center;
    padding: 0 0 0rem 0;
    width: 100%;
    margin: 0;
    line-height: 1.25;
}

#footer-newsletter {
    display: flex;
    margin-top: 0.85rem;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
}

#footer-newsletter input {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 12rem;
    padding: 0.56rem 0.72rem;
    border-radius: 10px;
    font-family: 'Roboto-Condensed', 'Roboto', 'Signika', 'Arsenal', sans-serif;
    color: #333;
    background-color: #ffffff;
    font-size: 0.88rem;
    font-weight: 300;
    border: 1px solid #303030;
    box-sizing: border-box;
    line-height: 1.2;
}

.button-footer-newsletter {
    flex: 0 0 auto;
    white-space: nowrap;
    letter-spacing: -0.2px;
    padding: 0.5rem 1.5rem;
    width: fit-content;
    color: #fff;
    border-radius: 6px;
    background: #285095;
    text-decoration: none;
    font-family: 'Signika', 'Arsenal', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    letter-spacing: 0rem;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.button-footer-newsletter:hover {
    background-color: #2E98ED;
    box-shadow: -2px 2px 12px rgba(0,0,0,0.15);
    
}

/* redes sociais */
.footer-social-media {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    margin-top: 0.95rem;
    gap: 0.75rem;
    width: 100%;
}

.social-media-icon {
    width: 1.5rem;
    transition: transform 0.3s ease-in-out;
}

/* copyright */
.footer-text-2 {
    width: 100%;
    margin: 0;
    padding: 0.25rem 0 0 0;
}

.footer-text-2 p {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Arsenal', sans-serif;
    letter-spacing: -0.5px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffffbf;
    transition: color 0.4s ease;
    padding: 0;
    margin: 0 auto;
    text-align: center;
    line-height: 1.4;
}


@media (max-width: 1100px) {
    .site-footer {
        min-height: 15rem;
    }

    .footer-row {
        gap: 1.15rem;
    }

    .footer-column-1 {
        flex-basis: 23%;
        max-width: 23%;
    }

    .footer-column-2 {
        flex-basis: 18%;
        max-width: 18%;
    }

    .footer-column-3 {
        flex-basis: 30%;
        max-width: 30%;
    }

    #footer-newsletter input {
        max-width: 10.8rem;
        font-size: 0.84rem;
        padding: 0.52rem 0.66rem;
    }

    .button-footer-newsletter {
        min-width: 6.3rem;
        max-width: 6.7rem;
        font-size: 0.78rem;
        padding: 0.52rem 0.62rem;
    }

    .footer-newsletter p {
        font-size: 0.84rem;
        letter-spacing: 0.12rem;
    }

    .footer-text-1 a,
    .footer-nav a {
        font-size: 0.92rem;
        padding-bottom: 0.82rem;
    }
}

@media (max-width: 820px) {
    .site-footer {
        min-height: 15rem;
        padding-top: 1.5rem;
    }

    .footer-row {
        gap: 0.9rem;
    }

    .footer-column-1 {
        flex-basis: 24%;
        max-width: 24%;
        padding-top: 3rem;
    }

    .footer-column-2 {
        flex-basis: 18%;
        max-width: 18%;
    }

    .footer-column-3 {
        flex-basis: 31%;
        max-width: 31%;
    }

    #apus-logo-style {
        height: 4rem;
    }

    .footer-text-1 a,
    .footer-nav a {
        font-size: 0.88rem;
        letter-spacing: -0.45px;
        padding-bottom: 0.72rem;
    }

    .footer-newsletter p {
        font-size: 0.8rem;
        letter-spacing: 0.08rem;
        padding-bottom: 0.5rem;
    }

    #footer-newsletter {
        gap: 0.42rem;
        margin-top: 0.7rem;
    }

    #footer-newsletter input {
        max-width: 9.4rem;
        font-size: 0.8rem;
        padding: 0.46rem 0.58rem;
        border-radius: 9px;
    }

    .button-footer-newsletter {
        min-width: 5.7rem;
        max-width: 6.1rem;
        font-size: 0.72rem;
        padding: 0.46rem 0.52rem;
        border-radius: 9px;
    }

    .footer-social-media {
        gap: 0.62rem;
        margin-top: 0.75rem;
    }

    .social-media-icon {
        width: 1.08rem;
    }

    .footer-text-2 p {
        font-size: 0.88rem;
    }
}

@media (max-width: 640px) {
    .site-footer {
        min-height: 15rem;
        padding-top: 1.5rem;
    }

    .footer-container {
        gap: 1.2rem;
    }

    .footer-row {
        gap: 0.7rem;
    }

    .footer-column-1 {
        flex-basis: 24%;
        max-width: 24%;
        padding-top: 3rem;
    }

    .footer-column-2 {
        flex-basis: 17%;
        max-width: 17%;
    }

    .footer-column-3 {
        flex-basis: 32%;
        max-width: 32%;
    }

    #apus-logo-style {
        height: 3.55rem;
    }

    .footer-text-1 a,
    .footer-nav a {
        font-size: 0.82rem;
        padding-bottom: 0.62rem;
        line-height: 1.25;
    }

    .footer-newsletter p {
        font-size: 0.76rem;
        letter-spacing: 0.05rem;
    }

    #footer-newsletter {
        gap: 0.36rem;
        margin-top: 0.55rem;
    }

    #footer-newsletter input {
        max-width: 8.25rem;
        font-size: 0.76rem;
        padding: 0.4rem 0.48rem;
    }

    .button-footer-newsletter {
        min-width: 5.1rem;
        max-width: 5.5rem;
        font-size: 0.68rem;
        padding: 0.4rem 0.42rem;
    }

    .footer-social-media {
        gap: 0.5rem;
        margin-top: 0.65rem;
    }

    .social-media-icon {
        width: 1rem;
    }

    .footer-text-2 p {
        font-size: 0.8rem;
        line-height: 1.35;
    }
}