/** NAVBAR **/
@import url('https://fonts.googleapis.com/css?family=Work+Sans:400,600');

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
	background-color: #e8e6e6;
	font-family: 'Work Sans', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
	font-weight: 800;
}

.container {
	width: 80%;
	margin: 0 auto;
}

header {
    background: #8783A3;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra inicial */
    transition: box-shadow 0.3s ease-in-out; /* Transição da sombra */
    max-height: 80px;
    position: relative; /* Necessário para o z-index funcionar */
    z-index: 1000; /* Valor alto para garantir que fique acima de tudo */
}

header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Sombra intensificada ao passar o mouse */
}

header::after {
    content: '';
    display: table;
    clear: both;
}

.logo {
    padding: 10px 0;
    width: 50px;
    align-self: center;
}

@keyframes fadeInSlide {
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px; /* Aumentei o espaçamento para 30px */
}

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

nav.d-flex a {
    margin-right: 15px; /* Ajuste conforme necessário */
}

nav.d-flex a:last-child {
    margin-right: 0;
}

nav a{
    position: relative;
    padding-top: 0;
    line-height: 80px; /* Supondo que a altura do header seja 80px */
    color: white;
    text-decoration: none;
}

nav a:hover {
  color: #000;
}

nav .login{
    position: relative;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0; /* Fica automaticamente no topo do elemento <a> */
    left: 0;
    height: 5px;
    width: 0;
    background-color: #444;
    transition: width 250ms ease-in-out;
}
  
nav a:hover::before {
    width: 100%;
}

.no-hover-effect:hover::before {
    content: none;
}

nav.d-flex {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.dropdown-wrapper {
    display: contents; /* Remove a camada extra de container */
}


.nav-item-wrapper {
    position: static; /* Permite que o dropdown escape do container */
    display: flex;
    justify-content: center;
}

.nav-link.dropdown-toggle {
    position: relative;
    color: white !important;
    padding: 0 15px;
    white-space: nowrap;
}

.dropdown-menu {
    background: #8783A3;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    position: absolute;
    margin-top: 5px;
    text-align: center;
    inset: 90% auto auto 0;
    transform: translateX(calc(50% - 60px)); /* Ajuste proporcional */
}

.nav-link.dropdown-toggle {
    position: static; /* Permite que o dropdown use o fluxo natural */
    color: white !important;
    padding: 0 15px;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: #8783A3;
}

.dropdown-item {
    color: white !important;
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    position: relative;
    line-height: normal !important;
}

.dropdown-item:hover {
    background: transparent !important;
    color: #000 !important;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 5px;
    width: 0;
    background-color: #444;
    transition: width 250ms ease-in-out;
}

.dropdown-item:hover::before {
    width: 100%;
}

.nav-link.dropdown-toggle::after {
    display: none !important;
}

.nav-link.dropdown-toggle::before {
    display: none !important;
} 
/** NAVBAR **/

/** FOOTER **/
footer {
    background-color: #21202E; /* Cor igual à navbar */
    width: 100%;
    padding: 20px 0 10px; /* Reduzi o padding */
    position: relative;
    margin-top: 50px; /* Espaço antes do footer */
    box-shadow: inset 0 8px 12px -6px rgba(0,0,0,0.2); /* Nova sombra interna */
    border-top: 1px solid rgba(255,255,255,0.1); /* Borda sutil para definição */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Espaçamento menor entre elementos */
}

.decorative-line {
    height: 1px; /* Linha mais fina */
    width: 60%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(112, 105, 159, 0.4) 50%, 
        transparent);
    margin-bottom: 10px;
}

.icon {
    width: 35px; /* Ícones menores */
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background-color: rgba(255,255,255,0.1); /* Fundo translúcido */
    border: 1px solid rgba(255,255,255,0.2);
    text-decoration: none;
}

.icon i {
    font-size: 1rem; /* Ícones mais compactos */
}

#facebook {
    color: rgba(255,255,255,0.9);
}

#youtube {
    color: rgba(255,255,255,0.9);
}


.icon:hover {
    transform: translateY(-2px); /* Animação mais sutil */
    background-color: rgba(255,255,255,0.2);
    text-decoration: none;
}


.icon:hover#facebook {
    background-color: #1877f2;
    color: white;
}

.icon:hover#youtube {
    background-color: #ff0000;
    color: white;
}


footer p {
    font-size: 0.8rem; /* Texto menor */
    color: white; /* Cor contrastante */
    text-align: center;
    margin: 10px 0 0;
    line-height: 1.4;
    max-width: 80%;
    font-weight: 500;
}

/* EFEITO DE NEON OPCIONAL */
.icon {
    position: relative;
}

.icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    box-shadow: 0 0 10px currentColor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.icon:hover::after {
    opacity: 0.6;
}

.contact-info {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.contact-item i {
    font-size: 1.1rem;
    color: #4a4563;
}

.contact-item:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.contact-item:hover i {
    color: #5f5a85;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    footer {
        padding: 15px 0 5px;
    }
    
    .footer-content {
        gap: 10px;
    }
    
    footer p {
        font-size: 0.7rem;
        max-width: 90%;
    }
    
    .icon {
        width: 30px;
        height: 30px;
    }
    
    .decorative-line {
        width: 70%;
    }
    .contact-info {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .contact-item {
        font-size: 0.8rem;
    }
    
    .contact-item i {
        font-size: 1rem;
    }
}
/** FOOTER **/

/** MAIN **/
.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #8783A3
}

.card {
    transition: transform 0.3s;
    border-radius: 20px;
}

.card:hover {
    transform: translateY(-10px);
}

.hero-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
}
/** MAIN **/
