/* =========================================================
   Portal STI&P — Irati-PR
   style.css  (arquivo único, externo)
   ========================================================= */

/* ── Variáveis e reset ── */
:root {
  --white:     #ffffff;
  --off:       #f5f7fa;
  --off2:      #eef1f6;
  --ink:       #0d1b2a;
  --ink2:      #334155;
  --ink3:      #64748b;
  --blue:      #005eff;
  --cyan:      #00b4d8;
  --green:     #06c987;
  --amber:     #f59e0b;
  --border:    rgba(13,27,42,.09);
  --shadow-sm: 0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --shadow:    0 4px 20px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.05);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --radius:    20px;
  --max:       1140px;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-body); background: var(--white); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a     { color: inherit; text-decoration: none; }
img   { display: block; max-width: 100%; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* ── Topbar ── */
.topbar       { background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .03em; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.topbar a     { color: rgba(255,255,255,.85); }
.topbar a:hover { color: #fff; }
.topbar-pill  { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.15); border-radius: 999px; padding: 3px 10px; }
.topbar-muted { color: rgba(255,255,255,.75); font-size: 12px; }

/* ── Header ── */
.header       { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.93); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 16px; }
.brand        { display: flex; align-items: center; gap: 12px; }
.brand-logo-box {
  width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.brand-logo-box--img { background: none; padding: 0; overflow: hidden; }
.brand-logo-box--img img { width: 100%; height: 100%; object-fit: contain; }
.brand-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--ink); }
.brand-text span   { display: block; font-size: 11px; color: var(--ink3); }
.nav-menu   { display: flex; align-items: center; gap: 4px; }
.nav-menu a { padding: 7px 12px; border-radius: 10px; font-size: 13px; font-weight: 600; color: var(--ink2); transition: background .15s, color .15s; }
.nav-menu a:hover { background: var(--off); color: var(--blue); }
.btn-nav        { background: var(--blue)!important; color: #fff!important; border-radius: 10px; padding: 8px 16px!important; font-weight: 700!important; }
.btn-nav:hover  { background: #004ee0!important; color: #fff!important; }
.nav-toggle     { display: none; width: 38px; height: 38px; border-radius: 10px; background: var(--off); border: 1px solid var(--border); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { display: block; width: 16px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ── Botões ── */
.btn          { display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 13px 22px; border-radius: 14px; font-weight: 700; font-size: 14px; cursor: pointer; border: none; transition: all .2s; font-family: var(--font-body); }
.btn-primary  { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #004ee0; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,94,255,.25); }
.btn-outline  { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm       { padding: 9px 16px; font-size: 13px; border-radius: 10px; }
.btn--full    { width: 100%; justify-content: center; }
.btn--mt      { margin-top: 14px; }
.btn--mt-sm   { margin-top: 12px; }

/* ── Hero ── */
.hero        { padding: 70px 0 60px; background: linear-gradient(160deg, var(--off) 0%, var(--white) 55%); position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -100px; right: -120px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(0,94,255,.05) 0%, transparent 70%); pointer-events: none; }
.hero-grid   { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.secretary-bar    { display: inline-flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 8px 18px 8px 8px; box-shadow: var(--shadow-sm); margin-bottom: 28px; }
.secretary-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; color: #fff; flex-shrink: 0; overflow: hidden; }
.secretary-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.secretary-info strong { display: block; font-size: 14px; font-weight: 700; }
.secretary-info span   { font-size: 12px; color: var(--ink3); }
.hero h1     { font-family: var(--font-display); font-size: clamp(28px,3.8vw,50px); line-height: 1.1; font-weight: 900; color: var(--ink); margin-bottom: 18px; letter-spacing: -.02em; }
.hero h1 em  { font-style: normal; background: linear-gradient(100deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead        { font-size: 16px; color: var(--ink2); max-width: 56ch; line-height: 1.65; margin-bottom: 28px; }
.hero-cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 32px; }
.insta-pill  { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; background: linear-gradient(90deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); color: #fff; }
.hero-metrics { display: flex; gap: 14px; flex-wrap: wrap; }
.metric       { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-sm); }
.metric-num   { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--blue); }
.metric-label { display: flex; align-items: center; gap: 2px; font-size: 11px; color: var(--ink3); line-height: 1.35; margin-top: 2px; }
.metric-link  { cursor: pointer; transition: box-shadow .2s, transform .2s, border-color .2s; text-decoration: none; }
.metric-link:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: rgba(0,94,255,.3); }
.metric-link .metric-num { color: var(--blue); }
.metric-arrow { display: inline-block; margin-left: 4px; font-size: 11px; color: var(--blue); font-weight: 800; }

/* ODS strip */
.ods-strip   { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 20px; }
.ods-strip a { display: inline-block; line-height: 0; }
.ods-icon    { width: 44px; height: 44px; border-radius: 8px; display: block; transition: transform .2s, box-shadow .2s; box-shadow: var(--shadow-sm); }
.ods-strip a:hover .ods-icon { transform: translateY(-3px) scale(1.08); box-shadow: var(--shadow); }
/* ODS inline (pequenas) */
.ods-mini    { width: 28px; height: 28px; border-radius: 4px; }
.ods-row     { display: flex; gap: 4px; flex-wrap: wrap; }

/* ODS badges */
.ods-badge { font-size: 11px; font-weight: 700; padding: 5px 12px; border-radius: 999px; border: 1.5px solid; }
.ods-1  { background:rgba(229,36,59,.07);  border-color:rgba(229,36,59,.3);  color:#c0243a; }
.ods-2  { background:rgba(221,166,58,.07); border-color:rgba(221,166,58,.3); color:#9a6e0d; }
.ods-3  { background:rgba(76,159,56,.07);  border-color:rgba(76,159,56,.3);  color:#2e6e1a; }
.ods-4  { background:rgba(197,25,45,.07);  border-color:rgba(197,25,45,.3);  color:#a01020; }
.ods-5  { background:rgba(255,58,33,.07);  border-color:rgba(255,58,33,.3);  color:#c43010; }
.ods-6  { background:rgba(38,189,226,.07); border-color:rgba(38,189,226,.3); color:#0d7fa3; }
.ods-7  { background:rgba(252,195,11,.07); border-color:rgba(252,195,11,.3); color:#9a7200; }
.ods-8  { background:rgba(162,25,66,.07);  border-color:rgba(162,25,66,.3);  color:#8a103a; }
.ods-9  { background:rgba(253,105,37,.07); border-color:rgba(253,105,37,.3); color:#c45a1a; }
.ods-10 { background:rgba(221,19,103,.07); border-color:rgba(221,19,103,.3); color:#a00a55; }
.ods-11 { background:rgba(245,158,11,.07); border-color:rgba(245,158,11,.3); color:#b07a05; }
.ods-12 { background:rgba(191,139,46,.07); border-color:rgba(191,139,46,.3); color:#7a5510; }
.ods-13 { background:rgba(63,126,68,.07);  border-color:rgba(63,126,68,.3);  color:#1e5e24; }
.ods-14 { background:rgba(10,151,217,.07); border-color:rgba(10,151,217,.3); color:#0660a0; }
.ods-15 { background:rgba(86,192,43,.07);  border-color:rgba(86,192,43,.3);  color:#2e7a10; }
.ods-16 { background:rgba(0,104,157,.07);  border-color:rgba(0,104,157,.3);  color:#004e80; }
.ods-17 { background:rgba(0,94,255,.07);   border-color:rgba(0,94,255,.3);   color:var(--blue); }

/* ── Hero card (Fundo de Tecnologia) ── */
.hero-card          { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.hero-card-head     { background: linear-gradient(135deg, #003ecc, #005eff, #00b4d8); padding: 18px 20px; color: #fff; }
.hero-card-head h3  { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.hero-card-head p   { font-size: 12px; opacity: .8; }
.hero-card-eyebrow  { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .8; margin-bottom: 4px; }
.glass              { padding: 18px 20px; }

/* Termômetro vertical (hero card) */
.fundo-counter-row    { padding: 10px 0 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 16px; }
.fundo-thermo-col     { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; }
.fundo-thermo-pct-top { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--blue); }
.fundo-thermo-track   { position: relative; width: 28px; height: 130px; background: var(--off2); border-radius: 999px; overflow: hidden; border: 1.5px solid var(--border); }
.fundo-thermo-fill    { position: absolute; bottom: 0; left: 0; right: 0; height: 100%; background: linear-gradient(0deg, var(--blue), var(--cyan)); border-radius: 999px; }
.fundo-thermo-ball    { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--cyan)); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--blue); display: flex; align-items: center; justify-content: center; }
.fundo-thermo-ball span { font-size: 9px; font-weight: 800; color: #fff; }
.fundo-counter-col    { flex: 1; min-width: 0; }
.fundo-counter-label  { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink3); margin-bottom: 4px; }
.fundo-counter-val    { font-family: var(--font-display); font-size: 32px; font-weight: 700; background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.fundo-counter-meta   { font-size: 11px; color: var(--ink3); margin-top: 3px; }
.fundo-status-badge   { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; background: rgba(6,201,135,.08); border: 1px solid rgba(6,201,135,.25); border-radius: 8px; padding: 5px 10px; font-size: 11px; font-weight: 700; color: #059669; }
.fundo-status-dot     { width: 6px; height: 6px; border-radius: 50%; background: #059669; display: inline-block; animation: pulse 1.5s infinite; }

/* Mini destinos (hero card grid) */
.fundo-dest-grid      { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.fundo-dest-item      { background: var(--off); border-radius: 10px; padding: 10px; font-size: 12px; }
.fundo-dest-item a    { text-decoration: none; display: block; }
.fundo-dest-icon      { font-size: 18px; margin-bottom: 4px; }
.fundo-dest-item strong { display: block; color: var(--ink); font-size: 12px; margin-bottom: 1px; }
.fundo-dest-item span   { color: var(--ink3); font-size: 11px; }

/* mini-feed (publicações no hero card) */
.mini-item       { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); transition: opacity .2s; }
.mini-item:last-child { border-bottom: none; }
.mini-item:hover { opacity: .7; }
.mini-title      { font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); line-height: 1.4; }
.mini-meta       { display: flex; gap: 6px; flex-wrap: wrap; }
.badge           { font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border); background: var(--off); color: var(--ink3); }

/* ── Seções genéricas ── */
.section      { padding: 64px 0; }
.section.alt  { background: var(--off); }
.section-tag  { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; background: rgba(0,94,255,.08); color: var(--blue); border: 1px solid rgba(0,94,255,.2); margin-bottom: 10px; }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(22px,2.8vw,36px); font-weight: 700; color: var(--ink); margin-bottom: 8px; letter-spacing: -.01em; }
.section-head p  { color: var(--ink3); font-size: 15px; max-width: 60ch; }

/* ── Cards genéricos ── */
.cards    { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.card     { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.program-icon { width: 44px; height: 44px; border-radius: 14px; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; background: rgba(0,94,255,.08); border: 1px solid rgba(0,94,255,.15); }
.status       { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: rgba(6,201,135,.1); border: 1px solid rgba(6,201,135,.3); color: #059669; margin-bottom: 10px; }
.status::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #059669; }
.card h3  { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.card p   { font-size: 14px; color: var(--ink3); line-height: 1.6; }
.list     { margin: 10px 0 0; padding-left: 18px; color: var(--ink3); font-size: 13px; }
.list li  { margin: 5px 0; }
.list--mb { margin-bottom: 8px; }
.philosophy   { background: var(--white); border: 1px solid var(--border); border-left: 4px solid var(--blue); border-radius: 16px; padding: 28px 32px; margin-top: 24px; box-shadow: var(--shadow-sm); }
.philosophy p { font-family: var(--font-display); font-size: 18px; font-style: italic; color: var(--ink); line-height: 1.6; margin-bottom: 10px; }
.philosophy cite { font-size: 13px; color: var(--ink3); }

/* ── Action cards (com foto) ── */
.action-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.action-card  { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.action-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.action-img-wrap   { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--off2); }
.action-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.action-card:hover .action-img-wrap img { transform: scale(1.04); }
.action-img-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 56px; background: linear-gradient(135deg, var(--off), var(--off2)); }
.action-tag   { position: absolute; top: 12px; left: 12px; font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--blue); border: 1px solid rgba(0,94,255,.2); backdrop-filter: blur(6px); letter-spacing: .03em; }
.action-body  { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.action-body h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin: 8px 0 8px; line-height: 1.3; }
.action-body p  { font-size: 13px; color: var(--ink3); line-height: 1.65; margin-bottom: 6px; }
.action-body .list { flex: 1; }

/* Bloco de parceiros/impacto/ODS dentro dos action-body */
.card-meta       { margin-top: 10px; font-size: 12px; }
.card-meta + .card-meta { margin-top: 8px; }
.card-meta-title { font-weight: 700; color: var(--ink); margin-bottom: 3px; }
.card-meta-title--ods { margin-bottom: 5px; }
.card-meta p     { color: var(--ink3); margin: 0; }

/* ── Termômetro de metas ── */
.thermo-outer    { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.thermo-box      { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.thermo-box h3   { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.thermo-box > p  { font-size: 13px; color: var(--ink3); margin-bottom: 24px; }
.thermo-item     { margin-bottom: 22px; }
.thermo-label    { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.thermo-name     { font-size: 13px; font-weight: 700; color: var(--ink); }
.thermo-val      { font-size: 13px; font-weight: 800; }
.thermo-track    { height: 10px; background: var(--off2); border-radius: 999px; overflow: hidden; }
.thermo-fill     { height: 100%; border-radius: 999px; position: relative; transition: width 1.4s cubic-bezier(.16,1,.3,1); }
.fill-blue   { background: linear-gradient(90deg, var(--cyan), var(--blue)); }
.fill-green  { background: linear-gradient(90deg, #34d399, var(--green)); }
.fill-amber  { background: linear-gradient(90deg, #fbbf24, var(--amber)); }
.fill-purple { background: linear-gradient(90deg, #a78bfa, #7c3aed); }
.thermo-highlight { background: linear-gradient(160deg, rgba(0,94,255,.03), rgba(0,180,216,.04)); border: 2px solid rgba(0,94,255,.22); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.vert-wrap   { display: flex; gap: 24px; align-items: flex-end; margin-bottom: 24px; }
.vert-track  { position: relative; width: 52px; height: 160px; background: var(--off2); border-radius: 999px; overflow: hidden; flex-shrink: 0; }
.vert-fill   { position: absolute; bottom: 0; left: 0; right: 0; height: 0%; background: linear-gradient(0deg, var(--blue), var(--cyan)); border-radius: 999px; transition: height 1.8s cubic-bezier(.16,1,.3,1); }
.counter-val { font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1; background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.feat-grid   { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feat-item   { background: var(--off); border: 1px solid var(--border); border-radius: 12px; padding: 12px; }
.feat-icon   { font-size: 20px; margin-bottom: 4px; }
.feat-item strong { display: block; font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.feat-item span   { font-size: 11px; color: var(--ink3); }

/* ── Instagram carousel ── */
.insta-section       { background: var(--off); }
.insta-header        { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.insta-profile       { display: flex; align-items: center; gap: 14px; }
.insta-avatar        { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; box-shadow: 0 0 0 2px var(--white), 0 0 0 4px #e6683c; }
.insta-profile-info strong { display: block; font-size: 15px; font-weight: 700; }
.insta-profile-info span   { font-size: 13px; color: var(--ink3); }
.carousel-wrap  { overflow: hidden; border-radius: 16px; }
.carousel-track { display: flex; gap: 16px; transition: transform .45s cubic-bezier(.4,0,.2,1); }
.insta-card     { flex: 0 0 calc((100% - 32px)/3); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.insta-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.insta-card-img     { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 52px; background: linear-gradient(135deg, #f0f4ff, #e4edff); }
.insta-card-body    { padding: 14px 16px; }
.insta-card-caption { font-size: 13px; color: var(--ink2); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 8px; }
.insta-card-link    { display: inline-flex; align-items: center; gap: 5px; margin-top: 10px; font-size: 12px; font-weight: 700; color: var(--blue); }
.insta-embed-note   { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink3); }
.insta-embed-note strong { color: var(--ink); }
.insta-embed-icon   { font-size: 22px; }
.insta-note-bar     { background: var(--off); border-top: 1px solid var(--border); padding: 18px 0; }
.carousel-nav  { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 18px; }
.carousel-btn  { width: 38px; height: 38px; border-radius: 50%; background: var(--white); border: 1px solid var(--border); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: background .15s, border-color .15s; box-shadow: var(--shadow-sm); }
.carousel-btn:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.carousel-dots { display: flex; gap: 6px; }
.carousel-dot  { width: 7px; height: 7px; border-radius: 50%; background: var(--off2); cursor: pointer; transition: all .2s; border: 1px solid var(--border); }
.carousel-dot.active { background: var(--blue); border-color: var(--blue); width: 20px; border-radius: 999px; }

/* ── Blogger feed ── */
.toolbar         { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 24px; flex-wrap: wrap; }
.search input    { width: min(440px,80vw); padding: 11px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--white); color: var(--ink); font-family: var(--font-body); font-size: 14px; outline: none; box-shadow: var(--shadow-sm); }
.search input:focus { border-color: var(--blue); }
.search input::placeholder { color: var(--ink3); }
.toolbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.chip            { padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--border); background: var(--white); color: var(--ink3); font-weight: 700; font-size: 13px; cursor: pointer; transition: all .15s; box-shadow: var(--shadow-sm); font-family: var(--font-body); }
.chip:hover      { border-color: var(--blue); color: var(--blue); }
.chip.is-active  { background: var(--blue); color: #fff; border-color: var(--blue); }
.feed            { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.post            { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .2s; }
.post:hover      { box-shadow: var(--shadow); transform: translateY(-2px); }
.post .meta      { display: flex; gap: 8px; flex-wrap: wrap; font-size: 12px; }
.post h3         { font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.4; }
.post p          { font-size: 13px; color: var(--ink3); line-height: 1.6; }
.post .thumb     { border-radius: 12px; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post .read-btn  { margin-top: auto; }
.feed-center     { display: flex; justify-content: center; margin-top: 28px; }

/* Impacto */
.impact-grid  { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 24px; }
.impact-item  { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 20px; text-align: center; box-shadow: var(--shadow-sm); }
.impact-num   { font-family: var(--font-display); font-size: 32px; font-weight: 700; background: linear-gradient(90deg, var(--blue), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 4px; }
.impact-desc  { font-size: 12px; color: var(--ink3); line-height: 1.4; }
.hab-list     { display: grid; gap: 10px; margin-top: 16px; }
.hab-item     { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; box-shadow: var(--shadow-sm); }
.hab-icon     { font-size: 20px; flex-shrink: 0; }
.hab-text strong { display: block; font-size: 13px; font-weight: 700; margin-bottom: 1px; }
.hab-text span   { font-size: 12px; color: var(--ink3); }

/* ── Parceiros ── */
.partner-grid       { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.partner-big-card   { display: flex; align-items: center; gap: 16px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s; }
.partner-big-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: rgba(0,94,255,.25); }
.partner-big-logo   { width: 80px; height: 80px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: var(--off); border-radius: 12px; padding: 10px; overflow: hidden; position: relative; }
.partner-big-logo img { width: 100%; height: 100%; object-fit: contain; }
.partner-big-logo img[src=""], .partner-big-logo img:not([src]) { display: none; }
.partner-big-logo::after { content: attr(data-name); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: var(--blue); text-align: center; padding: 4px; opacity: 0; pointer-events: none; }
.partner-big-logo.img-error::after { opacity: 1; }
.partner-big-logo.img-error img { opacity: 0; }
.partner-big-logo--dark { background: #003087; }   /* Copel  */
.partner-big-logo--green { background: #005c2e; }  /* Cresol */
.partner-big-body   { flex: 1; min-width: 0; }
.partner-big-body strong { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.partner-big-body span   { display: block; font-size: 12px; color: var(--ink3); line-height: 1.5; margin-bottom: 10px; }
.partner-big-link   { font-size: 12px; font-weight: 700; color: var(--blue); }

/* ── Carrossel Programas ── */
.prog-carousel-wrap { position: relative; overflow: hidden; }
.prog-carousel      { display: flex; gap: 16px; transition: transform .45s cubic-bezier(.4,0,.2,1); will-change: transform; }
.prog-slide         { flex: 0 0 calc((100% - 32px) / 3); }
.prog-nav           { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 18px; }

/* ── Carrossel de Projetos ── */
.proj-carousel-wrap { position: relative; overflow: hidden; }
.proj-carousel      { display: flex; gap: 20px; transition: transform .45s cubic-bezier(.4,0,.2,1); will-change: transform; }
.proj-slide         { flex: 0 0 calc((100% - 40px)/3); }
.proj-nav           { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 18px; }

/* ── Contato ── */
.grid-2     { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.panel      { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.panel h3   { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.contact    { display: grid; gap: 10px; color: var(--ink2); font-size: 14px; }
.contact a  { color: var(--blue); }
.contact-footer  { margin-top: 20px; }
.form-row   { margin-bottom: 12px; }
.form-row label    { display: block; font-size: 11px; font-weight: 700; margin-bottom: 5px; color: var(--ink3); text-transform: uppercase; letter-spacing: .04em; }
.form-row input, .form-row textarea { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 10px; background: var(--off); color: var(--ink); font-family: var(--font-body); font-size: 14px; outline: none; resize: vertical; }
.form-row input:focus, .form-row textarea:focus { border-color: var(--blue); background: var(--white); }
.form-msg { margin-top: 10px; display: none; }

/* ── Skeleton ── */
.skeleton      { height: 12px; border-radius: 999px; background: var(--off2); position: relative; overflow: hidden; }
.skeleton::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent); animation: shimmer 1.2s infinite; transform: translateX(-100%); }
.skeleton.big  { height: 18px; width: 75%; }
.feed-skeleton { display: grid; gap: 10px; }
@keyframes shimmer { to { transform: translateX(200%); } }
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}

/* ── Footer ── */
.footer        { padding: 24px 0; background: var(--ink); }
.footer-inner  { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-brand  { display: flex; align-items: center; gap: 12px; }
.footer-logo-box { width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--blue), var(--cyan)); display: flex; align-items: center; justify-content: center; font-size: 16px; overflow: hidden; padding: 0; }
.footer-logo-box img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand strong { color: #fff; font-size: 13px; font-weight: 700; display: block; }
.footer-brand span   { color: rgba(255,255,255,.5); font-size: 12px; }
.footer-links   { display: flex; gap: 16px; }
.footer-links a { color: rgba(255,255,255,.6); font-size: 13px; font-weight: 600; }
.footer-links a:hover { color: #fff; }

/* ── Utilitários ── */
.center { display: flex; justify-content: center; margin-top: 24px; }
.muted  { color: var(--ink3); }
.small  { font-size: 12px; }
.link   { color: var(--blue); font-weight: 700; }

/* ── Responsivo ── */
@media (max-width: 960px) {
  .hero-grid, .thermo-outer, .grid-2 { grid-template-columns: 1fr; }
  .cards, .feed { grid-template-columns: 1fr; }
  .impact-grid  { grid-template-columns: repeat(2,1fr); }
  .insta-card   { flex: 0 0 calc((100% - 16px)/2); }
  .action-cards { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr 1fr; }
  .prog-slide   { flex: 0 0 calc((100% - 16px) / 2); }
  .proj-slide   { flex: 0 0 calc((100% - 20px)/2); }
  .nav-toggle   { display: flex; }
  .nav-menu {
    position: absolute; right: 20px; top: 68px;
    width: min(320px, calc(100% - 40px));
    background: var(--white); border: 1px solid var(--border);
    border-radius: 16px; box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch;
    padding: 12px; display: none; gap: 4px;
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a { padding: 10px 14px; }
}
@media (max-width: 560px) {
  .insta-card  { flex: 0 0 100%; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .feat-grid   { grid-template-columns: 1fr 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .prog-slide  { flex: 0 0 100%; }
  .proj-slide  { flex: 0 0 100%; }
}

/* Badge variante data (feed Blogger) */
.badge--date { background: rgba(0,94,255,.07); color: var(--blue); border-color: rgba(0,94,255,.2); }

/* Feed vazio / erro (gerado pelo JS) */
.feed-empty { grid-column: 1 / -1; background: var(--white); border: 1px solid var(--border); border-radius: 20px; padding: 28px; text-align: center; }
