/* ============================================================
   JARDIMCOOPE v3 — Design System
   Tema: Moderno, limpo, assimétrico, verde institucional
   ============================================================ */

/* --- Variáveis --- */
:root {
  --green:        #2D6A4F;
  --green-dark:   #1B4332;
  --green-mid:    #40916C;
  --green-light:  #74C69D;
  --green-pale:   #D8F3DC;
  --gold:         #D4A017;
  --gold-light:   #F0C040;
  --white:        #FFFFFF;
  --off-white:    #F8FAF9;
  --gray-50:      #F4F6F5;
  --gray-100:     #E8EDEB;
  --gray-300:     #B0BDB8;
  --gray-500:     #6B7B75;
  --gray-700:     #374740;
  --black:        #0D1512;

  --font-head:    'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius-sm:    6px;
  --radius:       12px;
  --radius-lg:    20px;
  --radius-xl:    32px;

  --shadow-sm:    0 2px 8px rgba(0,0,0,0.06);
  --shadow:       0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:    0 20px 60px rgba(0,0,0,0.14);

  --transition:   0.25s cubic-bezier(0.4,0,0.2,1);

  --max-w:        1200px;
  --nav-h:        76px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVBAR — CSS-only mobile menu (checkbox hack)
   ============================================================ */

/* Esconder o checkbox de controlo */
#nav-toggle { display: none; }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: var(--green-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.12);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 32px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }

.brand-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.5px;
  transition: color var(--transition);
}

.brand-sub {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color var(--transition);
}

.site-header.scrolled .brand-name { color: var(--green-dark); }
.site-header.scrolled .brand-sub  { color: var(--green-mid); }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 50px;
  color: rgba(255,255,255,0.85);
  transition: all var(--transition);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.15);
}



/* CTA button */
.nav-cta {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--black) !important;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: 50px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(212,160,23,0.35);
}

/* Hamburger label — CSS-only toggle */
.nav-hamburger-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.nav-hamburger-label span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile nav — CSS-only */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 16px 24px 24px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  border-top: 3px solid var(--green);
}

/* Mostrar mobile nav quando checkbox está checked */
#nav-toggle:checked ~ .mobile-nav { display: flex; }

/* Animar hamburger quando aberto */
#nav-toggle:checked ~ .site-header .nav-hamburger-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle:checked ~ .site-header .nav-hamburger-label span:nth-child(2) { opacity: 0; }
#nav-toggle:checked ~ .site-header .nav-hamburger-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav-link {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-700);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.mobile-nav-link:hover {
  background: var(--green-pale);
  color: var(--green-dark);
}

.mobile-nav-cta {
  margin-top: 8px;
  display: block;
  text-align: center;
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
  padding: 12px;
  border-radius: 50px;
}

/* ============================================================
   HERO — Layout assimétrico com imagem à direita
   ============================================================ */
.hero {
  min-height: 100vh;
  background: var(--green-dark);
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 60px) 60px 80px;
  position: relative;
  z-index: 2;
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.hero-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--green-dark) 0%, transparent 40%);
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 28px;
  width: fit-content;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-light);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title em {
  font-style: normal;
  color: var(--gold);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  max-width: 440px;
  margin-bottom: 40px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
  margin-top: 4px;
  display: block;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212,160,23,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,106,79,0.35);
}

.btn-ghost {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-ghost:hover {
  background: var(--green);
  color: var(--white);
}

.btn-sm { padding: 9px 20px; font-size: 0.82rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ============================================================
   SECÇÕES GENÉRICAS
   ============================================================ */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green-mid);
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--green-mid);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-title em {
  font-style: normal;
  color: var(--green-mid);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 560px;
  line-height: 1.75;
}

/* ============================================================
   SOBRE NÓS — Layout bento grid
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.about-badge {
  position: absolute;
  bottom: 28px;
  right: -20px;
  background: var(--gold);
  color: var(--black);
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}

.about-badge-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.about-badge-text {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-top: 4px;
}

.about-content { padding-left: 16px; }

.mvv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.mvv-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 20px;
  border-left: 3px solid var(--green-mid);
  transition: all var(--transition);
}

.mvv-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-left-color: var(--gold);
}

.mvv-card h4 {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green-mid);
  margin-bottom: 8px;
}

.mvv-card p {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================================
   RESPOSTAS SOCIAIS — Cards horizontais
   ============================================================ */
.bg-green-pale { background: var(--green-pale); }
.bg-off-white  { background: var(--off-white); }
.bg-green-dark { background: var(--green-dark); }

.social-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.social-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.social-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.social-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.social-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.social-card:hover .social-card-img img { transform: scale(1.06); }

.social-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--green);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
}

