*{margin:0;padding:0;box-sizing:border-box}
:root{
  --green:#006838;
  --green-dark:#004d26;
  --green-mid:#008040;
  --green-light:#e6f2ec;
  --gold:#c8a04a;
  --gold-light:#fdf6e3;
  --text:#1a1a1a;
  --text-muted:#555;
  --border:#d4d4d4;
  --bg:#f8f8f6;
  --white:#ffffff;
  --font-display:'Barlow Condensed', sans-serif;
  --font-body:'Manrope', sans-serif;
  --font-heading:'Barlow Condensed', sans-serif;
  --font-menu:'Inter', sans-serif;
  --font-button:'Inter', sans-serif;
  --fw-hero:800;
  --fw-heading:700;
  --fw-menu:500;
  --fw-body:400;
  --fw-button:600;
  --fw-number:700;
}
body{font-family:var(--font-body);font-weight:var(--fw-body);color:var(--text);background:var(--white);font-size:14px;line-height:1.6;margin:0;padding:0}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

/* =========================================================
   BREAKPOINTS PADRÃO (usar sempre estes valores em @media)
   Escrever sempre como: @media (max-width: 1024px) { ... }
   =========================================================
   1200px  -> teto do container / grandes ecrãs
   1024px  -> tablet paisagem / desktop pequeno
   768px   -> tablet retrato
   600px   -> telemóvel grande / phablet
   480px   -> telemóvel
   359px   -> telemóvel muito pequeno (tier extra, usar só quando necessário)
   ========================================================= */

/* =========================================================
   SPLASH SCREEN
========================================================= */
#splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#splash.hide {
  opacity: 0;
  visibility: hidden;
}

.splash-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  padding: 0 24px;
}

.splash-logo {
  width: 90px;
  height: auto;
  animation: splash-pop 0.6s ease forwards;
}

@keyframes splash-pop {
  0%   { opacity: 0; transform: scale(0.7); }
  100% { opacity: 1; transform: scale(1); }
}

.splash-name {
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0;
  animation: splash-fade 0.5s ease 0.4s forwards;
}

.splash-tagline {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0;
  animation: splash-fade 0.5s ease 0.6s forwards;
}

@keyframes splash-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.splash-bar-wrap {
  width: 200px;
  height: 3px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  overflow: hidden;
}

.splash-bar {
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 3px;
  animation: splash-progress 1.8s ease forwards;
}

@keyframes splash-progress {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}

