/* ==========================================================
   FRS DISTRIBUIDORA - ÁREAS DE ATUAÇÃO (Design 2025)
   Efeito Glassmorphism + Flutuação 3D + Brilho Dinâmico
   Desenvolvido para Djalma Junior (DJW)
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

/* ======== SEÇÃO PRINCIPAL ======== */
.areas-atuacao {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding: 100px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: radial-gradient(circle at top left, #003399, #001a33 80%);
    font-family: 'Poppins', sans-serif;
    perspective: 1000px;
}

/* ======== FUNDO ANIMADO (LUZ E FLUXO) ======== */
.areas-atuacao::before,
.areas-atuacao::after {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 204, 0.1), transparent 70%);
    filter: blur(60px);
    animation: mover 12s infinite alternate ease-in-out;
    z-index: 1;
}
.areas-atuacao::before {
    top: -200px;
    left: -200px;
}
.areas-atuacao::after {
    bottom: -250px;
    right: -250px;
    animation-delay: 4s;
}
@keyframes mover {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-40px) scale(1.1); }
}

/* ======== CONTAINER PRINCIPAL ======== */
.areas-atuacao .container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    text-align: center;
}

/* ======== TÍTULO E DESCRIÇÃO ======== */
.titulo-principal {
    font-size: 2.6em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.descricao {
    font-size: 1.1em;
    font-weight: 300;
    color: #dcdcdc;
    margin-bottom: 60px;
}

/* ======== GRID DOS CARDS ======== */
.grid-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 35px;
}

/* ======== CARDS ======== */
.card-area {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 35px 25px;
    transition: all 0.5s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    transform-style: preserve-3d;
    transform: rotateY(0deg) translateY(10px);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* ======== EFEITO DE BRILHO DINÂMICO ======== */
.card-area::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,0.25),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.75s;
}
.card-area:hover::after {
    left: 125%;
}

/* ======== EFEITOS DE HOVER / 3D ======== */
.card-area:hover {
    transform: rotateY(6deg) translateY(-10px) scale(1.04);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.25);
}

/* ======== CONTEÚDO DO CARD ======== */
.icone-area {
    font-size: 2.8em;
    margin-bottom: 15px;
}

.card-area h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.card-area p {
    font-size: 0.95em;
    font-weight: 300;
    color: #f1f1f1;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* ======== BOTÃO ======== */
.botao-area {
    display: inline-block;
    background: linear-gradient(90deg, #00ffcc, #0099ff);
    color: #001a33;
    padding: 10px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(0,255,204,0.3);
}
.botao-area:hover {
    background: linear-gradient(90deg, #00ccaa, #0077dd);
    color: #fff;
    box-shadow: 0 0 18px rgba(0,255,204,0.5);
    transform: scale(1.05);
}

/* ======== RESPONSIVO ======== */
@media (max-width: 768px) {
    .titulo-principal {
        font-size: 2em;
    }
    .descricao {
        font-size: 1em;
    }
    .card-area {
        padding: 25px 20px;
    }
}
