/* ===== RESET PARA SEÇÃO SOBRE ===== */
.section-about * {
    box-sizing: border-box;
}

/* SOBRE SECTION - USANDO CORES DO CTA */
.section-about {
    background: #0e131f;
    position: relative;
    overflow: hidden;
    padding: 40px 0 20px;
    width: 100%;
    scroll-margin-top: -20px;
}

.section-about::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, rgba(0, 229, 255, 0.05) 70%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.8;
    animation: float 8s ease-in-out infinite;
}

.section-about::after {
    content: '';
    position: absolute;
    bottom: 50px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(124, 255, 196, 0.12) 0%, rgba(124, 255, 196, 0.03) 70%);
    border-radius: 50%;
    z-index: 0;
    opacity: 0.8;
    animation: float 6s ease-in-out infinite reverse;
}

.section-about .container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* ANIMAÇÃO FLUTUANTE */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* GRID PRINCIPAL - ALINHAMENTO NO TOPO */
.section-about .about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
    width: 100%;
}

/* MEDIA (IMAGEM) */
.about-media {
    position: relative;
    width: 100%;
    margin-top: 70px;
}

.about-media img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #2a3655;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: block;
    margin-top: -18px;
}

.about-media:hover img {
    transform: scale(1.02);
}

/* CONTEÚDO - TÍTULO MAIS PARA CIMA */
.about-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about-content h2 {
    margin: -10px 0 15px 0;
    font-size: 32px;
    color: #00e5ff;
    line-height: 1.1;
    font-weight: 700;
}

.about-content>p {
    margin: 0 0 32px;
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.8;
    text-align: justify;
    text-justify: inter-word;
}

/* ===== GRADIENTES PARA OS ÍCONES ===== */
.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 0 0 32px;
    width: 100%;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid #2a3655;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #00e5ff, #7cffc4);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    border-color: rgba(0, 229, 255, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 229, 255, 0.15);
}

.feature-item:hover::before {
    transform: scaleY(1);
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.2), rgba(124, 255, 196, 0.15));
    border: 1px solid rgba(0, 229, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00e5ff;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.3), rgba(124, 255, 196, 0.2));
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

.feature-item:hover .feature-icon::before {
    opacity: 1;
}

/* Gradientes específicos para cada ícone */
.feature-item:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(0, 150, 255, 0.15));
}

.feature-item:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, rgba(124, 255, 196, 0.25), rgba(0, 229, 255, 0.15));
}

.feature-item:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, rgba(255, 124, 216, 0.25), rgba(124, 255, 196, 0.15));
}

.feature-item:nth-child(1):hover .feature-icon {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.35), rgba(0, 150, 255, 0.25));
}

.feature-item:nth-child(2):hover .feature-icon {
    background: linear-gradient(135deg, rgba(124, 255, 196, 0.35), rgba(0, 229, 255, 0.25));
}

.feature-item:nth-child(3):hover .feature-icon {
    background: linear-gradient(135deg, rgba(255, 124, 216, 0.35), rgba(124, 255, 196, 0.25));
}

.feature-text {
    flex: 1;
    min-width: 0;
}

.feature-text h4 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
    line-height: 1.3;
}

.feature-text p {
    margin: 0;
    color: #a0a0a0;
    font-size: 14px;
    line-height: 1.4;
}

/* BOTÃO - ESTILO DO CTA */
.about-content .btn {
    height: 44px;
    padding: 0 22px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: linear-gradient(135deg, #00e5ff, #00b8d9);
    color: #00141c;
    border: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.3);
}

.about-content .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
    background: linear-gradient(135deg, #00e5ff, #00a3cc);
}

.about-content .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.about-content .btn:hover::before {
    left: 100%;
}

/* ===== RESPONSIVIDADE MELHORADA ===== */

