/* Limpeza de margens (Reset) */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', sans-serif;
  scroll-behavior: smooth;
}

h1, h2, h3, .logo-texto {
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
}
/* --- VITRINE PRINCIPAL (CORRIGIDA) --- */
.vitrine {
  background-image: linear-gradient(rgba(15, 15, 15, 0.3), rgba(15, 15, 15, 0.6)), 
                    url('https://i.postimg.cc/dVhhfwzF/Gemini-Generated-Image-7myi4y7myi4y7myi.jpg');
  background-size: cover;
  background-position: center;
  min-height: 85vh; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  text-align: center;
}

.vitrine h1 {
  font-size: 3.8rem;
  color: #d4af37;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.9), 0px 0px 20px rgba(0,0,0,0.8);
}

.subtitulo {
  font-size: 1.4rem;
  font-weight: 400;
  color: #f4f4f8;
  max-width: 750px; 
  margin: 0 auto 30px auto; 
  line-height: 1.6;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.9);
}

.descricao-vitrine {
  font-size: 1.1rem;
  color: #cccccc;
  max-width: 650px; 
  margin: 0 auto 40px auto; 
  line-height: 1.8;
  text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.9);
}

/* --- CORREÇÃO DOS BOTÕES LADO A LADO --- */
.botoes-contato {
  display: flex;
  flex-direction: row; 
  justify-content: center;
  gap: 15px; 
  margin-top: 10px;
}

/* --- BOTÕES DE CONTATO UNIFICADOS --- */
.btn-whats, .btn-email {
  width: 160px; 
  height: 70px; 
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  font-size: 1rem;
  line-height: 1.2; 
}

.btn-whats {
  background-color: #25d366;
  color: white;
  border: 2px solid #25d366; 
}

