/**
 * ==============================================
 * ABOUT PREVIEW SECTION - HOME PAGE STYLES
 * ==============================================
 * 
 * Responsabilidade: Estilos da seção de preview Sobre Nós
 * Dependências: Nenhuma (self-contained)
 * Princípios: DRY, KISS, Single Responsibility
 * 
 * @package Nuntius Theme
 * @version 2.0.0
 */

/* ===== SEÇÃO PRINCIPAL ===== */
.home-about-preview-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    margin-top: var(--section-margin-overlap); /* Sobreposição suave */
    padding: var(--section-padding-top) 0 var(--section-padding-bottom); /* Usa variáveis globais */
    background: linear-gradient(
        135deg,
        #0a0a0f 0%,
        #1a1a2e 50%,
        #0a0a0f 100%
    );
    overflow: hidden;
}

/* ===== DEPTH LAYERS ===== */
.about-preview-depth-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.4;
    z-index: 1;
}

.about-preview-depth-layer.layer-1 {
    background: radial-gradient(
        ellipse at 20% 30%,
        rgba(88, 101, 242, 0.15) 0%,
        transparent 50%
    );
    animation: float-layer-1 20s ease-in-out infinite;
}

.about-preview-depth-layer.layer-2 {
    background: radial-gradient(
        ellipse at 80% 70%,
        rgba(114, 137, 218, 0.1) 0%,
        transparent 50%
    );
    animation: float-layer-2 25s ease-in-out infinite;
}

.about-preview-depth-layer.layer-3 {
    background: radial-gradient(
        ellipse at 50% 50%,
        rgba(67, 181, 129, 0.08) 0%,
        transparent 60%
    );
    animation: float-layer-3 30s ease-in-out infinite;
}

@keyframes float-layer-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
}

@keyframes float-layer-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-40px, 40px) scale(1.15); }
}

@keyframes float-layer-3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, 30px) scale(1.05); }
}

/* ===== CONTAINER ===== */
.about-preview-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    z-index: 2;
}

/* ===== HEADER CINEMATOGRÁFICO ===== */
.about-preview-header {
    text-align: center;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-preview-header.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Badge */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.section-badge:hover {
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.5);
    transform: scale(1.05);
}

.badge-icon {
    font-size: 20px;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.badge-text {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #5865F2;
}

/* Título Principal */
.section-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.2;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.title-line {
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.title-highlight {
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.title-highlight::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #5865F2, transparent);
    animation: neon-pulse 2s ease-in-out infinite;
}

@keyframes neon-pulse {
    0%, 100% { opacity: 0.5; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1); }
}

/* Separador */
.title-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.separator-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(88, 101, 242, 0.5),
        transparent
    );
}

.separator-diamond {
    width: 12px;
    height: 12px;
    background: #5865F2;
    transform: rotate(45deg);
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.6);
    animation: rotate-diamond 4s linear infinite;
}

@keyframes rotate-diamond {
    0% { transform: rotate(45deg); }
    100% { transform: rotate(405deg); }
}

/* Subtítulo */
.section-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== GRID DE PREVIEW CARDS ===== */
.about-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

/* ===== PREVIEW CARDS ===== */
.preview-card {
    position: relative;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(88, 101, 242, 0.2);
    border-radius: 20px;
    padding: 40px;
    min-height: 400px;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(50px);
    overflow: hidden;
}

.preview-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.preview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(88, 101, 242, 0.05) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
}

.preview-card:hover {
    border-color: rgba(88, 101, 242, 0.5);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(88, 101, 242, 0.2);
}

.preview-card:hover::before {
    opacity: 1;
}

/* Card Glow Background */
.card-glow-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.preview-card:hover .card-glow-background {
    opacity: 1;
}

/* Card Depth Layer */
.card-depth-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(
        to top,
        rgba(88, 101, 242, 0.05),
        transparent
    );
    pointer-events: none;
}

/* Card Content */
.card-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Card Icon */
.card-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle,
        rgba(88, 101, 242, 0.3),
        transparent 70%
    );
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.icon-emoji {
    position: relative;
    font-size: 48px;
    display: block;
    text-align: center;
    line-height: 80px;
    filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.5));
}

/* Card Title */
.card-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.3;
}

.neon-text {
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(88, 101, 242, 0.5);
}

.title-separator-small {
    color: rgba(255, 255, 255, 0.3);
    margin: 0 10px;
}

