/* ════════════════════════════════════════════════════════════════
   MUHATU ENERGY ANGOLA — Portal do Membro
   CSS Principal | Versão 1.0 | 2026
   Fiel ao design original: https://muhatu.olualinet.ao/
════════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   0. CSS Custom Properties (Design Tokens)
───────────────────────────────────────── */
:root {
  /* Cores principais — extraídas do original */
  --gold: #F1B31C;
  --gold-dark: #A17D24;
  --gold-btn: #C5910B;
  --brown-dark: #804B12;
  --green: #335f46;
  --green-dark: #264a37;
  --green-light: #3d7254;

  /* Cores de texto */
  --text-dark: #222222;
  --text-mid: #444444;
  --text-muted: #666666;
  --text-light: #999999;

  /* Fundos */
  --bg-white: #ffffff;
  --bg-light: #f7f5f0;
  --bg-cream: #fdf8f0;
  --bg-green-pale: #eef5f1;

  /* Bordas */
  --border: #e5e0d5;
  --border-gold: rgba(161, 125, 36, .25);

  /* Gradients */
  --grad-gold: linear-gradient(135deg, #F1B31C 0%, #A17D24 100%);
  --grad-green: linear-gradient(135deg, #335f46 0%, #264a37 100%);
  --grad-hero: linear-gradient(135deg, rgba(161, 125, 36, .85) 0%, rgba(128, 75, 18, .7) 100%);

  /* Tipografia */
  --font-primary: 'Inter', 'Roboto', sans-serif;
  --font-body: 'Roboto', 'Inter', sans-serif;

  /* Espaçamento */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .08);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, .12);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .16);
  --shadow-gold: 0 8px 24px rgba(161, 125, 36, .25);

  /* Raios */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Transições */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --trans-fast: .15s var(--ease);
  --trans-mid: .3s var(--ease);
  --trans-slow: .5s var(--ease);

  /* Header */
  --topbar-h: 36px;
  --header-h: 72px;
  --header-height: calc(var(--topbar-h) + var(--header-h));
  /* 108px — estado inicial (topo) */

  /* Padding-top padrão para heroes de páginas internas (sobre, galeria, denuncia…) */
  /* = header fixo (108px) + espaço de respiração (52px) = 160px */
  --hero-top: calc(var(--header-height) + 52px);

  /* Padding-top para heroes com onda/wave no fundo (precisam de mais espaço) */
  --hero-top-wave: calc(var(--header-height) + 60px);
}

/* ─────────────────────────────────────────
   1. Reset & Base
───────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  /* Compensação para âncoras internas — o header fixo não cobre o destino da âncora */
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-primary);
  font-weight: 400;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none !important;
  transition: color var(--trans-fast);
}

/* Focus visível para acessibilidade (navegação por teclado) */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 3px;
}

ul,
ol {
  list-style: none;
  margin-bottom: 0 !important;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

address {
  font-style: normal;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

/* ─────────────────────────────────────────
   2. Utilitários
───────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}

.color-gold {
  color: var(--gold);
}

.color-brown {
  color: var(--brown-dark);
}

.color-green {
  color: var(--green);
}

/* Secção — Cabeçalho padrão */
.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.section-title-wrap::before {
  content: '';
  display: block;
  width: 4px;
  height: 32px;
  background: var(--grad-gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 680px;
  margin-bottom: 24px;
}

.section-header {
  margin-bottom: 40px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-title-wrap {
  justify-content: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto 24px;
}

/* ─────────────────────────────────────────
   3. Botões
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  letter-spacing: .3px;
  transition: all var(--trans-mid);
  white-space: nowrap;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 15px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* Gold */
.btn-gold {
  background: var(--grad-gold);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #d9a118 0%, #8a6a1d 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(161, 125, 36, .35);
}

/* Green */
.btn-green {
  background: var(--grad-green);
  color: #fff;
  border-color: transparent;
}

.btn-green:hover {
  background: linear-gradient(135deg, #264a37 0%, #1a3328 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(51, 95, 70, .3);
}

/* Outline Gold */
.btn-outline-gold {
  background: transparent;
  color: var(--gold-dark);
  border-color: var(--gold-dark);
}

.btn-outline-gold:hover {
  background: var(--gold-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* Outline Dark */
.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.btn-outline-dark:hover {
  background: var(--text-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* Outline White */
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .6);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, .15);
  border-color: #fff;
  transform: translateY(-2px);
}

/* ─────────────────────────────────────────
   4. HEADER
───────────────────────────────────────── */
/* ════════════════════════════════════════════════════════════════
   4. TOPBAR INSTITUCIONAL
════════════════════════════════════════════════════════════════ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  height: var(--topbar-h);
  background: linear-gradient(90deg, var(--green-dark) 0%, #1e3a2a 50%, var(--green-dark) 100%);
  border-bottom: 1px solid rgba(241, 179, 28, .18);
  overflow: hidden;
  transition: transform var(--trans-mid), opacity var(--trans-mid);
}

/* Topbar oculta após scroll (JS adiciona .topbar-hidden) */
.topbar.topbar-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Esquerda */
.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .75);
  font-weight: 400;
  transition: color var(--trans-fast);
  text-decoration: none;
}

a.topbar-item:hover {
  color: var(--gold);
}

.topbar-item i {
  color: var(--gold);
  font-size: 10px;
}

.topbar-divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, .2);
  flex-shrink: 0;
}

/* Centro */
.topbar-center {
  flex: 1;
  text-align: center;
  overflow: hidden;
}

.topbar-msg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .65);
  font-weight: 400;
  letter-spacing: .02em;
  white-space: nowrap;
}