/* DESKTOP LARGE (1200px+) */
@media (min-width: 1200px) {
    .section-about .about-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 80px;
        align-items: start;
    }

    .about-media img {
        height: 600px;
    }

    .about-content h2 {
        font-size: 42px;
        margin: -15px 0 20px 0;
        line-height: 1.1;
    }

    .about-content>p {
        font-size: 18px;
        text-align: justify;
        text-justify: inter-word;
    }

    .about-features {
        gap: 20px;
    }

    .feature-item {
        padding: 24px;
    }

    .feature-text h4 {
        font-size: 18px;
    }

    .feature-text p {
        font-size: 15px;
    }
}

/* DESKTOP MEDIUM (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
    .section-about .about-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 70px;
    }

    .about-media img {
        height: 550px;
    }

    .about-content h2 {
        font-size: 38px;
        margin: -12px 0 18px 0;
    }

    .about-content>p {
        font-size: 17px;
    }

    .about-features {
        gap: 18px;
    }

    .feature-item {
        padding: 22px;
    }
}

/* TABLET LANDSCAPE (900px - 1023px) */
@media (min-width: 900px) and (max-width: 1023px) {
    .section-about .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .about-media img {
        height: 500px;
    }

    .about-content h2 {
        font-size: 36px;
        margin: -10px 0 16px 0;
    }

    .about-content>p {
        font-size: 16px;
    }

    .about-features {
        gap: 16px;
    }

    .feature-item {
        padding: 20px;
    }
}

/* TABLET PORTRAIT (768px - 899px) */
@media (min-width: 768px) and (max-width: 899px) {
    .section-about .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 50px;
    }

    .about-media img {
        height: 450px;
    }

    .about-content h2 {
        font-size: 32px;
        margin: -8px 0 15px 0;
    }

    .about-content>p {
        font-size: 15px;
    }

    .feature-item {
        padding: 18px;
        gap: 14px;
    }

    .feature-icon {
        width: 45px;
        height: 45px;
    }

    .feature-text h4 {
        font-size: 15px;
    }

    .feature-text p {
        font-size: 13px;
    }
}

/* MOBILE LARGE (600px - 767px) */
@media (max-width: 767px) and (min-width: 600px) {
    .section-about {
        padding: 60px 0 40px;
        scroll-margin-top: 80px;
    }

    .section-about .about-grid {
        gap: 40px;
        margin-bottom: 60px;
    }

    .about-media {
        margin-top: 50px;
    }

    .about-media img {
        height: 380px;
        border-radius: 10px;
        margin-top: -10px;
    }

    .about-content h2 {
        font-size: 30px;
        margin: -5px 0 16px 0;
        line-height: 1.2;
    }

    .about-content>p {
        font-size: 15px;
        margin-bottom: 24px;
        text-align: justify;
        text-justify: inter-word;
    }

    .about-features {
        gap: 14px;
        margin-bottom: 24px;
    }

    .feature-item {
        padding: 18px;
        gap: 14px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
    }

    .feature-text h4 {
        font-size: 15px;
    }

    .feature-text p {
        font-size: 13px;
    }

    /* Ajuste dos gradientes no mobile */
    .section-about::before {
        width: 150px;
        height: 150px;
        top: -30px;
        right: -30px;
    }
    
    .section-about::after {
        width: 120px;
        height: 120px;
        bottom: 40px;
        left: -20px;
    }
}

/* MOBILE MEDIUM (480px - 599px) */
@media (max-width: 599px) and (min-width: 481px) {
    .section-about {
        padding: 50px 0 30px;
    }

    .section-about .about-grid {
        gap: 35px;
        margin-bottom: 50px;
    }

    .about-media {
        margin-top: 40px;
    }

    .about-media img {
        height: 320px;
        border-radius: 8px;
        margin-top: -8px;
    }

    .about-content h2 {
        font-size: 28px;
        margin: -3px 0 14px 0;
    }

    .about-content>p {
        font-size: 14px;
        margin-bottom: 20px;
        text-align: justify;
    }

    .about-features {
        gap: 12px;
        margin-bottom: 20px;
    }

    .feature-item {
        padding: 16px;
        gap: 12px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
    }

    .feature-text h4 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .feature-text p {
        font-size: 12px;
        line-height: 1.3;
    }

    .about-content .btn {
        height: 42px;
        padding: 0 20px;
        font-size: 13px;
    }
}

