/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Corpo do site */
body {
    background: #fafafa;
    color: #333;
    line-height: 1.6;
}

/* Estilo para deixar o texto do GRUPO D em amarelo e negrito */
.amarelo {
    color: yellow;      /* Mantém a cor do texto como amarelo */
    font-weight: bold;  /* Adiciona o estilo negrito ao texto */
}

/* Cabeçalho estilo ICM (vermelho oficial) */
header {
    background: #b40000;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

header h1 {
    font-size: 1.5rem;
}

/* Menu */
nav a {
    color: #fff;
    margin-left: 15px;
    text-decoration: none;
    font-size: 1rem;
}

nav a:hover {
    text-decoration: underline;
}

/* HERO */
.hero {
    height: 260px;
    background: url('imagens/capa.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.1rem;
}

/* Seção Mensagem de Hoje */
.mensagem-hoje {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.mensagem-hoje h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* GRID DA MENSAGEM */
.mensagem-grid {
    display: grid;
    gap: 20px;
}

/* Cards básicos */
.mensagem-video,
.mensagem-imagem,
.mensagem-conheca,
.mensagem-calendario,
.mensagem-motivo {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.mensagem-video h3,
.mensagem-imagem h3,
.mensagem-conheca h3 {
    margin-bottom: 10px;
}

/* Vídeo e imagens responsivos */
.mensagem-video video {
    width: 100%;
    border-radius: 4px;
}

.mensagem-imagem img,
.mensagem-conheca img,
.mensagem-calendario img,
.mensagem-motivo img {
    width: 100%;
    border-radius: 4px;
    display: block;
}

/* Legenda do card "Conheça a ICM" */
.conheca-legenda {
    margin-top: 8px;
    font-size: 0.9rem;
    text-align: center;
}

/* Layout em 3 colunas para telas grandes */
@media (min-width: 900px) {
    .mensagem-grid {
        grid-template-columns: 2fr 1.3fr 1.3fr;
        grid-template-areas:
            "video imagem calendario"
            "video conheca motivo";
        align-items: flex-start;
    }

    .mensagem-video {
        grid-area: video;
    }

    .mensagem-imagem {
        grid-area: imagem;
    }

    .mensagem-conheca {
        grid-area: conheca;
    }

    .mensagem-calendario {
        grid-area: calendario;
    }

    .mensagem-motivo {
        grid-area: motivo;
    }
}

/* Seção Notícias */
.noticias {
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto 40px auto;
}

.noticias h2 {
    text-align: center;
    margin-bottom: 20px;
}

.noticias-info {
    text-align: center;
    color: #666;
}

/* Seção Sobre */
.sobre {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.sobre h2 {
    margin-bottom: 20px;
}

.sobre p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Seção Contato */
.contato {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.contato h2 {
    margin-bottom: 20px;
}

.contato p {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Rodapé */
.rodape {
    margin-top: 40px;
    padding: 20px;
    text-align: center;
    background: #222;
    color: #fff;
    font-size: 0.9rem;
}

.rodape p {
    margin-bottom: 5px;
}

/* --- Notícias Portugal --- */
.noticia-texto {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: bold;
}

/* IMAGEM AJUSTADA PARA DESKTOP */
.noticia-img {
    display: block;
    margin: 0 auto;
    width: 100%;            /* ocupa toda a largura possível */
    max-width: 480px;       /* mas nunca passa de 480px no computador */
    border-radius: 12px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.noticia-img:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

.noticia-legenda {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    font-size: 1rem;
}
/* --- Seção Agenda --- */

.agenda {
    padding: 40px 20px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.agenda h2 {
    margin-bottom: 20px;
    font-size: 2rem;
}

.agenda h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    color: #444;
}

/* Imagem da agenda de cultos */
.agenda-img-container {
    display: flex;
    justify-content: center;
}

.agenda-img {
    width: 95%;
    max-width: 680px; /* Ajuste visual ideal */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

