/* versão – 10 Julho 2025 */

/* CSS NOVO */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, sans-serif;
  background: #fff;
  padding-top: 60px;
  padding-bottom: 70px;
}

#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: linear-gradient(135deg, #ff00cc, #3333ff);
  background-size: 400% 400%;
  animation: movimentoFundo 12s ease infinite;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.7rem;
  z-index: 1000;
  flex-wrap: wrap; /* permite quebrar para nova linha se necessário */
}

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

#header h1 {
  font-size: 1rem;
  color: white;
  margin: 0;
  white-space: nowrap;
}

.logo {
  height: 32px;
}

#menu-toggle {
  display: none;
}

#nav {
  display: flex;
}

#nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

#nav a {
  color: white;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

#nav a:hover {
  color: #f0c040;
}


/* Mobile */
@media (max-width: 768px) {
  #menu-toggle {
    display: block;
    font-size: 1.6rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.4rem;
    margin-left: auto; /* empurra botão para a direita */
  }

  .logo-menu {
    flex: 1; /* ocupa todo o espaço possível à esquerda */
  }

  #nav {
    order: 3;
    width: 100%;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
  }

  #nav.active {
    max-height: 500px;
    opacity: 1;
    pointer-events: auto;
  }

  #nav ul {
    flex-direction: column;
    padding: 0.4rem 0.8rem;
  }

  #nav ul li {
    border-bottom: 1px solid #333;
    padding: 0.5rem 0;
  }
}


.footer-artistico {
  background: linear-gradient(135deg, #ff00cc, #3333ff);
  border-top: 2px solid white;
  color: white;
  text-align: center;
  padding: 0.3rem 0.5rem; /* Altura mínima confortável */
  font-size: 0.75rem;     /* Texto ainda legível */
  font-weight: 600;       /* Um pouco menos grosso */
  letter-spacing: 0.05rem;
  position: fixed;
  width: 100%;
  bottom: 0;
  left: 0;
}
.footer-artistico a,
.footer-artistico a:visited,
.footer-artistico a:hover,
.footer-artistico a:active {
  font-family: 'Times New Roman', Times, serif;
  color: white;
  text-decoration: none;
}


/* CSS ANTIGO  */

.ecranCeramicas {
  max-width: 90vw;
  margin: 0 auto;
}

.estilo-texto,
.estilo-preco,
.estilo-cabecalho,
.estilo-venda {
  font-family: 'Times New Roman', Times, serif;
  text-align: center;
}

.estilo-texto {
  font-size: 1.5em;
  margin: 70px 0;
}

.estilo-preco,
.estilo-cabecalho {
  font-size: 2em;
  margin-top: 70px;
  margin-bottom: 70px;
}

.estilo-cabecalho {
  font-weight: 900;
}

.estilo-venda {
  font-size: 1em;
  margin: 50px 0;
  font-style: italic;
}

.estilo-textoObra {
  display: flex;
  align-items: center;      /* Alinha verticalmente a imagem e o texto */
  justify-content: center;  /* Centra o conjunto no container */
  gap: 1em;
  font-family: 'Times New Roman', Times, serif;
  font-size: 1.5em;
  text-align: center;       /* Opcional — para alinhar o texto se tiver várias linhas */
}




/* ===== IMAGENS E VÍDEO ===== */

.imagem-responsiva {
  max-width: 100%;
  overflow: hidden;
}

.imagem-responsiva img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
  margin-bottom: 70px;
  margin-top: 70px;
}
.imagem-centro {
  display: block;
  margin: 0 auto;
  width: 50%;
}

.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  margin-bottom: 70px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.linkCeramicas {
  display: inline-block;
  font-size: 1rem;
  padding: 10px 20px;
  color: #007BFF;
  text-decoration: none;
  border: 1px solid #007BFF;
  border-radius: 5px;
  transition: background 0.3s;
}

.linkCeramicas:hover {
  background-color: #007BFF;
  color: #fff;
}

.linkObras {
  display: inline-block;
  font-size: 1rem;
  padding: 10px 20px;
  color:blueviolet;
  text-decoration: none;
  border: 1px solid blueviolet;
  border-radius: 5px;
  transition: background 0.3s;
}

.linkObras:hover {
  background-color: blueviolet;
  color: #fff;
}

.linha-animada {
  border: none;
  height: 4px;
  background: linear-gradient(90deg, blue, violet);
  background-size: 200% 100%;
  animation: mudarCor 5s linear infinite;
  width: 60%;
  margin: 2rem auto;
  border-radius: 2px;
}

@keyframes mudarCor {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.linha-tempo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
}

.evento {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 1rem;
}