/* MOBILE SMALL (até 480px) */
@media (max-width: 480px) {
    .section-about {
        padding: 40px 0 20px;
    }

    .section-about .about-grid {
        gap: 30px;
        margin-bottom: 40px;
    }

    .about-media {
        margin-top: 30px;
    }

    .about-media img {
        height: 280px;
        border-radius: 8px;
        margin-top: -5px;
    }

    .about-content h2 {
        font-size: 26px;
        margin: 0 0 12px 0;
        text-align: center;
    }

    .about-content>p {
        font-size: 13px;
        margin-bottom: 18px;
        text-align: justify;
        line-height: 1.6;
    }

    .about-features {
        gap: 10px;
        margin-bottom: 18px;
    }

    .feature-item {
        padding: 14px;
        gap: 10px;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .feature-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 4px;
    }

    .feature-text h4 {
        font-size: 13px;
        margin-bottom: 3px;
    }

    .feature-text p {
        font-size: 11px;
        line-height: 1.3;
    }

    .about-content .btn {
        height: 40px;
        padding: 0 18px;
        font-size: 12px;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }

    /* Ajustes finos dos efeitos visuais */
    .section-about::before {
        width: 120px;
        height: 120px;
        top: -20px;
        right: -20px;
    }
    
    .section-about::after {
        width: 100px;
        height: 100px;
        bottom: 30px;
        left: -15px;
    }
}

/* MOBILE MUITO PEQUENO (até 360px) */
@media (max-width: 360px) {
    .section-about {
        padding: 30px 0 15px;
    }

    .section-about .container {
        padding: 0 15px;
    }

    .about-media img {
        height: 240px;
    }

    .about-content h2 {
        font-size: 24px;
    }

    .about-content>p {
        font-size: 12px;
    }

    .feature-item {
        padding: 12px;
    }

    .feature-icon {
        width: 32px;
        height: 32px;
    }

    .feature-text h4 {
        font-size: 12px;
    }

    .feature-text p {
        font-size: 10px;
    }
}

/* ORIENTAÇÃO LANDSCAPE PARA MOBILE */
@media (max-height: 600px) and (max-width: 768px) {
    .section-about {
        padding: 40px 0 20px;
    }

    .about-media img {
        height: 250px;
    }

    .about-content h2 {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .about-content>p {
        font-size: 13px;
        margin-bottom: 16px;
    }

    .about-features {
        gap: 8px;
        margin-bottom: 16px;
    }

    .feature-item {
        padding: 12px;
    }
}

/* ACESSIBILIDADE - REDUÇÃO DE MOVIMENTO */
@media (prefers-reduced-motion: reduce) {
    .section-about::before,
    .section-about::after {
        animation: none;
    }

    .about-media img,
    .feature-item,
    .feature-icon,
    .about-content .btn {
        transition: none;
    }

    .about-media:hover img,
    .feature-item:hover,
    .feature-item:hover .feature-icon,
    .about-content .btn:hover {
        transform: none;
    }

    .feature-item::before,
    .about-content .btn::before {
        transition: none;
    }

    .about-content .btn:hover::before {
        left: -100%;
    }
}

/* MELHORIAS DE PERFORMANCE PARA DISPOSITIVOS MÓVEIS */
@media (max-width: 768px) {
    .feature-item:hover {
        transform: none;
    }
    
    .feature-item:hover .feature-icon {
        transform: none;
    }
}

/* GARANTIR QUE IMAGENS SEJAM RESPONSIVAS */
.about-media img {
    max-width: 100%;
    height: auto;
}

/* MELHORAR LEGIBILIDADE EM TODOS OS DISPOSITIVOS */
.about-content h2,
.about-content>p,
.feature-text h4,
.feature-text p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}