/* Estilos Gerais */
:root {
    --primary-color: #003b61;
    --accent-color: #c67b57;
    --text-color: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.2);
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--primary-color);
    color: var(--text-color);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

ul {
    list-style: none;
}

/* Particles.js Background */
#particles-js {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #003b61;
}

.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 200px rgba(0, 0, 0, 0.8);
    z-index: 0;
    pointer-events: none;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: relative;
    z-index: 10;
}

.logo img {
    height: 40px;
}

/* Navegação */
nav ul {
    display: flex;
    gap: 30px;
}

nav ul li {
    position: relative;
    padding: 10px 0;
}

nav ul li a {
    font-size: 16px;
    font-weight: 500;
    transition: color var(--transition-speed);
}

nav ul li a:hover {
    color: var(--accent-color);
}

nav ul li.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 3px;
}

/* Botões de Autenticação */
.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn-cadastrar, .btn-entrar {
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    transition: all var(--transition-speed);
}

.btn-cadastrar {
    color: var(--text-color);
}

.btn-cadastrar:hover {
    text-decoration: underline;
}

.btn-entrar {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.btn-entrar:hover {
    background-color: #d58a66;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

/* Conteúdo Principal */
main {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.center-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px 0;
}

.animated-logo {
    width: 200px;
    animation: pulse 3s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    }
    100% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
    }
}

/* Seções */
section {
    width: 100%;
    max-width: 1200px;
    text-align: center;
    transition: opacity 0.5s, transform 0.5s;
}

.hidden-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.active-section {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--text-color);
}

/* Footer - Serviços */
footer {
    padding: 30px 50px;
    position: relative;
    z-index: 5;
}

.services {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.service-item {
    position: relative;
    padding: 10px 15px;
    cursor: pointer;
    transition: transform var(--transition-speed);
}

.service-item h3 {
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
}

.service-hover-effect {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-speed);
    border-radius: 2px;
}

.service-item:hover .service-hover-effect {
    width: 100%;
}

.service-item:hover {
    transform: translateY(-2px);
}

.separator {
    color: var(--accent-color);
    font-size: 20px;
}

/* Modais */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background-color: var(--primary-color);
    margin: 10% auto;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s;
}

.service-modal-content {
    max-width: 800px;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-color);
    transition: color var(--transition-speed);
}

.close-modal:hover {
    color: var(--accent-color);
}

.modal h2 {
    margin-bottom: 20px;
    color: var(--text-color);
    text-align: center;
}

/* Formulários */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 5px;
}

.forgot-password {
    color: var(--accent-color);
}

.forgot-password:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: var(--accent-color);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color var(--transition-speed);
}

.btn-submit:hover {
    background-color: #d58a66;
}

/* Detalhes do Serviço */
#service-details {
    margin-bottom: 20px;
}

.btn-saiba-mais {
    padding: 12px 25px;
    background-color: var(--accent-color);
    color: var(--text-color);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed);
    display: block;
    margin: 0 auto;
}

.btn-saiba-mais:hover {
    background-color: #d58a66;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow-color);
}

/* Página de Login */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    z-index: 2;
    position: relative;
}

.login-container {
    background-color: rgba(0, 59, 97, 0.8);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    display: flex;
    position: relative;
}

.login-sidebar {
    background-color: rgba(198, 123, 87, 0.9);
    padding: 40px;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(198, 123, 87, 0.8) 0%, rgba(198, 123, 87, 0.4) 100%);
    z-index: -1;
}

.login-sidebar-content {
    position: relative;
    z-index: 1;
}

.login-sidebar h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #fff;
}

.login-sidebar p {
    color: #fff;
    margin-bottom: 30px;
    line-height: 1.6;
}

.login-features {
    margin-top: 30px;
}

.login-feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #fff;
}

.login-feature-item i {
    margin-right: 10px;
    font-size: 18px;
}

.login-main {
    padding: 40px;
    width: 60%;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header img {
    height: 50px;
    margin-bottom: 20px;
}

.login-header h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

.login-header p {
    color: rgba(255, 255, 255, 0.7);
}

.login-form {
    margin-bottom: 20px;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.login-form .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    transition: all 0.3s;
}

.login-form .form-group input:focus {
    border-color: var(--accent-color);
    outline: none;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-option {
    display: flex;
    align-items: center;
}

.remember-option input {
    margin-right: 8px;
}

.forgot-option a {
    color: var(--accent-color);
    font-size: 14px;
    transition: all 0.3s;
}

.forgot-option a:hover {
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 12px;
    background-color: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.login-button:hover {
    background-color: #d58a66;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.login-divider {
    display: flex;
    align-items: center;
    margin: 25px 0;
}

.login-divider span {
    flex: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.login-divider p {
    margin: 0 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.social-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-button i {
    font-size: 20px;
}

.register-link {
    text-align: center;
    margin-top: 25px;
}

.register-link p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.register-link a {
    color: var(--accent-color);
    font-weight: 500;
    transition: all 0.3s;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 1024px) {
    header {
        padding: 15px 30px;
    }
    
    nav ul {
        gap: 20px;
    }
    
    .services {
        flex-direction: column;
        gap: 15px;
    }
    
    .separator {
        display: none;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    .auth-buttons {
        margin-top: 15px;
    }
    
    .animated-logo {
        width: 150px;
    }
    
    .login-container {
        flex-direction: column;
    }
    
    .login-sidebar, .login-main {
        width: 100%;
    }
    
    .login-sidebar {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 20px;
    }
    
    .login-sidebar {
        padding: 20px;
    }
    
    .login-main {
        padding: 20px;
    }
}



/* Estilo para ocultar serviços do rodapé */
.footer-services-hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}


/* Estilos para o logo do rodapé */
.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}
