:root {
    --navy: #0A1A2F;
    --gold: #D4AF37;
    --white: #FFFFFF;
    --off-white: #F9F7F2;
    --text-gray: #555555;
    --header-height: 90px;
    --transition: all 0.5s ease;
}

/* Reset e Estrutura de Fluxo */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

html, body { 
    min-height: 100vh; 
    width: 100%; 
    font-family: 'Montserrat', sans-serif;
    background-color: var(--off-white);
    overflow-x: hidden;
    position: relative;
}

/* Garante que o footer e o conteúdo dividam o espaço corretamente */
body {
    display: flex;
    flex-direction: column;
}

/* --- HEADER PADRONIZADO --- */
.header-global {
    position: fixed;
    top: 0; 
    width: 100%; 
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: transparent;
    transition: var(--transition);
}

.header-global.scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.header-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 0 5%;
    width: 100%;
}

.logo-text { 
    text-decoration: none; 
    display: inline-block;
}

.main-logo { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 1.8rem; 
    letter-spacing: 5px; 
    color: var(--navy); 
    display: block; 
    line-height: 1; 
}

.logo-subtitle { 
    color: var(--gold); 
    font-size: 0.6rem; 
    letter-spacing: 3px; 
    display: block; 
    margin-top: 5px; 
}

.nav-wrapper { 
    display: flex; 
    align-items: center; 
    gap: 40px; 
}

.nav-menu { 
    display: flex; 
    list-style: none; 
    gap: 30px; 
}

.nav-link { 
    text-decoration: none; 
    color: var(--navy); 
    font-size: 0.75rem; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    font-weight: 500;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    min-height: 48px;
}

.nav-link:hover { 
    color: var(--gold); 
}

/* --- ESTRUTURA REFORMULADA --- */
.main-wrapper {
    display: flex;
    min-height: calc(100vh - var(--header-height));
    margin-top: var(--header-height);
    width: 100%;
    flex: 1;
}

.pane {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 60px 5%;
}

/* Lado Esquerdo */
.left-pane { 
    background-color: var(--off-white); 
}

.content-left {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
}

.headlines span { 
    color: var(--gold); 
    text-transform: uppercase; 
    letter-spacing: 4px; 
    font-size: 0.8rem; 
}

.headlines h1 { 
    font-family: 'Cormorant Garamond', serif; 
    font-size: 3.5rem; 
    color: var(--navy); 
    line-height: 1.1; 
    margin: 15px 0; 
    position: relative;
    z-index: 1; 
}

.headlines p { 
    color: var(--navy); 
    font-size: 1.1rem; 
}

/* Imagem de Sobreposição Controlada */
.woman-overlay {
    position: absolute;
    bottom: -37px;
    left: 85%;
    transform: translateX(-50%);
    max-height: 60%;
    width: auto;
    z-index: 10; 
    pointer-events: none; 
}

/* Lado Direito */
.right-pane { 
    background-color: #004561; 
}

.form-card {
    background: var(--white);
    padding: 50px;
    border-radius: 30px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 25px 60px rgba(10, 26, 47, 0.2);
    position: relative;
    z-index: 20; 
}

.form-card h2 { 
    color: var(--navy); 
    text-align: center; 
    margin-bottom: 30px; 
    font-size: 1.6rem; 
    font-weight: 500;
}

.input-field { 
    margin-bottom: 15px; 
}

.input-field input {
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(10, 26, 47, 0.15);
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: 0.3s;
}

.input-field input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.terms { 
    display: flex; 
    gap: 10px; 
    font-size: 0.75rem; 
    margin: 20px 0; 
    color: #666; 
    align-items: flex-start;
}

.terms input {
    margin-top: 2px;
}

.terms span { 
    color: var(--gold); 
    font-weight: 600; 
}

.btn-submit {
    width: 100%;
    padding: 18px;
    border: none;
    border-radius: 50px;
    background: var(--navy);
    color: var(--white);
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-submit:hover { 
    background: var(--gold); 
    color: var(--white); 
}

.footer-msg { 
    text-align: center; 
    margin-top: 25px; 
    font-size: 0.8rem; 
    color: #999; 
}

/* --- FOOTER INOVADOR --- */
.footer-innovative {
    position: relative;
    background-color: var(--navy);
    padding: 80px 5% 30px;
    color: var(--white);
    overflow: hidden;
    margin-top: auto; /* Empurra o rodapé para a base caso o conteúdo seja menor */
}

.footer-blur-effect {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.footer-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    letter-spacing: 8px;
    display: block;
    margin-bottom: 15px;
    color: var(--gold);
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 25px;
}

.link-group a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 12px;
    transition: 0.3s;
    font-weight: 300;
}

.link-group a:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.tech-line {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 20px auto 0;
    position: relative;
}

.tech-line::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 1px;
    background: rgba(212, 175, 55, 0.2);
    left: -50px;
    top: 0;
}

/* --- RESPONSIVIDADE ADAPTATIVA --- */
@media (max-width: 1024px) {
    .woman-overlay {
        display: none; /* Remove a imagem em tablets para focar no conteúdo */
    }
}

@media (max-width: 768px) {
    .header-global {
        background: rgba(255, 255, 255, 0.98);
        height: auto;
        padding: 15px 0;
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    }

    .header-container {
        flex-direction: column;
        gap: 10px;
    }

    .nav-menu {
        gap: 20px;
    }

    .main-wrapper {
        flex-direction: column;
        margin-top: 130px; /* Compensa a altura do header empilhado */
    }

    .pane {
        padding: 40px 20px;
        flex: none;
        width: 100%;
    }

    .left-pane {
        text-align: center;
    }

    .content-left {
        align-items: center;
    }

    .headlines h1 {
        font-size: 2.5rem;
    }

    .form-card {
        padding: 30px 20px;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand { 
        margin: 0 auto; 
    }
    
    .footer-brand p { 
        margin: 0 auto; 
    }
    
    .footer-links { 
        flex-direction: column; 
        gap: 40px; 
        margin: 0 auto;
    }
}