.topbar-msg i {
  color: var(--gold);
  font-size: 9px;
  animation: topbarStar 2.4s ease-in-out infinite;
}

@keyframes topbarStar {

  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: .7;
  }

  50% {
    transform: scale(1.3) rotate(20deg);
    opacity: 1;
  }
}

/* Direita */
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.topbar-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-social-link {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .6);
  font-size: 10px;
  transition: all var(--trans-fast);
}

.topbar-social-link:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-dark);
  transform: translateY(-1px);
}

.topbar-lang {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: rgba(255, 255, 255, .4);
}

.topbar-lang-btn {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, .5);
  padding: 2px 5px;
  border-radius: 3px;
  letter-spacing: .06em;
  transition: all var(--trans-fast);
}

.topbar-lang-btn.active,
.topbar-lang-btn:hover {
  color: var(--gold);
  background: rgba(241, 179, 28, .12);
}

/* ════════════════════════════════════════════════════════════════
   4B. HEADER PRINCIPAL
════════════════════════════════════════════════════════════════ */
.header-wrapper {
  position: relative;
}

.header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border-bottom: 1px solid var(--border);
  transition:
    top var(--trans-mid),
    box-shadow var(--trans-mid),
    background var(--trans-mid),
    height var(--trans-mid);
  will-change: top, height;
}

/* Estado scrolled: topbar oculta → header sobe */
.header.header-raised {
  top: 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .10);
  background: rgba(255, 255, 255, .99);
}

/* Estado compacto ao scrollar mais */
.header.header-compact {
  height: 60px;
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0;
}

/* ── Logo ── */
.hdr-logo {
  flex-shrink: 0;
  margin-right: 32px;
}

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

.hdr-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition:
    height var(--trans-mid),
    opacity var(--trans-fast);
}

.header.header-compact .hdr-logo-img {
  height: 40px;
}

.hdr-logo-img:hover {
  opacity: .88;
}

/* ── Navegação desktop ── */
.hdr-nav {
  flex: 1;
  display: flex;
  align-items: center;
}

.hdr-nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  height: 100%;
}

.hdr-nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

/* Link / botão de navegação */
.hdr-nav-link,
.hdr-nav-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition:
    color var(--trans-fast),
    background var(--trans-fast);
  position: relative;
  white-space: nowrap;
  letter-spacing: .01em;
}

.hdr-nav-link:hover,
.hdr-nav-btn:hover {
  color: var(--green);
  background: var(--bg-green-pale);
}

.hdr-nav-link.active {
  color: var(--green);
  font-weight: 700;
}

/* Indicador dourado sob o link activo */
.hdr-nav-link::after,
.hdr-nav-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  right: 50%;
  height: 3px;
  background: var(--grad-gold);
  border-radius: 2px 2px 0 0;
  transition:
    left var(--trans-mid),
    right var(--trans-mid);
}

.hdr-nav-link:hover::after,
.hdr-nav-link.active::after,
.hdr-has-dropdown:hover .hdr-nav-btn::after,
.hdr-has-dropdown.drop-open .hdr-nav-btn::after {
  left: 12px;
  right: 12px;
}

/* Caret do dropdown */
.hdr-nav-caret {
  font-size: 9px;
  transition: transform var(--trans-fast);
  color: var(--text-light);
}

.hdr-has-dropdown:hover .hdr-nav-caret,
.hdr-has-dropdown.drop-open .hdr-nav-caret {
  transform: rotate(180deg);
  color: var(--green);
}

/* Link de alerta (Denúncia) */
.hdr-nav-link-alert {
  color: #c0392b !important;
}

.hdr-nav-link-alert:hover {
  background: #fdf2f2 !important;
  color: #a93226 !important;
}

.hdr-nav-link-alert::after {
  background: linear-gradient(90deg, #e74c3c, #c0392b) !important;
}

/* ── Dropdown ── */
.hdr-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 280px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .12), 0 4px 16px rgba(0, 0, 0, .06);
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(.98);
  transform-origin: top left;
  transition:
    opacity var(--trans-fast),
    transform var(--trans-fast),
    visibility var(--trans-fast);
  pointer-events: none;
  overflow: hidden;
}

.hdr-has-dropdown:hover .hdr-dropdown,
.hdr-has-dropdown.drop-open .hdr-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Triângulo decorativo */
.hdr-dropdown::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 20px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
  transform: rotate(45deg);
}

.hdr-dropdown-inner {
  padding: 8px;
}

/* Item do dropdown */
.hdr-dd-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  transition:
    background var(--trans-fast),
    transform var(--trans-fast);
}

.hdr-dd-item:hover {
  background: var(--bg-green-pale);
  transform: translateX(3px);
}

.hdr-dd-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 13px;
  transition: transform var(--trans-fast);
}

.hdr-dd-item:hover .hdr-dd-icon {
  transform: scale(1.08);
}

.hdr-dd-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hdr-dd-body strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}

.hdr-dd-body small {
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 400;
}

/* Separador dentro do dropdown */
.hdr-dd-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 8px;
}

/* ── Acções (direita do header) ── */
.hdr-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
  flex-shrink: 0;
}

/* Botão de pesquisa */
.hdr-search-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-mid);
  font-size: 13px;
  transition: all var(--trans-fast);
}

.hdr-search-btn:hover,
.hdr-search-btn.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

/* CTA Registar */
.hdr-cta-register {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green);
  border: 1.5px solid var(--green);
  border-radius: 50px;
  transition:
    background var(--trans-fast),
    color var(--trans-fast),
    transform var(--trans-fast),
    box-shadow var(--trans-fast);
  white-space: nowrap;
}

.hdr-cta-register:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(51, 95, 70, .25);
}

