/* --- ESTILOS GERAIS --- */
body {
    font-family: 'Inter', sans-serif;
    background-color: #F8F9FA;
    color: #212529;
    overflow-x: hidden;
}
h1, h2, h3, h4, .btn {
    font-family: 'Space Grotesk', sans-serif;
}

/* HEADER */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent !important;
    z-index: 1000;
    padding-top: 20px;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}
.logo {
    color: #FFFFFF !important;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -1px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}
.logo-icon-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* MENU */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav-list {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-item {
    position: relative;
    height: 100%;
}
.nav-link {
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.9;
    text-decoration: none;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
}
.nav-link:hover {
    color: var(--primary) !important;
    opacity: 1;
}
.nav-link i {
    font-size: 0.7rem;
    transition: 0.3s;
    margin-top: 2px;
}
.nav-item:hover .nav-link i {
    transform: rotate(180deg);
}
.submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background-color: #FFFFFF !important;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    margin-top: 10px;
    border-top: 3px solid var(--primary);
    z-index: 1100;
}
.submenu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}
@media (min-width: 993px) {
    .nav-item:hover .submenu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
}
.submenu::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    margin-left: -6px;
    border-width: 0 6px 6px 6px;
    border-style: solid;
    border-color: transparent transparent var(--primary) transparent;
}
.submenu-link {
    color: #333333 !important;
    padding: 12px 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    text-decoration: none;
    transition: 0.2s;
    border-left: 3px solid transparent;
}
.submenu-link:hover {
    background-color: #f8f9fa;
    color: var(--primary) !important;
    border-left-color: var(--primary);
    padding-left: 30px;
}
.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}
.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}
.btn-glow {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 0 15px rgba(211, 47, 47, 0.4);
}
.mobile-toggle {
    display: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 1002;
}

/* HERO (Estilo Planos/Eventos - Alto e Reto) */
.hero-premium {
    position: relative;
    height: 70vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 30, 0.8) 100%), url('../../../img/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
    padding-top: 60px;
}
.hero-content {
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeUp 1s ease-out;
}
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}
.hero-title span {
    color: var(--primary);
}
.hero-subtitle {
    font-size: 1.1rem;
    color: #d1d5db;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* SEÇÃO DE CADASTRO (Efeito Folder) */
.section-register {
    padding: 80px 0;
    background-color: white;
    margin-top: -80px;
    position: relative;
    z-index: 10;
    border-radius: 30px 30px 0 0;
}

/* TABS */
.register-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.tab-btn {
    background: #F8F9FA;
    border: 1px solid #eee;
    color: #666;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn:hover {
    background: #eee;
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.3);
}

/* CARD DE FORMULÁRIO */
.register-container {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    animation: fadeIn 0.5s ease;
}

/* CAIXA DE INFORMAÇÃO DINÂMICA */
.info-context-box {
    background: #e3f2fd; /* Azul suave */
    border-left: 4px solid #2196F3;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

/* Estilo para quando for organizador (opcional, pode mudar cor) */
.info-context-box.organizer-mode {
    background: #fff3e0; /* Laranja suave */
    border-left-color: #ff9800;
}

.info-icon {
    font-size: 1.5rem;
    color: #2196F3;
    margin-top: 3px;
}
.organizer-mode .info-icon {
    color: #ff9800;
}

.info-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark);
    font-weight: 700;
}
.info-text p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

/* INPUTS */
.form-group {
    margin-bottom: 20px;
    position: relative;
}
.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}
.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: 0.3s;
    background: #F8F9FA;
}
.form-input:focus {
    background: white;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.1);
    outline: none;
}

/* Validação de Senha */
.password-strength {
    font-size: 0.8rem;
    margin-top: 5px;
    display: none;
}
.password-strength.weak {
    color: #d32f2f;
    display: block;
}
.password-strength.medium {
    color: #fbc02d;
    display: block;
}
.password-strength.strong {
    color: #388e3c;
    display: block;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.2);
}
.btn-submit:hover {
    background: #b71c1c;
    transform: translateY(-2px);
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 42px;
    color: #aaa;
    cursor: pointer;
}