.social-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.social-card-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.social-card-desc {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.social-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
  transition: gap var(--transition);
}
.social-card-link:hover { gap: 10px; color: var(--green-dark); }

/* ============================================================
   STATS BANNER
   ============================================================ */
.stats-banner {
  background: var(--green);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {}

.stat-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green-light);
  display: block;
  margin-top: 8px;
}

/* ============================================================
   NOTÍCIAS — Grid assimétrico
   ============================================================ */
.news-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--green-light);
}

.news-card-img {
  height: 260px;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-img img { transform: scale(1.04); }

.news-card-body { padding: 28px; }

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

.news-tag {
  background: var(--green-pale);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
}

.news-date {
  font-size: 0.78rem;
  color: var(--gray-300);
  font-weight: 500;
}

.news-card-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.3;
  margin-bottom: 10px;
}

.news-card-desc {
  font-size: 0.88rem;
  color: var(--gray-500);
  line-height: 1.65;
  margin-bottom: 20px;
}

.news-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
}
.news-card-link:hover { gap: 10px; }

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

.news-side-item {
  display: flex;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.news-side-item:hover {
  box-shadow: var(--shadow-sm);
  border-color: var(--green-light);
}

.news-side-img {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
}

.news-side-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-side-title {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.3;
  margin-bottom: 6px;
}

.news-side-date {
  font-size: 0.75rem;
  color: var(--gray-300);
}

/* ============================================================
   COMO AJUDAR — Banner com fundo verde
   ============================================================ */
.help-section {
  background: var(--green-dark);
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

.help-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.help-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.help-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.help-content .section-label { color: var(--green-light); }
.help-content .section-label::before { background: var(--green-light); }
.help-content .section-title { color: var(--white); }
.help-content .section-desc { color: rgba(255,255,255,0.65); }

.irs-highlight {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 32px;
}

.irs-highlight h4 {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 12px;
}

.irs-nif {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 4px;
  display: block;
  margin-bottom: 8px;
}

.irs-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.help-image {
  position: relative;
}

.help-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  opacity: 0.85;
}

/* ============================================================
   CONTACTO RÁPIDO — Barra inferior
   ============================================================ */
.contact-bar {
  background: var(--green);
  padding: 40px 0;
}

.contact-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.contact-bar-info {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.contact-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
}

.contact-bar-item a { color: var(--white); font-weight: 600; }
.contact-bar-item a:hover { color: var(--gold-light); }

.contact-bar-icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ============================================================
   RODAPÉ
   ============================================================ */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.65);
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr;
  gap: 48px;
  padding: 60px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand-logo img {
  height: 44px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-brand-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
}

.footer-brand-sub {
  font-size: 0.62rem;
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 16px;
}

.footer-contact-item {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact-item a { color: rgba(255,255,255,0.75); }
.footer-contact-item a:hover { color: var(--gold-light); }

.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 18px;
}

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

.footer-links li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}

.footer-links li a::before {
  content: '›';
  color: var(--green-light);
  font-size: 1rem;
}

.footer-links li a:hover { color: var(--white); }

/* Livro de Reclamações */
.livro-rec-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: rgba(212,160,23,0.1);
  border: 2px solid rgba(212,160,23,0.35);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
  width: 100%;
}

.livro-rec-btn:hover {
  background: rgba(212,160,23,0.2);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.lrb-icon { font-size: 1.8rem; flex-shrink: 0; }

.lrb-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-light);
}

.lrb-text span {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ============================================================
   PÁGINA INTERNA — Hero compacto
   ============================================================ */
.page-hero {
  background: var(--green-dark);
  padding: calc(var(--nav-h) + 56px) 0 56px;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.page-hero-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green-light);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-hero-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--green-light);
}

.page-hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  line-height: 1.15;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}

.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ============================================================
   PÁGINA INSTITUIÇÃO
   ============================================================ */
.inst-sections { display: flex; flex-direction: column; gap: 80px; }

.inst-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.inst-section-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--green-pale);
  line-height: 1;
  flex-shrink: 0;
  width: 64px;
}

.inst-section-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--green-dark);
}

.inst-section-divider {
  height: 1px;
  background: var(--gray-100);
  margin: 0;
}

/* Órgãos Sociais */
.orgaos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.orgao-card {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
  border-top: 4px solid var(--green);
}

.orgao-title {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-bottom: 20px;
}

.orgao-member {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}

.orgao-member:last-child { border-bottom: none; }

.orgao-role {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-mid);
}

.orgao-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* Documentos */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all var(--transition);
}

.doc-item:hover {
  background: var(--white);
  border-color: var(--green-light);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.doc-icon {
  width: 44px;
  height: 44px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.doc-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-dark);
  flex: 1;
}

.doc-arrow {
  color: var(--green-mid);
  font-size: 1rem;
}

