/* Estilos Globais e de Layout */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* Variáveis CSS */
:root {
    --primary-color: #1a365d; /* Azul mais escuro */
    --secondary-color: #3182ce; /* Azul mais suave */
    --accent-color: #4299e1; /* Azul destaque */
    --light-color: #f7fafc;
    --dark-color: #2d3748;
    --success-color: #48bb78;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s ease;
    --navbar-height: 60px; /* Reduzido de 70px para manter consistência */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Estilos para o conteúdo principal */
.main-content {
    position: relative;
    width: 100%;
    margin: 70px 0 0; /* Adiciona margem superior igual à altura da navbar */
    padding: 0 0 2rem;
    color: white;
    flex: 1 0 auto;
}

/* Imagem de fundo */
.main-content::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/logo.jpg') no-repeat center center;
    background-size: 40%;
    background-attachment: fixed;
    z-index: -2;
    opacity: 0.5;
    filter: brightness(1.5);
}

/* Overlay gradiente suave */
.main-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 54, 93, 0.8) 0%,
        rgba(49, 130, 206, 0.75) 100%
    );
    mix-blend-mode: multiply;
    z-index: -1;
}

/* Container do conteúdo principal */
.main-content .hero {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 90%;
    margin: 2rem auto;
    padding: 2.5rem;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.18);
    animation: fadeIn 0.8s ease-out;
    transform: translateZ(0);
    min-height: calc(100vh - 400px); /* Altura mínima para empurrar o footer */
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-background-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    text-align: left;
    color: white;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.auth-background h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.2;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.auth-background p {
    font-size: 1.4rem;
    opacity: 0.95;
    margin: 1rem 0 2rem;
    font-weight: 400;
    max-width: 600px;
    line-height: 1.6;
}

/* Layout Principal */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    position: relative;
    padding-top: var(--navbar-height);
}

/* Barra de Navegação */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height, 60px);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-brand .logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .navbar-brand .logo-img {
        width: 28px;
        height: 28px;
    }
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

/* Botões */
.btn, .login-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    border: 1px solid transparent;
}

.login-toggle {
    background: none;
    border: 1px solid #e2e8f0;
    color: var(--dark-color);
}