.form-footer {
    margin-top: 25px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}
.form-footer a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

/* FOOTER & FLUTUANTES (Padrão) */
footer {
    background-color: #111;
    color: #b0b0b0;
    padding-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
}
.footer-logo h3 {
    color: white;
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.footer-links h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.footer-links ul {
    list-style: none;
    padding: 0;
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: 0.3s;
}
.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}
.footer-bottom {
    padding: 30px 0;
    text-align: center;
    font-size: 0.9rem;
}
.float-btn-left {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 9990;
    transition: 0.3s;
}
.whatsapp-btn {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    text-decoration: none;
}
.float-btn-right {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9990;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 0.3s;
}
.float-btn-right.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top {
    width: 50px;
    height: 50px;
    background-color: var(--dark);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.whatsapp-modal {
    background: white;
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    overflow: hidden;
    transform: scale(0.8);
    transition: 0.3s;
}
.modal-overlay.active .whatsapp-modal {
    transform: scale(1);
}
.modal-header {
    background: #075E54;
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
}
.modal-body {
    padding: 25px;
}
.btn-whatsapp-submit {
    width: 100%;
    background: #25D366;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 992px) {
    header {
        padding-top: 15px;
        background-color: transparent;
    }
    .mobile-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        height: 100vh;
        background-color: #111;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px;
        transition: 0.4s;
        z-index: 1000;
        overflow-y: auto;
    }
    .nav-menu.active {
        right: 0;
    }
    .nav-list {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        display: block;
        height: auto;
    }
    .nav-link {
        color: #fff !important;
        font-size: 1.1rem;
        padding: 15px 0;
        justify-content: space-between;
        width: 100%;
    }
    .nav-buttons {
        flex-direction: column;
        width: 100%;
        margin-left: 0 !important;
        margin-top: 30px;
        gap: 15px;
    }
    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: #1a1a1a !important;
        box-shadow: none;
        width: 100%;
        padding: 0;
        margin: 0;
        display: none;
        min-width: unset;
        z-index: 1;
        border-top: none;
        border-radius: 0;
    }
    .nav-item.active .submenu {
        display: block;
        animation: slideDown 0.3s ease;
    }

    .hero-premium {
        height: auto;
        min-height: 400px;
        padding: 100px 0 100px 0;
    }
    .section-register {
        margin-top: -60px;
        padding: 0 20px 80px 20px;
    }
    .register-container {
        padding: 30px 20px;
    }
    .register-tabs {
        flex-direction: column;
        gap: 10px;
    }
    .tab-btn {
        width: 100%;
        justify-content: center;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    .logo-icon-img {
        height: 35px;
    }
    .float-btn-left {
        bottom: 20px;
        left: 20px;
    }
    .float-btn-right {
        bottom: 20px;
        right: 20px;
    }
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* --- UPLOAD DE FOTO --- */
.profile-upload-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.profile-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #f0f0f0;
    border: 3px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-preview i {
    font-size: 2.5rem;
    color: #ccc;
    z-index: 1;
}

.profile-preview.has-image i {
    display: none;
}

.profile-preview:hover {
    border-color: var(--primary);
}

.btn-upload-label {
    margin-top: 10px;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-upload-label:hover {
    text-decoration: underline;
}

/* --- SENHA E VALIDAÇÃO (Mesmo padrão do Reset) --- */
.input-wrapper {
    position: relative;
}

/* Ícone do Olho */
.input-wrapper .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    z-index: 10;
}
.input-wrapper .toggle-password:hover {
    color: var(--primary);
}

/* Lista de Requisitos */
.password-requirements {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #eee;
    margin-top: 5px;
}
.req-item {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 3px;
}
.req-item i {
    font-size: 0.7rem;
    color: #ccc;
}
.req-item.valid i {
    color: #2e7d32;
} /* Verde */
.req-item.valid {
    color: #2e7d32;
}

/* Mensagem de Erro (Match) */
.validation-message {
    font-size: 0.85rem;
    color: #d32f2f;
    margin-top: 5px;
    display: none;
    align-items: center;
    gap: 5px;
}
.validation-message.active {
    display: flex;
}