/*
Theme Name: Academia
Theme URI: http://seudominio.com
Author: António Barbosa
Author URI: http://seudominio.com
Description: Tema personalizado para blog e página de formações.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: Academia
*/

/* ==============================
   Estilos principais do tema
   ============================== */

/* Reset básico */
body, h1, h2, h3, h4, h5, h6, p, ul, li {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}

/* Container geral */
.page-content {
  margin: 0 auto;
  padding: 20px;
}

/* ==============================
   Banner Principal
   ============================== */
.banner-principal {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.banner-principal img {
  width: 100%;
  height: auto;
  display: block;
}

.banner-desktop {
  display: block;
}
.banner-mobile {
  display: none;
}

@media (max-width: 768px) {
  .banner-desktop {
    display: none;
  }
  .banner-mobile {
    display: block;
  }
}

.banner-botao {
  background: #1C8199;
  color: #fff;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  transition: background 0.3s ease;
}
.banner-botao:hover {
  background: #166877;
}

/* ==============================
   Secção Serviços
   ============================== */
.servicos-section {
  padding: 60px 20px;
  text-align: center;
}

.servicos-section h2 {
  margin-bottom: 30px;
  color: #1C8199;
}

.servicos-container {
  position: relative;
}

.servicos-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
}

.servico-item {
  flex: 1 1 calc(33.333% - 20px);
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: left;
  min-width: 280px;
  transition: transform 0.3s ease;
}
.servico-item:hover {
  transform: translateY(-5px);
}

.servico-imagem {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
}

.servico-item h3 {
  font-size: 1.25rem;
  margin: 15px;
  color: #333;
}

.servico-conteudo {
  padding: 0 15px 15px;
  font-size: 0.95rem;
  color: #555;
}

.btn-saiba-mais {
  display: inline-block;
  margin: 0 15px 20px;
  padding: 10px 20px;
  background: #1C8199;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s ease;
}
.btn-saiba-mais:hover {
  background: #166877;
}

/* Navegação carrossel */
.servicos-prev, .servicos-next {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: #1C8199;
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.servicos-prev { left: -20px; }
.servicos-next { right: -20px; }

/* Botão ver todos */
.btn-ver-todos {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  background: transparent;
  color: #1C8199;
  border: 2px solid #1C8199;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-ver-todos:hover {
  background: #1C8199;
  color: #fff;
}

/* ==============================
   Últimas Publicações
   ============================== */

   
.publicacoes {
  padding: 80px 20px;
  background-color: #1C8199;
  color: #fff;
  margin-top: 50px;
}



.publicacoes h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  color: #1C8199;
}

.publicacoes .container {
  max-width: 1200px;
  margin: 0 auto; /* centraliza o container */
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}


.publicacoes h2 {
  text-align: center;
  font-size: 2.2rem; /* um pouco maior */
  margin-bottom: 20px;
  position: relative;
  color: #fff;
}

/* linha dourada abaixo do título */
.publicacoes h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #d4af37;
  margin: 10px auto 0;
  border-radius: 2px;
}

.artigo-grande {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 350px;
  display: flex;
  align-items: flex-end; /* força o conteúdo para o fundo */
}

.artigo-grande .imagem-bg {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* força o texto para o fundo */
}

.artigo-grande .texto {
  background: rgba(0,0,0,0.5);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.artigo-grande h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.artigo-grande p {
  font-size: 1rem;
  margin: 0;
}
.artigo-grande button {
  margin-top: 10px;
  padding: 10px 20px;
  border: none;
  background: #1C8199;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  align-self: flex-start; /* botão alinhado ao início do texto */
}
.artigos-pequenos article {
  margin-bottom: 20px;
}
.artigos-pequenos img {
  width: 100px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}
.artigos-pequenos h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}
.artigos-pequenos hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 15px 0;
}

/* ==============================
   Testemunhos
   ============================== */
.testimonials {
    display: flex;
    justify-content: center; /* centraliza o container */
    padding: 60px 20px;
}

.container-testimonials {
    max-width: 1200px;
    width: 100%;
    border: 2px solid #d4af37; /* borda dourada */
    border-radius: 12px; /* cantos arredondados */
    padding: 30px;
    box-sizing: border-box;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #1C8199;
}

/* ==============================
   Responsividade
   ============================== */
@media (max-width: 992px) {
  .publicacoes .container {
    grid-template-columns: 1fr;
  }
  .servico-item {
    flex: 1 1 100%;
  }
}

