/* Animação suave para menu mobile */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Merriweather:ital,wght@0,400;0,700;1,400&family=Cinzel+Decorative:wght@400;700&display=swap');
@keyframes menuFadeIn {
  from { opacity: 0; transform: translateY(-18px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes menuFadeOut {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to   { opacity: 0; transform: translateY(-18px) scale(0.98); }
}

/* Paleta com verde ainda mais escuro */
    :root {
      --fw-display: 'Inter', var(--fw-sans);
      --green: #0b2c1a; /* verde bem escuro vivo */
      --green-dark: #003117; /* verde ainda mais escuro */
      --green-light: #e6f0ff; /* azul claro */
      --yellow: #fbbf24; /* amarelo para destaque */
      --text: #1f2937; /* texto padrão */
      --muted: #6b7280;
      --bg: #f7fafc;
      --card: #ffffff;
      --radius: 16px;
      --max-width: 1100px;
      --glass: rgba(255,255,255,0.85);
      --accent: #102040; /* azul escuro para textos comuns */
      --fw-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
      --fw-serif: 'Merriweather', Georgia, 'Times New Roman', serif;
      --shadow: 0 8px 32px rgba(16,32,64,0.12);
      --shadow-hover: 0 16px 48px rgba(16,32,64,0.18);
      --gradient: linear-gradient(135deg, #1a3e7a 0%, #102040 100%);
      --gradient-light: linear-gradient(135deg, #e6f0ff 0%, #f7fafc 100%);
      --color-text-dark-green: #053927; /* verde muito escuro para textos comuns */
      --color-neutral-hover: #6b6b6b;  /* cinzento neutro para hover do menu */
      --glass-weak: rgba(255,255,255,0.72);
      --glass-strong: rgba(255,255,255,0.9);
      --card-elev: 0 18px 64px rgba(16,32,64,0.12);
      --accent-1: linear-gradient(135deg,#0b5f3a 0%, #1cb67d 100%);
    }

    /* Reset e base */
    * { box-sizing: border-box; }
    html, body { height: 100%; }
    body {
      margin: 0;
      font-family: var(--fw-sans);
      color: var(--accent); /* textos comuns mais escuros */
      background: var(--bg);
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      -webkit-font-smoothing: antialiased;
      transition: background .3s;
    }

    h2{
      font-family: var(--fw-sans);
      font-weight: 700;
      font-size: 2.2rem;
      margin-bottom: 1rem;
      letter-spacing: 2px;
      text-align: center;
      text-transform: uppercase;
      /* estilização exótica: gradiente no texto com leve sombra */
      background: linear-gradient(90deg, #0b5f3a 0%, #033120 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
      filter: drop-shadow(0 6px 18px rgba(16,32,64,0.12));
      line-height: 1.05;
    }
    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 1.5rem;
    }   

/* HEADER E MENU RESPONSIVO GLOBAL */
.site-header {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 120;
  box-shadow: 0 8px 32px rgba(36,83,166,0.10), 0 1px 0 #e2e8f0;
  color: #102040;
  min-height: 70px;
  width: 100%;
  transition: box-shadow .3s, background .3s, min-height .3s;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
  gap: 1rem;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  text-decoration: none;
  padding: 0;
  margin-right: 0;
}
.logo-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(36,83,166,0.10);
  border: 1px solid #e2e8f0;
  background: #fff;
  margin-left: 0;
  transition: box-shadow .22s, border-color .18s;
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-left: 0;
}
.brand-text strong {
  font-size: 1.25rem;
  color: #102040;
  font-family: var(--fw-serif);
  letter-spacing: 1.2px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
}
.brand-text small {
  color: #2453a6;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.7px;
  opacity: .92;
  line-height: 1.1;
}
.main-nav {
  display: flex;
  align-items: center;
  background: none;
  box-shadow: none;
  height: 100%;
  margin-left: 0;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  height: 100%;
  background: none;
}
.main-nav li {
  display: flex;
  align-items: center;
  height: 100%;
  position: relative;
}
.main-nav a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: .7rem 1.1rem;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.04rem;
  letter-spacing: 0.8px;
  color: var(--green-dark) !important;
  background: transparent;
  transition: background .18s, color .18s, transform .18s, box-shadow .18s;
  position: relative;
  box-shadow: none;
  border: none;
  outline: none;
  text-decoration: none;
  line-height: 1.1;
}
.main-nav a:hover, .main-nav a:focus {
  background: linear-gradient(90deg, rgba(11,95,58,0.08), rgba(28,182,125,0.07));
  color: #0b5f3a !important;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 28px rgba(11,95,58,0.08);
  text-decoration: none;
}
.main-nav a[aria-current="page"], .main-nav a.active {
  background: var(--accent-1);
  color: #fff !important;
  padding: .68rem 1.05rem;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(16,32,64,0.13);
}
/* O botão hamburguer só aparece em telas <= 900px */
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: none;
  font-size: 2rem;
  margin-left: 1rem;
  cursor: pointer;
  transition: background .18s, color .18s;
}
.nav-toggle:focus {
  outline: 2px solid var(--green-dark);
}
@media (max-width: 900px) {
  /* Submenu do Agrupamento sempre aberto, indentado e menor */
  .main-nav .has-submenu > .submenu {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: static !important;
    min-width: 0 !important;
    max-width: none !important;
    width: auto !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: none !important;
    margin: 0 !important;
    gap: 0;
    padding-left: 1.1rem !important;
    z-index: auto !important;
    min-height: auto;
  }
  .main-nav li.has-submenu {
    display: block !important;
    position: static !important;
    width: 100% !important;
    min-height: unset !important;
  }
  .main-nav .submenu a {
    font-size: 0.72em !important;
    padding: 0.13rem 0.2rem 0.13rem 0.18rem !important;
    text-align: right;
    opacity: 0.92;
    color: var(--green-dark) !important;
    background: none !important;
    border-radius: 8px !important;
    margin-left: 0.05rem;
    font-weight: 600;
  }
  .main-nav .submenu a:hover, .main-nav .submenu a:focus {
    background: var(--green-light) !important;
    color: var(--green-dark) !important;
  }
  .main-nav .has-submenu > a {
    font-weight: 700;
  }
  .main-nav .submenu {
    box-shadow: none !important;
    background: none !important;
    position: relative !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    gap: 0;
  }
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    width: 155px;
    min-width: 0;
    max-width: 95vw;
    background: rgba(255,255,255,0.98);
    box-shadow: 0 4px 16px rgba(36,83,166,0.13);
    border-radius: 0 0 12px 12px;
    flex-direction: column;
    align-items: flex-end;
    z-index: 999;
    display: none;
    margin-right: 0.3rem;
    margin-top: 0.1rem;
    padding: 0.1rem 0.1rem 0.2rem 0.1rem;
    transition: box-shadow .18s, width .14s;
    overflow: visible;
    height: auto;
    max-height: none;
    opacity: 0;
    pointer-events: none;
    animation: none;
  }
  .main-nav.open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    animation: menuFadeIn 0.32s cubic-bezier(.5,1.6,.4,1) both;
  }
  /* Mantemos o submenu oculto em mobile; o utilizador deve seguir para a página da secção. */
  .main-nav .has-submenu > .submenu {
    display: none !important;
  }
  .main-nav.menu-closing {
    animation: menuFadeOut 0.22s cubic-bezier(.5,1.6,.4,1) both;
    opacity: 0;
    pointer-events: none;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 0.01rem;
    width: 100%;
    background: none;
    padding: 0.05rem 0;
    overflow: visible !important;
    height: auto;
    max-height: none;
  }
  .main-nav li {
    width: 100%;
    justify-content: flex-end;
    min-height: 22px;
  }
  .main-nav a {
    width: 100% !important;
    justify-content: flex-start !important;
    font-size: 0.81rem !important;
    padding: 0.18rem 0.32rem !important;
    text-align: center !important;
    min-height: 18px !important;
    line-height: 1.05 !important;
  }
  .nav-toggle {
    display: flex;
  }
}
@media (max-width: 600px) {
  .header-inner {
    padding: 0 0.2rem;
  }
  .brand-text strong {
    font-size: 0.98rem;
  }
}
/* Submenu responsivo */
.main-nav .submenu {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 180px;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(250,250,250,0.9));
  box-shadow: 0 18px 48px rgba(16,32,64,0.12);
  border-radius: 12px;
  z-index: 9999;
  flex-direction: column;
  align-items: stretch;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s, box-shadow .22s;
}
.main-nav li.has-submenu:hover > .submenu,
.main-nav li.has-submenu:focus-within > .submenu {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 900px) {
  .main-nav .submenu {
    position: static;
    min-width: 100%;
    box-shadow: none;
    border-radius: 0;
    background: none;
    padding: 0;
  }
}
/* Ocultar header ao rolar para cima (opcional) */
.site-header.hidden {
  transform: translateY(-120%);
  transition: transform .28s ease-in-out;
}
.site-header { transition: transform .28s ease-in-out, box-shadow .3s, background .3s; }
/* Melhorias visuais para o menu principal (espaçamento, tipografia, hover e submenu) */
    .main-nav ul {
      gap: 2rem; /* reduzir ligeiramente a separação para caber mais itens */
      align-items: center;
      white-space: nowrap; /* evitar quebra de linha */
      overflow-x: auto; /* permitir scroll horizontal quando necessário */
      overflow-y: visible; /* importante: permitir que o submenu (vertical) fique visível */
      -webkit-overflow-scrolling: touch;
    }

    /* esconder scrollbar visual mas manter scroll funcional */
    .main-nav ul {
      -ms-overflow-style: none; /* IE e Edge */
      scrollbar-width: none; /* Firefox */
    }
    .main-nav ul::-webkit-scrollbar { display: none; } /* WebKit */

    .main-nav a {
      display: inline-flex !important;
      align-items: center;
      justify-content: center;
      padding: .7rem .9rem; /* reduzir padding para evitar quebra */
      font-size: 1.06rem; /* legibilidade melhorada */
      letter-spacing: 0.9px;
      color: var(--green-dark) !important;
      transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
    }

    /* Hover e focus com cor do agrupamento mais suave e legível */
    .main-nav a:hover, .main-nav a:focus {
      background: linear-gradient(90deg, rgba(11,95,58,0.06), rgba(28,182,125,0.04));
      color: var(--green-dark) !important;
      transform: translateY(-3px);
      box-shadow: 0 8px 28px rgba(11,95,58,0.06);
    }

    /* Toque visual para link ativo (quando existir âncora) */
    .main-nav a[aria-current="page"], .main-nav a.active {
      background: var(--accent-1);
      color: #fff !important;
      padding: .72rem 1.1rem;
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(16,32,64,0.12);
    }

    /* Botão de toggle mobile mais legível e com ícone neutro */
    /* Removido display: inline-flex !important; para não forçar exibição em desktop */
    .nav-toggle svg { transform: scale(1.02); }

    /* Submenu refinado: maior largura, transições e separação */
    .main-nav .submenu {
      min-height: 31vh;
      position: fixed;
      left: 57%;
      top: 60px;
      transform: translateX(-50%);
      min-width: 220px;
      max-width: 520px;
      width: auto;
      padding: .6rem .4rem;
      gap: .2rem;
      border: 1px solid rgba(16,32,64,0.06);
      background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(250,250,250,0.9));
      backdrop-filter: blur(6px) saturate(1.05);
      box-shadow: 0 18px 48px rgba(16,32,64,0.12);
      border-radius: 12px;
      z-index: 9999;
      flex-direction: column;
      align-items: stretch;
      display: none;
      opacity: 0;
      pointer-events: none;
      transition: opacity .18s, box-shadow .22s;
    }
    .main-nav .has-submenu:hover .submenu,
    .main-nav .has-submenu:focus-within .submenu {
      display: flex;
      opacity: 1;
      pointer-events: auto;
    }

    /* Submenu abre por hover/focus apenas (desktop). Não forçamos abertura via JS no mobile. */
    .floating-submenu {
      /* Visual parity with .main-nav .submenu when moved to body */
      min-width: 220px;
      max-width: 520px;
      width: auto;
      padding: .6rem .4rem;
      gap: .2rem;
      border: 1px solid rgba(16,32,64,0.06);
      box-shadow: 0 18px 48px rgba(16,32,64,0.12);
      border-radius: 12px;
      transition: transform .22s cubic-bezier(.2,.9,.2,1), opacity .18s ease, box-shadow .22s ease;
      transform-origin: top center;
      opacity: 0;
      pointer-events: none;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      background-color: rgb(240, 236, 241);
      list-style: none;
      list-style-type: none;
    }
    .floating-submenu a{ 
      color: var(--green-dark); 
      padding: .65rem .9rem; 
      border-radius: 8px; 
      display:block; 
      width:100%;
      text-decoration: none;
      list-style: none;
      list-style-type: none;
     }
    .floating-submenu a:hover, .floating-submenu a:focus { 
      background: var(--green); 
      color: #fff !important;
      box-shadow: 0 8px 26px rgba(11,95,58,0.08); 
      list-style: none;
      list-style-type: none;
      transition: background-color 0.3s, color 0.3s;
      border-radius: 40px;
      width: fit-content;
      }

    .floating-submenu::before{
      /* small caret arrow to connect submenu to trigger */
      content: '';
      position: absolute;
      top: -8px;
      left: 50%;
      transform: translateX(-50%) rotate(45deg);
      width: 14px;
      height: 14px;
      background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(250,250,250,0.92));
      box-shadow: -2px -2px 6px rgba(16,32,64,0.04);
      border-left: 1px solid rgba(16,32,64,0.04);
      border-top: 1px solid rgba(16,32,64,0.04);
      list-style: none;
      list-style-type: none;
    }

    .main-nav .submenu a {
      padding: .65rem .9rem;
      border-radius: 8px;
      color: var(--green-dark);
      font-size: 0.98rem;
      display: block;
      width: 100%;
    }
    .main-nav .submenu a:hover, .main-nav .submenu a:focus {
      background: var(--green);
      color: #fff !important;
      transform: none; /* evitar saltos horizontais */
      box-shadow: 0 8px 26px rgba(11,95,58,0.08);
    }

    /* Separadores sutis entre itens do submenu */
    .main-nav .submenu a + a{ margin-top: 0.25rem; }
    .main-nav .submenu::before{
      content: '';
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      top: -8px;
      width: 14px;
      height: 8px;
      background: transparent;
    }

    #lobitosLink:hover, #lobitosLink:focus {
      background-color: rgba(255, 255, 0, 0.712) !important;
      transition: background-color 0.3s, color 0.3s;
      border-radius: 40px;
    }
    #exploradoresLink:hover, #exploradoresLink:focus {
      background-color: rgba(0, 255, 0, 0.712) !important;
      transition: background-color 0.3s, color 0.3s;
      border-radius: 40px;
    }
    #pioneirosLink:hover, #pioneirosLink:focus {
      background-color: rgb(0, 0, 255) !important;
      transition: background-color 0.3s, color 0.3s;
      border-radius: 40px;
    }
    #caminheirosLink:hover, #caminheirosLink:focus {
      background-color: rgba(255, 0, 0, 0.712) !important;
      transition: background-color 0.3s, color 0.3s;
      border-radius: 40px;
    }

    hr{
      margin-top: -0.1%;
      height: 7px;
      background-color: rgb(128, 128, 128);
      border: rgb(128, 128, 128);
    }