/* CTA Login / Área de Membro */
.hdr-cta-login {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border-radius: 50px;
  border: none;
  transition:
    filter var(--trans-fast),
    transform var(--trans-fast),
    box-shadow var(--trans-fast);
  box-shadow: 0 3px 10px rgba(161, 125, 36, .3);
  white-space: nowrap;
}

.hdr-cta-login:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(161, 125, 36, .4);
}

/* Hamburguer (visível apenas em mobile) */
.hdr-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  transition: background var(--trans-fast);
}

.hdr-hamburger:hover {
  background: var(--bg-light);
}

.hdr-ham-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition:
    transform var(--trans-mid),
    opacity var(--trans-mid),
    width var(--trans-mid);
  transform-origin: center;
}

.hdr-hamburger.open .hdr-ham-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hdr-hamburger.open .hdr-ham-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hdr-hamburger.open .hdr-ham-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Barra de pesquisa expansível ── */
.hdr-search-bar {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 0;
  background: #fff;
  border-top: 1px solid transparent;
  overflow: hidden;
  transition:
    height var(--trans-mid),
    border-color var(--trans-mid);
  z-index: 99;
}

.hdr-search-bar.search-open {
  height: 58px;
  border-top-color: var(--border);
  border-bottom: 2px solid var(--gold);
}

.hdr-search-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hdr-search-icon {
  color: var(--text-light);
  font-size: 15px;
  flex-shrink: 0;
}

.hdr-search-input {
  flex: 1;
  height: 100%;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: var(--font-primary);
  color: var(--text-dark);
  background: transparent;
  font-weight: 400;
}

.hdr-search-input::placeholder {
  color: var(--text-light);
}

.hdr-search-close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  transition: all var(--trans-fast);
  flex-shrink: 0;
}

.hdr-search-close:hover {
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: #fff;
}

/* ── Barra de scroll progress ── */
.hdr-scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  overflow: hidden;
}

.hdr-scroll-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--green) 0%, var(--gold) 60%, var(--gold-dark) 100%);
  border-radius: 0 2px 2px 0;
  transition: width .1s linear;
  will-change: width;
}

/* ── Acessibilidade — screen reader only ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ════════════════════════════════════════════════════════════════
   5. MENU MOBILE (redesign)
════════════════════════════════════════════════════════════════ */
.mob-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 92vw);
  height: 100dvh;
  background: #fff;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 48px rgba(0, 0, 0, .18);
  overflow: hidden;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.mob-menu.open {
  transform: translateX(0);
}

.mob-menu-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Cabeçalho do menu mobile */
.mob-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: linear-gradient(135deg, var(--green-dark) 0%, #1e3a2a 100%);
  flex-shrink: 0;
}

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

.mob-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .92;
}

.mob-close-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  color: rgba(255, 255, 255, .75);
  font-size: 14px;
  transition: all var(--trans-fast);
}

.mob-close-btn:hover {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border-color: rgba(255, 255, 255, .4);
}

/* Secção de navegação */
.mob-nav-section {
  flex: 1;
  padding: 12px 16px;
}

.mob-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mob-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-mid);
  transition:
    background var(--trans-fast),
    color var(--trans-fast),
    transform var(--trans-fast);
  position: relative;
}

.mob-nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 60%;
  background: var(--grad-gold);
  border-radius: 0 2px 2px 0;
  transition: transform var(--trans-mid);
}

.mob-nav-link:hover,
.mob-nav-link.active {
  color: var(--green);
  background: var(--bg-green-pale);
  transform: translateX(3px);
}

.mob-nav-link:hover::before,
.mob-nav-link.active::before {
  transform: translateY(-50%) scaleY(1);
}

.mob-nav-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--bg-light);
  color: var(--green);
  font-size: 14px;
  flex-shrink: 0;
  transition: background var(--trans-fast), color var(--trans-fast);
}

.mob-nav-link:hover .mob-nav-icon,
.mob-nav-link.active .mob-nav-icon {
  background: var(--green);
  color: var(--gold);
}

/* Denúncia — link de alerta no mobile */
.mob-nav-alert {
  color: #c0392b;
}

.mob-nav-alert .mob-nav-icon {
  background: #fdf2f2;
  color: #c0392b;
}

.mob-nav-alert:hover {
  background: #fdf2f2 !important;
  color: #a93226 !important;
}

/* Secção de acções mobile */
.mob-actions-section {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.mob-btn-register {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  border: 2px solid var(--green);
  transition:
    background var(--trans-fast),
    color var(--trans-fast);
}

.mob-btn-register:hover {
  background: var(--green);
  color: #fff;
}

.mob-btn-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  box-shadow: 0 4px 14px rgba(161, 125, 36, .35);
  transition: filter var(--trans-fast), transform var(--trans-fast);
}

.mob-btn-login:hover {
  filter: brightness(1.07);
  transform: translateY(-1px);
}

/* Rodapé do menu mobile */
.mob-menu-foot {
  padding: 20px 24px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mob-contact-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mob-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--trans-fast);
  text-decoration: none;
}

.mob-contact-item:hover {
  color: var(--gold-dark);
}

.mob-contact-item i {
  color: var(--gold-dark);
  font-size: 12px;
  width: 14px;
}

.mob-social-row {
  display: flex;
  gap: 10px;
}

.mob-social-link {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-mid);
  font-size: 13px;
  transition: all var(--trans-fast);
}

.mob-social-link:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
  transform: translateY(-2px);
}

.mob-copy {
  font-size: 11px;
  color: var(--text-light);
}

/* Overlay escuro */
.mob-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(2px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-mid);
}