.btn-email {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

/* --- ÁREA DE SERVIÇOS --- */
.servicos {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
  background-color: #f4f4f8;
}

.card-servico {
  background-color: white;
  padding: 30px;
  border-radius: 8px;
  width: 450px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  text-align: center;
}
.card-servico h2 {
  color: #1a1a1a;
  margin-bottom: 15px;
}

.card-servico p {
  color: #444;
  line-height: 1.6;
}

.destaque {
  border-top: 5px solid #d4af37;
}

/* --- WIDGET DE WHATSAPP --- */
.wa-widget-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.whatsapp-flutuante {
  background-color: #25d366;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.whatsapp-flutuante:hover {
  transform: scale(1.1);
}

.wa-chat-box {
  display: none; 
  width: 300px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  margin-bottom: 15px;
  overflow: hidden;
}

.wa-header {
  background-color: #075e54; 
  color: white;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wa-header-info strong {
  display: block;
  font-size: 1.1rem;
}

.wa-header-info span {
  font-size: 0.8rem;
  color: #dcf8c6;
}

.wa-fechar {
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
}

.wa-body {
  background-color: #e5ddd5; 
  padding: 20px;
  height: 150px;
}

.wa-mensagem-bot {
  background-color: white;
  padding: 10px 15px;
  border-radius: 0 10px 10px 10px; 
  font-size: 0.95rem;
  color: #333;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  display: inline-block;
}

.wa-footer {
  display: flex;
  padding: 10px;
  background-color: #f0f0f0;
}

.wa-footer input {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 20px;
  outline: none;
}

.wa-enviar {
  background-color: #25d366;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-left: 10px;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* --- ÁREA DE CONTACTOS --- */
.contactos {
  padding: 60px 20px;
  text-align: center;
  background-color: #1a1a1a;
  color: white;
}

.contactos h2 {
  color: #d4af37; 
  margin-bottom: 30px;
  font-size: 2rem;
}

.lista-contactos {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.card-contacto {
  background-color: #2a2a2a;
  padding: 30px;
  border-radius: 8px;
  width: 400px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.card-contacto h3 {
  color: #d4af37;
  margin-bottom: 10px;
}

.link-contacto {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  background-color: #333;
  padding: 15px;
  border-radius: 5px;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px; 
}

.link-contacto i {
  font-size: 1.3rem; 
  color: #d4af37; 
}

.link-contacto:hover i {
  color: #1a1a1a; 
}

/* Responsividade dos Contactos para Telemóvel */
@media (max-width: 768px) {
  .lista-contactos {
    flex-direction: column;
    align-items: center;
  }
  .card-contacto {
    width: 100%;
  }
}
/* --- RESPONSIVIDADE (TELEMÓVEL) --- */
@media (max-width: 768px) {
  .servicos {
    flex-direction: column; 
    align-items: center;
  }
  
  .card-servico {
    width: 100%; 
    margin-bottom: 20px; 
  }
}
/* --- MENU SUPERIOR (COMPUTADOR E BASE) --- */
.menu-superior {
  background-color: #ffffff;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid #d4af37;
}

.menu-logo {
  display: flex;
  align-items: center;
}

.logo-menu {
  height: 60px;
  width: auto;
  transition: transform 0.4s ease;
  transform-origin: left center;
}

.menu-links {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.menu-links a {
  color: #1a1a1a;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  transition: color 0.3s;
  white-space: nowrap;
}

.menu-links a:hover {
  color: #d4af37;
}

/* Esconde o hambúrguer e o menu lateral no PC */
.menu-hamburguer {
  display: none;
}

.menu-mobile {
  display: none;
}

/* --- RESPONSIVIDADE DO MENU (CELULAR) --- */
@media (max-width: 768px) {
  .vitrine {
    padding: 100px 20px 60px 20px; 
    min-height: auto;
  }
  .vitrine h1 {
    font-size: 2.1rem;
  }
  .subtitulo {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 20px;
  }
  .descricao-vitrine {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 30px;
  }
  .menu-links {
    display: none; 
  }

  .menu-hamburguer {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed; 
    top: 15px;
    right: 20px;
    z-index: 3000;
    background-color: #ffffff;
    border: 2px solid #d4af37;
    border-radius: 8px;
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
    color: #1a1a1a;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  }

  .menu-mobile {
    display: flex; 
    flex-direction: column;
    background-color: #1a1a1a;
    position: fixed;
    top: 0;
    right: -280px; 
    width: 280px;
    height: 100vh;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    z-index: 2999;
    padding-top: 85px;
    transition: right 0.4s ease;
  }

  .menu-mobile.aberto {
    right: 0;
  }

  .logo-menu.espremido {
    transform: scale(0.65);
  }

  .menu-mobile a {
    color: #ffffff !important;
    text-decoration: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-bottom: 1px solid #333;
    white-space: nowrap;
  }

  .menu-mobile a:hover {
    color: #d4af37 !important;
  }
}

  .logo-menu {
    transition: transform 0.4s ease;
    transform-origin: left center;
  }

  .logo-menu.espremido {
    transform: scale(0.6);
}
/* --- PÁGINA: HISTÓRIA DOS CRESPI --- */
.historia-corrida {
  max-width: 1000px;
  margin: 60px auto 20px auto; 
  display: flex;
  flex-direction: column;
  gap: 80px; 
}

.bloco-historia {
  display: flex;
  align-items: center;
  gap: 50px;
}
/* --- CABEÇALHO DA PÁGINA HISTÓRIA --- */
.cabecalho-historia {
  padding: 140px 20px 80px 20px; 
  text-align: center;
  background-image: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.85)), url('https://i.postimg.cc/ncfZyn7j/Whats-App-Image-2026-10-14-at-16-00-28-(5).jpg');
  background-size: cover;
  background-position: top; 
  background-attachment: fixed; 
}

.cabecalho-historia h1 {
  color: #d4af37; 
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.cabecalho-historia p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.2rem;
  color: #ffffff;
}
/* A magia do Ziguezague: inverte a ordem no PC */
.bloco-historia.inverso {
  flex-direction: row-reverse;
}

.bloco-historia img {
  width: 50%; /* Faz a foto ocupar toda a largura da coluna dela */
  height: auto; /* Mantém a proporção sem distorcer */
  object-fit: cover; /* Garante que preenche o espaço sem margens brancas */
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
}

.texto-historia {
  width: 50%;
  text-align: left;
  padding: 0 20px; /* Devolve a margem lateral para o texto respirar */
}

.texto-historia h3 {
  font-size: 2.4rem;
  color: #d4af37;
  margin-bottom: 20px;
}

.texto-historia p {
  font-size: 1.1rem;
  color: #1a1a1a;
  font-weight: 800;
  line-height: 1.8;
   margin-bottom: 10px !important;
}

/* --- RESPONSIVIDADE DAS HISTÓRIAS (TELEMÓVEL) --- */
@media (max-width: 768px) {
  .linha-do-tempo {
    gap: 60px;
  }
  
  /* Desliga o ziguezague no telemóvel e empilha foto em cima, texto em baixo */
  .bloco-historia, .bloco-historia.inverso {
    flex-direction: column; 
    gap: 25px;
  }
  
  .bloco-historia img, .texto-historia {
    width: 100%;
    text-align: center; 
  }
  
  .texto-historia h3 {
    font-size: 1.8rem;
  }
}
/* --- PÁGINA: A FAMÍLIA --- */
.seccao-familia {
  max-width: 1000px;
  margin: 80px auto;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap; 
  padding: 0 20px;
}

/* --- CABEÇALHO DA PÁGINA familia --- */
.cabecalho-familia {
  padding: 140px 20px 80px 20px; 
  text-align: center;
  background-image: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.85)), url('https://i.postimg.cc/g01c9DzP/Gemini-Generated-Image-wb69ynwb69ynwb69.jpg');
  background-size: cover;
  background-position: center;
}
.cabecalho-familia h1 {
  color: #d4af37; 
  font-size: 3.5rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.cabecalho-familia p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1.2rem;
  color: #ffffff;
}
.cartao-membro {
  background-color: #1a1a1a;
  width: 700px;
  padding: 40px 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border-bottom: 4px solid #d4af37; 
}

.cartao-membro img {
  width: 400px;
  height: 600px;
  border-radius: 10%; 
  object-fit: cover;
  border: 4px solid #d4af37;
  margin-bottom: 10px;
}

.cartao-membro h3 {
  color: #d4af37;
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.cartao-membro p {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.8;
}
/* --- PÁGINA: FAMÍLIA (TEXTO CORRIDO EDITORIAL) --- */
.bloco-leitura {
  display: flex;
  align-items: flex-start; 
  gap: 40px;
  margin-bottom: 15px;
}

/* Inverte a ordem para fazer o zig-zag */
.bloco-leitura.inverso {
  flex-direction: row-reverse;
}

/* Coluna da fotografia no PC (Aumentada para 480px como você pediu) */
.coluna-foto {
  flex: 0 0 480px; 
  text-align: center;
  margin-bottom: 15px;	
}

.coluna-foto img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  margin-bottom: 15px;
}

.coluna-foto .legenda {
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 800;
  color: #666666; 
  margin-top: 12px;
  line-height: 1.4;
}

/* Coluna do texto longo */
.coluna-texto {
  flex: 1; 
}

.coluna-texto p {
  font-size: 1.1rem;
  color: #1a1a1a;
  font-weight: 800;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: left; 
  word-spacing: normal !important;
  letter-spacing: normal !important;
}

/* --- RESPONSIVIDADE (TELEMÓVEL) --- */
@media (max-width: 768px) {
  .bloco-leitura, .bloco-leitura.inverso {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  .coluna-foto {
    flex: 0 0 auto;
    width: 80%; 
  }
  .coluna-texto p {
    text-align: left; 
  }
}
/* --- REGRA EXCLUSIVA PARA O BLOCO DA CATEDRAL --- */
.bloco-leitura.especial {
  align-items: center; 
}

.bloco-leitura.especial .coluna-texto p {
  max-width: 350px; 
  font-weight: 800;
}
.bloco-leitura.especial .legenda {
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 800;
  color: #666666;
  margin-top: 15px;
  text-align: center;
}
/* --- REGRA EXCLUSIVA PARA O BLOCO Do sergio --- */
.bloco-leitura.Sergio {
  align-items: center; 
}

.bloco-leitura.Sergio .coluna-texto p {
  max-width: 350px; 
  font-weight: 800;
}
.bloco-leitura.Sergio .legenda {
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 800;
  color: #666666;
  margin-top: 15px;
  text-align: center;
}
.coluna-foto.Sergio {
  flex: 0 0 550px; 
  text-align: center;
}
/* --- REGRA PARA FOTOGRAFIAS GRANDES E CENTRALIZADAS --- */
.bloco-foto-grande {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center; 
  margin: 50px 0 20px 0; 
}

.bloco-foto-grande img {
  width: 100%;
  max-width: 700px; 
  border-radius: 4px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.bloco-foto-grande .legenda {
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 800;
  color: #666666;
  margin-top: 15px;
  text-align: center;
}
/* --- CORREÇÕES EXCLUSIVAS PARA O CELULAR (Telas pequenas) --- */
@media (max-width: 768px) {
  .cartao-membro { 
    width: 90% !important; 
    max-width: 350px !important; 
    margin: 20px auto !important; 
    padding: 20px !important; 
    box-sizing: border-box !important;
  }

  .cartao-membro img {
    width: 100% !important; 
    height: auto !important; 
    max-height: 400px !important; 
    object-fit: cover !important; 
  }
}
/* =========================================
   AFINAÇÕES GRÁFICAS (SOMBRAS E RESPIRABILIDADE)
   ========================================= */

.bloco-historia img, 
.seccao-familia img {
  border-radius: 10px !important; 
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4) !important; 
  display: block;
  margin: 20px auto !important; 
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  .bloco-historia, 
  .texto-historia, 
  .historia-corrida p {
    padding-left: 25px !important;
    padding-right: 25px !important;
    box-sizing: border-box !important; 
  }

  .texto-historia p, 
  .historia-corrida p {
    text-align: left !important; 
    line-height: 1.6; 
  }
}
/* --- ESPAÇAMENTOS DOS TEXTOS DA HISTÓRIA --- */
.texto-historia h2, 
.texto-historia h3,
.historia-corrida h2,
.historia-corrida h3 {
  margin-bottom: 20px !important; 
  line-height: 1.3;
}

.bloco-historia,
.historia-corrida {
  margin-bottom: 80px; 
}
/* =========================================
   SECÇÃO DO VÍDEO (PÁGINA INICIAL)
   ========================================= */
.seccao-video {
  padding: 60px 20px;
  background-color: #FFFFFF; 
  text-align: center;
}

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

.seccao-video video {
  width: 100%; 
  max-height: 80vh; 
  border-radius: 12px; 
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6); 
  border: 2px solid #d4af37; 
  outline: none; 
}

.seccao-video h2 {
  font-size: 2.2rem; 
  color: #d4af37; 
  margin-bottom: 10px;
  font-weight: 900;
}

.seccao-video p {
  font-size: 1.2rem; 
  color: #000000;
  margin-bottom: 30px;
  font-weight: 600;
}

/* =======================================================
   AQUI ESTAVA O VAZAMENTO! AGORA TUDO ABAIXO ESTÁ PRESO NO CELULAR (ATÉ LINHA DOS SERVIÇOS)
   ======================================================= */
@media (max-width: 768px) {
  .bloco-leitura {
    flex-direction: column !important;
  }

  .coluna-foto, 
  .coluna-texto {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important; 
    padding: 0 15px !important; 
  }

  /* Desliga a altura fixa de TODAS as colunas NO CELULAR */
  .coluna-foto,
  .coluna-foto.Sergio,
  .bloco-leitura.especial .coluna-foto {
    flex: none !important; 
    height: auto !important; 
    margin-bottom: 10px !important; 
  }

  .coluna-texto {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* REGRAS DE EMPILHAR OBRAS/HISTÓRIA PRESAS NO CELULAR */
  .bloco-historia {
    display: flex !important; 
    flex-direction: column-reverse !important; 
    margin-bottom: 80px !important; 
    gap: 0 !important; 
  }

  .texto-historia {
    margin: 0 0 15px 0 !important; 
    padding: 0 20px !important;
    width: 100% !important;
  }

  .bloco-historia img {
    margin: 0 !important; 
    padding: 0 !important;
    flex: none !important; 
    height: auto !important;
    display: block !important;
  }

  .texto-historia h3 {
    font-size: 1.3rem !important; 
    line-height: 1.4 !important;
    margin-bottom: 12px !important; 
    text-align: center !important; 
  }

  .texto-historia p {
    font-size: 0.95rem !important; 
    line-height: 1.6 !important; 
    text-align: justify !important; 
    -webkit-hyphens: auto !important; 
    -ms-hyphens: auto !important;
    hyphens: auto !important; 
  }
} /* <--- A CHAVE DO @MEDIA AGORA FECHA AQUI! O PC ESTÁ LIVRE NAS DUAS PÁGINAS! */

/* =======================================================
   PÁGINA DE SERVIÇOS (Layout de Cartões)
   ======================================================= */

.hero-servicos {
  text-align: center;
  padding: 60px 20px 40px 20px;
}

.container-servicos {
  display: flex;
  flex-wrap: wrap; 
  justify-content: center;
  gap: 30px; 
  padding: 0 20px;
  max-width: 1800px;
  margin: 0 auto 60px auto;
}

.cartao-servico {
  background-color: #ffffff;
  border-radius: 10px; 
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); 
  overflow: hidden; 
  flex: 1 1 550px; 
  max-width: 600px; 
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.cartao-servico:hover {
  transform: translateY(-8px); 
}

.cartao-servico img {
  width: 100%;
  height: 300px; 
  object-fit: cover;
  display: block;
  margin: 0 !important;
}

.cartao-servico h3 {
  font-size: 1.3rem;
  color: #b8975a; 
  margin: 25px 20px 15px 20px;
  text-align: center;
}

.cartao-servico p {
  font-size: 1.0rem;
  line-height: 1.6;
  color: #000000;
  margin: 0 20px 30px 20px;
  text-align: center;
  font-weight: 600;
}

/* =======================================================
   BOTÃO DE ORÇAMENTO (WhatsApp)
   ======================================================= */
.chamada-acao {
  text-align: center;
  padding: 40px 20px 70px 20px;
}

.chamada-acao p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-weight: bold;
}

.botao-whatsapp {
  display: inline-block;
  background-color: #25D366; 
  color: #ffffff !important;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.botao-whatsapp:hover {
  background-color: #128C7E;
  transform: scale(1.05); 
}

/* =======================================================
   COMPORTAMENTO NO TELEMÓVEL (Responsivo)
   ======================================================= */
@media (max-width: 768px) {
  .container-servicos {
    flex-direction: column; 
    align-items: center;
    gap: 40px; 
  }
  
  .cartao-servico {
    width: 100%;
    max-width: 100%;
  }
}