/* Seção inspiradora suave e moderna antes do rodapé */
    .inspiration-section {
      /* Mesmo fundo do site */
      background: var(--page-bg, #fff);
      padding: 2rem 0 2.4rem 0;
      display: flex;
      justify-content: center;
      align-items: center;
    }
    .inspiration-content {
      max-width: 980px;
      width: calc(100% - 4rem);
      background: var(--card, #fff);
      border-radius: 12px;
      padding: 1.2rem 1.6rem;
      box-shadow: 0 12px 36px rgba(16,32,64,0.05);
      border: 1px solid rgba(16,32,64,0.04);
      display: flex;
      align-items: center;
      gap: 1rem;
      position: relative;
      overflow: hidden;
    }
    .inspiration-quote {
      font-family: 'Merriweather', Georgia, serif;
      font-size: 1.12rem;
      color: #153042;
      line-height: 1.6;
      font-weight: 600;
      letter-spacing: 0.2px;
      text-shadow: 0 6px 18px rgba(16,32,64,0.02);
    }
    .inspiration-author {
      margin-top: 0.6rem;
      display: block;
      color: #6b5c3a;
      font-weight: 700;
      font-size: 0.98rem;
      display: flex;
      flex-direction: column;
      gap: 0.15rem;
    }
    .inspiration-section blockquote{
      margin: 0;
    }

    /* Extras visuais discretas para a inspiração */
    .inspiration-content::before{
      content: '';
      position: absolute;
      left: 18px;
      top: 50%;
      transform: translateY(-50%);
      width: 68px;
      height: 68px;
      background: radial-gradient(circle at 30% 30%, rgba(28,182,125,0.08), rgba(11,95,58,0.03));
      border-radius: 50%;
      box-shadow: 0 6px 18px rgba(16,32,64,0.04);
      pointer-events: none;
    }
    .inspiration-content::after{
      content: '';
      position: absolute;
      left: 8%;
      right: 8%;
      bottom: 8px;
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(16,32,64,0.04), transparent);
      pointer-events: none;
    }
    @media (max-width: 1200px) {
      .container { max-width: 100%; padding: 1rem; }
      .header-inner { max-width: 100%; padding: 0 1rem; }
    }
      @media (max-width: 1100px) {
      .container { padding: 1.2rem; }
    }
    @media (max-width: 900px) {
      .header-inner { gap: 0.5rem; opacity: 1; pointer-events: auto; transform: translateY(0); }
      .main-nav ul { flex-direction: column; gap: 0.5rem; background: rgba(255,255,255,0.98); position: absolute; top: 100%; left: 0; right: 0; box-shadow: 0 8px 32px rgba(36,83,166,0.10); border-radius: 0 0 18px 18px; padding: 1.2rem 0; display: none; }
      .main-nav.open ul { display: flex; }
  .nav-toggle { display: flex; margin-left: auto; }
      .main-nav .submenu { left: 0; transform: translateX(0); }
      .main-nav .has-submenu:hover .submenu { transform: translateX(0) translateY(0) scale(1); }
      h2 { font-size: 1.8rem; }
    }
    @media (max-width: 700px) {
      .site-header { min-height: 70px; }
      .header-inner { min-height: 70px; gap: 0.5rem; flex-direction: row; }
      .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
        background: rgba(255,255,255,0.98);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        box-shadow: 0 8px 32px rgba(36,83,166,0.10);
        border-radius: 0 0 18px 18px;
        padding: 1rem 0;
        display: none;
      }
      .main-nav.open ul { display: flex; }
  .nav-toggle { display: flex; }
      h2 { font-size: 1.6rem; }
      .logo-img { width: 48px; height: 48px; }
      .brand-text strong { font-size: 1.2rem; }
      .footer-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem 0.8rem;
      }
      .footer-block { text-align: center; }
      .footer-logo { justify-content: center; }
      .footer-social { justify-content: center; }
      .inspiration-content { padding: 1.2rem; width: calc(100% - 2rem); }
      .inspiration-quote { font-size: 1rem; }
    }
    @media (max-width: 800px) {
      .footer-inner {
        flex-direction: column;
        align-items: center;
        gap: 1.2rem;
        padding: 1.2rem 0.7rem;
      }
      .footer-block {
        min-width: unset;
        width: 100%;
        align-items: center;
        text-align: center;
        margin-bottom: 0.7rem;
      }
      .footer-logo {
        justify-content: center;
        width: 100%;
      }
      .footer-social {
        justify-content: center;
        width: 100%;
        margin-bottom: 0.5rem;
      }
      .footer-contact {
        align-items: center;
        width: 100%;
      }
    }
    @media (max-width: 600px) {
      .footer-inner {
        padding: 1rem 0.4rem;
        gap: 0.7rem;
      }
      .footer-logo img {
        width: 54px;
        height: 62px;
      }
      .footer-title {
        font-size: 1rem;
      }
      .footer-contact {
        font-size: 0.97rem;
      }
      .footer-social a {
        width: 36px;
        height: 36px;
      }
      .footer-copyright {
        font-size: 0.92rem;
        padding-top: 0.6rem;
      }
    }
    @media (max-width: 400px) {
      .footer-inner {
        padding: 0.7rem 0.2rem;
      }
      .footer-logo img {
        width: 44px;
        height: 50px;
      }
      .footer-title {
        font-size: 0.92rem;
      }
      .footer-contact {
        font-size: 0.92rem;
      }
      .footer-social a {
        width: 28px;
        height: 28px;
      }
      .footer-copyright {
        font-size: 0.85rem;
      }
    }

    @media (max-width: 640px) {
      .footer-inner {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 0.8rem;
      }
      .footer-block {
        align-items: center;
        width: 100%;
        gap: 0.6rem;
      }
      .footer-block:first-of-type { order: 1; }
      .footer-block.footer-social {
        order: 2;
        width: 100%;
        margin-top: 0.2rem;
      }
      .footer-block.footer-contact {
        order: 3;
        gap: 0.45rem;
      }
      .footer-block.footer-contact span {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
      }
      .footer-social {
        justify-content: center;
        gap: 0.8rem;
      }
      .footer-social a { width: 38px; height: 38px; }
      .footer-contact { align-items: center; }
      .footer-contact a { font-weight: 600; }
      .footer-title { text-align: center; }
      .footer-copyright { order: 4; }
    }

    /* ========================================
       LOADING STATES - Sistema de carregamento elegante
       ======================================== */
    
    /* Spinner moderno e suave */
    .loading-spinner {
      display: inline-block;
      width: 40px;
      height: 40px;
      border: 4px solid rgba(11, 95, 58, 0.1);
      border-top-color: #0b5f3a;
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }

    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    /* Container de loading centralizado */
    .loading-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 3rem 1rem;
      gap: 1rem;
      min-height: 200px;
    }

    .loading-text {
      font-size: 0.95rem;
      color: #6b7280;
      font-weight: 500;
      animation: pulse 1.5s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.5; }
    }

    /* Skeleton loading para cards */
    .skeleton {
      background: linear-gradient(
        90deg,
        #f0f0f0 0%,
        #e0e0e0 20%,
        #f0f0f0 40%,
        #f0f0f0 100%
      );
      background-size: 200% 100%;
      animation: loading-skeleton 1.5s ease-in-out infinite;
      border-radius: 8px;
    }

    @keyframes loading-skeleton {
      0% { background-position: 200% 0; }
      100% { background-position: -200% 0; }
    }

    .skeleton-card {
      background: #fff;
      border-radius: 12px;
      padding: 1.5rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      margin-bottom: 1rem;
    }

    .skeleton-title {
      height: 24px;
      width: 60%;
      margin-bottom: 1rem;
    }

    .skeleton-text {
      height: 16px;
      width: 100%;
      margin-bottom: 0.5rem;
    }

    .skeleton-text:last-child {
      width: 80%;
    }

    /* Skeleton para cards de atividades */
    .skeleton-activity-card {
      display: flex;
      gap: 1rem;
      background: #fff;
      border-radius: 12px;
      padding: 1rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      margin-bottom: 1rem;
    }

    .skeleton-activity-image {
      width: 100px;
      height: 100px;
      border-radius: 8px;
      flex-shrink: 0;
    }

    .skeleton-activity-content {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
    }

    /* Skeleton para membros da equipa */
    .skeleton-team-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 1.5rem;
      padding: 1rem 0;
    }

    .skeleton-team-card {
      background: #fff;
      border-radius: 12px;
      padding: 1.5rem;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
    }

    .skeleton-team-avatar {
      width: 80px;
      height: 80px;
      border-radius: 50%;
    }

    .skeleton-team-name {
      height: 20px;
      width: 80%;
    }

    .skeleton-team-position {
      height: 16px;
      width: 60%;
    }

    /* Animação de fade-in para conteúdo carregado */
    .fade-in {
      animation: fadeIn 0.5s ease-in;
    }

    @keyframes fadeIn {
      from {
        opacity: 0;
        transform: translateY(10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* Loading overlay para seções específicas */
    .section-loading {
      position: relative;
      min-height: 200px;
    }

    .section-loading-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(255, 255, 255, 0.9);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 10;
      backdrop-filter: blur(4px);
    }

    /* Estilos responsivos para loading */
    @media (max-width: 768px) {
      .skeleton-activity-card {
        flex-direction: column;
      }
      
      .skeleton-activity-image {
        width: 100%;
        height: 150px;
      }

      .skeleton-team-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
      }

      .loading-container {
        padding: 2rem 1rem;
        min-height: 150px;
      }
    }

    /* Footer compacto, robusto, moderno, bem estruturado e estilizado */
    .site-footer {
      border-top: 1px solid #e2e8f0;
      background: #f7fafc;
      box-shadow: 0 -2px 12px rgba(44,62,80,0.04);
      padding: 0;
      margin-top: auto;
      font-family: 'Inter', Arial, sans-serif;
    }
    .footer-inner {
      max-width: var(--max-width);
      margin: 0 auto;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      padding: 1.2rem 1.5rem;
      gap: 1rem;
    }
    .footer-block {
      display: flex;
      flex-direction: column;
      gap: .7rem;
      min-width: 160px;
    }
    .footer-logo {
      display: flex;
      align-items: center;
      gap: .7rem;
    }
    .footer-logo img {
      width: 70px;
      height: 80px;
      border-radius: 30px;
      object-fit: contain;
      padding: 3px;
      background: #fff;
      box-shadow: 0 2px 8px rgba(36,83,166,0.10);
      border: 1px solid #e2e8f0;
    }
    .footer-logo img:hover {
      box-shadow: 0 4px 16px rgba(36,83,166,0.16);
      transform: scale(1.05);
      border-color: 0.2px #051d01;
      transition: box-shadow .22s, transform .22s, border-color .18s;
    }
    .footer-title {
      font-size: 1.12rem;
      font-weight: 700;
      color: #111;
      letter-spacing: 0.7px;
      margin-left: .2rem;
    }
    .footer-contact {
      font-size: 1.05rem;
      color: #222;
      font-weight: 500;
      display: flex;
      flex-direction: column;
      gap: .3rem;
    }
    .footer-contact a {
      color: #111;
      text-decoration: none;
      font-weight: 600;
      transition: color .18s;
    }
    .footer-contact a:hover {
      color: #0b2c1a;
      text-decoration: underline;
    }
    .footer-social {
      display: flex;
      flex-direction: row !important;
      gap: 1rem;
      margin-top: .2rem;
      justify-content: center;
      align-items: center;
    }
    .footer-social a {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      background: transparent; /* removido fundo colorido */
      text-decoration: none;
      overflow: hidden;
      padding: 3px;
      transition: transform .18s, box-shadow .18s;
      box-shadow: 0 2px 8px rgba(16,32,64,0.06);
    }
    .footer-social a:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(16,32,64,0.10);
    }
    .footer-social-img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      display: block;
      border-radius: 50%;
    }
    .footer-copyright {
      flex: 1 1 100%;
      text-align: center;
      font-size: 1.01rem;
      color: #111;
      font-weight: 700;
      margin-top: .7rem;
      letter-spacing: 0.5px;
      padding-top: .5rem;
      border-top: 1px solid #e2e8f0;
    }
    @media (max-width: 1200px) {
      .container { max-width: 100%; padding: 1rem; }
      .header-inner { max-width: 100%; padding: 0 1rem; }
      .modern-units { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    }

    @media (max-width: 1100px) {
      .modern-units { grid-template-columns: repeat(2, 1fr); }
      .events-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
      .card-image-section { height: 120px; }
      .card-title-modern { font-size: 1rem; }
      .container { padding: 1.2rem; }
    }

    @media (max-width: 900px) {
      .header-inner { gap: 0.5rem; opacity: 1; pointer-events: auto; transform: translateY(0); }
      .main-nav ul { flex-direction: column; gap: 0.5rem; background: rgba(255,255,255,0.98); position: absolute; top: 100%; left: 0; right: 0; box-shadow: 0 8px 32px rgba(36,83,166,0.10); border-radius: 0 0 18px 18px; padding: 1.2rem 0; display: none; }
      .main-nav.open ul { display: flex; }
      .nav-toggle { display: flex; margin-left: auto; }
      .main-nav .submenu { left: 0; transform: translateX(0); }
      .main-nav .has-submenu:hover .submenu { transform: translateX(0) translateY(0) scale(1); }
      .hero { min-height: 40vh; }
      .hero-content { max-width: 90%; padding: 1.5rem; }
      .hero-copy h1 { font-size: 2.2rem; }
      h2 { font-size: 1.8rem; }
    }

    @media (max-width: 700px) {
      .site-header { min-height: 70px; }
      .header-inner { min-height: 70px; gap: 0.5rem; flex-direction: row; }
      .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
        background: rgba(255,255,255,0.98);
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        box-shadow: 0 8px 32px rgba(36,83,166,0.10);
        border-radius: 0 0 18px 18px;
        padding: 1rem 0;
        display: none;
      }
      .main-nav.open ul { display: flex; }
      .nav-toggle { display: flex; }
      .hero { min-height: 35vh; padding: 2rem 0 1.5rem 0; }
      .hero-copy h1 { font-size: 2.2rem; }
      h2 { font-size: 1.6rem; }
      .modern-units { grid-template-columns: 1fr; gap: 1.2rem; }
      .unit { min-height: 0; }
      .unit-media { height: 90px; }
      .unit-media img { width: 64px; height: 64px; }
      .events-grid { grid-template-columns: 1fr; gap: 0.8rem; }
      .card-image-section { height: 100px; }
      .card-content-section { padding: 0.8rem; gap: .6rem; }
      .card-title-modern { font-size: 0.95rem; }
      .card-description { font-size: 0.8rem; }
      #activityFilter { 
        flex-direction: column; 
        align-items: stretch; 
        padding: 1rem; 
        gap: 0.8rem; 
      }
      #activityFilter span { text-align: center; margin-bottom: 0.5rem; }
      #activityFilter .btn { padding: .4rem .8rem; font-size: 0.8rem; }
      .logo-img { width: 48px; height: 48px; }
      .brand-text strong { font-size: 1.2rem; }
      .footer-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding: 1rem 0.8rem;
      }
      .footer-block { text-align: center; }
      .footer-logo { justify-content: center; }
      .footer-social { justify-content: center; }
      .inspiration-content { padding: 1.2rem; width: calc(100% - 2rem); }
      .inspiration-quote { font-size: 1rem; }
    }

    @media (max-width: 600px) {
      .container { padding: 0.8rem; }
      .card-date-badge { font-size: 0.7rem; padding: .2rem .4rem; }
      .section-badge { font-size: 0.6rem; padding: .15rem .4rem; }
      .meta-info-item { font-size: 0.75rem; }
      .card-description { line-clamp: 3; -webkit-line-clamp: 3; }
      .footer-copyright {
        padding-top: .7rem;
        font-size: .98rem;
      }
      .inspiration-content::before{ display:none; }
      .inspiration-content { padding-left: 1rem; padding-right: 1rem; }
    }

    @media (max-width: 479px) {
      .container { padding: 0.6rem; }
      .site-header { min-height: 60px; }
      .header-inner { min-height: 60px; padding: 0 0.3rem; }
      .logo-img { width: 42px; height: 42px; }
      .brand-text strong { font-size: 1.1rem; }
      .hero-copy h1 { font-size: 1.8rem; }
      .card-title-modern { font-size: 0.9rem; }
      .card-description { font-size: 0.75rem; }
      .btn-editor { width: 28px; height: 28px; }
      .btn-editor svg { width: 12px; height: 12px; }
      h2 { font-size: 1.4rem; }
    }

    @media (max-width: 400px) {
      .hero { min-height: 30vh; padding: 1.5rem 0; }
      .hero-content { padding: 1rem; border-radius: 20px; }
      .hero-copy h1 { font-size: 1.6rem; }
      .lead { font-size: 1rem; }
      .cta-path { font-size: 0.9rem; padding: .4rem 1rem; }
      .form-modern { padding: 0.8rem; gap: .4rem; }
      .form-modern input { font-size: 0.9rem; padding: .5rem .6rem; }
      .checkbox-group { gap: .4rem; }
      .events-grid { gap: 0.6rem; }
      .activity-card-modern { border-radius: 16px; }
      .card-image-section { height: 80px; }
      .card-content-section { padding: 0.6rem; gap: .4rem; }
      .card-title-modern { font-size: 0.85rem; }
  .card-description { font-size: 0.75rem; line-clamp: 2; -webkit-line-clamp: 2; }
      .section-badge { font-size: 0.55rem; padding: .1rem .3rem; }
      .meta-info-item { font-size: 0.7rem; }
      .btn-editor { width: 24px; height: 24px; }
      .btn-editor svg { width: 10px; height: 10px; }
      #activityFilter .btn { font-size: 0.75rem; padding: .3rem .6rem; }
      .footer-logo img { width: 50px; height: 60px; }
      .footer-title { font-size: 1rem; }
      .footer-contact { font-size: 0.95rem; }
      .footer-social a { width: 36px; height: 36px; }
      .footer-copyright { font-size: 0.9rem; }
    }

    /* Botão Voltar ao Topo */
    .footer-back-to-top {
      display: flex;
      justify-content: center;
      align-items: center;
      flex: 1 1 100%;
      margin-top: 0.5rem;
    }

    .back-to-top-btn {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      text-decoration: none;
      transition: transform 0.3s ease, opacity 0.3s ease;
      opacity: 0.85;
    }

    .back-to-top-btn:hover {
      transform: translateY(-4px);
      opacity: 1;
    }

    .back-to-top-logo {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      object-fit: contain;
      padding: 4px;
      background: #fff;
      box-shadow: 0 4px 12px rgba(11, 95, 58, 0.15);
      border: 2px solid #0b5f3a;
      transition: box-shadow 0.3s ease, transform 0.3s ease;
    }

    .back-to-top-btn:hover .back-to-top-logo {
      box-shadow: 0 6px 20px rgba(11, 95, 58, 0.25);
      transform: scale(1.08);
    }

    .back-to-top-text {
      font-size: 0.95rem;
      font-weight: 700;
      color: #0b5f3a;
      letter-spacing: 0.3px;
    }

    @media (max-width: 700px) {
      .back-to-top-logo {
        width: 42px;
        height: 42px;
      }
      .back-to-top-text {
        font-size: 0.85rem;
      }
    }

    @media (max-width: 400px) {
      .back-to-top-logo {
        width: 38px;
        height: 38px;
      }
      .back-to-top-text {
        font-size: 0.8rem;
      }
    }
