/* 
   CONFIGURAÇÕES GERAIS E BASE
    */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: Arial, sans-serif;
  background-color: #dfd5c6; /* Bege acolhedor */
}
/* 
  CABEÇALHO
    */
.cabecalho {
  width: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url('../Imagens/casa_campo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  height: 220px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: opacity 0.1s ease-out;
  border-bottom: 6px solid #bdae97;
  -webkit-transition: opacity 0.1s ease-out;
  -moz-transition: opacity 0.1s ease-out;
  -ms-transition: opacity 0.1s ease-out;
  -o-transition: opacity 0.1s ease-out;
}
/* Títulos do Topo com a Fonte Lobster Two e Contorno Preto em Ambos */
.cabecalho h1 {
  font-family: 'Lobster Two', cursive !important;
  font-size: 40px; 
  letter-spacing: 1px;
  color: #f1c40f !important; /* Garante o amarelo puro */
  display: block;
  width: 100%;
  position: absolute; 
  left: 0;
  /* FORÇA O CONTORNO PRETO EM TODAS AS PÁGINAS: */
  text-shadow:
    -1px -1px 0 #000000,  
     1px -1px 0 #000000,
    -1px  1px 0 #000000,
     1px  1px 0 #000000,
     3px  3px 5px rgba(0,0,0,0.9) !important;

}
.cabecalho h1:first-of-type {
  top: 25px;
}
.cabecalho h1:nth-of-type(2) {
  top: 80px;
}
/* Menu de Navegação no Fundo do Cabeçalho */
.cabecalho nav {
  position: absolute;  
  bottom: 20px;        
  left: 0;
  width: 100%;         
  margin-top: 0;       
}

.cabecalho nav a {
  font-family: 'Lobster Two', cursive !important;
  font-size: 30px;
  color: #f39c12;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease-in-out;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
}
/* Efeito ao passar o Rato: Fica Branco com Rebordo/Sombra Amarela */
.cabecalho nav a:hover {
  color: #ffffff; 
  /* Cria o efeito de rebordo/brilho amarelo forte à volta das letras brancas */
  text-shadow: 
    -1px -1px 0 #f1c40f,  
     1px -1px 0 #f1c40f,
    -1px  1px 0 #f1c40f,
     1px  1px 0 #f1c40f,
     0px  0px 8px #f1c40f;
}

/*ESTRUTURA DA PÁGINA INICIAL (index.html - 3 Colunas)
    */
.conteudo-principal {
  display: flex;
  min-height: 500px;
  max-width: 1400px; 
  margin: 0 auto;
  gap: 15px;
  padding: 0 15px;
  margin-top: 270px; 
  /* Empurra o conteúdo para baixo do cabeçalho fixo */
}
/* Banners Laterais (Esquerda e Direita) */
.banner-esquerda, .banner-direita {
  flex: 1; 
  background-color: #f5f2eb;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  border-radius: 5px;
}
.banner-esquerda h3, .banner-direita h3 {
  color: #333;
  margin-bottom: 10px;
  border-bottom: 2px solid #ccc;
  width: 100%;
  text-align: center;
  padding-bottom: 5px;
}

.banner-esquerda a, .banner-direita a {
  display: block;       
  text-align: center;   
  text-decoration: none;
  color: #333333;       
  font-size: 13px;
  font-weight: bold;
  width: 100%;
}
/* Imagens Maiores e com Cantos Bem Cortados nos Banners */
.banner-esquerda img, .banner-direita img {
  width: 100%;
  max-width: 220px;
  height: auto;
  margin-bottom: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border-radius: 15px;
  transition: transform 0.2s;
  -webkit-transition: transform 0.2s;
  -moz-transition: transform 0.2s;
  -ms-transition: transform 0.2s;
  -o-transition: transform 0.2s;
}
.banner-esquerda a:hover img, .banner-direita a:hover img {
  transform: scale(1.03);
  -webkit-transform: scale(1.03);
  -moz-transform: scale(1.03);
  -ms-transform: scale(1.03);
  -o-transform: scale(1.03);
}
/* Área Central da Biografia */
.div-central {
  flex: 3;
  background-color: #f5f2eb;
  padding: 25px;
  text-align: justify;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}
.div-central h1, .div-central h2, .div-central h3 {
  color: #222;
  margin-top: 15px;
  margin-bottom: 5px;
}
.div-central p {
  line-height: 1.6;
  font-size: 15px;
  color: #444;
}
/* Imagens Centrais Maiores Lado a Lado */
.div-central img {
  width: 48%;
  margin: 20px 1%;
  height: auto;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: inline-block;
  vertical-align: top;
  border-radius: 15px;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}

/*ESTRUTURA DA PÁGINA DE FORMAÇÃO (formacao.html) */
.conteudo-formacao {
  max-width: 1000px;
  margin: 250px auto 40px auto; 
  padding: 0 20px;
}
.bloco-formacao {
  background-color: white;
  padding: 30px;
  margin-bottom: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.bloco-formacao h2 {
  color: #222;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
  margin-bottom: 15px;
  font-size: 22px;
}
.bloco-formacao h3 {
  color: #555;
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 16px;
}
.bloco-formacao p {
  line-height: 1.6;
  color: #444;
  text-align: justify;
}
/* Grelhas de Imagens para a Formação */
.galeria-fotos, .galeria-diplomas {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
}
/* Fotografias da Formação */
.galeria-fotos img {
  flex: 1 1 calc(25% - 15px); 
  min-width: 180px;
  height: auto;
  border-radius: 15px; 
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
}
/* Diplomas da Formação */
.galeria-diplomas img {
  flex: 1 1 calc(33.33% - 15px); 
  min-width: 220px;
  height: auto;
  border-radius: 15px; 
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}
/* Destaque do Diploma Cisco */
.galeria-cisco {
  text-align: center;
  margin: 20px 0;
}
.galeria-cisco img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 15px; 
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
  transition: transform 0.2s;
}
/* Efeito de Zoom ao Passar Rato na Formação */
.galeria-fotos img:hover, .galeria-diplomas img:hover, .galeria-cisco img:hover {
  transform: scale(1.03);
}
/* RODAPÉ (Partilhado por todas as páginas) */
.rodape {
  width: 100%;
  background-color: #222;
  color: #ccc;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  font-size: 13px;
}
/* Título Principal da Área Central */
.div-central h1 {
  color: #f39c12 !important; /* Cor laranja do menu */
  font-size: 28px;
  margin-top: 15px;
  margin-bottom: 5px;
}
/* Subtítulos (Biografia, O Percurso Profissional, etc.) e Destaques */
.div-central h2, 
.div-central h3, 
.banner-esquerda h3, 
.banner-direita h3,
.bloco-formacao h2,
.bloco-formacao h3 {
  color: #f39c12 !important; /* Cor laranja do menu */
}
/* Legendas das imagens nos Banners Laterais */
.banner-esquerda a, .banner-direita a {
  display: block;       
  text-align: center;   
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  width: 100%;
  margin-bottom: 20px;  
  /* CORES ALTERADAS PARA AMARELO: */
  color: #f1c40f !important; 
  /* Moldura escura fina para dar leitura no fundo claro */
  text-shadow: 
    -1px -1px 0 #000,  
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}
.div-central p {
  font-family: Arial, sans-serif !important; 
  line-height: 1.6;                      
  font-size: 15px;                         
  text-align: justify;                     
  color: #333333;                          
}
/*ESTRUTURA DA PÁGINA MINHA FAMÍLIA (pagina3.html) */
.conteudo-familia {
  max-width: 1000px;
  margin: 250px auto 40px auto; 
  padding: 0 20px;
}
.bloco-familia {
  background-color: #f5f2eb; /* Bege clarinho idêntico ao de dentro */
  padding: 30px;
  margin-bottom: 40px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.bloco-familia h2 {
  color: #f39c12 !important; /* Cor laranja do menu */
  border-bottom: 2px solid #dfd5c6;
  padding-bottom: 10px;
  margin-bottom: 15px;
  font-size: 22px;
}
.bloco-familia p {
  line-height: 1.6;
  font-size: 15px;
  color: #444;
  text-align: justify;
}
/* Grelha para arrumar as 10 Imagens */
.galeria-14-fotos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Organiza em colunas dinâmicas */
  gap: 15px;
  margin-top: 20px;
}
.galeria-14-fotos img {
  width: 100%;
  height: 150px;
  object-fit: cover;/*Recortaaimagemparaficaremtodascomtamanhosidênticos*/
  border-radius: 15px; /*Cantoscortados*/
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}
.galeria-14-fotos img:hover {
  transform: scale(1.04);
  -webkit-transform: scale(1.04);
  -moz-transform: scale(1.04);
  -ms-transform: scale(1.04);
  -o-transform: scale(1.04);
}
/* Secção de Vídeos Embutidos do YouTube */
.galeria-videos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}
.video-container {
  flex: 1 1 calc(50% - 20px);
  /*Coloca2vídeosladoalado*/min-width: 280px;
  position: relative;
  padding-bottom: 28%;
  /*Mantémaproporçãodoleitordevídeo*/height: 0;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
/* Caixas Especiais para Destacar os Pensamentos */
.bloco-pensamento {
  background-color: #dfd5c6; /* Fundo bege ligeiramente mais escuro para realce */
  padding: 20px;
  margin-top: 15px;
  border-radius: 12px;
  border-left: 5px solid #f39c12; /* Barra laranja do lado esquerdo para estilo */
}
/* Título dos pensamentos em Castanho Escuro Confortável */
.bloco-pensamento p strong {
  color: #5a4a42 !important; /* Castanho terroso que combina com a madeira */
  font-size: 16px;
  display: inline-block;
  margin-bottom: 5px;
}/* Força a caixa a aumentar e a não cortar nada */
.caixa-link-facebook {
  flex: 0 1 350px !important;
  flex-direction: column !important;
  width: 100% !important;
  max-width: 265px !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  background-color: #dfd5c6 !important;
  border-radius: 15px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
  height: 260px !important;
  padding: 40px 25px !important;
  -webkit-border-radius: 15px !important;
  -moz-border-radius: 15px !important;
  -ms-border-radius: 15px !important;
  -o-border-radius: 15px !important;
}
.caixa-link-facebook p {
  color: #5a4a42 !important;
  font-weight: bold;
  margin-bottom: 20px !important;
  font-size: 18px; 
  text-align: center !important;
}
.caixa-link-facebook a {
  background-color: #f39c12;
  color: white !important;
  padding: 16px 32px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  display: inline-block;
  transition: background-color 0.2s;
  -webkit-transition: background-color 0.2s;
  -moz-transition: background-color 0.2s;
  -ms-transition: background-color 0.2s;
  -o-transition: background-color 0.2s;
  -webkit-border-radius:20px;
  -moz-border-radius:20px;
  -ms-border-radius:20px;
  -o-border-radius:20px;
}
.caixa-link-facebook a:hover {
  background-color: #e08e0b; 
}
/* Alinha o botão de som ao centro da coluna da direita (Destaques) */
.zona-controlo-som {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
  position: fixed;
  top: 228px;
  left: 0;
  right: 0;
  z-index: 999;
  transition: opacity 0.1s ease-out !important;
  display: flex !important;
  justify-content: flex-end !important;
  -webkit-transition: opacity 0.1s ease-out !important;
  -moz-transition: opacity 0.1s ease-out !important;
  -ms-transition: opacity 0.1s ease-out !important;
  -o-transition: opacity 0.1s ease-out !important;
}
#botao-som {
  background-color: #f39c12;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: background-color 0.2s;
  margin-right: 70px !important;
  -webkit-transition: background-color 0.2s;
  -moz-transition: background-color 0.2s;
  -ms-transition: background-color 0.2s;
  -o-transition: background-color 0.2s;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}