.icone-circulo {
  width: 10px;
  height: 10px;
  background-color: #b36bd4; /* lilás */
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.4rem; /* ajusta a posição vertical */
}

.conteudo {
  line-height: 1.5;
}

.imagem-hover {
  position: relative;
  display: inline-block;
  text-align: center;
  max-width: 600px;
  margin: 2rem auto;
}

.imagem-hover img {
  width: 100%;
  height: auto;
  display: block;
}

/* Imagem que aparece por cima ao passar o rato */
.imagem-hover-substituta {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* Quando o rato passa por cima, a imagem substituta aparece */
.imagem-hover:hover .imagem-hover-substituta {
  opacity: 1;
}

.imagem-hover figcaption {
  font-size: 0.95rem;
  color: #666;
  margin-top: 0.5rem;
  font-style: italic;
}

/* LAYOUT DE TABELA COM IMAGENS */

.galeria-homepage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 2rem;
  margin-top: 100px
}

.item-galeria {
  display: flex;
  flex-direction: column;
  text-align: center;
  text-decoration: none;
  color: black;
  border: 2px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.item-galeria:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.item-galeria img {
  width: 100%;
  height: auto;
  display: block;
}

.item-galeria h3 {
  margin: 0.5rem 0 1rem;
  font-size: 1.1rem;
  padding: 0 0.5rem;
}

/* Responsivo: 1 por linha no mobile */
@media (max-width: 600px) {
  .galeria-homepage {
    grid-template-columns: 1fr;
  }
}


/* ICONES DAS REDES SOCIAIS */

ul.icons {
  display: flex;
  justify-content: center; /* centra horizontalmente */
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 auto; /* centra o bloco se tiver largura definida */
  /* opcional: define uma largura ou deixa automático */
}


ul.icons li a {
  font-size: 2em;
  color: #222;  /* cor escura para aparecer em fundo claro */
  transition: color 0.3s ease;
}

ul.icons li a:hover {
  color: #ff6600; /* cor de destaque no hover */
}

ul.icons .label {
    display: none;
}

/* Estilo da tabela */
.tabela-larga {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-family: 'Times New Roman', Times, serif;
  margin-top: 100px;
  color: #333;
}

/* Células da tabela */
.tabela-larga th,
.tabela-larga td {
  border: 1px solid #ccc;
  padding: 10px;
  font-size: 1.5em;
  position: relative;
}
.tabela-larga td.oculto {
  display: none !important;
}

.tooltip-imagem {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: auto;
  border: 1px solid #ccc;
  background: white;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  z-index: 10;
  pointer-events: none; 
}

.tabela-larga td:hover .tooltip-imagem {
  display: block;
}

blockquote {
  text-align: center;
  font-style: italic;
  font-family: 'Times New Roman', Times, serif;
  margin-top: 70px;
  margin-bottom: 70px;
}
h1.obra {
  color: #990066;
  font-size: 2.5em;
  font-family: 'Times New Roman', Times, serif;
  text-align: center;
  margin-top: 30px;
  margin-bottom: 70px;
  line-height: 1.5;
  text-transform: uppercase;
}
h2.video {
  color: #990066;
  font-size: 2.0em;
  font-family: 'Times New Roman', Times, serif;
  text-align: center;
  margin-top: 70px;
  margin-bottom: 70px;
  line-height: 1.2;
}


.rodape-carrossel {
  position: fixed;
  bottom: 0;
  width: 100%;        /* mesma largura do footer-artistico */
  background: #ff00cc; /* mantém cor própria do carrossel */
  overflow: hidden;
  padding: 10px 0;
}

.carrossel {
  display: flex;
  animation: moverDireita 30s linear infinite;
  width: 100%;        /* garante que ocupa a mesma largura do footer */
}

.carrossel img {
  height: 80px;       /* mantém altura original do carrossel */
  margin: 0 10px;
  border-radius: 8px;
}

@keyframes moverDireita {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}
.gallery {
  margin-top: 100px;
  font-family: 'Times New Roman', Times, serif;
  text-align: center;
  color: #333;
}

.gallery-title {
  color: blue;
  font-size: 2em;
  background-color: #e0f0ff;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.card.oculto {
  display: none !important;
}

.card {
  border: 1px solid #ccc;
  padding: 15px;
  border-radius: 10px;
  background: #fafafa;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.card a {
  display: block;
  font-size: 1.5em;
  font-weight: bold;
  margin-bottom: 8px;
  color: #edf1f4;
  text-decoration: none;
}

.card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}
#btn-container {
  display: flex;
  justify-content: center; /* centraliza horizontalmente */
  gap: 20px; /* espaço entre os botões */
  margin: 50px 0; /* margem superior e inferior */
}

