/* estilos.css */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    background: #f6f7fb;
    color: #000;
}

header {
    min-height: 220px;
    background: url('bandeira-portugal.jpg') center center/cover no-repeat;
    position: relative;
    box-shadow: 0 4px 24px rgba(0,0,0,0.09);
}

.header-overlay {
    height: 450px; /* Altura um pouco maior para o cabeçalho */

    /* Múltiplas camadas de background: Overlay + Imagem da Bandeira */
    background-image:
	/* Overlay preto com 60% de opacidade para escurecer a bandeira e melhorar o contraste do texto */
	linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
	/* URL da bandeira de Portugal em SVG para alta qualidade e responsividade */
	url('https://upload.wikimedia.org/wikipedia/commons/5/5c/Flag_of_Portugal.svg'); 

    /* Propriedades da imagem de fundo */
    background-size: cover; /* Redimensiona a imagem para cobrir todo o elemento, mantendo a proporção */
    background-position: center center; /* Centraliza a imagem no elemento */
    background-repeat: no-repeat; /* Impede que a imagem se repita */

    /* Flexbox para centralização do conteúdo */
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    justify-content: center; /* Centraliza horizontalmente */
    text-align: center; /* Garante que o texto dentro do container seja centralizado */

    /* Estilo do texto */
    color: #fff; /* Cor do texto principal */
    position: relative; /* Necessário para z-index ou pseudo-elementos, se usados */
    overflow: hidden; /* Garante que nada saia dos limites */
}

.header-overlay .container {
    max-width: 1000px; /* Largura máxima para o conteúdo dentro do header */
    margin: 0 auto; /* Centraliza o container na horizontal */
    padding: 20px; /* Espaçamento interno */
    z-index: 2; /* Garante que o texto esteja acima do overlay */
}

.header-overlay h1 {
    margin: 0; /* Remove a margem padrão do h1 */
    font-family: 'Merriweather', serif; /* Nova fonte serifada para o título */
    font-size: 4em; /* Tamanho maior para o título */
    font-weight: 700; /* Peso da fonte Merriweather Bold */
    line-height: 1.2;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.9); /* Sombra mais forte para o título */
    letter-spacing: -1px; /* Ligeiro ajuste de espaçamento entre letras */
}

.header-overlay p.slogan {
    font-family: 'Open Sans', sans-serif; /* Fonte para o slogan */
    font-size: 1.4em; /* Tamanho do slogan */
    margin-top: 25px; /* Espaçamento maior entre título e slogan */
    font-weight: 400;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8); /* Sombra para o slogan */
    max-width: 700px; /* Limita a largura do slogan para melhor leitura */
    margin-left: auto;
    margin-right: auto;
}

/* Adicionando um detalhe sutil com as cores da bandeira (opcional, pode ser ajustado) */
/* Isso pode ser um pequeno elemento abaixo do slogan ou uma borda */
/* Exemplo: uma linha decorativa sutil */
.header-overlay .container::after {
    content: '';
    display: block;
    width: 80px; /* Largura da linha */
    height: 4px; /* Espessura da linha */
    background: linear-gradient(to right, #006600 0%, #006600 35%, #DA291C 35%, #DA291C 100%); /* Verde e Vermelho da bandeira */
    margin: 30px auto 0 auto; /* Centraliza e adiciona margem superior */
    border-radius: 2px; /* Cantos ligeiramente arredondados */
}


/* Media Queries para responsividade (ajustes em telas menores) */

header .container {
    text-align: center;
    color: #fff;
    padding: 40px 0 20px 0;
}

header h1 {
    margin: 0;
    font-size: 2.8em;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.22);
}

.slogan {
    font-size: 1.3em;
    margin-top: 10px;
    font-style: italic;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.12);
}