.login-toggle i {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.login-toggle:hover i {
    transform: translateX(-3px);
}

.login-toggle:hover {
    background-color: #f7fafc;
    border-color: #cbd5e0;
    color: var(--accent-color);
}

.btn:hover, .login-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:active, .login-toggle:active {
    transform: translateY(0);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn:active {
    transform: translateY(0);
}

/* Navbar */
.navbar {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 1100;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-actions {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Dropdown de Login/Cadastro */
.login-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    width: 380px; /* Aumentado para acomodar melhor os campos */
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1100;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    border: 1px solid #e2e8f0;
    pointer-events: none;
    visibility: hidden;
    overflow: hidden;
}

/* Navegação entre abas */
.auth-tabs {
    display: flex;
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.auth-tab {
    flex: 1;
    padding: 8px 0;
    text-align: center;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.9rem;
    color: #666;
    transition: all 0.3s ease;
}

.auth-tab:hover {
    color: var(--primary-color);
    background-color: #f8fafc;
}

.auth-tab.active {
    color: var(--primary-color);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary-color);
}

/* Estilo para os formulários */
.auth-form {
    display: none;
    padding: 1.5rem;
    animation: fadeIn 0.3s ease;
}

.auth-form.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
}

.auth-form {
    padding: 1.5rem;
}

.auth-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    text-align: center;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-control {
    width: 100%;
    padding: 8px 12px; /* Reduzindo o padding vertical */
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px; /* Reduzindo um pouco o tamanho da fonte */
    transition: border-color 0.3s;
    height: 38px; /* Altura fixa para os campos */
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.forgot-password {
    text-align: right;
    margin-top: 0.5rem;
}

.forgot-password a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.forgot-password a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Estilos para as abas de login/cadastro */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1.5rem;
}

.auth-tab {
    flex: 1;
    padding: 0.75rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #718096;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    position: relative;
}

.auth-tab:hover {
    color: var(--primary-color);
    background-color: #f8fafc;
}

.auth-tab.active {
    color: var(--primary-color);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color);
}

/* Campos de senha */
.password-input {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input .form-control {
    padding-right: 2.5rem;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    background: none;
    border: none;
    color: #718096;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: var(--primary-color);
}

/* Requisitos de senha */
.password-requirements {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #4a5568;
}

.requirement {
    display: flex;
    align-items: center;
    margin: 0.25rem 0;
    color: #718096;
}

.requirement i {
    margin-right: 0.5rem;
    font-size: 0.75rem;
    color: #e53e3e;
}

.requirement.valid i {
    color: #38a169;
}

/* Termos e condições */
.terms {
    font-size: 0.8125rem;
    line-height: 1.4;
    margin: 1rem 0;
}

.terms input[type="checkbox"] {
    margin-right: 0.5rem;
}

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

.terms a:hover {
    text-decoration: underline;
}

/* Botão de envio nos formulários */
.auth-form .btn-primary {
    width: 100%;
    padding: 8px 16px; /* Reduzindo o padding */
    font-size: 13px; /* Reduzindo o tamanho da fonte */
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    width: 100%; /* Faz o botão ocupar toda a largura */
    margin-top: 5px; /* Adicionando um pequeno espaçamento superior */
}

.auth-form .btn-primary:hover {
    background-color: #2c5282;
}

/* Mensagem de erro */
.alert-danger {
    background-color: #fff5f5;
    color: #c53030;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
    border: 1px solid #fed7d7;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-form {
    animation: fadeIn 0.3s ease-in-out;
    padding: 5px 0; /* Reduzindo o padding interno */
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.remember-me input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.remember-me label {
    margin: 0;
    font-size: 0.9375rem;
    cursor: pointer;
}

/* Conteúdo Principal */
.main-content {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* Seção de Serviços */
.services-section {
    width: 100%;
    padding: 4rem 1rem;
    box-sizing: border-box;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.service-card p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Seção CTA */
.cta-section {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem auto;
    max-width: 1000px;
    width: calc(100% - 2rem);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-sizing: border-box;
}

.cta-section h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-section p {
    color: #e2e8f0;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid white;
    cursor: pointer;
}

.cta-button:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-2px);
}

/* Estilos para links do desenvolvedor */
.social-links .divider {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 5px;
    font-size: 0.9rem;
}

.social-links .developer-icon {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    line-height: 1;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    opacity: 0.8;
    margin: 0 1px;
}

.social-links .developer-icon:hover {
    color: var(--accent-color);
    background: rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
    opacity: 1;
}

/* Ajuste para os ícones de redes sociais existentes */
.social-links a:not(.developer-icon) {
    width: 22px;
    height: 22px;
    font-size: 0.9rem;
    line-height: 22px;
}

/* Rodapé */
.footer {
    background: #1a202c;
    color: #e2e8f0;
    padding: 3rem 1.5rem 0;
    font-size: 0.95rem;
    box-sizing: border-box;
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Ajuste para o footer na página inicial */
body.index-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

body.index-page .page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.index-page .main-content {
    flex: 1 0 auto;
}

/* Estilos do footer */
.footer {
    width: 100%;
    background: #1a202c;
    color: #e2e8f0;
    padding: 3rem 0 0;
    margin-top: auto;
}

/* Garante que o conteúdo principal ocupe o espaço disponível */
.main-content {
    flex: 1 0 auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1.5rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #4299e1;
}

.footer-section p {
    margin: 0.5rem 0;
    color: #cbd5e0;
    line-height: 1.6;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
}

.footer-section i {
    width: 20px;
    text-align: center;
    color: #4299e1;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.social-links a {
    color: #cbd5e0;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #4299e1;
}

.footer-bottom {
    position: relative;
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.1);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.copyright {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    margin: 0 auto;
    width: fit-content;
}

.developer-credits {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    text-align: right;
    text-align: right;
}

.developer-credits {
    position: absolute;
    right: 20px; /* Reduzido para ficar mais próximo da borda */
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap; /* Impede quebra de linha */
    padding-left: 20px; /* Espaçamento do texto de direitos autorais */
    background: rgba(0, 0, 0, 0.1); /* Fundo para melhor contraste */
    padding: 5px 15px 5px 20px;
    border-radius: 15px 0 0 15px; /* Borda arredondada à esquerda */
    margin-right: -20px; /* Compensa o padding */
}

.dev-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.dev-label {
    color: #a0aec0;
    font-size: 0.7rem;
    text-align: right;
    line-height: 1.2;
}

.developer-credits a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
    line-height: 1;
}

.developer-credits a:hover {
    color: var(--accent-color);
    opacity: 0.9;
}

.dev-logo {
    height: 22px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.developer-credits span {
    font-size: 0.8rem;
}

/* Ajuste para telas médias */
@media (max-width: 992px) {
    .footer-bottom {
        min-height: 80px;
    }
    
    .developer-credits {
        right: 10px;
    }
}

/* Ajuste para telas pequenas */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        padding: 1rem;
        text-align: center;
        min-height: auto;
        position: relative;
        padding-bottom: 1.5rem;
    }
    
    .copyright {
        position: static;
        margin: 0 0 1rem 0;
        width: 100%;
        order: 1;
    }
    
    .developer-credits {
        position: static;
        transform: none;
        margin: 0.5rem 0 0 0;
        text-align: center;
        background: none;
        padding: 0;
        order: 2;
    }
    
    .dev-container {
        align-items: center;
    }
    
    .dev-label {
        display: none; /* Esconde o rótulo em dispositivos móveis */
    }
    
    .developer-credits a {
        justify-content: center;
    }
    
    .dev-links {
        justify-content: center;
        margin-top: 4px;
    }
}

/* Estilos para a seção hero */
.hero {
    text-align: center;
    padding: 4rem 1rem 6rem;
    background: linear-gradient(135deg, #1a365d, #3182ce);
    color: white;
    position: relative;
    margin-top: -70px; /* Compensa a altura da navbar fixa */
    padding-top: 8rem;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Estilos específicos para a página de serviços */
.services-section {
    padding: 0 0 1.5rem;
    position: relative;
    z-index: 1;
    margin: 0;
}

/* Remove todo o espaço extra acima do título */
.services-section .section-title:first-child {
    margin-top: 0;
    padding-top: 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin: 0 0 0.5rem;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-top: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.3rem;
    color: #e2e8f0;
    margin: 0.5rem auto 2rem;
    max-width: 800px;
    line-height: 1.7;
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    padding: 0 1.5rem;
}

/* Estilos para mensagens de alerta */
.alert {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Estilos para a seção hero */
.hero {
    position: relative;
    padding: 6rem 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

/* Estilos para a seção de recursos */
.features-section {
    padding: 5rem 1.5rem;
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--accent-color);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--dark-color);
    font-size: 1rem;
    line-height: 1.6;
}

/* Estilos para o formulário de login no dropdown */
.login-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    max-height: 85vh; /* Aumentando um pouco a altura máxima */
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 15px;
    margin-top: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e0e0e0;
    overflow-y: auto;
    scrollbar-width: thin;
}

/* Estilização da barra de rolagem */
.login-dropdown::-webkit-scrollbar {
    width: 6px;
}

.login-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.login-dropdown::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.login-dropdown::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.login-dropdown.show {
    display: block;
    opacity: 1;
    transform: translateY(5px);
    pointer-events: auto;
}

.auth-form {
    padding: 1.5rem;
}

.auth-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
    text-align: center;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    color: var(--dark-color);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-size: 0.9375rem;
    transition: var(--transition);
    background-color: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

.forgot-password {
    text-align: right;
    margin-top: 0.5rem;
}

.forgot-password a {
    color: var(--accent-color);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-password a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--dark-color);
}

.remember-me input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    border: 1px solid #cbd5e0;
    border-radius: 0.25rem;
    cursor: pointer;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    color: #6b7280;
    font-size: 0.9375rem;
}

.auth-footer a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-footer a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Responsividade */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 1rem;
        padding-top: 6rem;
    }
    
    .hero h1 {
        font-size: 2.25rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    .navbar {
        padding: 0 1rem;
    }
    
    .main-content {
        padding: 1.5rem 1rem;
    }
    
    .cta-section {
        padding: 2rem 1rem;
        margin: 3rem auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}