#botao-som:hover {
  background-color: #e08e0b; /* Escurece ligeiramente ao passar o rato */
}
/* --- ESTILO DO CONTADOR DE VISITAS NO RODAPÉ --- */
.caixa-contador {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #dfd5c6;
  padding: 6px 14px;
  border-radius: 20px;
  margin-top: 10px;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}
.texto-contador {
  color: #5a4a42; /* O tom castanho */
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 13px;
  margin-right: 8px;
  margin-left: 5px;
}
/* Dígitos com aspeto de placar digital */
.digitos-contador {
  background-color: #222;
  color: #f1c40f;
  font-family: 'Courier New', Courier, monospace;
  font-weight: bold;
  font-size: 14px;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  -webkit-border-radius:15;
  -moz-border-radius:15;
  -ms-border-radius:15;
  -o-border-radius:15;
}
/* Centra as imagens da biografia e adiciona a moldura amarela */
.div-central img {
  width: 100%;
  max-width: 450px;
  height: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-radius: 15px;
  display: block;
  margin: 25px auto;
  border: 4px solid #f39c12 !important;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  -ms-border-radius: 15px;
  -o-border-radius: 15px;
}
.proporcao-video-link {
    position: relative;
    width: 100%;
    max-width: 250px;
    height: 185px;
    margin: 15px 0 15px 100px;
    
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    background-color: #000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
    -moz-transition: transform 0.3s ease, box-shadow 0.3s ease;
    -ms-transition: transform 0.3s ease, box-shadow 0.3s ease;
    -o-transition: transform 0.3s ease, box-shadow 0.3s ease;
}
/* Efeito: A caixa inteira cresce ao passar o rato */
.proporcao-video-link:hover {
    transform: scale(1.05); 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); 
}