.destaque-assinaturas {
    background: linear-gradient(90deg, #ffe5b4 0%, #fff9e6 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 32px 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.assinaturas-bloco {
    max-width: 700px;
    width: 100%;
    text-align: center;
}

.assinaturas-bloco h2 {
    color: #da291c;
    margin-bottom: 18px;
}

.assinaturas-bloco p {
    font-size: 1.1em;
    margin-bottom: 16px;
}

.assinaturas-botoes {
    margin: 18px 0 14px 0;
}

.btn-destaque {
    background: #008000;
    color: #fff;
    font-weight: bold;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: background 0.2s, transform 0.2s;
    display: inline-block;
}

.btn-destaque:hover {
    background: #b70000;
    color: #fff;
    transform: scale(1.05);
}

.assinaturas-img {
    margin-top: 18px;
}

.assinaturas-img img {
    max-width: 320px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border: 2px solid #b70000;
}

/* Video Carousel */
.video-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px auto;
    max-width: 900px;
    padding: 0 20px;
}

.video-arrow {
    background: #002d72;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 2em;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin: 0 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 2;
}

.video-arrow:hover {
    background: #0073e6;
    transform: scale(1.08);
}

.video-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.video-wrapper video {
    width: 100%;
    max-width: 600px;
    max-height: 400px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    outline: none;
    background: #000;
}

.video-label {
    margin-top: 12px;
    font-weight: bold;
    color: #002d72;
    font-size: 1.1em;
    background: #e8f1fa;
    padding: 6px 18px;
    border-radius: 18px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

/* Navegação */
nav {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 18px;
}

nav ul li a {
    text-decoration: none;
    color: #002d72;
    font-weight: bold;
    padding: 14px 0;
    display: block;
    transition: color 0.2s;
}

nav ul li a:hover {
    color: #046a38;
}

/* Conteúdo principal */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}

.bloco {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    margin-bottom: 32px;
    padding: 32px 28px;
}

h2 {
    color: #002d72;
    margin-top: 0;
}

strong {
    color: #046a38;
}

ul {
    padding-left: 18px;
}

.valores-lista {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    text-align: center;
    margin-top: 16px;
}

.valores-lista span {
    background: #e8f1fa;
    color: #002d72;
    padding: 8px 18px;
    border-radius: 18px;
    font-size: 1em;
    font-weight: 500;
}

/* Rodapé */
footer {
    background: #002d72;
    color: #fff;
    text-align: center;
    padding: 30px 0 18px 0;
    margin-top: 40px;
}

footer blockquote {
    font-size: 1.2em;
    font-style: italic;
    margin: 0 0 16px 0;
}

footer small {
    display: block;
    margin-bottom: 10px;
}

.footer-nav a {
    color: #fff;
    text-decoration: underline;
    margin: 0 8px;
    font-size: 0.96em;
}

.footer-nav a:hover {
    color: #ff3900;
}

/* Responsividade */
@media (max-width: 900px) {
    .header-overlay h1 {
	font-size: 3.5em;
    }
    .header-overlay p.slogan {
	font-size: 1.2em;
    }
    .video-carousel {
        flex-direction: column;
        padding: 0 4px;
    }
    .video-arrow {
        margin: 12px 0;
    }
    .video-wrapper video {
        max-width: 100vw;
        max-height: 50vw;
    }
}

@media (max-width: 700px) {
    .header-overlay {
	height: 350px; /* Altura menor em telas menores */
    }
    .header-overlay h1 {
	font-size: 2.8em;
    }
    .header-overlay p.slogan {
	font-size: 1.1em;
	margin-top: 15px;
    }
    .header-overlay .container::after {
	width: 60px;
	margin-top: 20px auto 0 auto;
    }
    .container {
        padding: 18px 8px;
    }
    .bloco {
        padding: 18px 10px;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin: 8px 0;
    }
    .valores-lista {
        flex-direction: column;
        gap: 6px;
    }
    .video-wrapper video {
        max-width: 98vw;
        max-height: 40vw;
    }
    header .container {
        padding: 24px 0 10px 0;
    }
    header h1 {
        font-size: 1.8em;
    }
    .slogan {
        font-size: 1em;
    }
    .destaque-assinaturas {
        padding: 18px 6px;
    }
    .assinaturas-img img {
        max-width: 98vw;
    }
}

@media (max-width: 480px) {
    .header-overlay {
	height: 300px;
	padding: 10px; /* Reduz padding em telas muito pequenas */
    }
    .header-overlay h1 {
	font-size: 2.2em;
    }
    .header-overlay p.slogan {
	font-size: 0.9em;
    }
    .header-overlay .container::after {
	width: 40px;
	height: 3px;
	margin-top: 15px auto 0 auto;
    }
}


