/* ============================================
   INDEX-PRINCIPAL.CSS - CSS DOS BLOCOS DO INDEX-2
   Hero, Sobre, Depoimentos e Modal
   ============================================ */

/* ============================================
   BLOCO HERO
   ============================================ */
.bloco-hero {
    background: linear-gradient(135deg, #1F1F38 0%, #2d2d44 100%);
    color: #fff;
    text-align: center;
    padding: 60px 20px;
    border-radius: 16px;
    margin-bottom: 40px;
}

.bloco-hero h1 {
    font-size: 42px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.bloco-hero h1 span {
    color: #37A8FF;
}

.bloco-hero p {
    font-size: 18px;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto 20px;
}

.bloco-hero .btn-hero {
    display: inline-block;
    background: #37A8FF;
    color: #fff;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.bloco-hero .btn-hero:hover {
    background: #115FFF;
}

/* ============================================
   BLOCO SOBRE
   ============================================ */
.bloco-sobre {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 40px;
}

.bloco-sobre .coluna-texto {
    flex: 1;
}

.bloco-sobre .coluna-texto h2 {
    color: #37A8FF;
    font-size: 32px;
    margin-bottom: 15px;
}

.bloco-sobre .coluna-texto p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 15px;
}

.bloco-sobre .coluna-imagem {
    flex: 1;
    text-align: center;
}

.bloco-sobre .coluna-imagem img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* ============================================
   BLOCO DEPOIMENTOS
   ============================================ */
.bloco-depoimentos {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    text-align: center;
}

.bloco-depoimentos h2 {
    color: #37A8FF;
    font-size: 32px;
    margin-bottom: 10px;
}

.bloco-depoimentos p {
    color: #64748b;
    margin-bottom: 30px;
}

.bloco-depoimentos .galeria-depoimentos {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.bloco-depoimentos .galeria-depoimentos img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.bloco-depoimentos .galeria-depoimentos img:hover {
    transform: scale(1.03);
}

.bloco-depoimentos .btn-depoimentos {
    display: inline-block;
    background: #37A8FF;
    color: #fff;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.bloco-depoimentos .btn-depoimentos:hover {
    background: #115FFF;
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */
@media (max-width: 768px) {
    .bloco-sobre {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .bloco-hero h1 {
        font-size: 32px;
    }
}

/* ============================================
   MODAL DA GALERIA
   ============================================ */
.modal-galeria {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.92);
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

.modal-galeria.ativo {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-galeria .fechar-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: 0.3s;
    background: none;
    border: none;
    font-family: Arial, sans-serif;
}

.modal-galeria .fechar-modal:hover {
    color: #37A8FF;
}

.modal-galeria .conteudo-modal {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0,0,0,0.8);
    cursor: default;
}

.modal-galeria .nav-modal {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    padding: 20px 15px;
    background: rgba(0,0,0,0.5);
    border-radius: 8px;
    transition: 0.3s;
    user-select: none;
    z-index: 10000;
    border: none;
    font-family: Arial, sans-serif;
    line-height: 1;
}

.modal-galeria .nav-modal:hover {
    background: rgba(55,168,255,0.6);
    color: #fff;
}

.modal-galeria .nav-modal.anterior {
    left: 20px;
}

.modal-galeria .nav-modal.proximo {
    right: 20px;
}

.modal-galeria .contador-modal {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    background: rgba(0,0,0,0.6);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    z-index: 10000;
}

/* ============================================
   RESPONSIVIDADE DO MODAL
   ============================================ */
@media (max-width: 768px) {
    .modal-galeria .nav-modal {
        font-size: 30px;
        padding: 12px 10px;
    }

    .modal-galeria .nav-modal.anterior {
        left: 5px;
    }

    .modal-galeria .nav-modal.proximo {
        right: 5px;
    }

    .modal-galeria .conteudo-modal {
        max-width: 95%;
        max-height: 75vh;
    }

    .modal-galeria .fechar-modal {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }

    .modal-galeria .contador-modal {
        bottom: 15px;
        font-size: 13px;
        padding: 5px 15px;
    }
}