/* Configurações Globais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth; /* Scroll suave ao clicar em links */
}

/* Secção de Entrada (Hero) */
.hero {
    height: 100vh;
    width: 100%;
    /* Substitui 'fundo.jpg' pelo nome da tua imagem de fundo */
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
                url('bk.jpg') no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* O Quadrado Azul Centrado */
.quadrado-azul {
    background-color: #ffffff; /* Podes ajustar o tom de azul aqui */
    width: 280px;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    padding: 20px;
    transition: transform 0.3s ease;
}

.quadrado-azul:hover {
    transform: scale(1.02);
}

.logo {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

/* Estilo das Secções de Conteúdo */
.conteudo {
    padding: 100px 20px;
    text-align: center;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #222;
}

.linha {
    width: 60px;
    height: 4px;
    background-color: #0056b3;
    margin: 0 auto 30px;
}

.bg-cinza {
    background-color: #f4f7f6;
}

/* Grid de Contactos Responsiva */
.grid-contactos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.item-contacto {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.item-contacto h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* Responsividade para Ecrãs Pequenos */
@media (max-width: 600px) {
    .quadrado-azul {
        width: 200px;
        height: 200px;
    }

    h2 {
        font-size: 1.8rem;
    }
}