/* ===================== RESET E BASE ===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* ===================== ANIMAÇÕES ===================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ===================== SEÇÕES LADO ESQUERDO ===================== */
.split-left {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
    animation: slideInLeft 1s ease-out;
}

.split-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 100%);
    pointer-events: none;
}

/* ===================== SEÇÕES LADO DIREITO ===================== */
.split-right {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 25%, #2c3e50 50%, #1a252f 100%);
    position: relative;
    overflow: hidden;
    animation: slideInRight 1s ease-out;
}

.split-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
    pointer-events: none;
}

/* ===================== DECORAÇÃO ANIMADA ===================== */
.split-left::after,
.split-right::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.split-right::after {
    top: auto;
    bottom: -100px;
    left: -100px;
    animation-delay: -3s;
}

/* ===================== CONTEÚDO CENTRAL ===================== */
.container-section {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    padding: 2rem;
}

/* ===================== ÍCONES ===================== */
.icon {
    font-size: 5.5rem;
    margin-bottom: 2rem;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.split-left .icon {
    color: rgba(255, 255, 255, 0.9);
    animation-delay: -1s;
}

.split-right .icon {
    color: rgba(255, 255, 255, 0.95);
    animation-delay: -2s;
}

/* ===================== TÍTULOS E SUBTÍTULOS ===================== */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.section-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 400px;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.split-left .section-title,
.split-left .section-subtitle,
.split-right .section-title,
.split-right .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
}

/* ===================== BOTÃO LINK REDIRECIONAMENTO ===================== */
.redirect-link {
    position: relative;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    border-radius: 50px;
    border: 2px solid;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    letter-spacing: 0.5px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.redirect-link::before {
    content: '';
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: -100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.redirect-link:hover::before {
    left: 100%;
}

.split-left .redirect-link,
.split-right .redirect-link {
    color: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.split-left .redirect-link:hover,
.split-right .redirect-link:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* ===================== CABEÇALHO FIXO ===================== */
.name-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 25px 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.name-text {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    text-align: center;
    letter-spacing: 2px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out both;
}

/* ===================== DIVISOR CENTRAL VERTICAL ===================== */
.divider-line {
    position: absolute;
    width: 1px;
    height: 100vh;
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.2) 20%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0.2) 80%, transparent 100%);
    left: 50%;
    top: 0;
    transform: translateX(-0.5px);
    z-index: 100;
    animation: fadeInUp 1.5s ease-out 0.8s both;
}

/* ===================== INTERAÇÕES HOVER ===================== */
.container-section:hover .icon {
    transform: translateY(-5px) scale(1.1);
    transition: all 0.3s ease;
}

/* ===================== RESPONSIVO: TABLETS E MOBILE ===================== */
@media (max-width: 768px) {

    body,
    html {
        overflow-y: auto;
        overflow-x: hidden;
    }

    .divider-line {
        display: none;
    }

    .name-header {
        padding: 15px 0;
        position: relative;
        background: rgba(0, 0, 0, 0.8);
    }

    .name-text {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

    .container-fluid {
        flex-direction: column !important;
        height: auto !important;
    }

    .split-left,
    .split-right {
        min-height: 100vh;
        animation: none;
    }

    .container-section {
        height: 100vh;
        padding: 2rem 1.5rem;
        justify-content: center;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        max-width: 320px;
    }

    .icon {
        font-size: 4.5rem;
        margin-bottom: 1.5rem;
    }

    .redirect-link {
        padding: 16px 35px;
        font-size: 1.1rem;
        min-width: 200px;
    }
}

/* ===================== RESPONSIVO: MOBILE PEQUENO ===================== */
@media (max-width: 576px) {
    .name-text {
        font-size: 1.2rem;
        padding: 0 1rem;
        line-height: 1.3;
    }

    .container-section {
        padding: 2rem 1rem;
        height: 100vh;
    }

    .section-title {
        font-size: 1.9rem;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        max-width: 280px;
        line-height: 1.5;
    }

    .icon {
        font-size: 4rem;
        margin-bottom: 1.5rem;
    }

    .redirect-link {
        padding: 14px 30px;
        font-size: 1rem;
        min-width: 180px;
    }
}

/* ===================== RESPONSIVO: MOBILE EXTRA PEQUENO ===================== */
@media (max-width: 480px) {
    .name-text {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        max-width: 260px;
    }

    .icon {
        font-size: 3.5rem;
    }

    .container-section {
        padding: 1.5rem 0.8rem;
    }
}

/* ===================== MELHORIAS TOUCH PARA DISPOSITIVOS SEM HOVER ===================== */
@media (hover: none) and (pointer: coarse) {
    .redirect-link:hover {
        transform: none;
    }

    .redirect-link:active {
        transform: translateY(-2px) scale(1.02);
        background: rgba(255, 255, 255, 0.25);
    }

    .container-section:hover .icon {
        transform: none;
    }

    .redirect-link {
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
        tap-highlight-color: rgba(255, 255, 255, 0.2);
    }

    .container-section {
        -webkit-overflow-scrolling: touch;
    }
}

/* ===================== LANDSCAPE MODE (TABLET/MOBILE) ===================== */
@media (max-width: 768px) and (orientation: landscape) {
    .container-section {
        height: auto;
        min-height: 100vh;
        padding: 1.5rem;
    }

    .name-header {
        padding: 10px 0;
    }

    .name-text {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .icon {
        font-size: 3.5rem;
        margin-bottom: 1rem;
    }
}