/* PLATFORMS BAR */
.platforms-bar{background:#006838;border-bottom:1px solid rgba(255,255,255,0.1);padding:7px 0}
.platforms-inner{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.platforms-label{color:rgba(255,255,255,0.55);font-size:13px;font-weight:600;white-space:nowrap;margin-right:6px}
.platforms-bar a{color:rgba(255,255,255,0.85);font-size:13px;font-weight:600;padding:3px 12px;border-radius:20px;border:1px solid rgba(255,255,255,0.18);background:rgba(255,255,255,0.07);white-space:nowrap;transition:all 0.2s}
.platforms-bar a:hover{background:var(--gold);color:#1a1a0a;border-color:var(--gold)}

/* TOP BAR */
.topbar{background:var(--green);color:rgba(255,255,255,0.85);font-size:13px;padding:6px 0}
.topbar .inner{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;justify-content:space-between;align-items:center;gap:16px}
.topbar-links{display:flex;gap:20px}
.topbar-links a{color:rgba(255,255,255,0.85);transition:color 0.2s}
.topbar-links a:hover{color:#fff}
.topbar-audience{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.audience-group{display:flex;gap:6px}
.audience-group + .audience-group{padding-left:14px;border-left:1px solid rgba(255,255,255,0.25)}
.audience-btn{background:rgba(255,255,255,0.12);border:1px solid rgba(255,255,255,0.2);color:#fff;padding:2px 10px;border-radius:2px;font-size:10px;cursor:pointer;font-family:var(--font-button);transition:background 0.2s;display:inline-flex;align-items:center;text-decoration:none;line-height:1.6}
.audience-btn:hover,.audience-btn.active{background:var(--gold);border-color:var(--gold);color:#1a1a0a}
.audience-dropdown{position:relative;display:inline-flex}
.audience-btn-trigger{font-family:inherit}
.audience-dropdown-menu{display:none;flex-direction:column;position:absolute;top:100%;left:0;margin-top:6px;min-width:150px;background:var(--white);border:1px solid var(--border);border-top:3px solid var(--gold);box-shadow:0 8px 30px rgba(0,0,0,0.15);border-radius:2px;overflow:hidden;z-index:600}
.audience-dropdown:hover .audience-dropdown-menu,
.audience-dropdown:focus-within .audience-dropdown-menu,
.audience-dropdown.open .audience-dropdown-menu{display:flex}
.audience-dropdown-menu a{display:block;padding:9px 14px;font-size:12px;color:var(--text-muted);text-decoration:none;white-space:nowrap;transition:background 0.2s,color 0.2s}
.audience-dropdown-menu a:hover{background:var(--green-light);color:var(--green)}

/* HEADER */
header{background:var(--white);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:1000;box-shadow:0 2px 8px rgba(0,0,0,0.06);margin:0;padding:0}
.header-inner{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;align-items:center;justify-content:space-between;height:72px;gap:24px}
.logo-area{display:flex;align-items:center;gap:17px}
.logo-circle{width:52px;height:52px;background:var(--green);border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff;font-family:var(--font-heading);font-weight:700;font-size:15px;flex-shrink:0;letter-spacing:0.5px}
.logo-text{line-height:1.2}
.logo-text .name{font-family:var(--font-heading);font-size:16.5px;font-weight:800;color:var(--green-dark)}
.logo-text .sub{font-size:10.5px;color:var(--text-muted);letter-spacing:0.5px;text-transform:uppercase}
.header-search{display:flex;align-items:center;gap:8px;position:relative}
.header-search input{border:1px solid var(--border);border-radius:4px;padding:7px 14px;font-size:13px;font-family:var(--font-body);width:220px;outline:none;transition:border-color 0.2s;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:var(--white)}
.header-search input::-webkit-search-decoration,.header-search input::-webkit-search-cancel-button,.header-search input::-webkit-search-results-button,.header-search input::-webkit-search-results-decoration{-webkit-appearance:none;display:none}
.header-search input:focus{border-color:var(--green)}
.header-search button{background:var(--green);color:#fff;border:none;border-radius:4px;padding:8px 14px;cursor:pointer;font-size:12px;transition:background 0.2s;font-family:var(--font-button)}
.header-search button:hover{background:var(--green-dark)}

.header-search-results{
  display:none;
  position:absolute;
  top:calc(100% + 8px);
  right:0;
  width:340px;
  max-height:400px;
  overflow-y:auto;
  background:var(--white);
  border:1px solid var(--border);
  border-top:3px solid var(--gold);
  border-radius:8px;
  box-shadow:0 8px 30px rgba(0,0,0,0.14);
  z-index:2000;
}
.header-search-results.open{display:block}
.header-search-result{
  display:block;
  padding:10px 16px;
  font-size:13px;
  color:var(--text);
  border-bottom:1px solid var(--border);
  transition:background 0.15s;
}
.header-search-result:last-child{border-bottom:none}
.header-search-result:hover,.header-search-result.active{background:var(--green-light)}
.header-search-result .hsr-title{display:block;font-weight:600;color:var(--green-dark)}
.header-search-result .hsr-section{display:block;font-size:11px;color:var(--text-muted);margin-top:2px;text-transform:uppercase;letter-spacing:0.5px}
.header-search-empty{padding:14px 16px;font-size:13px;color:var(--text-muted);text-align:center}

/* =========================================================
   PÁGINA DE RESULTADOS DA PESQUISA (resultados.html)
========================================================= */
.site-search-page{background:var(--bg);min-height:60vh}
.site-search-hero{background:#F1F2F2;padding:48px 24px;text-align:center}
.site-search-hero-inner{max-width:700px;margin:0 auto}
.site-search-hero h1{color: #000;font-family:var(--font-heading);font-size:28px;margin-bottom:10px}
.site-search-summary{color:#000;font-size:14px}
.site-search-body{max-width:800px;margin:0 auto;padding:32px 24px 64px}
.site-search-results{display:flex;flex-direction:column;gap:12px}
.site-search-item{display:flex;flex-direction:column;gap:4px;background:var(--white);border:1px solid var(--border);border-left:4px solid var(--green);border-radius:6px;padding:14px 18px;transition:box-shadow 0.2s,border-color 0.2s}
.site-search-item:hover{box-shadow:0 4px 14px rgba(0,0,0,0.08);}
.site-search-item .ssi-title{font-weight:550;color:var(--black);font-size:15px}
.site-search-item .ssi-section{font-size:11px;color:var(--text-muted);text-transform:uppercase;letter-spacing:0.5px}
.site-search-empty{text-align:center;color:var(--text-muted);padding:40px 20px;font-size:14px}

/* NAV */
nav{background:var(--green);border-bottom:3px solid var(--gold);position:sticky;top:73px;z-index: 999999;;margin:0;padding:0}
.nav-inner{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;align-items:stretch;justify-content:center;gap:0}
.nav-item{position:relative}

.nav-link{display:block;color:rgba(255,255,255,0.9);padding:14px 16px;font-size:15px;font-weight:600;letter-spacing:0.3px;white-space:nowrap;transition:background 0.2s,color 0.2s;cursor:pointer;font-family:var(--font-menu)}.nav-link:hover,.nav-item.active .nav-link{background:var(--green-dark);color:#fff}
.nav-item:hover .dropdown,.nav-item:focus-within .dropdown{display:flex}
.dropdown{display:none;position:absolute;top:100%;left:0;background:var(--white);border:1px solid var(--border);border-top:3px solid var(--white);box-shadow:0 8px 30px rgba(0,0,0,0.12);z-index:1500;min-width:580px;gap:0}
.dropdown-col{flex:1;padding:18px 12px;border-right:1px solid var(--border)}
.dropdown-col:last-child{border-right:none}
.dropdown-col h4{font-family:var(--font-menu);font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:0.5px;color:var(black);margin:0 12px 10px;padding-bottom:8px;border-bottom:1px solid var(--green-light)}
.dropdown-col a{
  display:block;
  font-family:var(--font-menu);
  font-weight:300;
  font-size:13.5px;
  color:var(--text-muted);
  padding:12px;
  margin:2px 0;
  border-radius:5px;
  transition:background 0.18s ease,color 0.18s ease;
}
.dropdown-col a:hover{background:var(--green-light);color:var(--green-dark)}

/* HERO */
.hero{position:relative;overflow:hidden;width:100%;height:500px;display:block;margin:0;padding:0;background-color:transparent;border-top:2px solid #fff}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;background-size:cover;background-position:center;background-repeat:no-repeat;display:none}
.hero-pattern{display:none}
.hero-content{display:none}
.hero-text{max-width:620px}
.hero-separator {
  height: 50px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.separator-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #b8902a;
  animation: pulse 1.5s ease-in-out infinite;
}

.separator-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.separator-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}
.hero-badge{display:inline-block;background:var(--gold);color:#1a1a0a;font-size:11px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;padding:4px 12px;border-radius:2px;margin-bottom:16px}
.hero-text h1{font-family:var(--font-heading);color:#fff;font-size:36px;font-weight:700;line-height:1.2;margin-bottom:20px}
.hero-text p{color:rgba(255,255,255,0.8);font-size:16px;line-height:1.7;margin-bottom:28px;max-width:560px}
.hero-btns{display:flex;gap:12px;flex-wrap:wrap}
.btn-primary{background:var(--gold);color:#1a1a0a;padding:12px 28px;border-radius:4px;font-weight:700;font-size:14px;transition:background 0.2s;border:none;cursor:pointer;font-family:var(--font-button)}
.btn-primary:hover{background:#b8902a}
.btn-outline{border:2px solid rgba(255,255,255,0.6);color:#fff;padding:11px 24px;border-radius:4px;font-weight:600;font-size:14px;transition:all 0.2s;font-family:var(--font-button);cursor:pointer;background:transparent}
.btn-outline:hover{border-color:#fff;background:rgba(255,255,255,0.1)}
.hero-quick{background:rgba(255,255,255,0.08);border:1px solid rgba(255,255,255,0.15);border-radius:8px;padding:24px}
.hero-quick h3{color:#fff;font-family:var(--font-heading);font-size:16px;margin-bottom:16px}
.hero-quick a{display:flex;align-items:center;gap:10px;color:rgba(255,255,255,0.85);padding:9px 0;border-bottom:1px solid rgba(255,255,255,0.1);font-size:14px;transition:color 0.2s}
.hero-quick a:last-child{border-bottom:none}
.hero-quick a:hover{color:#fff;padding-left:4px}
.hero-quick a::before{content:'›';color:var(--gold);font-size:18px;font-weight:700}

/* AUDIENCE SELECTOR */
.audience-section{background:var(--white);border-bottom:1px solid var(--border);padding:28px 0}
.audience-inner{max-width:1200px;margin:0 auto;padding:0 24px}
.audience-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-top:16px}
.audience-card{border:1px solid var(--border);border-radius:6px;padding:18px 16px;text-align:center;cursor:pointer;transition:all 0.2s}
.audience-card:hover{border-color:var(--green);background:var(--green-light)}
.audience-card .icon{font-size:28px;margin-bottom:8px}
.audience-card .label{font-size:13px;font-weight:600;color:var(--text);display:block}
.audience-card .sub{font-size:11px;color:var(--text-muted)}

/* STATS */
.stats-bar{
  background: linear-gradient(
    135deg,
    rgba(11,93,59,0.05),
    rgba(200,160,74,0.10)
  );
}

.stats-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(180px, 1fr));
  gap:16px;
}

.stat-card{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius:12px;
  padding:22px 18px;
  text-align:center;
  transition:0.25s ease;
}

.stat-icon{
  font-size: 26px;
  color: #0b5d3b;
  margin-bottom: 10px;
}

.stat-num{
  font-family:var(--font-heading);
  font-size:20px;
  font-weight:600;
 font-family:var(--font-body);
  color: #1f2937;
  margin-top:8px;
  display:block;
}

.stat-label{
  font-size: 15px;
  font-weight:600;
  color: #1f2937;
  margin-top: 6px;
}

.stat-sub{
  font-size: 12px;
  color: #6b7280;
  min-height: 16px;
  margin-top: 2px;
}
/* SECTION LABEL */
.section-label{display:inline-block;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:2px;color:var(--green);margin-bottom:8px}
.section-label.label-gold{color:var(--gold)}
.section-title.title-white{color:#fff}
.logo-img{height:70px;width:auto;object-fit:contain}
.footer-logo-img{height:44px;width:auto;}
.link-inline-flex{display:inline-flex}
.footer-inline-link{color:inherit}
.copyright-highlight{color:rgba(255,255,255,0.6)}
.gallery-img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}

/* GOOGLE TRANSLATE — esconder o widget nativo, manter só os botões PT/EN */
.gt-hidden{display:none!important}
.goog-te-banner-frame.skiptranslate{display:none!important}
body{top:0!important;position:static!important}
.goog-tooltip,.goog-tooltip:hover{display:none!important}
.goog-text-highlight{background:none!important;box-shadow:none!important}

/* SKIP LINK — acessibilidade de teclado */
.skip-link{position:absolute;left:-9999px;top:0;background:var(--green-dark);color:#fff;padding:12px 20px;z-index:2000;font-size:14px;font-weight:600;border-radius:0 0 6px 0}
.skip-link:focus{left:0}
.section-title{font-family:var(--font-heading);font-size:26px;font-weight:700;color:var(--text);margin-bottom:6px}
.section-sub{color:var(--text-muted);font-size:15px}
.section-description{color:var(--text-muted);font-size:14px;line-height:1.7;margin-top:10px}

/* MAIN GRID */
.main-section{padding:15px 0 30px 0;background:var(--bg)}
.main-inner{max-width:1200px;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:1fr 360px;gap:40px}

/* =========================
   NEWS SECTION HEADER
========================= */
.news-section{
  padding-bottom: 15px !important;
}

.main-section{
  padding-bottom: 30px;
}
.news-section .section-header{
  margin-bottom:8px;
}

.news-tabs{
  display:flex;
  gap:8px;
  margin-bottom:15px;
  border-bottom:2px solid var(--border);
  flex-wrap:wrap;
}

.news-tab{
  padding:12px 20px;
  background:none;
  border:none;
  font-size:14px;
  font-weight:600;
  color:var(--text-muted);
  cursor:pointer;
  transition:color 0.2s,border-color 0.2s;
  position:relative;
  font-family:var(--font-body);
  border-bottom:3px solid transparent;
  margin-bottom:-2px;
}

.news-tab:hover{
  color:var(--green);
}

.news-tab.active{
  color:var(--green);
  border-bottom-color:var(--green);
}

/* =========================
   GRID
========================= */
.news-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(250px, 1fr));
  gap:24px;
}

/* =========================
   CARD — REDESENHADO
========================= */
/* =========================
   CARD — REDESENHADO
========================= */
.news-card {
  background: var(--white);
   min-height: 400px;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  min-width: 0;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.10);
}

/* =========================
   BARRA DE COR (cards sem imagem)
========================= */
.news-topbar {
  height: 4px;
  width: 100%;
  flex-shrink: 0;
}

/* =========================
   IMAGEM — TOPO DO CARD
========================= */
.news-image {
  position: relative;
  width: 100%;
 height:130px;
  overflow: hidden;
  background: #dce8dc;
  flex-shrink: 0;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

/* BADGE — sobre a imagem */
.news-type {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 5px;
  text-transform: uppercase;
  z-index: 2;
}

/* BADGE — inline (cards sem imagem) */
.news-tipo-inline {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* =========================
   CORPO DO CARD
========================= */
.news-body{
  padding:16px 18px 10px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.news-title {
  font-size: 15px;
  font-weight: 700;
   font-family:var(--font-body);
  color: var(--text);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-excerpt {
  font-size: 12px;
  color: var(--green-dark);
     font-family:var(--font-body);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
    flex:1;
  min-height:90px;
}

/* =========================
   RODAPÉ DO CARD
========================= */
.news-footer {
  padding: 10px 18px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  margin-top: auto;
  gap: 8px;
}

.news-date {
  font-size: 11px;
     font-family:var(--font-body);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.news-date svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.news-link {
  font-size: 13px;
     font-family:var(--font-body);
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color 0.2s;
}

.news-link svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
}

.news-link:hover {
  color: var(--gold);
}

/* =========================
   LEGACY (compatibilidade)
========================= */
.news-img{
  position: relative;
  height: 180px;
  background: #ddd;
  overflow: hidden;
}

.news-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content{
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-desc{
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 10px;
   font-family:var(--font-body);
}
.news-load-more-container {
  text-align: center;
  margin-top: 28px;
}

.ver-mais-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
  padding: 10px 22px;
  background: linear-gradient(400deg, #006633, #00994d);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  font-family: var(--font-body);
}

.ver-mais-btn:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.ver-mais-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}


/* NEWS — LARGURA COMPLETA */
.news-full-section {
  padding: 60px 0;
  background: var(--bg);
}

.news-full-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.news-full-inner .news-slider-container {
  margin-top: 32px;
}

/* =========================
   SLIDER NOTÍCIAS (FIX FINAL)
========================= */

.news-slider-container {
  display: flex;
  align-items: center;
  gap: 0;
}

.news-slider {
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.news-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.news-nav.prev { margin-right: 12px; flex-shrink: 0; }
.news-nav.next { margin-left: 12px; flex-shrink: 0; }

/* CARD LIMPO (VERSÃO ÚNICA) */
.news-card {
background: #fff;
border: 1px solid var(--border);
border-radius: 14px;
overflow: hidden;
display: flex;
flex-direction: column;
}

/* imagem */
.news-image {
  height: 160px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* badge */
.news-type {
  position: absolute;
  margin: 10px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 4px;
}

/* body */
.news-body {
  padding: 14px;
  flex: 1;
}

.news-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.news-excerpt {
  font-size: 13px;
  color: var(--text-muted);
   font-family:var(--font-body);
}

/* footer */
.news-footer {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.news-link {
  color: var(--green);
  font-weight: 600;
  font-size: 13px;
}

/* =========================
BOTÕES SLIDER — igual aos parceiros
========================= */

.news-nav {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #fff;
  color: var(--green);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.10);
  transition: background .25s, color .25s, border-color .25s;
  z-index: 10;
}

.news-nav:hover {
  background: linear-gradient(400deg, #006633, #00994d);
  color: #fff;
  border-color: #006633;
}

.news-nav.prev { }
.news-nav.next { }

/* Bolinhas notícias — removidas, ficam só os botões */
.news-dots {
  display: none;
}

/* =========================
RESPONSIVO
========================= */
/* DESKTOP = 3 CARDS */
.news-card{
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: calc((100% - 40px) / 3);
}

/* TABLET = 2 CARDS */
@media (max-width: 1024px) {
    .news-card{
        flex: 0 0 calc((100% - 20px) / 2);
        min-width: calc((100% - 20px) / 2);
    }
}

/* MOBILE = 1 CARD */
@media (max-width: 600px) {
    .news-card{
        flex: 0 0 100%;
        min-width: 100%;
    }
}
/* NAV BUTTONS */

/* nav buttons lado a lado com a grelha */
.news-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.news-controls .news-nav {
  position: static;
  transform: none;
}

.news-controls .news-nav:hover {
  transform: scale(1);
}


/* =========================
   MISC
========================= */
.dropdown{
  border-radius:10px;
  overflow:hidden;
}

@media (max-width: 1024px) {
  .news-grid{
    grid-template-columns: 1fr;
  }
  
  .news-card img {
    height: 250px;
  }
}

@media (max-width: 600px) {
  .news-grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .news-card img {
    height: 220px;
  }
  
  .news-content {
    padding: 16px;
  }
  
  .news-content h3 {
    font-size: 16px;
  }
}

/* SIDEBAR */
.sidebar{}
.sidebar-widget{background:var(--white);border:1px solid var(--border);border-radius:6px;overflow:hidden;margin-bottom:24px}
.widget-header{background:var(--green);color:#fff;padding:12px 18px;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:0.8px}
.widget-body{padding:0}
.widget-link{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid var(--border);font-size:14px;color:var(--text);transition:background 0.2s;cursor:pointer}
.widget-link:last-child{border-bottom:none}
.widget-link:hover{background:var(--green-light);color:var(--green)}
.widget-link .arrow{color:var(--text-muted);font-size:16px}
.widget-link:hover .arrow{color:var(--green)}
.anuncio{padding:16px 18px;border-bottom:1px solid var(--border)}
.anuncio:last-child{border-bottom:none}
.anuncio .date{font-size:11px;color:var(--gold);font-weight:700;margin-bottom:4px}
.anuncio h4{font-size:13.5px;font-weight:600;color:var(--text);line-height:1.4;cursor:pointer}
.anuncio h4:hover{color:var(--green)}

/* COURSES SECTION */
.courses-section{padding:56px 0 24px 0;background:var(--white)}
.courses-inner{max-width:1200px;margin:0 auto;padding:0 24px}
.courses-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:32px}
.course-card{
  background: var(--white);
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-width:0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.course-card:hover{
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.10);
}
.course-top{background:var(--green);padding:20px;color:#fff;min-height:90px;display:flex;flex-direction:column;justify-content:space-between;flex-shrink:0}
.course-num{font-size:28px;font-weight:700;font-family:var(--font-heading);color:rgba(255,255,255,0.25);margin-bottom:4px}
.course-top h3{font-family:var(--font-body);font-size:15px;font-weight:700;line-height:1.45;letter-spacing:0.3px}
.course-body{padding:16px 18px 10px;display:flex;flex-direction:column;flex:1}
.course-list{font-family:var(--font-body);list-style:none;flex:1}
.course-list li{font-family:var(--font-body);font-size:12px;color:var(--text-muted);padding:4px 0;border-bottom:1px dashed var(--border);display:flex;align-items:center;gap:6px}
.course-list li:last-child{border-bottom:none}
.course-list li::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--green);flex-shrink:0}
.course-tag{font-family:var(--font-body);background:var(--green-light);color:var(--green);font-size:10px;font-weight:700;padding:2px 6px;border-radius:2px;margin-left:auto}
.catalogo-cursos{
  margin-top: 16px;
  text-align: center;
}

.view-all{
  display: inline-block;
  margin-top: 24px;
  padding: 10px 22px;
  background: linear-gradient(400deg, #006633, #00994d);
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.2s;
}

.view-all:hover{
  background: var(--gold);
  color: #000;
  transform: translateY(-2px);
}
.view-all:active{
  transform: translateY(0);
}
/* PILLARS SECTION */
.pillars-section{padding:56px 0;background:var(--green)}
.pillars-inner{max-width:1200px;margin:0 auto;padding:0 24px}
.pillars-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
  margin-top:32px;
  color: #fbbf24
}
.pillar-item{
  padding:28px 22px;
  border-radius:12px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  transition: all 0.25s ease;
  display:flex;
  flex-direction:column;
}
.pillar-item:last-child{border-right:none}
.pillar-icon{
  width:46px;
  height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:14px;
  font-size:20px;
  color: #fbbf24;
}
.pillar-item:hover{
  transform: translateY(-5px);
  background: rgba(255,255,255,0.09);
  border-color: rgba(200,160,74,0.35);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.pillar-item h3{
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 8px;
  font-weight: 600;
   font-family:var(--font-body);
}

.pillar-item p{
  color: rgba(255,255,255,0.78);
  font-size: 13.5px;
  line-height: 1.6;
   font-family:var(--font-body);
}
.pillar-item .more{display:inline-block;color:var(--gold);font-size:13px;font-weight:600;margin-top:14px}
.pillar-item .more:hover{text-decoration:underline}

/* LINKS SECTION */
.links-section{padding:32px 0;background:var(--bg);border-top:1px solid var(--border)}
.links-inner{max-width:1200px;margin:0 auto;padding:0 24px;display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.quick-link{display:flex;flex-direction:column;align-items:center;text-align:center;background:var(--white);border:1px solid var(--border);border-radius:6px;padding:20px 12px;cursor:pointer;transition:all 0.2s}
.quick-link:hover{border-color:var(--green);background:var(--green-light)}
.quick-link .ql-icon{font-size:30px;margin-bottom:8px}
.quick-link .ql-label{font-size:12px;font-weight:600;color:var(--text-muted);line-height:1.3}
.quick-link:hover .ql-label{color:var(--green)}

/* GALLERY */
.gallery-section{padding:20px 0 56px 0;background:var(--white);border-top:1px solid var(--border)}
.gallery-inner{max-width:1200px;margin:0 auto;padding:0 24px}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}
.gallery-item{aspect-ratio:16/10;border-radius:6px;overflow:hidden;position:relative;cursor:pointer;border:1px solid var(--border);background:#fff}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform 0.3s}
.gallery-item:hover img{transform:scale(1.05)}
.gallery-item .overlay{position:absolute;inset:0;background:rgba(0,70,35,0);transition:background 0.3s;display:flex;align-items:flex-end;padding:16px}
.gallery-item:hover .overlay{background:rgba(0,70,35,0.55)}
.gallery-item .overlay-text{color:#fff;font-size:13px;font-weight:600;opacity:0;transform:translateY(8px);transition:all 0.3s}
.gallery-item:hover .overlay-text{opacity:1;transform:translateY(0)}

/* NEWSLETTER */
.newsletter-section{padding:100px 0;background:var(--green)}
.newsletter-inner{max-width:1200px;margin:0 auto;padding:0 14px;display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}
.newsletter-text h2{font-family:var(--font-heading);color:#fff;font-size:20px;margin-bottom:5px;}
.newsletter-text p{color:rgba(255,255,255,0.75);font-size:13px}
.newsletter-form{display:flex;gap:5px}
.newsletter-form input{flex:2;border:none;border-radius:4px;padding:5px 5px;font-size:14px;font-family:var(--font-body);outline:none}
.newsletter-form button{background:var(--gold);color:#1a1a0a;border:none;border-radius:4px;padding:12px 24px;font-weight:700;font-size:14px;cursor:pointer;white-space:nowrap;font-family:var(--font-button);transition:background 0.2s}
.newsletter-form button:hover{background:#b8902a}
.newsletter-form button:disabled{opacity:0.6;cursor:not-allowed}
.newsletter-msg{grid-column:1/-1;font-size:13px;margin-top:4px;min-height:18px}
.newsletter-msg.success{color:var(--gold)}
.newsletter-msg.error{color:#ff8080}

/* FOOTER */
footer{
    background:#1a1a1a;
    color:rgba(255,255,255,.7);
    padding:56px 0 0;
    overflow-x:hidden; /* impede que o grid largo empurre a página inteira para o lado */
}

.footer-inner{
    max-width:1400px;
    margin:0 auto;
    padding:0 24px;
    display:grid;
    grid-template-columns:320px repeat(5,minmax(170px,1fr));
    gap:36px;
    align-items:flex-start;
}

/* Entre 1025px e 1400px (ex: portáteis Dell a 1366px) as 6 colunas
   fixas do rodapé não cabem — em vez de cortar, ficam com scroll
   horizontal contido apenas dentro do rodapé. */
@media (min-width: 1025px) and (max-width: 1400px) {
  .footer-inner{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:16px;
  }
}

.footer-brand{
    padding-right:12px;
}

.footer-logo{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:18px;
}

.footer-logo-circle{
    width:44px;
    height:44px;
    border-radius:50%;
    background:var(--green);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-family:var(--font-heading);
    font-weight:700;
    font-size:13px;
}

.footer-logo-text{
    font-family:var(--font-heading);
    color:#fff;
    font-size:15px;
    font-weight:700;
}

.footer-brand p{
    font-size:13.5px;
    line-height:1.8;
    margin-bottom:18px;
}

.footer-contact p{
    font-size:13px;
    margin-bottom:8px;
}

.footer-contact i{
    width:18px;
    color:var(--white);
}

.footer-social{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:18px;
}

.social-btn{
    width:36px;
    height:36px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.2);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:14px;
    transition:.25s;
}

.social-btn:hover{
    background:var(--green);
    border-color:var(--green);
}

.footer-col h4{
    color:#fff;
    font-size:13px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;
    margin-bottom:18px;
    padding-bottom:10px;
    border-bottom:1px solid rgba(255,255,255,.12);
}

.footer-col a{
    display:block;
    padding:7px 0;
    font-size:13.5px;
    line-height:1.5;
    color:rgba(255,255,255,.68);
    transition:color .2s,padding-left .2s;
}

.footer-col a:hover{
    color:#fff;
    padding-left:6px;
}

.footer-bottom{
    background:#111;
    margin-top:48px;
    padding:18px 24px;
    text-align:center;
    font-size:13px;
    color:rgba(255,255,255,.45);
}

/* ==========================
   RESPONSIVO
========================== */

@media (max-width: 1200px) {

    .footer-inner{
        grid-template-columns:320px repeat(3,1fr);
        gap:32px;
    }

    .footer-brand{
        grid-column:1/-1;
    }

}

@media (max-width: 768px) {

    .footer-inner{
        grid-template-columns:repeat(2,1fr);
        gap:28px;
    }

}

@media (max-width: 600px) {

    footer{
        padding-top:42px;
    }

    .footer-inner{
        grid-template-columns:1fr;
        gap:30px;
        padding:0 20px;
    }

    .footer-brand{
        grid-column:auto;
    }

    .footer-col h4{
        margin-bottom:12px;
    }

}
/* ANNOUNCEMENTS BAR */
.announce-bar{background:var(--gold-light);border-top:1px solid rgba(200,160,74,0.3);border-bottom:1px solid rgba(200,160,74,0.3);padding:10px 0;overflow:hidden}
.announce-inner{max-width:1200px;margin:0 auto;padding:0 24px;display:flex;align-items:center;gap:20px}
.announce-tag{background:var(--gold);color:#1a1a0a;font-size:11px;font-weight:700;padding:3px 10px;border-radius:2px;white-space:nowrap;text-transform:uppercase;letter-spacing:0.5px}
.announce-links{display:flex;gap:24px;overflow-x:auto;scrollbar-width:none}
.announce-links a{font-size:13px;color:var(--green-dark);font-weight:600;white-space:nowrap;transition:color 0.2s}
.announce-links a:hover{color:var(--green);text-decoration:underline}

/* SECTION header style */
.section-header{
  margin-bottom:16px;
  display:flex;
  flex-direction:column;
  align-items:flex-start; 
}

.section-header .section-label{
  display:block;
}

.section-title{
  margin:0;              
  text-align:left;       
}

.underline-deco{
  width:48px;
  height:3px;
  background:var(--gold);
  border-radius:2px;
  margin-top:5px; /* mais próximo do título */
}

@media (max-width: 1024px) {
  .courses-grid{grid-template-columns:repeat(2,1fr)}
  .pillars-grid{grid-template-columns:repeat(2,1fr)}
  .links-inner{grid-template-columns:repeat(3,1fr)}
  .footer-inner{grid-template-columns:1fr 1fr}
  .hero-content{grid-template-columns:1fr}
  .hero-quick{display:none}
  .main-inner{grid-template-columns:1fr}
  .stats-inner{grid-template-columns:repeat(2,1fr)}
  .audience-grid{grid-template-columns:repeat(3,1fr)}
}
@media (max-width: 600px) {
  .courses-grid{grid-template-columns:1fr}
  .pillars-grid{grid-template-columns:1fr}
  .links-inner{grid-template-columns:repeat(2,1fr)}
  .footer-inner{grid-template-columns:1fr}
  .gallery-grid{grid-template-columns:1fr}
  .newsletter-inner{grid-template-columns:1fr}
}
body{
  background:#f6f8fb;
  color:#1a1a1a;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

/* transições suaves — excluir news-card que tem as suas próprias */
*:not(.news-card):not(.news-image img) {
  transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out, color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

.sidebar-widget,
.course-card,
.quick-link,
.audience-card{
  border:1px solid rgba(0,0,0,0.06);
  box-shadow:0 2px 10px rgba(0,0,0,0.04);
  background:#fff;
  border-radius:12px;
}

.course-card:hover,
.quick-link:hover{
  transform:translateY(-4px);
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

h1,h2,h3{
  letter-spacing:-0.3px;
}

.section-title{
  font-size:28px;
  font-weight:700;
}

p{
  color:#555;
}
nav{
    background:#0B5D3B;
  border-bottom:2px solid rgba(255,255,255,0.08);
}

.nav-link {
    font-weight: 600;
         font-family:var(--font-body);
      text-transform: uppercase;
             letter-spacing:0.8px;
}

.nav-link:hover{
  background:rgba(241, 237, 237, 0.08);
  border-radius:6px;
}

.nav-link.nav-home{
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
}
.nav-link.nav-home i{
  position:relative;
  z-index:1;
  font-size:16px;
  transition:color 0.25s ease;
}
.nav-link.nav-home::before{
  content:'';
  position:absolute;
  width:32px;
  height:32px;
  border-radius:50%;
  background:var(--gold);
  transform:scale(0);
  transition:transform 0.3s ease;
  z-index:0;
}
.nav-link.nav-home::before{
  content: '';
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFC107;
  transform: scale(0);
  transition: transform 0.3s ease;
  z-index: -1;
}
.nav-link.nav-home.active::before{
  transform: scale(1);
  background: #FFC107;
}

.hero {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text h1{
  font-size:44px;
  letter-spacing:-0.5px;
}

.hero p{
  font-size:17px;
  line-height:1.8;
}

.btn-primary{
  border-radius:8px;
  box-shadow:0 4px 12px rgba(0,0,0,0.15);
}

.btn-primary:hover{
  transform:translateY(-2px);
}

.btn-outline{
  border-radius:8px;
}



.dropdown{
  border-radius:10px;
  overflow:hidden;
}
.sidebar-widget .widget-header{
  border-radius:10px 10px 0 0;
}

:root{
  --green:#0b5d3b;
  --green-dark:#06402a;
  --gold:#d4af37;
}

/* mais espaço (essencial para look moderno) */
section{
  padding-top:70px;
  padding-bottom:70px;
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}
/* Item com submenu */
.dropdown-submenu{
    position:relative;
}

/* Link principal */
.submenu-toggle{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:100%;
    text-decoration:none;
}

/* Seta */
.submenu-arrow{
    margin-left:auto;
    font-size:12px;
}

/* Submenu */
.submenu{
    display:none;
    position:absolute;
    top:0;
    left:100%;
    min-width:260px;
    margin:0;
    padding:10px 0;
    list-style:none;
    background:#fff;
    box-shadow:0 6px 20px rgba(0,0,0,.15);
    border-radius:4px;
    z-index:999;
}

/* Mostrar submenu */
.dropdown-submenu:hover>.submenu{
    display:block;
}

/* Links do submenu */
.submenu li a{
  
    display:block;
    padding:10px 18px;
    color:#333;
    text-decoration:none;
    white-space:nowrap;
    transition:.2s;
}

/* Hover */
.submenu li a:hover{
   background:var(--green-light);color:var(--green-dark)}
.dropdown-submenu,
.dropdown-submenu ul,
.dropdown-submenu li{
    list-style:none;
    margin:0;
    padding:0;
}
.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  z-index: 1;
  transition: transform 1.5s ease-out;
}

/* BOTÕES */
.slide-btn {
  background: rgba(229, 227, 227, 0.45);
  color: white;
  backdrop-filter: blur(1px);
  border: none;
  border-radius: 30%;
  padding: 8px;
  transition: 0.3s;
}

.slide-btn:hover {
  background:#d4af37;
}

.slide-btn i {
  color: white;
  font-size: 17px;
}

.slide-btn.pause {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  color: #fff;
  backdrop-filter: blur(2px);
  border: none;
  border-radius: 50%;
  padding: 10px 12px;
  cursor: pointer;
  
}
.slide-btn.pause:hover {
  background:#d4af37;
}
.slide-btn.pause i {
  color: white;
  font-size: 17px;
}

.slide-content{
  position:absolute;
  bottom:90px;
  left:60px;
  max-width:600px;
  color:#fff;
  z-index:3;
  opacity:0;
  transform:translateY(20px);
  transition:all 0.8s ease;
}

.slide-content h1{
  font-size:42px;
  font-weight:700;
  letter-spacing:-0.5px;
  margin-bottom:10px;
}

.slide-content p{
  font-size:16px;
  color:rgba(255,255,255,0.85);
  line-height:1.7;
}

/* ativo */

.slide.active .slide-bg{
  transform:scale(1);
}
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999; 
    background: transparent;
  border: none;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
}
.slide-btn.left {
  left: 15px;
}

.slide-btn.right {
  right: 15px;

}
.slide.active .slide-content{
  opacity:1;
  transform:translateY(0);
}

/* overlay global mais elegante */
.hero::after{
  content:'';
  position:absolute;
  inset:0;
 
  z-index:2;
}
.scroll-down{
  position:absolute;
  right:30px;
  bottom:30px;
  width:50px;
  height:50px;
  border:1px solid rgba(255,255,255,0.5);
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  font-size:20px;
  text-decoration:none;
  z-index:5;
  animation:bounce 2s infinite;
  background:rgba(255,255,255,0.08);
  backdrop-filter:blur(6px);
}

.scroll-down:hover{
  background:rgba(255,255,255,0.2);
}

@keyframes bounce{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(8px);}
}
.social-icons{
  display:flex;
  gap:10px;
  align-items:center;
}

.social-icons a{
  width:30px;
  height:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  border:1px solid rgba(255,255,255,0.3);
  color:rgba(255,255,255,0.85);
  font-size:12px;
  transition:0.3s;
}

.social-icons a:hover{
  background:var(--gold);
  color:#1a1a0a;
  transform:translateY(-3px);
}
/* ===== RESPONSIVO MOBILE ===== */

@media (max-width: 768px) {

  body{
    overflow-x:hidden;
  }

  /* HEADER */
  .header-inner{
    flex-direction:column;
    height:auto;
    padding:15px;
    gap:15px;
  }

  .logo-area{
    width:100%;
    justify-content:center;
  }

  .logo-text .name{
    font-size:14px;
  }

  .logo-text .sub{
    font-size:10px;
  }

  .header-search{
    width:100%;
  }

  .header-search input{
    width:100%;
  }

  /* MENU */
  nav{
    position:relative;
    top:auto;
  }

  .nav-inner{
    flex-direction:column;
  }

  .nav-link{
    padding:14px;
    border-bottom:1px solid rgba(255,255,255,.08);
  }

  .dropdown{
    position:static;
    min-width:100%;
    display:none;
    flex-direction:column;
  }

  .nav-item:hover .dropdown{
    display:flex;
  }

  .dropdown-col{
    border-right:none;
    border-bottom:1px solid #eee;
  }

  /* HERO */
  .hero{
    height:280px;
  }

  .slide-content{
    left:20px;
    right:20px;
    bottom:20px;
    max-width:100%;
  }

  .slide-content h1{
    font-size:24px;
  }

  .slide-content p{
    font-size:14px;
  }

  /* ESTATÍSTICAS */
  .stats-inner{
    grid-template-columns:1fr 1fr;
  }

  .stat-item{
    padding:15px;
  }

  /* AUDIENCE */
  .audience-grid{
    grid-template-columns:1fr 1fr;
  }

  /* NOTÍCIAS */

  .news-img{
    width:100%;
    height:180px;
  }

  /* CURSOS */
  .courses-grid{
    grid-template-columns:1fr;
  }

  /* GALERIA */
  .gallery-grid{
    grid-template-columns:1fr;
  }

  /* LINKS */
  .links-inner{
    grid-template-columns:1fr 1fr;
  }

  /* NEWSLETTER */
  .newsletter-form{
    flex-direction:column;
  }

  .newsletter-form button{
    width:100%;
  }

  /* FOOTER */
  .footer-inner{
    grid-template-columns:1fr;
  }
}


/* TELEFONES PEQUENOS */
@media (max-width: 480px) {

  .hero{
    height:220px;
  }

  .slide-content h1{
    font-size:20px;
  }

  .stat-num{
    font-size:24px;
  }

  .links-inner{
    grid-template-columns:1fr;
  }

  .audience-grid{
    grid-template-columns:1fr;
  }
}

/* ============================================================
   RESPONSIVIDADE MOBILE - SEM ALTERAR LAYOUT DESKTOP
   ============================================================ */

/* Tablet (768px e abaixo) */
@media (max-width: 768px) {
  .platforms-inner, .topbar .inner, .header-inner, .nav-inner, 
  .audience-inner, .stats-inner, .main-inner, .footer-inner {
    padding: 0 16px;
  }

  .header-search input { width: 150px; font-size: 13px; }
  .audience-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .audience-card { padding: 12px 10px; }
  .stats-inner { grid-template-columns: repeat(3, 1fr); }
  .main-inner { grid-template-columns: 1fr; gap: 24px; }
  .news-img, .news-img-placeholder { width: 70px; height: 52px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* Mobile (480px e abaixo) */
@media (max-width: 480px) {
  .platforms-inner, .topbar .inner, .header-inner, .nav-inner,
  .audience-inner, .stats-inner, .main-inner, .footer-inner {
    padding: 0 12px;
  }

  .platforms-label { display: none; }
  
  .header-inner { height: auto; flex-wrap: wrap; padding: 10px 12px; }
  .logo-text .name { font-size: 13px; }
  .logo-text .sub { font-size: 9px; }
  .header-search { width: 100%; }
  .header-search input { width: 100%; padding: 6px 10px; font-size: 12px; }
  .header-search button { padding: 6px 10px; font-size: 12px; }
  
  .nav-link { padding: 10px 10px; font-size: 11px; }
  
  .audience-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .audience-card { padding: 10px 8px; }
  .audience-card .icon { font-size: 18px; margin-bottom: 4px; }
  .audience-card .label { font-size: 11px; }
  
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 10px 12px; }
  .stat-item { padding: 0 10px; }
  .stat-num { font-size: 18px; }
  .stat-label { font-size: 10px; }
  
  .news-img, .news-img-placeholder { width: 60px; height: 45px; }
  .news-card h3 { font-size: 13px; }
  
  .hero { height: 250px; }
  .section-title { font-size: 18px; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-col h4 { font-size: 11px; }
  .footer-col a { font-size: 11px; }
}
.director-message{
  background: #fff;
padding: 35px 0 70px 0;
}
.container-director {
  max-width: 700px;
  margin: auto;
  display: flex;
  gap: 40px;
  align-items: center;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}
.director-inner{
   background: #fff;

  max-width:1350px;
   margin: 0 0 0 auto;
  padding:0 24px;
  display:grid;
  grid-template-columns: minmax(200px, 250px) 1fr;
  gap: clamp(20px, 4vw, 50px);
  align-items:last baseline;
}


/* FOTO */

.director-photo {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.director-photo .photo-frame {
  width: 100%;
   height: 255px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #0d3b2e;
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.director-photo .photo-frame:hover {
  transform: scale(1.03);
}

.director-photo .photo-frame img {
  width: 100%;
   height: 255px;
  display: block;
  aspect-ratio: 3 / 3.4;
  object-fit: cover;
}
.director-left{
  background:#fff;
  padding:25px;
  border-radius:20px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}
.director-photo h3{
  margin:0 0 1px;
 font-family:var(--font-body);
  font-size:10.3px;
  font-weight:500;
  color:var(--text, var(black));
}

.director-photo p{
  font-size:10.5px;
  font-family:var(--font-body);
  margin:0;
  color:var(--text-muted, black);
}

/* TEXTO */
.director-text h2{
 font-family:var(--font-display);
  font-size:18px;
  color:var(black);
  margin-top:15px;
}

.director-text p{
  margin-top:16px;
 font-size: 14.5px;
  line-height:1.9;
   font-family:var(--font-body);
   text-align: justify;
 max-width: 790px;
}

.director-text .signature{
  margin-top:20px;
  font-weight:100;
  color:var(black);
}

.director-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 10px 22px;
background: linear-gradient(400deg, #006633, #00994d);
  color: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-body);
  transition: background 0.2s, transform 0.2s;
}

.director-btn:hover {
  background: var(--gold);
  transform: translateY(-2px);
  color: #000;
}

/* DIRECTORES ADJUNTOS */
.adjuntos-message{
  background: var(--bg);
  padding: 60px 0 70px 0;
}

.adjuntos-inner{
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 24px;
}

.adjuntos-header{
  align-items: center;
  text-align: center;
}

.adjuntos-header .section-title{
  text-align: center;
}

.adjuntos-header .underline-deco{
  margin-left: auto;
  margin-right: auto;
}

.adjuntos-inner > p{
  text-align: center;
  margin: 16px 0 40px;
}

.adjuntos-grid{
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 40px;
}

.adjuntos-grid .director-photo{
  width: 100%;
  max-width: 250px;
}

.adjuntos-grid .director-photo .signature p{
  min-height: 2.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .adjuntos-grid{
    flex-direction: column;
    align-items: center;
  }
  .adjuntos-grid .director-photo{
    max-width: 220px;
  }
}

/* =========================================================
   RESPONSIVIDADE GLOBAL — MOBILE FIRST
========================================================= */

/* Menu hambúrguer */
.nav-header-mobile {
  display: none;
  background: var(--green);
  padding: 10px 20px;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .nav-header-mobile { display: flex; }
  .nav-toggle { display: flex; }
  .header-inner { padding: 0 16px; height: 60px; }
  .logo-text .name { font-size: 13px; }
  .logo-text .sub { display: none; }
  .header-search { display: none; }

  /* Nav — hambúrguer */
  .nav-inner {
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .nav-inner.open { max-height: 600px; overflow-y: auto; }

  .nav-link { padding: 12px 20px; font-size: 15px; border-bottom: 1px solid rgba(255,255,255,0.08); }

  .dropdown {
    position: static;
    min-width: 100%;
    border: none;
    box-shadow: none;
    flex-direction: column;
    background: var(--green-dark);
  }

  .dropdown-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .dropdown-col h4 { color: rgba(255,255,255,0.5); margin: 0 4px 10px; }
  .dropdown-col a { color: rgba(255,255,255,0.8); }
  .dropdown-col a:hover { color: #fff; background: rgba(255,255,255,0.1); }

  /* Em ecrãs tácteis o :hover não é fiável — os submenus abrem só por toque/clique
     (classe .open controlada pelo script.js). O :hover é desativado aqui para não
     criar o efeito de "é preciso tocar duas vezes". */
  .nav-item:hover .dropdown,
  .nav-item:focus-within .dropdown { display: none; }
  .nav-item.open > .dropdown { display: flex; }

  .dropdown-submenu:hover > .submenu { display: none; }
  .dropdown-submenu.open > .submenu {
    display: block;
    position: static;
    left: auto;
    top: auto;
    min-width: 100%;
    margin-top: 4px;
    box-shadow: none;
    border-radius: 0;
    background: rgba(255,255,255,0.06);
  }
  .dropdown-submenu.open > .submenu li a { color: rgba(255,255,255,0.8); }
  .dropdown-submenu.open > .submenu li a:hover { color: #fff; background: rgba(255,255,255,0.1); }

  .submenu-arrow i { transition: transform 0.2s ease; }
  .dropdown-submenu.open > .submenu-toggle .submenu-arrow i { transform: rotate(90deg); }

  /* Hero */
  .hero { height: 260px; }

  /* Director */
  .director-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }
  .director-photo { max-width: 220px; margin: auto; }
  .director-photo .photo-frame img { width: 100%; aspect-ratio: 3 / 3.4; }
  .director-btn {
    width: auto;
    max-width: 100%;
    display: inline-block;
    text-align: center;
    padding: 9px 18px;
    font-size: 12.5px;
  }

  /* Separator dots */
  .hero-separator { height: 36px; gap: 8px; }
  .separator-dot { width: 5px; height: 5px; }

  /* Pillars */
  .pillars-grid { grid-template-columns: 1fr 1fr; gap: 16px; }

  /* Stats */
  .stats-inner { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .stat-card { padding: 16px 10px; }
  .stat-num { font-size: 16px; }
  .stat-label { font-size: 12px; }

  /* News */
  .news-nav { width: 36px; height: 36px; font-size: 14px; }
  .news-nav.prev { margin-right: 8px; }
  .news-nav.next { margin-left: 8px; }
  .news-dots { gap: 6px; margin-top: 14px; }
  .news-dot { width: 6px; height: 6px; }

  /* Partners */
  .partner-arrow { width: 36px; height: 36px; font-size: 14px; }
  .partner-dots { gap: 6px; margin-top: 18px; }

  /* Topbar */
  .topbar { font-size: 11px; padding: 5px 0; }
  .topbar .inner { flex-wrap: wrap; justify-content: center; gap: 8px; }
  .topbar-links { gap: 10px; }
  .social-icons { gap: 6px; }
  .social-icons a { width: 24px; height: 24px; font-size: 10px; }
  .topbar-audience { gap: 8px; }
  .audience-group { gap: 4px; }
  .audience-group + .audience-group { padding-left: 8px; }
  .audience-btn { padding: 2px 8px; font-size: 9px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 0 16px; }

  /* FAQ */
  .faq-tabs { gap: 8px; }
  .faq-tab { padding: 8px 14px; font-size: 12px; }
  .faq-tab-icon { display: none; }
}

@media (max-width: 480px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 22px; }
  .partners-section { padding: 40px 0; }
  .partner-logo { flex: 0 0 160px; height: 200px; }

  .director-btn { padding: 8px 16px; font-size: 12px; }
  .hero-separator { height: 30px; gap: 6px; }
  .separator-dot { width: 4px; height: 4px; }
  .news-dot { width: 5px; height: 5px; }
  .news-dots { gap: 5px; }

  .topbar { font-size: 10px; padding: 6px 0; }
  .social-icons a { width: 22px; height: 22px; font-size: 9px; }
  .audience-btn { padding: 2px 7px; font-size: 8.5px; }
}



/* RESPONSIVO */
@media (max-width: 768px) {
  .director-inner{
    grid-template-columns: 1fr;
    text-align:center;
  }

  .director-photo{
    max-width:320px;
    margin:auto;
  }
}
.nav-link.nav-home {
  border-radius: 6px;
}

.nav-link.nav-home:hover {
  background: #b8902a;
  color: #1a1a0a;
}

.nav-link.nav-home.active {
  background: #FFC107 ;
  color: #000 ;
 
  }
  section{
  padding: 50px 0 !important;
}

.main-section{
  padding: 50px 0 !important;
}

.section-header{
  margin-bottom: 25px !important;
}

/* ============================================================
   PARTNERS SECTION
   ============================================================ */
.partners-section {
  padding: 70px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.partners-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

/* Partner Card */
.partner-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: var(--green);
}

.partner-logo {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: var(--green-light);
  border-radius: 8px;
  overflow: hidden;
  padding: 8px;
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-card:hover .partner-logo img {
  filter: grayscale(0%);
}

.partner-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.partner-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

/* Responsive Partners */
@media (max-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .partners-section {
    padding: 50px 0;
  }
}

@media (max-width: 600px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .partner-card {
    padding: 20px 16px;
  }
  
  .partner-logo {
    height: 70px;
    margin-bottom: 16px;
  }
  
  .partner-card h3 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .partner-card p {
    font-size: 12px;
  }
}

/* ============================================================
   FAQ SECTION WITH TABS
   ============================================================ */
.faq-section {
  padding: 70px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
}

.faq-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* FAQ Tabs */
.faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 36px;
  margin-bottom: 28px;
}

.faq-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 12px 18px;
  border-radius: 999px;

  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;

  font-weight: 600;
  font-size: 13.5px;
  color: #444;

  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}


.faq-tab:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 102, 51, 0.5);
  box-shadow: 0 10px 25px rgba(0, 102, 51, 0.15);
}


.faq-tab.active {
  background: linear-gradient(400deg, #006633, #00994d);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 18px rgba(0, 102, 51, 0.35);
  transform: translateY(-2px);
}






.faq-tab-icon {
  display: flex;
  align-items: center;
  color: #006633;
  transition: all 0.3s ease;
}

/* ícone no ativo fica branco */
.faq-tab.active .faq-tab-icon {
  color: #fff;
  transform: scale(1.15);
}

/* label */
.faq-tab-label {
  white-space: nowrap;
}

/* FAQ Tab Content */
.faq-tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.faq-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FAQ Items */
.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px; /* mais moderno */
  background: var(--white);
  overflow: hidden;
  margin-bottom: 14px;

  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);

  position: relative;
}

/* efeito de destaque lateral elegante */
.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 0%;
  width: 4px;
  background: var(--green);
  transition: height 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 102, 51, 0.25);
}

.faq-item:hover::before {
  height: 100%;
}

/* estado ativo */
.faq-item.active::before {
  height: 100%;
}

/* FAQ Header/Button */
.faq-header {
  width: 100%;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  transition: all 0.2s ease;
  font-family: var(--font-body);
  text-align: left;
}

.faq-header:hover {
  background: #F1F2F2;
  color: var(--black);
}

.faq-question {
  flex: 1;
  line-height: 1.4;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: transform 0.35s ease, color 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--black);
}

/* FAQ Content */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #F1F2F2;
  border-top: 1px solid var(--border);
}

.faq-item.active .faq-content {
  max-height: 400px;
}

.faq-content p {
  padding: 16px 20px;
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-content a {
  color: var(black);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.faq-content a:hover {
  color: var(--gold);
  text-decoration: transparent;
}

/* FAQ Footer CTA */
.faq-footer {
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.faq-footer p {
  font-size: 14px;
  color: black;
  margin-bottom: 16px;
}

/* Responsive FAQ */
@media (max-width: 768px) {
  .faq-section {
    padding: 50px 0;
  }
  
  .faq-tabs {
    gap: 8px;
    margin-top: 32px;
  }
  
  .faq-tab {
    padding: 10px 14px;
    font-size: 13px;
    margin-bottom: -13px;
  }
  
  .faq-header {
    padding: 14px 16px;
    font-size: 13px;
  }
  
  .faq-content p {
    padding: 14px 16px;
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .faq-inner {
    padding: 0 16px;
  }
  
  .faq-tabs {
    gap: 6px;
    margin-top: 24px;
    overflow-x: auto;
  }
  
  .faq-tab {
    padding: 8px 12px;
    font-size: 12px;
    white-space: nowrap;
    margin-bottom: -11px;
  }
  
  .faq-header {
    padding: 12px 12px;
    font-size: 12px;
    gap: 10px;
  }
  
  .faq-content p {
    padding: 12px 12px;
    font-size: 11px;
  }
  
  .faq-footer {
    margin-top: 24px;
    padding-top: 16px;
  }
}

/* ============================================================
   RESPONSIVIDADE MELHORADA - MOBILE FIRST
   ============================================================ */

/* SMARTPHONES PEQUENOS (< 360px) */
@media (max-width: 359px) {
  body {
    font-size: 13px;
  }
  
  .header-inner {
    padding: 0 12px;
    height: 60px;
    gap: 12px;
  }
  
  .logo-text .name {
    font-size: 14px;
  }
  
  .logo-text .sub {
    font-size: 9px;
  }
  
  .header-search input {
    width: 100%;
    font-size: 12px;
    padding: 6px 10px;
  }
  
  section {
    padding: 30px 0 !important;
  }
  
  .section-title {
    font-size: 20px;
  }
  
  .faq-tab {
    padding: 8px 10px;
    font-size: 11px;
  }
  
  .faq-header {
    padding: 12px 12px;
    font-size: 12px;
  }
}

/* SMARTPHONES (360px - 480px) */
@media (max-width: 480px) {
  .platforms-bar {
    display: none;
  }
  
  .topbar {
    padding: 6px 0;
    font-size: 10px;
  }
  
  .topbar .inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 0 12px;
  }
  
  .header-inner {
    padding: 0 12px;
    height: auto;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .logo-area {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }
  
  .logo-circle {
    width: 45px;
    height: 45px;
    font-size: 13px;
  }
  
  .logo-text .name {
    font-size: 14px;
  }
  
  .logo-text .sub {
    font-size: 9px;
  }
  
  .header-search {
    width: 100%;
  }
  
  .header-search input {
    width: 100%;
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .header-search button {
    padding: 8px 12px;
  }
  
  section {
    padding: 40px 0 !important;
  }
  
  .section-title {
    font-size: 22px;
    margin-bottom: 8px;
  }
  
  .section-label {
    font-size: 10px;
  }
  
  /* Hero */
  .hero {
    height: 200px;
  }
  
  .slide-content {
    left: 12px;
    right: 12px;
    bottom: 40px;
  }
  
  .slide-content h1 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  
  .slide-content p {
    font-size: 13px;
  }
  
  /* Notícias */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .news-card {
    min-height: auto;
  }
  
  /* Cursos */
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .course-card {
    margin: 0;
  }
  
  .course-top {
    min-height: 80px;
    padding: 16px;
  }
  
  .course-num {
    font-size: 24px;
  }
  
  .course-top h3 {
    font-size: 13px;
  }
  
  /* Galeria */
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .gallery-item {
    aspect-ratio: 16/9;
  }
  
  /* Parceiros */
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .partner-card {
    padding: 16px 14px;
  }
  
  .partner-logo {
    height: 60px;
    margin-bottom: 14px;
  }
  
  .partner-card h3 {
    font-size: 13px;
    margin-bottom: 8px;
  }
  
  .partner-card p {
    font-size: 11px;
  }
  
  /* FAQs */
  .faq-tabs {
    gap: 6px;
    margin-top: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .faq-tab {
    padding: 8px 12px;
    font-size: 11px;
    white-space: nowrap;
    margin-bottom: -10px;
  }
  
  .faq-header {
    padding: 12px 14px;
    font-size: 12px;
    gap: 10px;
  }
  
  .faq-icon {
    font-size: 11px;
  }
  
  .faq-content p {
    padding: 12px 14px;
    font-size: 11px;
  }
  
  /* Newsletter */
  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .newsletter-text h2 {
    font-size: 20px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input,
  .newsletter-form button {
    width: 100%;
  }
  
  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 12px;
  }
  
  .footer-col h4 {
    font-size: 12px;
    margin-bottom: 12px;
  }
  
  .footer-col a {
    font-size: 12px;
    padding: 4px 0;
  }
  
  /* Botões */
  .view-all,
  .btn-primary,
  button {
    min-height: 44px;
    padding: 12px 16px;
    font-size: 13px;
  }
  
  input {
    min-height: 44px;
  }
}

/* TABLETS (480px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
  }
  
  .header-search input {
    width: 160px;
  }
  
  section {
    padding: 45px 0 !important;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .faq-tabs {
    gap: 8px;
  }
  
  .faq-tab {
    padding: 10px 14px;
    font-size: 12px;
  }
}

/* PEQUENOS DESKTOPS (768px - 900px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .header-search input {
    width: 180px;
  }
  
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* DESKTOPS NORMAIS (900px+) */
@media (min-width: 1025px) {
  section {
    padding: 70px 0 !important;
  }
  
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .courses-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

/* TOUCH DEVICES - Melhorar cliques */
@media (hover: none) and (pointer: coarse) {
  button:not(.partner-dot):not(.news-dot),
  a,
  .faq-header {
    min-height: 44px;
    min-width: 44px;
  }
  
  .faq-header {
    padding: 16px 18px;
  }
  
  .partner-card:active {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }
  
  .course-card:active {
    transform: translateY(-2px);
  }
  
  .news-card:active {
    transform: translateY(-3px);
  }
}

/* LANDSCAPE MODE — evita que o texto do hero seja cortado ao rodar o ecrã */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    height: 340px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .hero-text h1 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .hero-text p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .hero-btns {
    gap: 8px;
  }

  section {
    padding: 30px 0 !important;
  }
}

/* OTIMIZAÇÕES DE PERFORMANCE */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
/*=========================
      PARCEIROS — SLIDER COM SETAS E BOLINHAS
=========================*/

.partners-slider-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 40px;
}

/* Viewport — esconde o overflow */
.partners-viewport {
    overflow: hidden;
    width: 100%;
}

/* Faixa deslizante */
.partners-track {
    display: flex;
    gap: 24px;
    transition: transform 0.45s ease;
    will-change: transform;
}

/* Setas */
.partner-arrow {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: #fff;
    color: var(--green);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.10);
    transition: background .25s, color .25s, border-color .25s;
    z-index: 10;
}

.partner-arrow:hover {
   background: linear-gradient(400deg, #006633, #00994d);
    color: #fff;
    border-color: var(#006633);
}

.partner-arrow.prev { margin-right: 16px; }
.partner-arrow.next { margin-left: 16px; }

/* Bolinhas */
.partner-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
}

.partner-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: background .25s, transform .25s;
    padding: 0;
}

.partner-dot.active {
    background: var(--green);
    transform: scale(1.25);
}

@media (max-width: 768px) {
  .partner-dot { width: 6px; height: 6px; }
}

@media (max-width: 480px) {
  .partner-dot { width: 5px; height: 5px; }
}

/* Cada card */
.partner-logo {
    flex: 0 0 200px;
    height: 220px;
    background: #fff;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border: 1px solid #eee;
    box-shadow: 0 4px 16px rgba(0,0,0,.07);
    transition: transform .3s ease, box-shadow .3s ease;
    padding: 22px 18px 18px;
    text-align: center;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0,0,0,.13);
}

.partner-logo img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(0%);
    transition: filter .4s ease, transform .4s ease;
    flex-shrink: 0;
}



.partner-acronym {
    font-size: 15px;
    font-weight: 700;
    color: var(--green-dark);
    letter-spacing: 0.5px;
    margin-top: 4px;
    font-family:var(--font-heading);    /* ← ADICIONE ISTO */
}

.partner-logo:hover .partner-acronym {
    color: var(--green);
}

.partner-name {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
    font-family:var(--font-body);
}

/* ==========================================
   HERO HISTÓRICO
========================================== */

.historia-hero{
    position:relative;
 
    display:flex;
    align-items:center;
    overflow:hidden;

    background-image:url("img/historiahero.jpg");
    background-size:cover;
    background-position:99% center;
    background-repeat:no-repeat;
}
.historia-hero {
  height: 260px !important;
  min-height: 260px !important;
  max-height: 260px !important;
  padding: 20px 20px !important;
}
/* Gradiente */
.historia-hero::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:1;

    background:linear-gradient(
        90deg,
        rgba(0,74,39,.98) 0%,
        rgba(0,74,39,.92) 40%,
        rgba(0,74,39,.60) 65%,
        rgba(0,74,39,.15) 85%,
        rgba(0,74,39,0) 100%
    );
}

/* Conteúdo */
.historia-hero .hero-content{
    position:relative;
    z-index:2;

    width:min(1200px,92%);
    margin:auto;

    display:flex;
    align-items:center;
    padding:20px 0;
}

.historia-hero .hero-text{
    width:55%;
    color:#fff;
     
}

.historia-hero .breadcrumb{
    display:flex;
    gap:6px;
    flex-wrap:nowrap;
    margin:0 0 10px 0;
    padding:0;
    max-width:none;
    font-size:13px;
    color:rgba(255,255,255,.75);
  
}

.historia-hero .breadcrumb a{
    color:#fff;
}

.historia-hero .breadcrumb a:hover{
    color:var(--gold);
}

.historia-hero h1{
    font-size:clamp(30px,4vw,42px);
    line-height:0.9;
    font-weight:600;
    margin-bottom:12px;  
}

.historia-hero h1::after{
    content:"";
    display:block;
    width:36px;
    height:3px;
    margin-top:12px;
    background:gold;
    border-radius:30px;
}
.historia-hero p{
    white-space: normal;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

@media (max-width: 768px) {
    .historia-hero{
        min-height:180px;
    }
}

/* Timeline Section */
.timeline-section {
  padding: 80px 20px;
  background-color: #f8f8f8;
}

.timeline-header {
  text-align: center;
  margin-bottom: 60px;
}

.timeline-header .section-subtitle {
  color: var(--gold);
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 10px;
}

.timeline-header h3 {
  font-size: 36px;
  color: #333;
  font-weight: 700;
}

.timeline-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  gap: 20px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 6%;
  right: 6%;
  height: 3px;
  background: var(--green-dark);
  z-index: 0;
}

.timeline-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.timeline-dot {
  width: 60px;
  height: 60px;
  background: #004a27;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  margin: 0 auto 25px;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 4px rgba(0,0,0,0.15); /* dá profundidade, como na imagem 2 */
}


/* o ícone lá dentro precisa de rodar de volta, senão fica torto */
.timeline-dot i {
  transform: rotate(45deg);
  display: inline-block; /* garante que a rotação do ícone funciona corretamente */
}
.timeline-item:last-child .timeline-dot {
  background: var(--gold);
}
.timeline-item:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 28px; /* ajustar para alinhar ao centro vertical da linha */
  left: 100%;
  width: 6px;
  height: 6px;
  background: var(--green-dark);
  border-radius: 50%;
  z-index: 1;
  transform: translateX(calc(50% - 50%)); /* centra entre dois items, ajustar conforme o espaçamento real */
}

.timeline-year {
  font-size: 24px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.timeline-item:last-child .timeline-year {
  color: var(--gold);
}

.timeline-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.timeline-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Galeria Section */
.gallery-section {
  padding: 80px 20px;
  background-color: white;
}

.gallery-header {
  text-align: center;
  margin-bottom: 50px;
}

.gallery-header h2 {
  font-size: 18px;
  color: #666;
  font-weight: 600;
  margin-bottom: 15px;
}

.gallery-header h2 i {
  margin-right: 8px;
  color: var(--gold);
}

.gallery-header h3 {
  font-size: 32px;
  color: var(--green-dark);
  font-weight: 700;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.filter-btn {
  background: white;
  border: 2px solid #e0e0e0;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.filter-btn:hover {
  border-color: #0b5d3b;
  color: #0b5d3b;
}

.filter-btn.active {
  background: #0b5d3b;
  color: white;
  border-color: #0b5d3b;
}



.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-label {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--green-dark);
  color: white;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 3px;
}

.gallery-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
}

.gallery-footer {
  text-align: center;
}



/* =========================================================
   CURSOS SECTION
========================================================= */
.cursos-section {
  padding: 80px 0 40px;
  background: var(--white);
}

.cursos-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

.cursos-header h2 {
  font-size: 18px;
  color: #666;
  font-weight: 600;
  margin-bottom: 15px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.cursos-header h2 i {
  margin-right: 8px;
  color: var(--gold);
}

.cursos-header h3 {
  font-size: 38px;
  color: var(--green-dark);
  font-weight: 700;
  font-family: var(--font-heading);
}

.cursos-filters {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-bottom: 50px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

.filters-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filters-row-sub {
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
  width: 100%;
}

.filters-sub-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 4px;
}

.filter-btn-sub {
  padding: 8px 18px;
  font-size: 11px;
  opacity: 0.9;
}

.cursos-filters .filter-btn {
  background: white;
  border: 2px solid #e0e0e0;
  padding: 10px 22px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: #333;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cursos-filters .filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.cursos-filters .filter-btn.active {
  background: #0b5d3b;
  color: white;
  border-color: #0b5d3b;
}

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 50px;
  padding: 0 24px;
}

.curso-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  min-width: 0;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.curso-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.10);
}

.curso-header {
  position: relative;
  width: 100%;
  height: 130px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-light), rgba(230, 242, 236, 0.5));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
}

.curso-icon {
  font-size: 40px;
  line-height: 1;
  flex-shrink: 0;
}

.curso-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: #1a1a0a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 5px;
  z-index: 2;
}

.curso-card h3 {
  font-size: 15px;
  font-weight: 700;
  font-family:var(--font-body);
  color: var(--text);
  line-height: 1.45;
  margin: 0;
  padding: 16px 18px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.curso-card p {
  font-size: 12px;
  color: var(--green-dark);
  font-family:var(--font-body);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  padding: 6px 18px 0;
  flex: 1;
  min-height: 90px;
}

.curso-info {
  display: flex;
  gap: 8px;
  padding: 10px 18px 0;
  flex-wrap: wrap;
}

.curso-info span {
  font-size: 11px;
  padding: 3px 8px;
  background: var(--green-light);
  color: var(--green-dark);
  border-radius: 4px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.curso-info .tipo {
  background: var(--gold);
  color: #1a1a0a;
}

.btn-detalhes {
  background: var(--green-dark);
  color: #fff;
  border: none;
  padding: 9px 16px;
  margin: 10px 18px 14px;
  align-self: flex-start;
  margin-top: auto;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
  font-family: var(--font-button);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-detalhes:hover {
  opacity: 0.85;
  transform: translateX(2px);
}

.cursos-footer {
  text-align: center;
  padding: 0 24px;
}



/* Missão, Visão e Valores */
.mission-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  background: white;
}

.mission-item {
  text-align: center;
  padding: 30px 20px;
}

.mission-icon {
  width: 80px;
  height: 80px;
  background: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 40px;
  margin: 0 auto 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mission-item h4 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.mission-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* CTA Footer Section */
.cta-footer-section {
  background: linear-gradient(135deg, rgba(0, 102, 51, 0.95) 0%, rgba(0, 77, 38, 0.9) 100%);
  color: white;
  padding: 60px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.cta-content {
  max-width: 800px;
}

.cta-content h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: white;
  color: var(--green-dark);
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 2px solid white;
  font-family: var(--font-body);
  cursor: pointer;
}

.cta-button:hover {
  background: transparent;
  color: white;
}

/*=========================
  RESPONSIVIDADE - HISTÓRICO
=========================*/

@media (max-width: 1024px) {
  .historia-hero .hero-content {
    flex-direction: column;
    gap: 30px;
  }

  .historia-hero .hero-text {
    width: 100%;
  }

  .historia-hero h1 {
    font-size: 36px;
  }

  .timeline-container {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
  }

  .timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 30px;
    right: auto;
    width: 3px;
    height: 100%;
    background: var(--green-dark);
  }

  .timeline-item {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 20px;
  }

  .timeline-dot {
    flex-shrink: 0;
    margin: 0;
  }

  .timeline-item:not(:last-child)::after {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mission-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .mission-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .historia-hero {
    height: auto !important;
    max-height: none !important;
    padding: 40px 15px;
    min-height: auto;
  }

  .historia-hero h1 {
    font-size: 28px;
  }

  .historia-hero p {
    font-size: 14px;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .timeline-header h3 {
    font-size: 24px;
  }

  .timeline-dot {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .timeline-year {
    font-size: 18px;
  }

  .timeline-title {
    font-size: 14px;
  }

  .timeline-item p {
    font-size: 12px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .gallery-filters {
    gap: 10px;
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  .gallery-header h3 {
    font-size: 24px;
  }

  .mission-section {
    padding: 50px 15px;
    gap: 30px;
  }

  .mission-item {
    padding: 20px 15px;
  }

  .mission-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .mission-item h4 {
    font-size: 16px;
  }

  .mission-item p {
    font-size: 13px;
  }

  .cta-footer-section {
    padding: 40px 15px;
    gap: 20px;
  }

  .cta-content h2 {
    font-size: 20px;
  }

  .cta-button {
    padding: 12px 24px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .historia-hero {
    height: auto !important;
    max-height: none !important;
    padding: 30px 12px;
    min-height: auto;
  }

  .historia-hero h1 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .historia-hero p {
    font-size: 13px;
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .breadcrumb {
    font-size: 11px;
    gap: 5px;
  }

  .timeline-section {
    padding: 50px 15px;
  }

  .timeline-header h3 {
    font-size: 20px;
  }

  .timeline-dot {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .timeline-year {
    font-size: 16px;
  }

  .timeline-container::before {
    left: 25px;
  }

  .timeline-item {
    gap: 14px;
  }

  .gallery-section {
    padding: 50px 12px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gallery-filters {
    flex-direction: column;
    gap: 8px;
    padding: 0 10px;
  }

  .filter-btn {
    width: 100%;
    padding: 10px 12px;
    font-size: 11px;
  }

  .gallery-header h2 {
    font-size: 14px;
  }

  .gallery-header h3 {
    font-size: 18px;
  }

  .mission-section {
    padding: 40px 12px;
    gap: 25px;
  }

  .mission-item {
    padding: 15px 10px;
  }

  .mission-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .mission-item h4 {
    font-size: 14px;
  }

  .mission-item p {
    font-size: 12px;
    line-height: 1.5;
  }

  .cta-footer-section {
    padding: 30px 12px;
    gap: 15px;
  }

  .cta-content h2 {
    font-size: 16px;
    line-height: 1.3;
  }

  .cta-button {
    padding: 10px 18px;
    font-size: 11px;
    width: 90%;
  }
}

/* Tablets Médios (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .historia-hero {
    height: auto !important;
    max-height: none !important;
    padding: 50px 20px;
    min-height: 350px;
  }

  .historia-hero p {
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-container::before {
    left: 30px;
    width: 3px;
  }
}

/* Pequenos Desktops (768px - 900px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .historia-hero h1 {
    font-size: 40px;
  }

  .timeline-container {
    gap: 20px;
  }

  .timeline-dot {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }

  .timeline-container::before {
    left: 35px;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mission-section {
    gap: 30px;
  }
}

/* MEDIA QUERIES - CURSOS */
@media (max-width: 1024px) {
  .cursos-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .cursos-header h3 {
    font-size: 32px;
  }

  .cursos-filters .filter-btn {
    padding: 10px 18px;
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .cursos-section {
    padding: 50px 0 30px;
  }

  .cursos-header {
    margin-bottom: 40px;
  }

  .cursos-header h2 {
    font-size: 14px;
  }

  .cursos-header h3 {
    font-size: 26px;
  }

  .cursos-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 15px;
  }

  .cursos-filters {
    gap: 10px;
    padding: 0 15px;
  }

  .cursos-filters .filter-btn {
    padding: 9px 16px;
    font-size: 10px;
  }

  .curso-card {
    border-radius: 6px;
  }

  .curso-header {
    padding: 20px 15px;
    gap: 12px;
  }

  .curso-icon {
    font-size: 40px;
  }

  .curso-card h3 {
    font-size: 16px;
    padding: 15px 15px 0;
  }

  .curso-card p {
    font-size: 12px;
    padding: 0 15px;
  }

  .curso-info {
    padding: 0 15px;
    gap: 8px;
  }

  .curso-info span {
    font-size: 11px;
    padding: 5px 10px;
  }

  .btn-detalhes {
    padding: 10px 18px;
    margin: 0 15px 15px;
    font-size: 12px;
  }

  .cursos-footer .view-all {
    padding: 11px 22px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .cursos-section {
    padding: 40px 0 24px;
  }

  .cursos-header {
    margin-bottom: 30px;
    padding: 0 12px;
  }

  .cursos-header h2 {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .cursos-header h3 {
    font-size: 22px;
  }

  .cursos-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0 12px;
  }

  .cursos-filters {
    flex-direction: column;
    gap: 8px;
    padding: 0 10px;
    margin-bottom: 30px;
  }

  .cursos-filters .filter-btn {
    width: 100%;
    padding: 10px 15px;
    font-size: 11px;
  }

  .curso-header {
    padding: 18px 12px;
    flex-direction: column;
    align-items: flex-start;
  }

  .curso-icon {
    font-size: 36px;
  }

  .curso-category {
    font-size: 10px;
    padding: 5px 10px;
  }

  .curso-card h3 {
    font-size: 15px;
    padding: 12px 12px 0;
  }

  .curso-card p {
    font-size: 12px;
    padding: 0 12px;
    margin-bottom: 15px;
  }

  .curso-info {
    padding: 0 12px;
    gap: 6px;
  }

  .curso-info span {
    font-size: 10px;
    padding: 4px 8px;
  }

  .btn-detalhes {
    padding: 10px 15px;
    margin: 0 12px 12px;
    font-size: 11px;
  }

  .cursos-footer .view-all {
    padding: 10px 18px;
    font-size: 10px;
  }
}

/* Landscape Mode */
@media (max-height: 500px) and (orientation: landscape) {
  .historia-hero {
    height: auto !important;
    max-height: none !important;
    min-height: 250px;
    padding: 30px 20px;
  }

  .historia-hero p {
    -webkit-line-clamp: unset;
    overflow: visible;
  }

  .timeline-section,
  .gallery-section,
  .mission-section,
  .cta-footer-section {
    padding: 40px 20px;
  }
  i, .fa-solid, .fab {
  display: inline-block !important;
  font-size: 16px !important;
  visibility: visible !important;
  opacity: 1 !important;
}
i, .fa, .fas, .fab {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}
i {
  display: inline-block;
  font-style: normal;
}
}
/* ============================================================
   PÁGINAS DE NOTÍCIAS — página individual e listagem completa
============================================================ */

/* Breadcrumb */
.breadcrumb {
  max-width: 900px;
  margin: 0 auto;
  padding: 18px 24px 0;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--green); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { color: var(--gold); text-decoration: underline; }
.breadcrumb-sep { color: var(--border); }
.breadcrumb-current {
  color: var(--text-muted);
  max-width: 420px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Cabeçalho de página (listagem) */
.page-hero-section {
  background: var(--green);
  padding: 48px 0 36px;
  text-align: center;
}
.page-hero-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.page-hero-section .breadcrumb { color: rgba(255,255,255,0.75); justify-content: center; padding-top: 0; margin-bottom: 18px; }
.page-hero-section .breadcrumb a { color: #fff; }
.page-hero-section .breadcrumb-sep { color: rgba(255,255,255,0.4); }
.page-hero-section .breadcrumb-current { color: rgba(255,255,255,0.85); }
.page-hero-section .section-label { color: var(--gold); }
.page-hero-title {
  font-family:var(--font-heading);
  color: #fff;
  font-size: 32px;
  font-weight: 700;
  margin: 6px 0 14px;
}
.page-hero-desc {
  color: rgba(255,255,255,0.82);
  font-size: 15px;
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}

/* Página do artigo individual */
.article-page { max-width: 900px; margin: 0 auto; padding: 0 24px 60px; }

/* Breadcrumb desta página com fundo verde e texto branco */
.article-page .breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 20px 26px;
    background: var(--green);
    border-radius: 5px 5px 0 0;
}
.article-page .breadcrumb a { color: #fff; }
.article-page .breadcrumb a:hover { color: var(--gold); text-decoration: underline; }
.article-page .breadcrumb-sep { color: rgba(255,255,255,0.4); }
.article-page .breadcrumb-current { color: rgba(255,255,255,0.9); }

.article-container {
    background: #fff;
    border-radius: 0 0 14px 14px;
    padding: 40px;
    margin-top: 0;
}

.article-image-wrap { width: 100%; max-height: 1000px; overflow: hidden; background: #dce8dc; }
.article-image-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Cabeçalho — categoria, título e data, antes da imagem */
.article-header { padding: 36px 32px 22px; }

.article-badge {
  display: inline-block;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 6px;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 16px;
}

.article-title {
  font-family:var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 16px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 13px;
}
.article-meta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

.article-body { padding: 28px 32px 40px; }

.article-content { font-size: 15.5px; line-height: 1.85; color: var(--text); }
.article-content p { margin: 0 0 18px; }
.article-content p:last-child { margin-bottom: 0; }

.article-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.article-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
}
.article-btn-primary {
  background: linear-gradient(400deg, #006633, #00994d);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.article-btn-primary:hover { background: var(--gold); color: #1a1a0a; transform: translateY(-2px); }
.article-btn-secondary {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}
.article-btn-secondary:hover { background: var(--green-light); border-color: var(--green); color: var(--green-dark); }

.article-not-found { padding: 60px 32px; text-align: center; }
.article-not-found h2 { font-family:var(--font-heading); color: var(--text); margin-bottom: 12px; }
.article-not-found p { color: var(--text-muted); margin-bottom: 24px; }

/* Outras notícias (relacionadas) */
.related-news-section { margin-top: 48px; }
.related-title {
  font-family:var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}

@media (max-width: 600px) {
  .article-header { padding: 24px 18px 16px; }
  .article-body { padding: 20px 18px 28px; }
  .article-title { font-size: 22px; }
  .page-hero-title { font-size: 24px; }
}

/* ============================================================
   PÁGINA DE PILAR — informação detalhada de cada um dos 4 pilares
============================================================ */

.pillar-hero-section {
  padding: 48px 0 40px;
  text-align: center;
  color: #fff;
}
.pillar-hero-inner { max-width: 900px; margin: 0 auto; padding: 0 24px; }
.pillar-hero-section .breadcrumb { color: rgba(255,255,255,0.75); justify-content: center; padding-top: 0; margin-bottom: 18px; }
.pillar-hero-section .breadcrumb a { color: #fff; }
.pillar-hero-section .breadcrumb-sep { color: rgba(255,255,255,0.4); }
.pillar-hero-section .breadcrumb-current { color: rgba(255,255,255,0.85); }

.pillar-hero-icon {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--gold);
  margin: 0 auto 18px;
}
.pillar-hero-section .section-label { color: var(--gold); }
.pillar-hero-title {
  font-family:var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  margin: 6px 0 14px;
  color: #fff;
}
.pillar-hero-tagline {
  color: rgba(255,255,255,0.85);
  font-size: 15.5px;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
}

.pillar-page { max-width: 900px; margin: 0 auto; padding: 40px 24px 60px; }

.pillar-content { font-size: 15.5px; line-height: 1.85; color: var(--text); }
.pillar-content p { margin: 0 0 18px; }
.pillar-content p:last-child { margin-bottom: 0; }

.pillar-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 34px 0;
}
.pillar-highlight-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.pillar-highlight-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
}
.pillar-highlight-card h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
  font-family:var(--font-body);
}
.pillar-highlight-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  font-family:var(--font-body);
}

.pillar-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* Outros pilares */
.pillar-others-section { margin-top: 50px; }
.pillar-others-title {
  font-family:var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
}
.pillar-others-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pillar-other-card {
  display: block;
  text-decoration: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.pillar-other-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0,0,0,0.08);
  border-color: var(--gold);
}
.pillar-other-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: #fff;
}
.pillar-other-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
  font-family:var(--font-body);
}
.pillar-other-card span {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
}

@media (max-width: 768px) {
  .pillar-highlights-grid { grid-template-columns: 1fr; }
  .pillar-others-grid { grid-template-columns: 1fr; }
  .pillar-hero-title { font-size: 24px; }
}
/* =========================
   NOTÍCIAS — VISTA EM GRELHA
   (aplica-se apenas à página de listagem completa, #newsGrid)
========================= */
#newsGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

@media (max-width: 600px) {
  #newsGrid {
    grid-template-columns: 1fr;
  }

  /* ===== Header e Dropdown acima do Hero/Breadcrumb ===== */

header,
.site-header,
.main-header,
.navbar {
    position: relative;
    z-index: 1000;
}

.nav-menu,
.dropdown,
.dropdown-menu,
.submenu {
    z-index: 1100;
}

.page-hero-section,
.sr-hero,
.article-page,
.breadcrumb {
    position: relative;
    z-index: 1;
}
}
/* ============================================
   SISTEMA TIPOGRÁFICO
   Hero: Barlow Condensed ExtraBold (800)
   Títulos: Barlow Condensed Bold (700)
   Menu: Barlow Condensed Medium (500)
   Texto: Manrope Regular (400)
   Botões: Manrope SemiBold (600)
   Números/Indicadores: Barlow Condensed Bold (700)
   ============================================ */

/* HERO / BANNER */
.hero-text h1, .hero-badge, .site-search-hero h1 {
  font-family: var(--font-display);
  font-weight: var(--fw-hero);
}

/* TÍTULOS */
h1, h2, h3, h4, h5, h6,
.section-title, .logo-text .name, .footer-logo-text,
.course-top h3, .newsletter-text h2, .about-inner .page-title,
.contact-page-header h1, .exams-hero h1,
.exam-card-head h2, .director-full-text h2.greeting,
.director-full-photo h3, .about-fact-card h4,
.value-card h4, .faq-content .divisao-block h5,
.featured-overlay-text h3, .lightbox-caption h4,
.footer-col h4 {
  font-family: var(--font-heading);
  font-weight: var(--fw-heading);
  
}

/* MENU / NAVEGAÇÃO */
.nav-link, .dropdown-col a, .dropdown-col h4,
.audience-btn, .topbar-links a, .platforms-bar a {
  font-family: var(--font-display);
  font-weight: var(--fw-menu);
}

/* TEXTO */
body, p, li, td, th, label, .stat-label, .stat-sub,
.about-inner p, .valuelistt, input, textarea, select {
  font-family: var(--font-body);
  font-weight: var(--fw-body);
}

/* BOTÕES */
button, .btn-primary, .btn-outline, .newsletter-form button,
input[type="submit"], #srSubmitBtn,
.search-submit, #searchSubmitBtn {
  font-family: var(--font-body);
  font-weight: var(--fw-button);
}

/* NÚMEROS / INDICADORES */
.stat-num, .course-num, .logo-circle, .footer-logo-circle {
  font-family: var(--font-display);
  font-weight: var(--fw-number);
}

/* ===== FAIXA FARMA ISPG ===== */
.farma-banner{background:var(--bg);border-bottom:1px solid var(--border);padding:60px 0}
.farma-banner-inner{max-width:1200px;margin:0 auto;padding:0 24px;}
.farma-banner-headrow{display:flex;align-items:baseline;gap:18px;flex-wrap:wrap}
.farma-banner-headrow .section-title{margin:0}
.farma-banner-btn{flex-shrink:0;display:inline-flex;align-items:center;gap:8px;background:transparent;border:2px solid var(--green);color:var(--green);font-family:var(--font-body);font-weight:600;font-size:13px;padding:9px 15px;border-radius:6px;text-decoration:none;white-space:nowrap;transition:background 0.2s,color 0.2s,transform 0.2s;height: 32px;}
.farma-banner-btn:hover{background:var(--green);color:#fff;transform:translateY(-2px)}
@media (max-width: 600px) {
  .farma-banner{padding:44px 0}
  .farma-banner-headrow{flex-direction:column;align-items:flex-start;gap:14px}
}


#newsGrid .news-title{
  font-family:var(--font-heading);
  font-size:17px;
  font-weight:700;
  line-height:1.35;
  margin:0 0 8px;
  color:var(--text);
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

#newsGrid .news-excerpt{
  font-family:var(--font-body);
  font-size:13px;
  line-height:1.6;
  color:var(--text-muted);
  margin:0;
  flex:1;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* =========================================================
   NOTÍCIAS — CARD ESTILO "code.html" (aplica-se só a #newsGrid)
   Imagem maior, cantos mais arredondados, sombra suave,
   badge de categoria colorido sobre a imagem, zoom no hover.
========================================================= */
#newsGrid .news-card{
  border-radius:16px;
  border:1px solid var(--border);
  box-shadow:0 4px 12px rgba(0,0,0,0.04);
  min-height:0;
  transition:transform 0.25s ease, box-shadow 0.25s ease;
}

#newsGrid .news-card:hover{
  transform:none;
  box-shadow:0 10px 26px rgba(0,0,0,0.08);
}

#newsGrid .news-image{
  height:192px;
}

#newsGrid .news-image img{
  transition:transform 0.5s ease;
}

#newsGrid .news-card:hover .news-image img{
  transform:scale(1.1);
}

/* Badge de categoria — usar em conjunto com .news-type,
   ex: <span class="news-type news-type--noticia">Notícia</span> */
#newsGrid .news-type{
  padding:4px 14px;
  border-radius:9999px;
  font-family:var(--font-body);
}
#newsGrid .news-type--noticia{ background:var(--green); }
#newsGrid .news-type--evento{ background:#004785; }
#newsGrid .news-type--academico{ background:var(--gold); color:#1a1a1a; }

#newsGrid .news-body{
  padding:18px 20px 0;
}

#newsGrid .news-excerpt{
  display:none;
}

#newsGrid .news-footer{
  padding:0 20px 20px;
  border-top:none;
  margin-top:14px;
}

#newsGrid .news-link{
  font-weight:700;
  gap:4px;
}

@media (max-width:600px){
  #newsGrid .news-image{ height:170px; }
}

/* ============================================================
   .scroll-x — utilitário genérico para conteúdo largo (tabelas,
   organogramas, etc.) que corta em ecrãs de resolução intermédia
   (ex: portáteis Dell ~1366px). Envolve o elemento largo com
   <div class="scroll-x">...</div> na página em causa.
   ============================================================ */
.scroll-x {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.scroll-x > * {
  min-width: max-content;
}

/* =========================================================
   AJUSTE FINAL — CARDS DE NOTÍCIAS DA HOMEPAGE (.news-card)
   Visual alinhado ao code.html: imagem maior, cantos mais
   arredondados, sombra suave, zoom no hover, badge em pílula,
   e SEM o resumo/excerto da notícia.
========================================================= */
.news-card{
  min-height:0;
  border-radius:16px;
  box-shadow:0 4px 12px rgba(0,0,0,0.06);
  transition:transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(0,0,0,0.10);
}

.news-image{
  height:192px;
}

.news-image img{
  transition:transform 0.5s ease;
}

.news-card:hover .news-image img{
  transform:scale(1.08);
}

.news-type{
  top:14px;
  left:14px;
  margin:0;
  padding:4px 14px;
  border-radius:9999px;
  font-weight:700;
  letter-spacing:0.4px;
  text-transform:uppercase;
}

.news-body{
  padding:18px 20px 0;
}

/* Resumo/excerto da notícia removido do card, conforme pedido */
.news-excerpt{
  display:none;
}

.news-footer{
  padding:0 20px 20px;
  border-top:none;
  margin-top:14px;
}

.news-link{
  font-weight:700;
  display:inline-flex;
  align-items:center;
  gap:4px;
}

@media (max-width:600px){
  .news-image{ height:170px; }
}