﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

html, body {
    background: linear-gradient(135deg, #4d0000 0%, #1a0000 50%, #000000 100%);
}

.about {
    display: flex;
    width: 100%;
    height: calc(100vh - 70px);
    margin-top: 70px;
    padding-top: 0;
}

/* LADO ESQUERDO */
.left {
    position: relative;
    flex: 1;
    width: 50%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: clamp(40px, 8vw, 100px);
    overflow: hidden;
}

.left-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.left-image.active {
    opacity: 1;
}

.left-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.left-overlay.active {
    opacity: 1;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes movingGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.side-menu {
    position: relative;
    z-index: 2;
    width: 100%;
}

.side-menu ul {
    list-style: none;
    padding-left: 0;
}

.side-menu li {
    font-size: clamp(24px, 5vw, 40px);
    color: #ffffff;
    margin-bottom: clamp(20px, 4vw, 40px);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.side-menu li.active {
    color: #ff0000;
}

.side-menu li:hover {
    color: #ff0000;
}

/* LADO DIREITO */
.right {
    flex: 1;
    width: 50%;
    background: linear-gradient(135deg, #6b0000 0%, #3d0000 40%, #1a0000 70%, #000000 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(40px, 6vw, 100px);
}

.content {
    max-width: 550px;
    width: 100%;
}

.content p {
    font-size: clamp(14px, 2vw, 20px);
    line-height: 1.8;
    margin-bottom: clamp(20px, 3vw, 40px);
    color: #e0e0e0;
}

.clique-aqui-btn {
    background: none;
    color: #ffffff;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: clamp(14px, 2vw, 20px);
    margin-top: 10px;
}

.clique-aqui-btn:hover {
    color: #a9a9a9;
    text-decoration: underline;
}

.clique-aqui-btn:active {
    color: #cc0000;
}

/* DOTS LATERAIS */
.dots {
    position: absolute;
    right: clamp(20px, 4vw, 50px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 10;
}

.dots span {
    width: 8px;
    height: 8px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
}

.dots span:hover {
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.3);
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.dots span.active {
    background: #ff0000;
    border-color: #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
}

/* BOTÃO CIRCULAR */
.scroll-btn {
    position: absolute;
    bottom: clamp(20px, 4vw, 50px);
    right: clamp(20px, 4vw, 50px);
    width: 70px;
    height: 70px;
    background: #ff4f87;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 79, 135, 0.3);
    z-index: 10;
}

.scroll-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 79, 135, 0.5);
}

/* RESPONSIVIDADE */

/* Tablets em paisagem e desktops pequenos */
@media (max-width: 1024px) {
    .left, .right {
        padding: clamp(30px, 5vw, 60px);
    }
    
    .side-menu li {
        font-size: clamp(20px, 4vw, 32px);
        margin-bottom: clamp(15px, 3vw, 30px);
    }
    
    .content p {
        font-size: clamp(14px, 1.8vw, 18px);
    }
}

/* Tablets em retrato */
@media (max-width: 768px) {
    .about {
        flex-direction: column;
        height: auto;
        margin-top: 70px;
    }
    
    .left {
        width: 100%;
        height: 50vh;
        min-height: 350px;
        padding: 40px 30px;
        justify-content: center;
    }
    
    .left-image.active {
        opacity: 0.4;
    }
    
    .side-menu {
        width: 100%;
        text-align: center;
    }
    
    .side-menu ul {
        padding-left: 0;
    }
    
    .side-menu li {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .right {
        width: 100%;
        height: auto;
        min-height: 50vh;
        padding: 40px 30px;
    }
    
    .dots {
        right: 20px;
        gap: 6px;
    }
    
    .dots span {
        width: 5px;
        height: 5px;
    }
}

/* Celulares */
@media (max-width: 480px) {
    .about {
        margin-top: 60px;
    }
    
    .left {
        height: 45vh;
        min-height: 300px;
        padding: 30px 20px;
    }
    
    .side-menu li {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .right {
        padding: 30px 20px;
        min-height: 55vh;
    }
    
    .content p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .dots {
        right: 15px;
        gap: 5px;
    }
    
    .dots span {
        width: 4px;
        height: 4px;
    }
}

/* Celulares extra pequenos */
@media (max-width: 390px) {
    .about {
        margin-top: 60px;
    }
    
    .left {
        height: 42vh;
        min-height: 280px;
        padding: 25px 18px;
    }
    
    .side-menu li {
        font-size: 17px;
        margin-bottom: 11px;
    }
    
    .right {
        padding: 25px 18px;
        min-height: 52vh;
    }
    
    .content p {
        font-size: 13.5px;
        line-height: 1.5;
        margin-bottom: 12px;
    }
    
    .dots {
        right: 12px;
        gap: 4px;
    }
    
    .dots span {
        width: 4px;
        height: 4px;
    }
}

/* Celulares pequenos */
@media (max-width: 360px) {
    .left {
        height: 40vh;
        min-height: 250px;
        padding: 20px 15px;
    }
    
    .side-menu li {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .right {
        padding: 25px 15px;
    }
    
    .content p {
        font-size: 15px;
        line-height: 1.65;
    }
}

.side-menu li:focus-visible,
.clique-aqui-btn:focus-visible,
.dots span:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (max-width: 320px) {
    .left {
        padding: 16px 12px;
        min-height: 220px;
    }

    .right {
        padding: 20px 12px;
    }

    .side-menu li {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .content p,
    .clique-aqui-btn {
        font-size: 14px;
        line-height: 1.6;
    }
}