/* ==============================
   FOOTER
   ============================== */

/* Container geral do footer */
/* Footer */
.footer {
  background-color: #1C8199; /* azul similar ao do site */
  color: #fff;
  padding: 50px 20px 20px 20px;
  font-family: 'Arial', sans-serif;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  flex: 1 1 200px;
  margin: 10px;
}

.footer-section h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.footer-section h4 {
  font-size: 1.2em;
  margin-bottom: 8px;
}

.footer-section p, 
.footer-section li {
  font-size: 0.95em;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
}

.footer-bottom ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.footer-bottom ul li {
  display: inline;
  font-size: 0.9em;
}

/* Responsivo */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-section {
    text-align: center;
  }
}



/* ===== TOPO INFO ===== */
.top-info {
  font-size: 14px;
  color: #1C8199;
  background: linear-gradient(to bottom, #e6faff, #ffffff); 
}

.top-info .wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px;
}
.flex.between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-info a {
  color: #1C8199;
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}

/* ===== LINHA DOURADA ===== */
.gold-line {
  height: 3px;
  background: #d4af37;
  width: 100%;
}

/* ===== HEADER STICKY ===== */
.main-header {
  position: sticky;
  top: 0;
  background: #1C8199;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.navbar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center; /* centralizado */
  align-items: center;
  padding: 15px 20px;
  position: relative;
}

/* ===== MENU DESKTOP ===== */
.menu {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
}
.menu li a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
}
.menu li a:hover {
  color: #ffffff;
}

/* ===== SOCIAL ICONS DESKTOP ===== */
.social-icons {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.social-icons a {
  color: #d4af37;
  margin-left: 12px;
  font-size: 18px;
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: #ffffff;
}

/* ===== MENU MOBILE FULLSCREEN ===== */
.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  margin-left: 15px;
  color: #ffffff;
}
/* MENU MOBILE: botão à direita e sem ícones sociais na navbar */
@media (max-width: 768px) {
  .menu { display: none; } /* esconde menu desktop */
  .menu-toggle { 
    display: block; 
    margin-left: auto; /* move para direita */
  }
  .social-icons { display: none; } /* esconde ícones no mobile */
}

.mobile-menu-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-overlay .close-btn {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-menu-overlay ul {
  list-style: none;
  padding: 0;
  text-align: center;
}
.mobile-menu-overlay ul li {
  margin: 20px 0;
}
.mobile-menu-overlay ul li a {
  font-size: 24px;
  color: #333;
  text-decoration: none;
}
.mobile-menu-overlay .menu-footer {
  margin-top: 40px;
  display: flex;
  gap: 20px;
}


.destaque-secoes {
    width: 100%;
    margin: 0;
}

.container-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* duas colunas em desktop */
    width: 100%;
}

.card-destaque {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    text-decoration: none;
    padding: 20px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    border-radius: 10px;
}

.card-destaque .card-texto h3 {
    font-size: 2em;
    margin-bottom: 10px;
}

.card-destaque .card-texto p {
    font-size: 1.1em;
}

/* Fundo azul para cada card */
.card-servicos {
    background-color: #1C8199;
    margin: 10px;
}

.card-formacoes {
    background-color: #166772;
    margin: 10px;
}

.card-destaque:hover {
    transform: translateY(-5px);
    opacity: 0.95;
}

/* Mobile: 1 coluna */
@media (max-width: 768px) {
    .container-cards {
        grid-template-columns: 1fr;
    }
    .card-destaque {
        height: 300px;
    }
}


.reiki-secao {
    position: relative;
    width: 100%;
    height: 300px; /* você pode ajustar a altura */
    background: url('https://institutoholisticoportugues.com/wp-content/uploads/2022/10/fundo-reiki.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 50px;
}

.reiki-secao .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5); /* escurece a imagem para destacar o texto */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.reiki-secao .texto-central h2 {
    color: #d4af37; /* dourado */
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.reiki-secao .texto-central p {
    color: #fff;
    font-size: 1.2rem;
}

.servicos-section {
    position: relative;
    padding: 80px 20px;
}

.servicos-banner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background-color: #93a7acff; /* cor sólida do banner */
    z-index: 1;
}

.container-servicos {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Título sobre o banner */
.container-servicos h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
    position: relative;
}

/* Linha dourada abaixo do título */
.linha-dourada {
    width: 80px;
    height: 4px;
    background: #d4af37;
    margin: 0 auto 40px;
    border-radius: 2px;
}