/* FORÇAR O LINK A OCUPAR A CAIXA TODA */
.link-short {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    position: relative;
}
/*A IMAGEM DE FUNDO (Estica obrigatoriamente para tapar o preto) */
.imagem-capa {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    /*Cortaepreenchesemdistorcer*/display: block !important;
    opacity: 0.75;
    transition: transform 0.3s ease, opacity 0.3s ease;
    -webkit-transition: transform 0.3s ease, opacity 0.3s ease;
    -moz-transition: transform 0.3s ease, opacity 0.3s ease;
    -ms-transition: transform 0.3s ease, opacity 0.3s ease;
    -o-transition: transform 0.3s ease, opacity 0.3s ease;
}
/* Efeito: Zoom na imagem lá dentro */
.link-short:hover .imagem-capa {
    transform: scale(1.08); 
    opacity: 0.55;
}
/*O BOTÃO AMARELO DESTACADO */
.botao-play-central {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.05);
    background-color: rgba(230, 184, 0, 0.95);
    color: #fff;
    padding: 14px 22px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    font-size: 15px;
    border-radius: 25px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    white-space: nowrap;
    transition: background-color 0.2s, transform 0.2s ease;
    -webkit-transition: background-color 0.2s, transform 0.2s ease;
    -moz-transition: background-color 0.2s, transform 0.2s ease;
    -ms-transition: background-color 0.2s, transform 0.2s ease;
    -o-transition: background-color 0.2s, transform 0.2s ease;
    -webkit-transform: translate(-50%, -50%) scale(1.05);
    -moz-transform: translate(-50%, -50%) scale(1.05);
    -ms-transform: translate(-50%, -50%) scale(1.05);
    -o-transform: translate(-50%, -50%) scale(1.05);
}

