:root {
    --color-bg: #121212; /* Dark Mode base */
    --color-text: #FAF9F6;
    --color-text-muted: #e0e0e0;
    --color-accent: #C5A059; /* Gold */
    --color-accent-hover: #b08d4b;
    --color-white: #ffffff;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
}

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

body.split-layout-body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h2 {
    font-size: 2.5rem;
    color: var(--color-white);
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}

p {
    font-size: 1.05rem;
    margin-bottom: var(--spacing-md);
    font-weight: 400;
    color: var(--color-text-muted);
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Header */
#minimal-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-md);
    z-index: 100;
    text-align: center;
    pointer-events: none;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Split Container */
.split-container {
    display: flex;
    flex: 1;
    width: 100%;
    height: 100vh;
}

.split-pane {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    transition: flex 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: default;
    padding: var(--spacing-md);
}

.split-pane:hover {
    flex: 1.1;
}

.pane-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    transition: background-color 0.6s ease;
    z-index: 1;
}

.split-pane:hover .pane-overlay {
    background-color: rgba(0, 0, 0, 0.4);
}

/* Background Images */
.pane-consulta {
    background: url('../assets/consultation.jpg') center/cover no-repeat;
}

.pane-formacao {
    background: url('../assets/terapeuta_jaleco.png') center/cover no-repeat;
}

.pane-content {
    position: relative;
    z-index: 2;
    padding: var(--spacing-lg) var(--spacing-md);
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    transition: transform 0.5s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.split-pane:hover .pane-content {
    transform: translateY(-5px);
    border-color: rgba(197, 160, 89, 0.6);
}

.pane-eyebrow {
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    font-size: 0.85rem;
    display: block;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Tags */
.pane-tags {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 16px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    color: var(--color-white);
    background: rgba(0, 0, 0, 0.4);
    font-weight: 500;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2rem;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 380px;
    transition: all 0.4s ease;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white);
    border: 1px solid var(--color-accent);
}

.btn-primary:hover {
    background-color: var(--color-white);
    color: var(--color-accent);
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: 0 0 25px rgba(197, 160, 89, 0.6);
}

/* Footer */
.minimal-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.minimal-footer a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-right: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.minimal-footer a:hover {
    color: var(--color-accent);
}

/* Responsive (Mobile Stacking - Mobile First 50/50 Split) */
@media (max-width: 900px) {
    body.split-layout-body {
        overflow: hidden;
        height: 100vh;
    }

    .split-container {
        flex-direction: column;
        height: 100vh;
        padding-top: 60px; /* Space for header */
        padding-bottom: 50px; /* Space for footer */
    }
    
    .split-pane {
        min-height: auto;
        flex: 1; /* Split 50/50 */
        padding: 10px;
    }
    
    .split-pane:hover {
        flex: 1; /* Disable hover expansion on mobile */
    }
    
    h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .pane-eyebrow {
        font-size: 0.7rem;
        margin-bottom: 5px;
    }

    .pane-content p {
        display: none; /* Hide descriptive text on mobile to ensure perfect fit */
    }

    .pane-tags {
        margin-bottom: 15px;
    }

    .tag {
        font-size: 0.65rem;
        padding: 4px 10px;
    }

    .btn {
        padding: 0.8rem 1rem;
        font-size: 0.75rem;
    }

    .pane-content {
        padding: 15px;
        max-width: 100%;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }
    
    #minimal-header {
        position: absolute;
        padding: 15px;
        background: transparent;
    }

    .logo {
        font-size: 1.1rem;
    }
    
    .minimal-footer {
        position: absolute;
        flex-direction: row;
        justify-content: center;
        background: transparent;
        padding: 15px;
        gap: 10px;
        bottom: 0;
    }
    
    .minimal-footer a {
        margin: 0 5px;
        font-size: 0.65rem;
    }
}