/* Conteúdo branco dos serviços */
.servicos-conteudo {
    background: #fff;
    padding: 40px 20px;
    border-radius: 12px;
}

/* Grid de cards */
.servicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Cards */
.servico-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.servico-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* Imagem fixa */
.servico-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

/* Título e texto do card */
.servico-card h2 {
    color: #1C8199;
    margin: 0;
}

.servico-card p {
    flex-grow: 1;
    color: #555;
}

/* Botão */
.btn-saiba-mais {
    background: #1C8199;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-saiba-mais:hover {
    background: #176e82;
}

/* Paginação */
.paginacao {
    margin-top: 40px;
    text-align: center;
}

.paginacao a {
    margin: 0 5px;
    padding: 8px 12px;
    background: #fff;
    color: #1C8199;
    border-radius: 6px;
    text-decoration: none;
}

.paginacao a:hover {
    background: #d4af37;
    color: #fff;
}

/* Responsividade */
@media (max-width:768px) {
    .servicos-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================
   MELHORIAS DE LEGIBILIDADE
   ============================== */

/* Base de texto mais suave */
body, p, li, .sobre-texto, .servico-conteudo, .mv-item p {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    line-height: 1.8; /* Mais espaço entre linhas */
    letter-spacing: 0.01em; /* Ligeiramente mais aberto */
}

/* Tamanhos de texto responsivos */
body, .page-content {
    font-size: 18px; /* Base maior */
}

p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: #2c3e50; /* Contraste suave (não preto puro) */
}

/* Títulos mais equilibrados */
h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.01em;
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-top: 1.25em;
    margin-bottom: 0.5em;
}

h4 {
    font-size: 1.2rem;
    line-height: 1.4;
}

/* Melhor espaçamento entre parágrafos */
p + p {
    margin-top: 0;
}

/* Listas mais legíveis */
ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.8rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Links mais suaves */
a {
    transition: all 0.2s ease;
}

/* ==============================
   PÁGINA SOBRE NÓS - LEGIBILIDADE
   ============================== */

.sobre-texto {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #2c3e50;
    text-align: left;
}

.sobre-texto p {
    margin-bottom: 1.4rem;
}

.sobre-texto h2 {
    color: #1C8199;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.sobre-texto h3 {
    color: #1C8199;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

/* ==============================
   CARDS E SERVIÇOS - LEGIBILIDADE
   ============================== */

.servico-conteudo {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #2c3e50;
}

.servico-item h3 {
    font-size: 1.3rem;
    margin: 15px 15px 10px;
    color: #1C8199;
}

/* ==============================
   MISSÃO, VISÃO E VALORES
   ============================== */

.mv-item p {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #2c3e50;
}

.mv-item h3 {
    font-size: 1.4rem;
    margin-top: 0;
    margin-bottom: 12px;
}

/* ==============================
   TESTEMUNHOS
   ============================== */

.testimonials p {
    font-size: 1rem;
    line-height: 1.7;
    font-style: normal;
}

/* ==============================
   FOOTER - LEGIBILIDADE
   ============================== */

.footer-section p, 
.footer-section li {
    font-size: 0.92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* ==============================
   RESPONSIVIDADE (texto em mobile)
   ============================== */

@media (max-width: 768px) {
    body, .page-content {
        font-size: 16px; /* Ligeiramente menor no mobile */
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.75;
    }
    
    .sobre-texto {
        font-size: 1rem;
    }
    
    .servico-conteudo {
        font-size: 0.92rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }
    
    p {
        margin-bottom: 1.2rem;
    }
    
    .sobre-texto {
        line-height: 1.7;
    }
}


/* ==========================================================
   FRONT PAGE — azul + dourado, mais contraste
   ========================================================== */
:root {
  --teal: #1C8199;
  --teal-dark: #126d80;
  --teal-deep: #0b4352;
  --gold: #d4af37;
  --gold-light: #e3c456;
  --bg: #f4f7f9;
}

/* ---------- Cards centrais ---------- */
.container-cards { position: relative; gap: 0; }

.card-destaque {
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(25, 58, 66, .14);
  transition: transform .3s ease, box-shadow .3s ease;
}
.card-destaque:hover {
  transform: translateY(-6px);
  opacity: 1;
  box-shadow: 0 22px 44px rgba(25, 58, 66, .2);
}

.card-destaque .card-texto h3 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -.5px;
  margin: 0;
}
.card-destaque .card-texto h3::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 14px auto 0;
  border-radius: 99px;
}