.mob-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Compensação de padding para header fixo */
.header-wrapper>section:first-of-type {
  padding-top: 0;
}

/* Compatibilidade com classes antigas (main.js usa .nav-link) */
.nav-link {
  color: inherit;
}

.lang-btn {
  font-size: 11px;
  font-weight: 700;
}

/* ─────────────────────────────────────────
   6. HERO SECTION
───────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--header-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  transform: scale(1.04);
  transition: transform 10s ease-out;
}

.hero-bg.loaded {
  transform: scale(1);
}

/* Overlay: escuríssimo à esquerda (contraste texto) → transparente à direita (revela pôr-do-sol) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      rgba(4, 8, 6, 0.97) 0%,
      rgba(10, 20, 14, 0.92) 25%,
      rgba(20, 38, 28, 0.72) 45%,
      rgba(10, 10, 10, 0.28) 68%,
      rgba(0, 0, 0, 0.04) 100%);
}

/* Linha decorativa dourada esquerda */
.hero-accent-line {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, transparent, var(--gold) 25%, var(--gold-dark) 75%, transparent);
  opacity: .55;
  z-index: 2;
  pointer-events: none;
}

/* Padrão de pontos sutil */
.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(241, 179, 28, .04) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 60px var(--gutter) 36px;
  display: grid;
  grid-template-columns: 55fr 45fr;
  align-items: flex-end;
  gap: 32px;
  width: 100%;
  min-height: calc(100vh - var(--header-height));
}

.hero-content {
  color: #fff;
  padding-bottom: 36px;
}

/* Badge institucional MEA */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(241, 179, 28, .14);
  border: 1px solid rgba(241, 179, 28, .32);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero-badge i {
  font-size: 10px;
  opacity: .85;
}

/* Linha dourada decorativa antes do título */
.hero-title-line {
  width: 44px;
  height: 3px;
  background: var(--grad-gold);
  border-radius: 2px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(28px, 4.2vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  margin-bottom: 14px;
  letter-spacing: -1.5px;
  color: #fff;
}

.hero-title .color-gold {
  color: var(--gold);
}

.hero-title .color-brown {
  color: #f0d088;
}

/* Cores fieis ao site oficial muhatu.olualinet.ao */
.hero-title .hero-gold {
  color: var(--gold);
}

.hero-title .hero-dark {
  color: #804B12;
}

/* castanho escuro — "Unidas no / Sector dos Recursos / Petróleo e Gás" */
.hero-title .hero-amber {
  color: #C5910B;
}

/* âmbar dourado — "Minerais," */

.hero-subtitle {
  font-size: clamp(14px, 1.7vw, 18px);
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
  margin-bottom: 12px;
  letter-spacing: .4px;
}

.hero-text {
  font-size: 15px;
  color: rgba(255, 255, 255, .66);
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 450px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 36px;
}

/* Strip de stats no hero */
.hero-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .11);
  padding-top: 24px;
}

.hero-stat {
  flex: 1;
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, .11);
}

.hero-stat:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 20px;
}

.hero-stat:not(:first-child):not(:last-child) {
  padding-left: 20px;
}

.hero-stat-num {
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.hero-stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, .45);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Coluna da imagem hero ── */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  min-height: calc(100vh - var(--header-height));
}

.hero-image::before,
.hero-image::after {
  content: none;
}

/*
  hero-img.png oficial do site muhatu.olualinet.ao:
  a imagem já inclui internamente a máscara geométrica
  de cápsulas/pílulas + bolinhas coloridas + fundo escuro.
  Basta exibi-la directamente, sem SVG adicional.
*/
.hero-img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  object-position: bottom center;
  align-self: flex-end;
  animation: heroFloat 5.5s ease-in-out infinite;
  transform-origin: bottom center;
  /* remove sombra redundante — a imagem já tem o seu próprio fundo */
  filter: none;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.hero-scroll-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .28);
}

.hero-scroll a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  color: rgba(255, 255, 255, .55);
  font-size: 13px;
  animation: bounce 2.2s ease-in-out infinite;
  transition: all var(--trans-fast);
  backdrop-filter: blur(4px);
}

.hero-scroll a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(241, 179, 28, .08);
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(7px);
  }
}

/* ─────────────────────────────────────────
   7. PILARES — 3 CARDS VERDES
───────────────────────────────────────── */
.pilares-section {
  background: var(--green);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.pilares-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .03);
  pointer-events: none;
}

/* ─────────────────────────────────────────
   8. PRÉ-REGISTO EXCLUSIVO (removido do HTML — CSS mantido para referência)
   DEPRECATED — secção removida do portal. Estilos orfãos abaixo.
───────────────────────────────────────── */
.prereg-section {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #0d1a12 0%, #1a2e20 40%, #0f2318 70%, #111 100%);
  overflow: hidden;
}

/* Padrão de linhas diagonais no fundo */
.prereg-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(-45deg,
      rgba(241, 179, 28, .03) 0px,
      rgba(241, 179, 28, .03) 1px,
      transparent 1px,
      transparent 40px);
  pointer-events: none;
}

/* Efeito de brilho radial nos cantos */
.prereg-section::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 179, 28, .07) 0%, transparent 70%);
  pointer-events: none;
}

.prereg-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 95, 70, .18) 0%, transparent 70%);
  pointer-events: none;
}

.prereg-container {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ── Coluna esquerda: informação ── */
.prereg-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(241, 179, 28, .12);
  border: 1px solid rgba(241, 179, 28, .30);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.prereg-badge i {
  font-size: 10px;
}

.prereg-title {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.prereg-title-gold {
  color: var(--gold);
}

.prereg-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, .68);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 440px;
}