/* Efeito: O botão cresce no hover */
.link-short:hover .botao-play-central {
    background-color: #b4941f;
    transform: translate(-50%, -50%) scale(1.12);
    -webkit-transform: translate(-50%, -50%) scale(1.12);
    -moz-transform: translate(-50%, -50%) scale(1.12);
    -ms-transform: translate(-50%, -50%) scale(1.12);
    -o-transform: translate(-50%, -50%) scale(1.12);
}
/* ==========================================================================
   ESTILO DOS PENSAMENTOS E DIÁRIOS
   ========================================================================== */

/* Caixa individual para cada pensamento */
.bloco-pensamento {
  background-color: #fbf3d5; /* Fundo branco para destacar os textos */
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  border-left: 5px solid #f39c12; /* Barra lateral laranja da marca */
}

/* Título em destaque de cada bloco */
.titulo-pensamento {
  font-size: 18px;
  font-weight: bold;
  color: #055411 !important;
  margin-bottom: 12px;
}

/* Texto descritivo/introdução */
.texto-introducao {
  font-size: 15px;
  color: #107805 !important;
  line-height: 1.6;
  text-align: justify;
  margin-bottom: 20px;
}

/* Contentor que imita a folha de diário para os desabafos longos */
.diario-texto {
  background-color: #fef3dd;
  border: 1px solid #f8b95a;
  padding: 22px;
  border-radius: 8px;
  -webkit-border-radius:20px;
  -moz-border-radius:20px;
  -ms-border-radius:20px;
  -o-border-radius:20px;
}

/* Formatação das Datas */
.data-diario {
  display: block;
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: #060ffc; /* Tom laranja escuro legível */
  margin-bottom: 12px;
  font-size: 14px;
}

/* Nota inicial do diário de 2015 */
.nota-diario {
  font-weight: bold;
  color: #077312;
  font-size: 13.5px;
  margin-bottom: 15px;
  line-height: 1.5;
}

/* Estilo do texto corrido dos desabafos na primeira pessoa */
.diario-texto p {
  font-style: italic;
  font-size: 14.5px;
  color: #1577f7 !important; /* Texto escuro com alto contraste */
  line-height: 1.7;
  text-align: justify;
}
/* COLE ESTE NOVO BLOCO NO SEU CSS: */
.conteudo-videos {
  max-width: 1000px; /* Tranca na largura exata do bloco de cima */
  margin: 20px auto 40px auto; /* O 'auto' centraliza a barra na página */
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px; 
  justify-content: space-between;
}