/* Azul: texto branco, linha dourada */
.card-servicos {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
  margin: 10px;
}
.card-servicos .card-texto h3 { color: #fff; }
.card-servicos .card-texto h3::after { background: var(--gold); }

/* Dourado: texto azul muito escuro, linha azul */
.card-formacoes {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  margin: 10px;
}
.card-formacoes:hover { background: linear-gradient(135deg, #ddb93f 0%, #c49b2a 100%); }
.card-formacoes .card-texto h3,
.card-formacoes .card-texto p { color: var(--teal-deep); }
.card-formacoes .card-texto h3::after { background: var(--teal); }

/* Símbolo central */
.simbolo-overlay {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99;
  pointer-events: none;
}
.simbolo-overlay.fundo-sim img {
  background: rgba(255, 255, 255, .95);
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .15);
  border: 2px solid var(--gold);
}
.simbolo-overlay.fundo-nao img { background: transparent; padding: 0; box-shadow: none; border: 0; }
@media (max-width: 768px) { .simbolo-overlay img { max-width: 70px; } }

/* ---------- Últimas publicações ---------- */
.publicacoes {
  background: var(--bg);
  color: #344650;
  padding: 70px 20px 80px;
  margin-top: 40px;
  border-top: 3px solid var(--gold);
}
.publicacoes h2 { color: var(--teal); margin: 0 0 40px; }

/* Post grande: gradiente escuro por baixo para o texto ler sempre bem */
.artigo-grande { min-height: 420px; box-shadow: 0 16px 40px rgba(25, 58, 66, .16); }
.artigo-grande .imagem-bg { min-height: 420px; }
.artigo-grande .texto {
  background: linear-gradient(to top, rgba(6, 35, 44, .92) 0%, rgba(6, 35, 44, .6) 65%, transparent 100%);
  padding: 60px 26px 26px;
}
.artigo-grande h3 { color: #fff; margin: 0 0 10px; text-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.artigo-grande p { color: rgba(255, 255, 255, .92); margin: 0; }
.artigo-grande button {
  background: var(--gold);
  color: var(--teal-deep);
  font-weight: 800;
  border-radius: 999px;
  padding: 11px 24px;
  transition: background .25s, transform .25s;
}
.artigo-grande .imagem-bg:hover button { background: #fff; transform: translateY(-2px); }

/* Posts pequenos: cartões brancos, texto escuro */
.artigos-pequenos { display: flex; flex-direction: column; gap: 14px; }
.artigos-pequenos article {
  margin: 0;
  background: #fff;
  border: 1px solid #e8eef0;
  border-left: 3px solid var(--gold);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 8px 22px rgba(25, 58, 66, .06);
  transition: transform .25s, box-shadow .25s;
}
.artigos-pequenos article:hover { transform: translateX(4px); box-shadow: 0 12px 28px rgba(25, 58, 66, .12); }
.artigos-pequenos h4 { color: var(--teal); margin: 0 0 4px; }
.artigos-pequenos p { color: #5a6b72; font-size: .9rem; line-height: 1.55; margin: 0; }
.artigos-pequenos hr { display: none; }

/* ---------- Testemunhos ---------- */
.testimonials { padding: 40px 20px 50px; }
.container-testimonials {
  background: #fff;
  border: 1px solid #e8eef0;
  border-top: 3px solid var(--gold);
  border-radius: 18px;
  padding: 32px 28px 24px;
  box-shadow: 0 14px 36px rgba(25, 58, 66, .08);
}
.testimonials h2 {
  text-align: center;
  color: var(--teal);
  margin: 0 0 22px;
}
.testimonials h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin: 12px auto 0;
  background: var(--gold);
  border-radius: 99px;
}
/* evita que as margens globais dos <p> criem espaço dentro do widget */
.testimonials .ti-widget p,
.testimonials [class*="ti-"] p { margin-bottom: 0; }

/* ---------- Secção Reiki ---------- */
.reiki-secao { margin-top: 30px; }
.reiki-secao .overlay {
  background: linear-gradient(135deg, rgba(11, 67, 82, .82), rgba(28, 129, 153, .55));
}

@media (max-width: 768px) {
  .publicacoes { padding: 50px 16px 60px; }
  .artigo-grande, .artigo-grande .imagem-bg { min-height: 340px; }
  .container-testimonials { padding: 24px 16px 16px; }
}

/* ==========================================================
   CARDS CENTRAIS — decoração (círculos, pontos, lótus)
   ========================================================== */
.card-destaque {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* círculos concêntricos */
.card-destaque::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  left: -190px;
  bottom: -230px;
  border-radius: 50%;
  border: 1px solid currentColor;
  box-shadow: 0 0 0 38px transparent, 0 0 0 39px currentColor, 0 0 0 78px transparent, 0 0 0 79px currentColor;
  opacity: .16;
  z-index: -1;
}

/* grelha de pontos */
.card-destaque::after {
  content: "";
  position: absolute;
  right: 8%;
  top: 34px;
  width: 105px;
  height: 105px;
  background-image: radial-gradient(currentColor 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: .3;
  z-index: -1;
}

/* lótus */
.card-lotus {
  position: absolute;
  right: 7%;
  bottom: 14px;
  width: 190px;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .2;
  z-index: -1;
  transition: transform .5s ease, opacity .3s ease;
}
.card-destaque:hover .card-lotus { transform: translateY(-6px) rotate(3deg); opacity: .3; }

.card-destaque .card-texto { position: relative; z-index: 2; }

/* cores da decoração por card */
.card-servicos   { color: #fff; }
.card-formacoes  { color: var(--teal-deep); }
.card-servicos .card-texto h3::after   { background: var(--gold); }
.card-formacoes .card-texto h3::after  { background: var(--teal); }

/* pequeno brilho dourado no card azul, azul no card dourado */
.card-servicos  { background: radial-gradient(circle at 85% 15%, rgba(212,175,55,.22), transparent 35%), linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); }
.card-formacoes { background: radial-gradient(circle at 15% 85%, rgba(28,129,153,.18), transparent 35%), linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%); }
.card-formacoes:hover { background: radial-gradient(circle at 15% 85%, rgba(28,129,153,.22), transparent 35%), linear-gradient(135deg, #ddb93f 0%, #c49b2a 100%); }

/* logo central */
.simbolo-overlay.fundo-sim img {
  background: #fff;
  border-radius: 50%;
  padding: 8px;
  border: 3px solid var(--gold);
  box-shadow: 0 10px 30px rgba(11, 67, 82, .25);
}
@media (max-width: 768px) {
  .simbolo-overlay img { max-width: 150px; }
  .card-lotus { width: 140px; }
}

/* ==========================================================
   CARD FORMAÇÕES — decoração própria (flor da vida)
   ========================================================== */

/* riscas diagonais no canto inferior esquerdo */
.card-formacoes::before {
  left: 0;
  bottom: 0;
  width: 60%;
  height: 65%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: repeating-linear-gradient(135deg, currentColor 0 1.5px, transparent 1.5px 14px);
  opacity: .14;
  -webkit-mask-image: radial-gradient(circle at 0 100%, #000 0%, transparent 70%);
          mask-image: radial-gradient(circle at 0 100%, #000 0%, transparent 70%);
}

/* orbital: anel com um ponto */
.card-formacoes::after {
  right: auto;
  left: 7%;
  top: 30px;
  width: 72px;
  height: 72px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  background: radial-gradient(circle at 85% 15%, currentColor 4px, transparent 5px);
  opacity: .3;
}

/* flor da vida */
.card-flor {
  position: absolute;
  right: -20px;
  top: 50%;
  width: 270px;
  height: 270px;
  transform: translateY(-50%);
  fill: none;
  stroke: currentColor;
  stroke-width: 1;
  opacity: .22;
  z-index: -1;
  transition: transform .8s ease, opacity .3s ease;
}
.card-formacoes:hover .card-flor {
  transform: translateY(-50%) rotate(30deg);
  opacity: .32;
}

@media (max-width: 768px) {
  .card-flor { width: 200px; height: 200px; right: -40px; }
  .card-formacoes::after { width: 54px; height: 54px; }
}

/* ==========================================================
   ÚLTIMAS PUBLICAÇÕES — toque extra
   ========================================================== */
.publicacoes {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* círculos concêntricos (canto inferior direito) */
.publicacoes::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -210px;
  bottom: -250px;
  border: 1px solid rgba(28, 129, 153, .16);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(28, 129, 153, .03), 0 0 0 78px rgba(28, 129, 153, .02);
  z-index: -1;
  pointer-events: none;
}

/* grelha de pontos (canto superior esquerdo) */
.publicacoes::after {
  content: "";
  position: absolute;
  left: 5%;
  top: 40px;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(#1C8199 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: .22;
  z-index: -1;
  pointer-events: none;
}

/* etiqueta dourada por cima do título */
.publicacoes h2::before {
  content: "✦  Do nosso blog  ✦";
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
}

/* brilho azul atrás do post grande */
.publicacoes .container { position: relative; }
.publicacoes .container::before {
  content: "";
  position: absolute;
  left: -3%;
  top: 10%;
  width: 62%;
  height: 80%;
  background: rgba(28, 129, 153, .14);
  filter: blur(60px);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

/* Post grande: moldura branca, como a imagem dos serviços */
.artigo-grande {
  align-items: stretch;
  padding: 8px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(28, 129, 153, .08);
  border-radius: 25px;
  box-shadow: 0 28px 65px rgba(27, 55, 62, .16), 0 7px 20px rgba(27, 55, 62, .08);
  transform: rotate(-.8deg);
  transition: transform .35s ease, box-shadow .35s ease;
}
.artigo-grande:hover {
  transform: translateY(-7px) rotate(0deg);
  box-shadow: 0 35px 75px rgba(27, 55, 62, .18), 0 8px 22px rgba(27, 55, 62, .09);
}
.artigo-grande .imagem-bg {
  flex: 1;
  height: auto;
  min-height: 404px;
  border-radius: 18px;
  overflow: hidden;
}

/* Miniaturas: moldura e inclinação alternada */
.artigos-pequenos img {
  width: 104px;
  height: 88px;
  box-sizing: border-box;
  padding: 4px;
  background: #fff;
  border: 1px solid rgba(28, 129, 153, .12);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(27, 55, 62, .12);
  transition: transform .3s ease;
}
.artigos-pequenos article:nth-of-type(odd) img  { transform: rotate(-2deg); }
.artigos-pequenos article:nth-of-type(even) img { transform: rotate(2deg); }
.artigos-pequenos article:hover img { transform: rotate(0deg) scale(1.04); }

/* ==========================================================
   SOBRE (secção dinâmica da página inicial)
   ========================================================== */
.secao-dinamica {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 90% 15%, rgba(28, 129, 153, .08), transparent 30%),
    radial-gradient(circle at 8% 90%, rgba(212, 175, 55, .10), transparent 26%),
    linear-gradient(135deg, #fff 0%, #f5fafb 100%);
  border-top: 1px solid rgba(212, 175, 55, .55);
}

/* pontos decorativos */
.secao-dinamica::after {
  content: "";
  position: absolute;
  right: 5%;
  top: 40px;
  width: 110px;
  height: 110px;
  background-image: radial-gradient(#1C8199 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: .22;
  z-index: -1;
  pointer-events: none;
}

/* Imagem: mesmo estilo do hero dos serviços */
.secao-imagem { position: relative; z-index: 1; }

.secao-imagem img {
  display: block !important;
  padding: 8px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(28, 129, 153, .08);
  border-radius: 25px !important;
  box-shadow: 0 28px 65px rgba(27, 55, 62, .16), 0 7px 20px rgba(27, 55, 62, .08);
  transform: rotate(-1deg);
  transition: transform .35s ease, box-shadow .35s ease;
}
.secao-imagem:hover img {
  transform: translateY(-7px) rotate(0deg);
  box-shadow: 0 35px 75px rgba(27, 55, 62, .18), 0 8px 22px rgba(27, 55, 62, .09);
}

/* brilho azul atrás */
.secao-imagem::before {
  content: "";
  position: absolute;
  inset: 8% 0 0 8%;
  background: rgba(28, 129, 153, .17);
  filter: blur(55px);
  border-radius: 50%;
  z-index: -1;
}

/* moldura dourada desfasada atrás da imagem */
.secao-imagem::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold);
  border-radius: 25px;
  transform: translate(16px, 16px) rotate(1.2deg);
  opacity: .7;
  z-index: -1;
  transition: transform .35s ease;
}
.secao-imagem:hover::after { transform: translate(20px, 20px) rotate(0deg); }

/* Texto */
.secao-texto {
  padding-left: 28px;
  border-left: 3px solid var(--gold);
}
.secao-texto h1,
.secao-texto h2,
.secao-texto h3 { color: var(--teal); margin-top: 0; }
.secao-texto h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin-top: 14px;
  background: var(--gold);
  border-radius: 99px;
}
.secao-texto p { color: #40535a; }
.secao-texto strong { color: var(--teal); }

@media (max-width: 768px) {
  .publicacoes h2::before { letter-spacing: 2px; }
  .artigo-grande .imagem-bg { min-height: 324px; }
  .secao-imagem::after { transform: translate(10px, 10px) rotate(1.2deg); }
  .secao-texto { padding-left: 18px; }
}

/* ==========================================================
   AJUSTE — menos gradientes, fundos sólidos
   ========================================================== */

/* ---------- Cards centrais: cores sólidas ---------- */
.card-servicos  { background: var(--teal); }
.card-formacoes { background: var(--gold); }
.card-formacoes:hover { background: #c9a42f; }

/* ---------- Últimas publicações: fundo branco ---------- */
.publicacoes {
  background: #fff;
  border-top: 3px solid var(--gold);
}
.publicacoes::after,
.publicacoes .container::before { display: none; }   /* sem pontos nem brilho */
.publicacoes::before { border-color: rgba(28, 129, 153, .12); }

.publicacoes h2::before { color: #9a7b17; }           /* dourado mais escuro para ler em branco */

/* cartões pequenos: fundo claro sólido para destacar do branco */
.artigos-pequenos article {
  background: #f4f7f9;
  box-shadow: none;
}
.artigos-pequenos article:hover {
  background: #fff;
  box-shadow: 0 12px 28px rgba(25, 58, 66, .12);
}

/* ---------- Sobre: fundo sólido ---------- */
.secao-dinamica {
  background: #f4f7f9;
  border-top: 0;
}
.secao-imagem::before { display: none; }              /* sem brilho desfocado */

/* ---------- Imagem principal do sobre ---------- */
.secao-imagem img,
.secao-texto img {
  box-sizing: border-box;
  max-width: 100%;
  height: auto;
  padding: 8px;
  background: #fff;
  border: 1px solid rgba(28, 129, 153, .10);
  border-radius: 25px !important;
  box-shadow: 0 22px 50px rgba(27, 55, 62, .14), 0 6px 16px rgba(27, 55, 62, .07);
  transition: transform .35s ease, box-shadow .35s ease;
}

/* ---------- Imagens dentro do texto da página ---------- */
.secao-texto figure,
.secao-texto .wp-block-image { margin: 28px 0; }

.secao-texto img {
  display: block;
  border-radius: 20px !important;
  transform: rotate(-1deg);
}
.secao-texto figure:nth-of-type(even) img,
.secao-texto p:nth-of-type(even) img { transform: rotate(1deg); }
.secao-texto img:hover {
  transform: translateY(-5px) rotate(0deg);
  box-shadow: 0 30px 60px rgba(27, 55, 62, .17);
}

/* legendas */
.secao-texto figcaption {
  margin-top: 10px;
  color: #718087;
  font-size: .85rem;
  text-align: center;
}

/* imagens lado a lado (galerias do WordPress) */
.secao-texto .wp-block-gallery { gap: 16px; }
.secao-texto .wp-block-gallery img { transform: none; }

/* ---------- Testemunhos: fundo branco ---------- */
.testimonials { background: #fff; }
.container-testimonials {
  background: #fff;
  box-shadow: 0 10px 28px rgba(25, 58, 66, .07);
}

@media (max-width: 768px) {
  .secao-texto img { transform: none; }
}

/* ==========================================================
   BANNER PARTILHADO (Serviços, Formações, Contactos)
   ========================================================== */
.page-banner {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #1C8199 0%, #126d80 55%, #0f5a6b 100%);
}

.page-banner .banner-content {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  max-width: 760px;
  min-height: 400px;
  margin: 0 auto;
  padding: 70px 20px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-banner .banner-eyebrow {
  display: block;
  margin: 0 0 14px;
  color: #f3e9bd;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.page-banner h1 {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .15);
}

.page-banner .banner-line {
  width: 75px;
  height: 4px;
  margin: 0 auto 20px;
  background: #d4af37;
  border-radius: 99px;
}

.page-banner .banner-content p {
  max-width: 620px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .9);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ---------- Curva (vetorial) ---------- */
.page-banner .banner-curva {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 64px;
  display: block;
  z-index: 2;
  pointer-events: none;
}
.banner-curva .curva-fundo { fill: #f4f8fa; }
.banner-curva .curva-linha {
  fill: none;
  stroke: #d4af37;
  stroke-width: 3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

/* ---------- Desenhos de fundo ---------- */
.page-banner .deco {
  position: absolute;
  z-index: 1;
  fill: none;
  stroke: rgba(212, 175, 55, .55);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}
.page-banner .deco .dot { fill: rgba(212, 175, 55, .9); stroke: none; }
.page-banner .deco .soft { stroke: rgba(255, 255, 255, .22); }

.page-banner .dots {
  position: absolute;
  z-index: 1;
  width: 112px;
  height: 112px;
  background-image: radial-gradient(rgba(255, 255, 255, .5) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: .25;
  pointer-events: none;
}

/* Serviços */
.banner-servicos .deco-lotus { left: 6%;  top: 95px; width: clamp(150px, 17vw, 230px); }
.banner-servicos .dots       { right: 9%; top: 55px; }

/* Formações */
.banner-formacoes .deco-flor    { right: 5%; top: 40px;    width: clamp(180px, 21vw, 290px); }
.banner-formacoes .deco-orbital { left: 8%;  bottom: 110px; width: 96px; }

/* Contactos */
.banner-contactos .deco-rede  { right: 4%; top: 50px;     width: clamp(220px, 28vw, 400px); }
.banner-contactos .deco-ondas { left: 4%;  bottom: 115px; width: clamp(150px, 18vw, 250px); }

/* ---------- Espaço entre o banner e o conteúdo ---------- */
body .servicos-section,
body .formacoes-section { padding-top: 48px; background: #f4f8fa; }
body .container-servicos,
body .container-formacoes { padding-top: 0; }
body .contactos-conteudo { padding-top: 48px; background: #f4f8fa; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .page-banner .deco { opacity: .7; }
}
@media (max-width: 768px) {
  .page-banner .banner-content { min-height: 340px; padding: 56px 18px 80px; }
  .page-banner .banner-curva { height: 44px; }
  .page-banner .banner-content p { font-size: .98rem; }
  .page-banner .deco { opacity: .4; }
  .page-banner .dots,
  .banner-formacoes .deco-orbital,
  .banner-contactos .deco-ondas { display: none; }
  .banner-servicos .deco-lotus   { left: 3%;  top: 26px; width: 120px; }
  .banner-formacoes .deco-flor   { right: 3%; top: 20px; width: 160px; }
  .banner-contactos .deco-rede   { right: 3%; top: 24px; width: 210px; }
}

/* ==========================================================
   SEM MARGENS — banner de ponta a ponta
   ========================================================== */
html, body { margin: 0; overflow-x: clip; }

.page-banner {
  width: 100vw;
  max-width: 100vw;
  margin: 0 0 0 calc(50% - 50vw);
}

/* conteúdo encosta à curva, sem faixa extra */
body .servicos-section,
body .formacoes-section,
body .contactos-conteudo { padding-top: 0; }

.banner-sobre-eyebrow,
.banner-sobre-titulo,
.banner-sobre-subtitulo {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif !important;
}
.banner-sobre-titulo {
    font-size: clamp(2.2rem, 4.5vw, 3.4rem) !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    letter-spacing: -1px !important;
    color: #1C8199 !important;
}
.banner-sobre-eyebrow {
    font-size: .78rem !important;
    font-weight: 800 !important;
    letter-spacing: 3px !important;
}
.banner-sobre-subtitulo {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    font-weight: 500 !important;
}
@media (max-width: 768px) {
    .banner-sobre-titulo { font-size: 2rem !important; }
}

/* ==========================================================
   BOTÕES DO GUTENBERG — igual aos botões do site
   ========================================================== */

.wp-block-buttons {
  margin: 32px 0 8px;
  gap: 12px;
}

.wp-block-button .wp-block-button__link,
.wp-block-button .wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 24px;
  background: #1C8199;
  color: #fff !important;
  border: 0;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(28, 129, 153, .18);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .2px;
  text-decoration: none !important;
  transition: background .25s ease, color .25s ease, transform .25s ease, box-shadow .25s ease;
}

/* seta, como nos outros botões */
.wp-block-button:not(.is-style-outline) .wp-block-button__link::after {
  content: "→";
  font-size: 1rem;
  font-weight: 400;
  transition: transform .25s ease;
}

.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus-visible {
  background: #d4af37;
  color: #126d80 !important;
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(212, 175, 55, .25);
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover::after {
  transform: translateX(4px);
}

/* Estilo "Contorno" (opcional, escolhido no editor) */
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: #1C8199 !important;
  border: 2px solid #1C8199;
  box-shadow: none;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #1C8199;
  color: #fff !important;
  border-color: #1C8199;
}

/* Telemóvel: botão a toda a largura */
@media (max-width: 600px) {
  .wp-block-buttons { flex-direction: column; align-items: stretch; }
  .wp-block-button { width: 100%; }
  .wp-block-button .wp-block-button__link { width: 100%; }
}