/* ============================================================
   PÁGINA RESPOSTAS SOCIAIS
   ============================================================ */
.social-detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
}

.social-detail-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 420px;
}

.social-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inscricoes-box {
  background: var(--green-pale);
  border: 1px solid var(--green-light);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 28px;
}

.inscricoes-box h4 {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green);
  margin-bottom: 16px;
}

.inscricoes-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inscricao-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--gray-700);
}

.inscricao-item::before {
  content: '→';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   PÁGINA NOTÍCIAS
   ============================================================ */
.noticias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ============================================================
   PÁGINA CONTACTOS
   ============================================================ */
.contactos-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: start;
}

.contacto-info-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--gray-100);
}

.contacto-info-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-100);
}

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

.contacto-info-icon {
  width: 44px;
  height: 44px;
  background: var(--green-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contacto-info-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green-mid);
  display: block;
  margin-bottom: 4px;
}

.contacto-info-value {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-700);
}

.contacto-info-value a { color: var(--green); }
.contacto-info-value a:hover { color: var(--green-dark); }

/* Formulário */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

.form-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 28px;
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--gray-700);
  background: var(--off-white);
  transition: all var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--green-mid);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(64,145,108,0.12);
}

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

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.form-check input { margin-top: 2px; accent-color: var(--green); }
.form-check a { color: var(--green); font-weight: 600; }

/* Mapa */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
  height: 360px;
  border: 1px solid var(--gray-100);
}

.map-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* RAL */
.ral-box {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.ral-box strong { color: var(--green-dark); }
.ral-box a { color: var(--green); }

/* ============================================================
   COMO AJUDAR — Página interna
   ============================================================ */
.ajudar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.ajudar-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  transition: all var(--transition);
  border-top: 4px solid var(--green);
}

.ajudar-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.ajudar-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
  display: block;
}

.ajudar-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.ajudar-desc {
  font-size: 0.87rem;
  color: var(--gray-500);
  line-height: 1.65;
}

.irs-box {
  background: var(--green-dark);
  border-radius: var(--radius-xl);
  padding: 56px;
  text-align: center;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}

.irs-box::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.irs-box-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green-light);
  margin-bottom: 12px;
}

.irs-box-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}

.irs-box-nif {
  font-family: var(--font-head);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--gold);
  letter-spacing: 6px;
  display: block;
  margin: 20px 0 12px;
}

.irs-box-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   PROJETOS
   ============================================================ */
.projetos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.projeto-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  display: flex;
  transition: all var(--transition);
}

.projeto-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--green-light);
}

.projeto-card-img {
  width: 180px;
  flex-shrink: 0;
  overflow: hidden;
}

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

.projeto-card-body {
  padding: 24px;
  flex: 1;
}

.projeto-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-mid);
  margin-bottom: 8px;
}

.projeto-card-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.projeto-card-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================================
   POLÍTICA DE PRIVACIDADE
   ============================================================ */
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-dark);
  margin: 40px 0 14px;
}

.privacy-content p {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 14px;
}

.privacy-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 14px;
}

.privacy-content ul li {
  font-size: 0.92rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 6px;
}

/* ============================================================
   UTILITÁRIOS
   ============================================================ */
.text-center { text-align: center; }
.text-white  { color: var(--white); }
.mb-0  { margin-bottom: 0; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* Animações de entrada — CSS puro, sem JS */
.fade-up {
  animation: fadeUp 0.7s ease both;
}
.fade-up:nth-child(2) { animation-delay: 0.1s; }
.fade-up:nth-child(3) { animation-delay: 0.2s; }
.fade-up:nth-child(4) { animation-delay: 0.3s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Back to top — link âncora CSS puro */
.back-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  transition: all var(--transition);
  z-index: 500;
  text-decoration: none;
}
.back-top:hover { background: var(--green-dark); transform: translateY(-3px); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left { padding: calc(var(--nav-h) + 40px) 32px 60px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-image-wrap { display: none; }
  .about-content { padding-left: 0; }
  .help-inner { grid-template-columns: 1fr; gap: 40px; }
  .help-image { display: none; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .news-grid { grid-template-columns: 1fr; }
  .social-detail-hero { grid-template-columns: 1fr; }
  .social-detail-img { height: 280px; }
  .contactos-grid { grid-template-columns: 1fr; }
  .orgaos-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger-label { display: flex; }
  .social-cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ajudar-grid { grid-template-columns: 1fr; }
  .docs-grid { grid-template-columns: 1fr; }
  .projetos-grid { grid-template-columns: 1fr; }
  .noticias-grid { grid-template-columns: 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .contact-bar-inner { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .irs-box { padding: 36px 24px; }
  .irs-box-nif { font-size: 2.5rem; }
  .form-card { padding: 24px; }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