/* Lista de benefícios */
.prereg-benefits {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.prereg-benefit {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.prereg-benefit-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: rgba(241, 179, 28, .12);
  border: 1px solid rgba(241, 179, 28, .25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 14px;
  margin-top: 2px;
}

.prereg-benefit strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.prereg-benefit p {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  line-height: 1.55;
  margin: 0;
}

/* Barra de progresso de vagas */
.prereg-counter {
  margin-top: 8px;
}

.prereg-counter-bar {
  height: 6px;
  background: rgba(255, 255, 255, .1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 10px;
}

.prereg-counter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 10px;
  transition: width 1s ease;
}

.prereg-counter-label {
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
  margin: 0;
}

.prereg-counter-label strong {
  color: var(--gold);
}

/* ── Coluna direita: card do formulário ── */
.prereg-form-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 20px;
  padding: 36px;
  backdrop-filter: blur(12px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, .45),
    0 0 0 1px rgba(241, 179, 28, .06) inset;
}

.prereg-form-header {
  text-align: center;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.prereg-form-header-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  margin: 0 auto 14px;
  box-shadow: 0 8px 20px rgba(241, 179, 28, .3);
}

.prereg-form-header h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}

.prereg-form-header p {
  font-size: 13px;
  color: rgba(255, 255, 255, .50);
  margin: 0;
}

/* Linhas do formulário */
.prereg-form-row {
  margin-bottom: 16px;
}

.prereg-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, .70);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.prereg-label span {
  color: var(--gold);
}

.prereg-input-wrap {
  position: relative;
}

.prereg-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .30);
  font-size: 13px;
  pointer-events: none;
}

.prereg-input {
  width: 100%;
  padding: 11px 14px 11px 38px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  transition: border-color var(--trans-fast), background var(--trans-fast);
  -webkit-appearance: none;
  appearance: none;
}

.prereg-input::placeholder {
  color: rgba(255, 255, 255, .28);
}

.prereg-input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(241, 179, 28, .05);
}

.prereg-input.is-invalid {
  border-color: #f87171;
}

.prereg-input.is-valid {
  border-color: #4ade80;
}

/* Select personalizado */
.prereg-select-wrap {
  position: relative;
}

.prereg-select {
  cursor: pointer;
}

.prereg-select option {
  background: #1a2e20;
  color: #fff;
}

.prereg-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .35);
  font-size: 11px;
  pointer-events: none;
}

/* Mensagem de erro global */
.prereg-error-msg {
  background: rgba(248, 113, 113, .12);
  border: 1px solid rgba(248, 113, 113, .30);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #fca5a5;
  margin-bottom: 14px;
}

/* Botão submit */
.prereg-submit {
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  font-size: 15px;
  border-radius: 10px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}

/* Spinner de loading */
.prereg-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spinnerRotate .7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

@keyframes spinnerRotate {
  to {
    transform: rotate(360deg);
  }
}

/* Nota de privacidade */
.prereg-privacy {
  font-size: 11px;
  color: rgba(255, 255, 255, .35);
  text-align: center;
  margin: 0;
  line-height: 1.6;
}

.prereg-privacy i {
  margin-right: 4px;
}

.prereg-privacy-link {
  color: rgba(241, 179, 28, .65);
  text-decoration: underline;
}

.prereg-privacy-link:hover {
  color: var(--gold);
}

/* Estado de sucesso */
.prereg-success {
  text-align: center;
  padding: 20px 0;
}

.prereg-success-icon {
  font-size: 56px;
  color: #4ade80;
  margin-bottom: 16px;
  display: block;
  animation: successPop .5s cubic-bezier(.34, 1.56, .64, 1) both;
}

@keyframes successPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.prereg-success h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
}

.prereg-success p {
  font-size: 14px;
  color: rgba(255, 255, 255, .60);
  margin: 0;
}

/* Selos de confiança */
.prereg-trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.prereg-trust-item {
  font-size: 11px;
  color: rgba(255, 255, 255, .38);
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  letter-spacing: .04em;
}

.prereg-trust-item i {
  color: rgba(241, 179, 28, .55);
}

/* Responsive — Pré-Registo */
@media (max-width: 900px) {
  .prereg-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .prereg-desc {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .prereg-section {
    padding: 72px 0;
  }

  .prereg-form-card {
    padding: 24px 20px;
  }

  .prereg-trust {
    gap: 12px;
  }
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.pilar-card {
  padding: 48px 36px;
  color: #fff;
  position: relative;
  transition: background var(--trans-mid);
}

.pilar-card+.pilar-card {
  border-left: 1px solid rgba(255, 255, 255, .15);
}

.pilar-card:hover {
  background: rgba(255, 255, 255, .05);
}

.pilar-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, .12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background var(--trans-fast);
}

.pilar-card:hover .pilar-icon {
  background: rgba(241, 179, 28, .2);
}

.pilar-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* Linha dourada abaixo do título */
.pilar-card h3::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  margin-top: 10px;
  border-radius: 1px;
  transition: width var(--trans-mid);
}

.pilar-card:hover h3::after {
  width: 64px;
}

.pilar-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, .8);
  line-height: 1.75;
}

/* ─────────────────────────────────────────
   8. MULHERES EM DESTAQUE
───────────────────────────────────────── */
.destaque-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.destaque-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 8px;
}

.perfil-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--trans-mid);
  box-shadow: var(--shadow-sm);
}

.perfil-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.perfil-foto {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-light);
}

.perfil-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--trans-slow);
}

.perfil-card:hover .perfil-foto img {
  transform: scale(1.05);
}

.perfil-info {
  padding: 20px;
}

.perfil-nome {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
  letter-spacing: -.3px;
}

