/* =============================================
   SOBRE.CSS - Estilos específicos da página sobre
   ============================================= */

/* =============================================
   SEÇÃO SOBRE - DESIGN MODERNO E ANIMADO
   ============================================= */
.sobre-grid {
    position: relative;
    display: block;
    overflow: hidden;
}

/* Container da imagem - fica acima */
.sobre-imagem {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 400px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sobre-imagem img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Container do texto - fica abaixo da imagem */
.sobre-texto {
    position: relative;
    width: 100%;
    padding: 4rem 5%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(40px);
    animation: slideUpFade 1s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}

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

/* Efeito decorativo no fundo */
.sobre-texto::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(192, 0, 2, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.sobre-texto>* {
    position: relative;
    z-index: 1;
}

/* Layout interno do texto em uma única coluna */
.sobre-texto-content {
    max-width: 1200px;
    margin: 0 auto;
}

.sobre-texto h2 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #071928;
    margin-bottom: 2rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s forwards;
}

.sobre-texto .destaque {
    color: #c00002;
    position: relative;
    display: inline-block;
}

/* Sublinhado animado na palavra destacada */
.sobre-texto .destaque::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, rgba(192, 0, 2, 0.3), rgba(255, 102, 0, 0.3));
    transform: scaleX(0);
    transform-origin: left;
    animation: expandLine 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1.3s forwards;
}

@keyframes expandLine {
    to {
        transform: scaleX(1);
    }
}

.sobre-texto p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
}

.sobre-texto p:nth-of-type(1) {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s forwards;
}

.sobre-texto p:nth-of-type(2) {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards;
}

.sobre-texto p:nth-of-type(3) {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1.1s forwards;
}

.sobre-texto p:nth-of-type(4) {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1.3s forwards;
}

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

.sobre-texto strong {
    color: #c00002;
    font-weight: 700;
    position: relative;
}

/* Barra vermelha decorativa no topo - animada */
.sobre-texto::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 5px;
    background: linear-gradient(90deg, #c00002 0%, #ff6600 100%);
    box-shadow: 0 2px 8px rgba(192, 0, 2, 0.3);
    animation: growBarHorizontal 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.6s forwards;
    z-index: 10;
}

@keyframes growBarHorizontal {
    to {
        width: 100%;
    }
}

/* =============================================
   RESPONSIVIDADE
   ============================================= */

/* Tablet */
@media (max-width: 1200px) {
    .sobre-imagem {
        min-height: 350px;
    }

    .sobre-texto {
        padding: 3.5rem 4%;
    }

    .sobre-texto h2 {
        font-size: 2.25rem;
    }

    .sobre-texto p {
        font-size: 1.05rem;
    }
}

/* Mobile */
@media (max-width: 968px) {
    .sobre-imagem {
        min-height: 300px;
    }

    .sobre-texto {
        padding: 3rem 2rem;
        background: #ffffff;
        backdrop-filter: none;
    }

    .sobre-texto h2 {
        font-size: 2rem;
    }

    .sobre-texto p {
        font-size: 1rem;
        color: #666;
    }
}

@media (max-width: 480px) {
    .sobre-imagem {
        min-height: 250px;
    }

    .sobre-texto {
        padding: 2rem 1.5rem;
    }

    .sobre-texto h2 {
        font-size: 1.75rem;
    }
}