/* Reset e Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background: #f9f9f9; color: #333; scroll-behavior: smooth; }

/* Topo do Site */
.hero {
    background: #000; /* Fundo preto elegante */
    color: white;
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-top { width: 120px; margin-bottom: 20px; }

.btn-main {
    background: #fff;
    color: #000;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
    transition: 0.3s;
}

.btn-main:hover { transform: translateY(-5px); background: #eee; }

/* As 3 Caixinhas de Motivos */
.motivos {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
    margin-top: -30px; /* Faz as caixas subirem um pouco */
}

.motivo-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    width: 30%;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.motivo-card span { font-size: 30px; display: block; margin-bottom: 10px; }
.motivo-card h3 { font-size: 16px; margin-bottom: 5px; }
.motivo-card p { font-size: 13px; color: #777; }

/* Responsividade para Telemóvel */
@media (max-width: 768px) {
    .motivos { flex-direction: column; align-items: center; margin-top: 10px; }
    .motivo-card { width: 90%; }
    .hero h1 { font-size: 24px; }
}

/* Grelha do Catálogo */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; padding: 20px; }
/* Títulos das Secções */
.section-title {
    width: 100%;
    text-align: left;
    padding: 20px 0 10px 20px;
    font-size: 24px;
    color: #000;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

/* Grelha interna */
.sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
    padding: 20px;
    width: 100%;
}

/* Ajuste das imagens nos cards */
.card img {
    width: 100%;
    height: 150px;
    object-fit: contain; /* Garante que os logos não fiquem cortados */
    background: #fff;
    padding: 10px;
}

/* Telemóvel */
@media (max-width: 600px) {
    .sub-grid { grid-template-columns: repeat(2, 1fr); }
    .section-title { font-size: 20px; }
}
.btn-voltar {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin: 20px;
    font-weight: bold;
}

.path { font-weight: bold; color: #555; }
/* Centrar os títulos das secções */
.section-title {
    width: 100%;
    text-align: center; /* Centra o texto */
    padding: 30px 0 10px 0; /* Espaçamento superior e inferior */
    font-size: 28px;
    color: #000;
    text-transform: uppercase; /* Opcional: deixa em maiúsculas para dar destaque */
    letter-spacing: 2px; /* Espaço entre letras para um look mais premium */
    margin-bottom: 20px;
    border-bottom: None; /* Remove a linha lateral se existia */
}

/* Garante que as grelhas por baixo também estão alinhadas */
.sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto; /* Centra a grelha inteira no ecrã */
}