.subtitle-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 24px;
}

/* Card Description */
.card-description {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 25px;
}

.card-description.large-text {
    font-size: 17px;
    line-height: 1.9;
}

.highlight-brasil {
    color: #43B581;
    font-weight: 700;
}

.highlight-world {
    color: #FAA61A;
    font-weight: 700;
}

.highlight-statera {
    color: #7289DA;
    font-weight: 700;
}

.highlight-mission {
    background: linear-gradient(135deg, #FAA61A 0%, #F04747 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Card Visual Element */
.card-visual-element {
    margin-top: auto;
}

.visual-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    background: rgba(88, 101, 242, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.flow-icon {
    font-size: 32px;
    filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.3));
}

.flow-arrow {
    font-size: 24px;
    color: #5865F2;
    animation: arrow-pulse 1.5s ease-in-out infinite;
}

@keyframes arrow-pulse {
    0%, 100% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(5px); opacity: 1; }
}

/* ===== VALORES LIST ===== */
.valores-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.valor-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(88, 101, 242, 0.05);
    border-left: 3px solid #5865F2;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.valor-item:hover {
    background: rgba(88, 101, 242, 0.1);
    transform: translateX(5px);
}

.valor-icon {
    font-size: 24px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.3));
}

.valor-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

.valor-item strong {
    color: #ffffff;
    font-weight: 700;
}

/* ===== MISSION STATS ===== */
.mission-stats {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
    margin-top: auto;
    padding: 25px;
    background: rgba(88, 101, 242, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    font-size: 32px;
    filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.3));
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: 900;
    color: #5865F2;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(88, 101, 242, 0.3),
        transparent
    );
}

/* ===== CALL TO ACTION ===== */
.about-preview-cta {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 50px;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.about-preview-cta.revealed {
    opacity: 1;
    transform: translateY(0);
}

.about-preview-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(88, 101, 242, 0.1) 0%,
        transparent 50%
    );
}

/* CTA Content */
.cta-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.cta-text {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    line-height: 1.6;
}

.cta-text strong {
    color: #5865F2;
    font-weight: 700;
}

/* CTA Button */
.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #5865F2 0%, #7289DA 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(88, 101, 242, 0.3);
}

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

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(88, 101, 242, 0.5);
}

.button-text {
    position: relative;
    z-index: 2;
}

.button-icon {
    position: relative;
    z-index: 2;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.2),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-button:hover .button-glow {
    opacity: 1;
}

/* CTA Visual */
.cta-visual {
    position: relative;
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.visual-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(20px);
}

.visual-orb.orb-1 {
    top: 20%;
    left: 20%;
    width: 80px;
    height: 80px;
    background: rgba(88, 101, 242, 0.3);
}

.visual-orb.orb-2 {
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: rgba(114, 137, 218, 0.2);
}

.visual-orb.orb-3 {
    top: 10%;
    left: 60%;
    width: 60px;
    height: 60px;
    background: rgba(67, 181, 129, 0.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .about-preview-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 968px) {
    .home-about-preview-section {
        padding: 80px 0;
    }

    .about-preview-container {
        padding: 0 30px;
    }

    .about-preview-header {
        margin-bottom: 60px;
    }

    .section-title {
        font-size: clamp(28px, 6vw, 48px);
    }

    .about-preview-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .preview-card {
        padding: 30px;
        min-height: 350px;
    }

    .about-preview-cta {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }

    .cta-visual {
        width: 150px;
        height: 150px;
    }

    .mission-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 80%;
        height: 1px;
    }
}

@media (max-width: 640px) {
    .home-about-preview-section {
        padding: 60px 0;
    }

    .about-preview-container {
        padding: 0 20px;
    }

    .section-title {
        font-size: clamp(24px, 7vw, 36px);
    }

    .preview-card {
        padding: 25px;
        min-height: 320px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
    }

    .icon-emoji {
        font-size: 36px;
        line-height: 60px;
    }

    .card-title {
        font-size: 22px;
    }

    .card-description {
        font-size: 15px;
    }

    .about-preview-cta {
        padding: 30px 20px;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
    }

    .cta-visual {
        display: none;
    }

    .valores-list {
        gap: 15px;
    }

    .valor-item {
        padding: 12px;
    }

    .mission-stats {
        padding: 20px;
    }

    .stat-number {
        font-size: 20px;
    }
}
