/*
 * ══════════════════════════════════════════════
 *  ABOUT.CSS — Estilização da Seção Sobre a Empresa
 * ══════════════════════════════════════════════
 *  Propósito : Grid de 2 colunas com imagem premium e diferenciais animados.
 *  Dependências : tokens.css (--color-primary, --font-heading, etc.)
 */

.about-section {
    position: relative;
    width: 100%;
    padding: 100px 0;
    background-color: var(--color-black);
    overflow: hidden;
}

/* Grid de Grade Sutil (Identidade Visual) */
.about-grid-bg {
    position: absolute;
    inset: 0;
    background-size: 24px 24px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    mask-image: radial-gradient(ellipse at center, black 45%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 45%, transparent 80%);
    pointer-events: none;
    z-index: 1;
}

.about-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* ── Cabeçalho ─────────────────────────────── */
.about-header {
    margin-bottom: 64px;
}

.about-subtitle {
    display: block;
    margin-bottom: 12px;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    line-height: 1.15;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.about-title-accent {
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-desc {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: #a3a3a3; /* neutral-400 */
    line-height: 1.6;
    max-width: 760px;
}

/* ── Grid Principal (Esquerda vs Direita) ──── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 992px) {
    .about-grid {
        grid-template-columns: 1.1fr 1fr;
        gap: 64px;
    }
}

/* ── Coluna Esquerda: Imagem Premium ───────── */
.about-image-card {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    background-color: var(--color-surface);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    transition: border-color var(--duration-normal) var(--ease-smooth);
}

.about-image-card:hover {
    border-color: rgba(56, 189, 248, 0.2);
}

.about-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(35%) contrast(102%);
    transition: transform var(--duration-slow) var(--ease-smooth), filter var(--duration-slow) var(--ease-smooth);
}

.about-image-card:hover .about-img {
    transform: scale(1.03);
    filter: grayscale(0%) contrast(100%);
}

.about-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
}

.about-image-glow {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(40px);
    z-index: 0;
    transition: opacity var(--duration-normal) var(--ease-smooth);
}

/* ── Coluna Direita: Lista de Diferenciais ── */
.about-list {
    display: flex;
    flex-direction: column;
    gap: 32px; /* space-y-8 is 32px */
}

.about-item {
    display: flex;
    gap: 20px; /* flex gap-5 is 20px */
    align-items: flex-start;
    padding: 0; /* Template has 0 padding */
}

/* Badge Numérica Circular */
.about-item-badge {
    display: flex;
    flex-shrink: 0;
    width: 48px; /* w-12 is 48px */
    height: 48px; /* h-12 is 48px */
    border-radius: 50%; /* rounded-full */
    border: 1px solid rgba(255, 255, 255, 0.08); /* border-white/[0.08] */
    background-color: #171717; /* bg-neutral-900 is #171717 */
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* transition-all duration-300 */
}

.about-item-num {
    font-family: var(--font-mono);
    font-size: 0.875rem; /* text-sm is 0.875rem */
    color: #737373; /* text-neutral-500 is #737373 */
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1); /* transition-colors is 150ms */
}

/* Reset the default template's interactive-text gradient hover on this container */
.about-item.interactive-text:hover {
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: currentColor !important;
    background-clip: unset !important;
    transform: none !important;
}

/* Garante que os textos filhos herdem currentColor e respeitem suas propriedades de color */
.about-item-title,
.about-item-desc,
.about-item-num {
    -webkit-text-fill-color: currentColor !important;
}

/* Hover: Apenas o título acende com o azul da paleta e o círculo com o número tem brilho branco */
.about-item:hover .about-item-title {
    color: var(--color-primary-light);
}

.about-item:hover .about-item-badge {
    border-color: rgba(255, 255, 255, 0.20) !important; /* group-hover:border-white/20 */
    background-color: rgba(255, 255, 255, 0.08) !important; /* group-hover:bg-white/[0.08] */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.15), inset 0 0 8px rgba(255, 255, 255, 0.08) !important; /* White glow effect */
}

.about-item:hover .about-item-num {
    color: var(--color-white);
}


/* Textos */
.about-item-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.about-item-title {
    font-family: var(--font-heading);
    font-size: 1.25rem; /* text-xl is 1.25rem */
    font-weight: 500; /* font-medium */
    color: var(--color-white);
    margin-bottom: 8px; /* mb-2 is 8px margin bottom */
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: -0.01em;
}

.about-item-desc {
    font-family: var(--font-body);
    font-size: 0.875rem; /* text-sm is 0.875rem */
    color: rgba(255, 255, 255, 0.5); /* text-white/50 */
    line-height: 1.625; /* leading-relaxed is 1.625 */
    transition: color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}



/* ── Responsividade ────────────────────────── */
@media (max-width: 991px) {
    .about-section {
        padding: 80px 0;
    }
    
    .about-container {
        padding: 0 24px;
    }
    
    .about-title {
        font-size: 2.25rem;
    }
    
    .about-desc {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .about-image-card {
        height: 320px;
    }
}

@media (max-width: 576px) {
    .about-item {
        flex-direction: column;
        gap: 16px;
        padding: 16px 0;
    }
    
    .about-item-badge {
        width: 40px;
        height: 40px;
    }
}