.perfil-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.perfil-cargo,
.perfil-role {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--text-muted);
}

.perfil-cargo svg,
.perfil-role svg {
  flex-shrink: 0;
}

.perfil-empresa {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.empresa-logo {
  height: 20px;
  width: auto;
  object-fit: contain;
}

.perfil-empresa span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-mid);
}

/* ─────────────────────────────────────────
   9. NOTÍCIAS E EVENTOS
───────────────────────────────────────── */
.noticias-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.noticias-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.noticias-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

/* News items */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--trans-mid);
}

.news-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--border-gold);
}

.news-image {
  overflow: hidden;
  background: var(--bg-light);
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.news-item:hover .news-image img {
  transform: scale(1.08);
}

.news-details {
  padding: 20px 20px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  background: rgba(161, 125, 36, .12);
  color: var(--gold-dark);
  transition: all var(--trans-fast);
}

.news-tag:hover {
  background: var(--gold-dark);
  color: #fff;
}

.news-tag.tag-eventos {
  background: rgba(51, 95, 70, .12);
  color: var(--green);
}

.news-tag.tag-eventos:hover {
  background: var(--green);
  color: #fff;
}

.news-date {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.news-date i {
  color: var(--gold-dark);
  font-size: 11px;
}

.news-details h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
}

.news-details h3 a {
  transition: color var(--trans-fast);
}

.news-details h3 a:hover {
  color: var(--gold-dark);
}

.news-details p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-ler-mais {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-dark);
  margin-top: auto;
  transition: gap var(--trans-fast);
}

.btn-ler-mais:hover {
  gap: 10px;
}

/* Sidebar de eventos */
.eventos-sidebar {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  position: sticky;
  top: 140px;
}

.sidebar-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.sidebar-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--grad-gold);
}

.eventos-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 20px;
}

.evento-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.evento-item:last-child {
  border-bottom: none;
}

.evento-data {
  flex-shrink: 0;
  width: 48px;
  height: 52px;
  background: var(--grad-gold);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.evento-data .dia {
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.evento-data .mes {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.evento-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 6px;
}

.evento-info p {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 3px;
}

.evento-info p i {
  color: var(--gold-dark);
  font-size: 10px;
  width: 10px;
}

/* ─────────────────────────────────────────
   10. GALERIA
───────────────────────────────────────── */
.galeria-section {
  padding: 100px 0;
  background: var(--bg-white);
}

/* Tabs */
.galeria-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  transition: all var(--trans-fast);
  position: relative;
  bottom: -2px;
  border-bottom: 2px solid transparent;
}

.tab-btn:hover {
  color: var(--gold-dark);
  background: var(--bg-light);
}

.tab-btn.active {
  color: var(--gold-dark);
  background: var(--bg-cream);
  border-bottom-color: var(--gold-dark);
}

/* Tab content */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Grid de fotos */
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.galeria-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  background: var(--bg-light);
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.galeria-item:hover img {
  transform: scale(1.08);
}

.galeria-overlay {
  position: absolute;
  inset: 0;
  background: rgba(161, 125, 36, .7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--trans-mid);
}

.galeria-item:hover .galeria-overlay {
  opacity: 1;
}

.galeria-overlay i {
  color: #fff;
  font-size: 24px;
}

.galeria-actions {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

/* Videos placeholder */
.videos-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 80px 24px;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border);
  text-align: center;
}

.videos-placeholder i {
  font-size: 48px;
  color: var(--text-light);
}

.videos-placeholder p {
  font-size: 15px;
  color: var(--text-muted);
}

/* Documentos */
.documentos-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.documento-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  transition: all var(--trans-fast);
}

.documento-item:hover {
  background: var(--bg-cream);
  border-color: var(--border-gold);
}

.doc-icon {
  width: 48px;
  height: 48px;
  background: rgba(161, 125, 36, .12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doc-icon i {
  font-size: 22px;
  color: var(--gold-dark);
}

.doc-info {
  flex: 1;
}

.doc-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.doc-info p {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* ─────────────────────────────────────────
   11. CTA SECTION
───────────────────────────────────────── */
.cta-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.cta-box {
  background: var(--green);
  border-radius: var(--radius-xl);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -80px;
  right: 200px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(241, 179, 28, .08);
  pointer-events: none;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: 40%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .04);
  pointer-events: none;
}

.cta-content h2 {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -.5px;
}

.cta-content p {
  font-size: 15px;
  color: rgba(255, 255, 255, .8);
  line-height: 1.7;
  max-width: 560px;
  margin-bottom: 32px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Stats */
.cta-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  min-width: 260px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 16px;
  background: rgba(255, 255, 255, .08);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, .1);
  transition: background var(--trans-fast);
}

.stat-item:hover {
  background: rgba(255, 255, 255, .12);
}

.stat-number {
  font-size: 28px;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 11.5px;
  color: rgba(255, 255, 255, .75);
  font-weight: 500;
  letter-spacing: .3px;
  text-align: center;
}

/* ─────────────────────────────────────────
   12. FOOTER
───────────────────────────────────────── */
.footer {
  background: #1a1208;
  color: rgba(255, 255, 255, .75);
}

.footer-main {
  padding: 72px 0 48px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.footer-about p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .6);
  line-height: 1.75;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .6);
  font-size: 13px;
  transition: all var(--trans-fast);
}

.footer-social a:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
  transform: translateY(-2px);
}

.footer-title {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, .6);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--trans-fast);
}

.footer-links li a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--trans-fast);
}

.footer-links li a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-links li a:hover::before {
  width: 12px;
}