.cartao-video {
  flex: 1 1 calc(16.66% - 15px);
  min-width: 140px;
  background-color: #0c0cf8;
  padding: 15px 10px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  -webkit-transition: transform 0.2s, box-shadow 0.2s;
  -moz-transition: transform 0.2s, box-shadow 0.2s;
  -ms-transition: transform 0.2s, box-shadow 0.2s;
  -o-transition: transform 0.2s, box-shadow 0.2s;
}

.cartao-video:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
  -webkit-transform: translateY(-4px);
  -moz-transform: translateY(-4px);
  -ms-transform: translateY(-4px);
  -o-transform: translateY(-4px);
}

.cartao-video p {
  font-family: Arial, sans-serif;
  font-size: 12px; 
  color: #555555;
  font-weight: bold;
  line-height: 1.3;
}

.botao-reel {
  display: inline-block;
  text-decoration: none;
  background-color: #f39c12;
  color: #ffffff !important;
  font-size: 11px;
  font-weight: bold;
  padding: 8px 5px;
  border-radius: 20px;
  width: 100%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: background-color 0.2s;
  -webkit-transition: background-color 0.2s;
  -moz-transition: background-color 0.2s;
  -ms-transition: background-color 0.2s;
  -o-transition: background-color 0.2s;
}

.botao-reel:hover {
  background-color: #e67e22;
}
/* ==========================================================================
   7. SECÇÃO DE VÍDEOS / REELS FACEBOOK (Largura Ajustada à Zona de Cima)
   ========================================================================== */
.galeria-videos {
  max-width: 1000px !important; /* Tranca a largura máxima exata da zona de cima */
  margin: 20px auto 40px auto !important; /* O 'auto' centraliza a zona na página */
  padding: 0 !important; 
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 15px !important; 
  justify-content: center !important; /* Centraliza as caixas lá dentro */
}

/* Força as caixas a ajustarem-se para caberem na largura de 1000px */
.caixa-link-facebook {
  flex: 0 1 calc(16.66% - 15px) !important;
  /*Divideos1000pxpelos6vídeos*/min-width: 140px !important;
  max-width: 155px !important;
  height: 240px !important;
  padding: 25px 12px !important;
  background-color: #f7e2c7 !important;
  /*Mantémofundobrancolimpo*/border-radius: 15px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: space-between !important;
  text-align: center !important;
  transition: transform 0.2s ease !important;
  -webkit-transition: transform 0.2s ease !important;
  -moz-transition: transform 0.2s ease !important;
  -ms-transition: transform 0.2s ease !important;
  -o-transition: transform 0.2s ease !important;
}

.caixa-link-facebook:hover {
  transform: translateY(-4px) !important;
  -webkit-transform: translateY(-4px) !important;
  -moz-transform: translateY(-4px) !important;
  -ms-transform: translateY(-4px) !important;
  -o-transform: translateY(-4px) !important;
}

.caixa-link-facebook p {
  color: #f39d1297 !important;
  font-weight: bold !important;
  font-size: 12px !important; 
  line-height: 1.4 !important;
  text-align: center !important; 
}

.caixa-link-facebook a {
  background-color: #f39c12 !important;
  color: #f5ebde !important;
  padding: 10px 12px !important;
  border-radius: 25px !important;
  text-decoration: none !important;
  font-weight: bold !important;
  font-size: 11px !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
  display: inline-block !important;
  width: 100 !important;
  transition: background-color 0.2s !important;
  -webkit-transition: background-color 0.2s !important;
  -moz-transition: background-color 0.2s !important;
  -ms-transition: background-color 0.2s !important;
  -o-transition: background-color 0.2s !important;
}

.caixa-link-facebook a:hover {
  background-color: #e08e0b !important; 
}
/* ==========================================================================
   ALINHAMENTO VERTICAL MILIMÉTRICO DO BLOCO (Solução Direta)
   ========================================================================== */

.bloco-familia {
  max-width: 1000px !important; /* Tranca o bloco na largura exata de 1000px */
  width: 100% !important;
  margin: 30px auto !important; /* O 'auto' centraliza o bloco na página, alinhando com o de cima */
  box-sizing: border-box !important;
}

/* Garante que a grelha de vídeos não transborda e fica alinhada lá dentro */
.galeria-videos {
  width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
  justify-content: center !important;
  margin-top: 25px !important;
}













































