* { margin: 0; padding: 0; box-sizing: border-box; font-family: sans-serif; }

/* FIX DO FUNDO */
.hero {
    position: relative;
    width: 100%;
    min-height: 450px;
    background-image: url('fundo-eletrica.jpg'); /* Verifique o nome do arquivo */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito de profundidade */
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.65);
}

.content { position: relative; z-index: 2; color: #fff; text-align: center; width: 95%; }

/* LOGO AO LADO DO TEXTO */
.header-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.logo-top {
    width: 300px; /* Tamanho controlado */
    height: auto;
    border-radius: 10px;
}

.main-title { font-size: 2.2rem; text-transform: uppercase; letter-spacing: 1px; }

.subtitle { font-size: 1.1rem; opacity: 0.9; margin-bottom: 25px; }

.btn-whats {
    background: #25d366;
    color: #fff;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    display: inline-block;
}

/* ESTRUTURA LADO A LADO */
.main-content { max-width: 1100px; margin: 40px auto; padding: 0 20px; }

.flex-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap; /* Para não quebrar no tablet */
}

.list-section { flex: 1; min-width: 300px; }
.image-section { flex: 0 0 400px; } /* Lado direito fixo em 400px para não crescer demais */

.side-img {
    width: 100%; /* Ocupa os 400px definidos acima */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* ESTILO DA LISTA */
.list-section h2 { color: #004a8d; margin-bottom: 20px; border-bottom: 3px solid #ff8c00; display: inline-block; }
.service-items { list-style: none; }
.service-items li { 
    margin-bottom: 12px; 
    font-size: 1.1rem; 
    display: flex; 
    align-items: center; 
    color: #444;
}
.service-items i { color: #ff8c00; margin-right: 12px; width: 20px; text-align: center; }

.legal-info { text-align: center; padding: 30px; color: #888; font-size: 0.9rem; }

/* AJUSTE PARA CELULAR */
@media (max-width: 768px) {
    .header-container { flex-direction: column; }
    .image-section { flex: 1 1 100%; }
    .main-title { font-size: 1.6rem; }
}