.footer-contact p {
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.footer-contact i {
  color: var(--gold);
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact a {
  color: rgba(255, 255, 255, .6);
  transition: color var(--trans-fast);
}

.footer-contact a:hover {
  color: var(--gold);
}

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .4);
}

.footer-policies {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.footer-policies span {
  color: rgba(255, 255, 255, .2);
}

.footer-policies a {
  color: rgba(255, 255, 255, .4);
  transition: color var(--trans-fast);
}

.footer-policies a:hover {
  color: var(--gold);
}

/* ─────────────────────────────────────────
   13. LIGHTBOX
───────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--trans-mid);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.lightbox-content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 80px rgba(0, 0, 0, .6);
}

#lightboxCaption {
  color: rgba(255, 255, 255, .8);
  text-align: center;
  font-size: 14px;
  margin-top: 12px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  transition: all var(--trans-fast);
  z-index: 1;
}

.lightbox-close:hover {
  background: var(--gold-dark);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  transition: all var(--trans-fast);
}

.lightbox-prev {
  left: 16px;
}

.lightbox-next {
  right: 16px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold-dark);
}

/* ─────────────────────────────────────────
   14. BOTÕES FLUTUANTES
───────────────────────────────────────── */
/* WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
  z-index: 800;
  transition: all var(--trans-mid);
  animation: waPulse 2.5s ease-in-out infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(37, 211, 102, .5);
}

@keyframes waPulse {

  0%,
  100% {
    box-shadow: 0 6px 20px rgba(37, 211, 102, .4);
  }

  50% {
    box-shadow: 0 6px 32px rgba(37, 211, 102, .6), 0 0 0 8px rgba(37, 211, 102, .12);
  }
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--grad-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  box-shadow: var(--shadow-gold);
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all var(--trans-mid);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(161, 125, 36, .4);
}

/* ─────────────────────────────────────────
   15. ANIMAÇÕES DE ENTRADA (data-animate)
───────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

[data-animate="fadeInLeft"] {
  transform: translateX(-32px);
}

[data-animate="fadeInRight"] {
  transform: translateX(32px);
}

[data-animate].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ─────────────────────────────────────────
   16. PAGE OFFSET (header fixo)
───────────────────────────────────────── */
/* A hero section não precisa de offset pois tem min-height: 100vh */
/* As outras secções têm scroll-margin-top para os anchors */
section[id] {
  scroll-margin-top: 100px;
}

/* Redução de movimento para utilizadores com prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ─────────────────────────────────────────
   17. PÁGINAS INTERNAS (inner pages)
───────────────────────────────────────── */
/* Page hero para páginas internas */
.page-hero {
  padding: calc(var(--header-height) + 60px) 0 60px;
  background: var(--green);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/bg-banner.png') center/cover no-repeat;
  opacity: .1;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, .75);
  max-width: 560px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--gold);
}

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

.breadcrumb span {
  opacity: .4;
}

/* Conteúdo de página interna */
.page-content {
  padding: 80px 0;
}

/* ─────────────────────────────────────────
   18. FORMULÁRIOS
───────────────────────────────────────── */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 7px;
}

.form-label .required {
  color: #e53e3e;
  margin-left: 3px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 14px;
  color: var(--text-dark);
  background: #fff;
  transition: border-color var(--trans-fast), box-shadow var(--trans-fast);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(161, 125, 36, .12);
  outline: none;
  /* outline personalizado via :focus-visible */
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

/* Checkbox / Radio estilizado */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--gold-dark);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-check-label {
  font-size: 13.5px;
  color: var(--text-mid);
  line-height: 1.5;
}

/* ─────────────────────────────────────────
   19. ALERTAS / MENSAGENS
───────────────────────────────────────── */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  border-left: 4px solid;
}

.alert i {
  margin-top: 1px;
  flex-shrink: 0;
}

.alert-success {
  background: #f0fdf4;
  color: #166534;
  border-color: #22c55e;
}

.alert-error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #ef4444;
}

.alert-warning {
  background: #fffbeb;
  color: #92400e;
  border-color: #f59e0b;
}

.alert-info {
  background: #eff6ff;
  color: #1e40af;
  border-color: #3b82f6;
}

/* ─────────────────────────────────────────
   20. SPINNER / LOADING
───────────────────────────────────────── */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, .3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ─────────────────────────────────────────
   21. RESPONSIVIDADE
───────────────────────────────────────── */

