/* Reset CSS Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

/* Ícone do WhatsApp */
.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    font-size: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
}

/* Estilos Gerais */
.section {
    padding: 40px 20px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.light-bg {
    background-color: #fff;
}

h1{
    margin-bottom: 15px;
    color: #ffffff;
}

h1 {
    font-size: 2.5em;
}

h2 {
    font-size: 2em;
}

p {
    margin-bottom: 15px;
}

/* Hero Section */
.hero {
    position: relative;
    color: white;
    text-align: center;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: url('/assets/img/porteiro.jpg') no-repeat center center/cover;
    filter: blur(2px);
    z-index: -1;
    transform: scale(1.0);
}

/* Nova camada de overlay */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content p {
    font-size: 1.2em;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Logo da BBI */
.logo-bbi {
    max-width: 100%;
    height: auto;
    margin-top: 45px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
    display: block;
}

.cta-button {
    background-color: #ff9900;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e68a00;
}

/* Seção de Serviços */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.servico-item {
    background: #f0f0f0;
    padding: 0.1px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.servico-item i {
    font-size: 3em;
    color: #004d80;
    margin-bottom: 15px;
}

/* Seção de Vantagens */
.vantagens-grid ul {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.vantagens-grid li {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.vantagens-grid i {
    color: #25d366;
    margin-right: 10px;
}

/* Seção de Clientes (Parceiros) */
.logo-parceiros {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
    margin-top: 40px;
}

.logo-parceiros img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-parceiros img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Nova Seção de Contato */
.contato-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.contato-button {
    text-decoration: none;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-btn {
    background-color: #25d366;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
}

.ligue-btn {
    background-color: #004d80;
}

.ligue-btn:hover {
    background-color: #003366;
}

/* Rodapé */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

/* Novos Estilos para as fotos do escritório */
.escritorio-fotos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
    justify-content: center;
}

.foto-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s ease-in-out, box-shadow 0.4s ease-in-out;
}

.foto-container:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.foto-escritorio {
    width: 100%;
    height: 500px;
    object-fit: contain; /* Alterado para não cortar a imagem */
    border-radius: 10px;
    filter: grayscale(100%) brightness(80%);
    transition: all 0.4s ease-in-out;
}

.foto-container:hover .foto-escritorio {
    filter: grayscale(0%) brightness(100%);
}

.foto-descricao {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

/* ======================================================
    Otimizações para Responsividade (Mobile First)
======================================================
*/

/* Media Queries para Telas Maiores que 768px (Tablets e Desktops) */
@media (min-width: 768px) {
    h1 {
        font-size: 3.5em;
    }

    h2 {
        font-size: 2.5em;
    }

    .hero {
        height: 70vh;
    }

    .hero-content {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .logo-bbi {
        max-width: 300px;
    }

    .contato-buttons {
        flex-direction: row;
    }
}

/* Media Queries para Telas Maiores que 1024px (Desktops) */
@media (min-width: 1024px) {
    .section {
        padding: 80px 40px;
    }

    h1 {
        font-size: 4em;
    }

    h2 {
        font-size: 3em;
    }
}