/* Formulário principal */
#form-devolucao {
  max-width: 600px;
  margin: 0 auto;
  padding: 2em;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

/* Título do formulário */
.form-titulo {
  margin-bottom: 1em;
}

/* Etiquetas */
.form-label {
  display: block;
  margin-top: 1em;
  font-weight: bold;
}

/* Campos de texto e email */
.form-input {
  width: 90%;
  padding: 0.5em;
  margin-top: 0.5em;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: "Times New Roman", serif;
  font-size: 1em;
}

/* Área de texto */
.form-textarea {
  width: 90%;
  padding: 0.5em;
  margin-top: 0.5em;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: "Times New Roman", serif;
  font-size: 1em;
  resize: vertical;
}

/* Botão de envio */
.form-botao {
  margin-top: 1.5em;
  padding: 0.7em 2em;
  background-color: #ff00cc;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.form-botao:hover {
  background-color: #cc0099;
}

/* Mensagem de confirmação (opcional, se usares JS) */
.form-confirmacao {
  margin-top: 2em;
  color: green;
  font-weight: bold;
  display: none;
}
.mapa-centro {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2em;
  text-align: center;
}

/* ============================
   clusters.css
   ============================ */

.cluster-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px;
    text-align: center;
    color: white;
    font-size: 2.6em;
    font-weight: bold;
    border-radius: 6px;
    margin-bottom: 40px;
}

/* Exemplo de imagem (podes mudar por página) */
.cluster-hero.desportos {
    background-image: url('../images/desportos_hero.jpg');
}

.cluster-hero.castelo-branco {
    background-image: url('../images/castelo_branco_hero.jpg');
}


/* ============================
   BREADCRUMBS
   ============================ */

.breadcrumbs {
    font-size: 1.5em;                 /* mais discreto e elegante */
    font-family: 'Times New Roman', Times, serif;
    color: #666;                      /* cinza mais suave e moderno */
    margin-bottom: 25px;
    line-height: 2.5em;               /* espaçamento confortável */
    letter-spacing: 0.3px;            /* ligeiro refinamento */
}


.breadcrumbs a {
    color: #555;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}


/* ============================
   GRID DE SUBTEMAS
   ============================ */

.subtema-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 30px;
}


/* ============================
   CARTÕES DOS SUBTEMAS
   ============================ */

.card { background-color: #444; /* cinzento escuro elegante */ 
    padding: 20px; 
    border-radius: 8px; 
    text-align: center; 
    display: block; 
    box-shadow: 0 3px 8px rgba(0,0,0,0.25); 
    transition: transform 0.2s ease, box-shadow 0.2s ease; 
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card h3 {
    color: #fff !important;
    padding: 12px;
    margin: 0;
    font-size: 1.2em;
    text-align: center;
}


/* ============================
   ESPAÇAMENTO ENTRE SECÇÕES
   ==========
   ================== */

.cluster-section {
    margin-bottom: 50px;
}

.classeCluster {
    padding: 60px 0;
    text-align: center;
}

.classeCluster h1 {
    font-size: 2.5em;
    font-family: 'Times New Roman', Times, serif;
    margin-top: 30px;
    margin-bottom: 70px;
    line-height: 1.5;
}

/* DIVERSOS */

.icon-wrapper { display: inline-flex; vertical-align: middle; }

/* ===== LISTA TOPO ===== */

.ListaTopo {
    padding-left: 22px;      /* afasta os pontos da margem */
}

.ListaTopo li {
    margin-bottom: 14px;     /* espaço vertical entre linhas */
    line-height: 1.6;        /* respiração do texto */
}

.ListaTopo a {
    font-family: "Times New Roman", Times, serif;
    font-size: 1.1rem;
    text-decoration: none;
    color: #0b2a5b;   /* azul escuro */
    transition: 0.2s;
}

.ListaTopo a:hover {
    color: #163e86;   /* azul ligeiramente mais claro ao passar o rato */
    text-decoration: underline;
}

.bloco-indice {
    margin-top: 70px;
    margin-bottom: 100px;
    text-align: left;
}

.titulo-indice {
    font-size: 1.8rem;
    font-family: "Times New Roman", Times, serif;
    text-align: left; 
    margin-top: 30px;
    margin-bottom: 30px;
    line-height: 1.2;
}

/* navegação interna - muito bom para SEO */
.indice {
    max-width: 760px;
}

.container-geral {
    max-width: 1100px;      /* Largura máxima confortável para leitura */
    margin-left: auto;      /* Centra à esquerda */
    margin-right: auto;     /* Centra à direita */
    padding-left: 20px;     /* Margem de segurança para telemóveis */
    padding-right: 20px;    /* Margem de segurança para telemóveis */
}