/* Tablet grande — ≤ 1024px */
@media (max-width: 1024px) {
  :root {
    --header-height: 110px;
  }

  .destaque-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .cta-box {
    grid-template-columns: 1fr;
    padding: 48px;
  }

  .cta-stats {
    grid-template-columns: repeat(4, 1fr);
    min-width: auto;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    align-items: center;
    gap: 16px;
  }

  .hero-image {
    min-height: 300px;
    width: 100%;
  }

  /* Blob SVG: limita a altura em tablet */
  .hero-blob-svg {
    max-width: 380px;
    max-height: 420px;
  }

  .hero-title {
    font-size: clamp(26px, 5vw, 42px);
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-text {
    margin: 0 auto 28px;
  }

  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title-line {
    margin: 0 auto 16px;
  }

  .noticias-layout {
    grid-template-columns: 1fr;
  }

  .eventos-sidebar {
    position: static;
  }
}

/* ════════════════════════════════════════
   RESPONSIVO — HEADER (breakpoints)
════════════════════════════════════════ */

/* Ocultar CTAs de texto em telas médias */
@media (max-width: 1100px) {

  .hdr-cta-register span,
  .hdr-cta-login span {
    display: none;
  }

  .hdr-cta-register,
  .hdr-cta-login {
    padding: 8px 12px;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    justify-content: center;
  }

  .topbar-center {
    display: none;
  }
}

/* Tablet / Mobile — ≤ 900px */
@media (max-width: 900px) {
  :root {
    --topbar-h: 0px;
    /* topbar oculta em mobile */
    --header-h: 64px;
    --header-height: 64px;
    --hero-top: calc(64px + 40px);
    /* 104px — header mobile + respiração */
    --hero-top-wave: calc(64px + 44px);
    /* 108px */
  }

  .topbar {
    display: none;
  }

  .hdr-nav,
  .hdr-cta-register,
  .hdr-cta-login,
  .hdr-search-btn {
    display: none;
  }

  .hdr-hamburger {
    display: flex;
  }

  .header {
    top: 0 !important;
    /* sem topbar → header no topo */
    height: var(--header-h);
  }

  .hdr-logo-img {
    height: 42px;
  }

  .header.header-compact .hdr-logo-img {
    height: 36px;
  }
}

/* Tablet — ≤ 768px */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
    --hero-top: calc(64px + 32px);
    /* 96px */
    --hero-top-wave: calc(64px + 36px);
    /* 100px */
  }

  .pilares-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .pilar-card+.pilar-card {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, .15);
  }

  .pilar-card {
    padding: 36px 28px;
  }

  .destaque-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  .news-image {
    height: 180px;
  }

  .news-details {
    padding: 16px;
  }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .cta-box {
    padding: 36px 28px;
  }

  .cta-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile — ≤ 480px */
@media (max-width: 480px) {
  :root {
    --gutter: 16px;
    --hero-top: calc(64px + 24px);
    /* 88px — mobile pequeno */
    --hero-top-wave: calc(64px + 28px);
    /* 92px */
  }

  .destaque-grid {
    grid-template-columns: 1fr;
  }

  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-actions {
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .galeria-tabs {
    gap: 4px;
  }

  .tab-btn {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* ─────────────────────────────────────────
   22. PRINT
───────────────────────────────────────── */
@media print {

  .header,
  .footer,
  .whatsapp-btn,
  .back-to-top,
  .mobile-menu,
  .mobile-overlay,
  .lightbox {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    text-decoration: underline;
  }
}

/* ════════════════════════════════════════════════════════════════
   23. PAGE TRANSITION SYSTEM
   Overlay de transição entre páginas — transitions.js
════════════════════════════════════════════════════════════════ */

/* Overlay principal */
#page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg,
      rgba(13, 26, 18, 0.98) 0%,
      rgba(26, 46, 32, 0.97) 50%,
      rgba(10, 15, 12, 0.99) 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity;
}

/* Estado: entrada (saindo da página) */
#page-transition-overlay.pto-enter {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Estado: saída (entrando na nova página) */
#page-transition-overlay.pto-exit {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 1, 1);
}

/* Container interno do overlay */
.pto-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  transform: translateY(0);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

#page-transition-overlay.pto-enter .pto-inner {
  transform: translateY(0);
  animation: pto-pulse 1.6s ease-in-out infinite;
}

@keyframes pto-pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.65;
  }
}

/* Logo no overlay */
.pto-logo {
  width: 140px;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  filter: brightness(1.1);
}

/* Barra de progresso */
.pto-bar {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}

.pto-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), #ffd966);
  border-radius: 99px;
  box-shadow: 0 0 8px rgba(241, 179, 28, .6);
  transform-origin: left;
  /* transition controlada via JS */
}

/* ════════════════════════════════════════════════════════════════
   24. PAGE ENTER ANIMATION (conteúdo da nova página)
════════════════════════════════════════════════════════════════ */

/* Estado inicial ao entrar na página — aplicado pelo JS */
body.page-entering {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.page-entered {
  opacity: 1;
  transform: translateY(0);
}

/* ════════════════════════════════════════════════════════════════
   25. PROGRESSIVE IMAGE LOADING
   Skeleton placeholder + fade-in ao carregar imagens
════════════════════════════════════════════════════════════════ */

/* Estado: a carregar */
img.img-loading {
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity;
}

/* Estado: carregada — fade-in suave */
img.img-loaded {
  opacity: 1;
  transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Estado: erro ao carregar */
img.img-error {
  opacity: 0.3;
  filter: grayscale(1);
}

/* Skeleton para imagens com dimensões conhecidas */
img.img-skeleton-child {
  background: linear-gradient(90deg,
      var(--bg-light) 25%,
      #ede9e0 50%,
      var(--bg-light) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.6s ease-in-out infinite;
}

img.img-skeleton-child.img-loaded {
  background: none;
  animation: none;
}

@keyframes skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Imagens críticas (hero) — sem skeleton, direto ao fade */
img[fetchpriority="high"],
img.hero-img {
  opacity: 1;
  /* nunca fica invisible — conteúdo crítico */
}

img[fetchpriority="high"].img-loaded,
img.hero-img.img-loaded {
  opacity: 1;
  transition: none;
  /* carregamento imediato */
}

/* ════════════════════════════════════════════════════════════════
   26. ACESSIBILIDADE — Reduced Motion override para transições
════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {

  #page-transition-overlay,
  #page-transition-overlay.pto-enter,
  #page-transition-overlay.pto-exit,
  body.page-entering,
  body.page-entered {
    transition: none !important;
    animation: none !important;
  }

  /* Overlay ainda aparece mas sem animação */
  #page-transition-overlay.pto-enter {
    opacity: 1;
    visibility: visible;
  }

  #page-transition-overlay.pto-exit {
    opacity: 0;
    visibility: hidden;
  }

  img.img-loading,
  img.img-loaded {
    opacity: 1 !important;
    transition: none !important;
  }

  img.img-skeleton-child {
    animation: none !important;
  }
}