@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Poppins:wght@500;600;700&display=swap');

:root{
  --green:#00BF63;
  --red:#F7292D;
  --orange:#FFBD59;
  --dark:#27435A;
  --blue:#3880BE;

  --bg:#ffffff;
  --alt:#f6f8fb;

  --text: var(--dark);
  --muted: rgba(39,67,90,.75);

  --font-body:"Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading:"Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container:1120px;
  --radius:16px;
  --shadow: 0 14px 40px rgba(39,67,90,.12);
}

*{ box-sizing:border-box; }
html{ font-size:18px; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--text);
  background:var(--bg);
  line-height:1.7;
  text-rendering:optimizeLegibility;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }

.container{
  width:min(var(--container), calc(100% - 2rem));
  margin-inline:auto;
}

.skip-link{
  position:absolute; left:-999px; top:auto;
}
.skip-link:focus{
  left:1rem; top:1rem;
  background:#fff; padding:.6rem .8rem;
  border-radius:12px; box-shadow:var(--shadow);
  z-index:9999;
}

/* Header */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.9);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid rgba(39,67,90,.08);
  font-size: 15px;
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand{
  display:flex; align-items:center; gap:.7rem;
  min-width: 180px;
}
.brand-mark{
  width:34px; height:34px; border-radius:12px;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 10px 26px rgba(0,191,99,.25);
}
.brand-name{
  font-family:var(--font-heading);
  font-weight:700;
  letter-spacing:.2px;
}
.nav{ display:flex; gap:.9rem; margin-left:auto; }
.nav-link{ padding:.35rem .45rem; border-radius:10px; }
.nav-link:hover{ background: rgba(39,67,90,.06); text-decoration:none; }

.social{ display:flex; gap:.5rem; }
.icon-link{
  width:34px; height:34px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid rgba(39,67,90,.16);
  border-radius:12px;
  color: rgba(39,67,90,.85);
  font-weight:700;
}
.icon-link:hover{ background: rgba(56,128,190,.08); text-decoration:none; }

.menu-btn{
  display:none;
  border:1px solid rgba(39,67,90,.16);
  background:#fff;
  border-radius:12px;
  padding:.55rem .75rem;
  font-weight:600;
}

.mobile-nav{
  border-top:1px solid rgba(39,67,90,.08);
  background:#fff;
}
.mobile-nav-inner{
  display:grid; gap:.35rem;
  padding: .8rem 0 1rem;
}
.mobile-nav a{
  padding:.7rem .8rem;
  border-radius:12px;
  border:1px solid rgba(39,67,90,.10);
}
.mobile-nav a:hover{ background: rgba(39,67,90,.06); text-decoration:none; }

@media (max-width: 980px){
  .nav, .social{ display:none; }
  .menu-btn{ display:inline-flex; margin-left:auto; }
}

/* Typography */
h1,h2,h3{
  font-family:var(--font-heading);
  line-height:1.15;
  margin:0 0 .6rem;
}
h1{ font-size: clamp(2rem, 3.2vw, 3.2rem); }
h2{ font-size: clamp(1.5rem, 2.2vw, 2.2rem); }
h3{ font-size: 1.15rem; }
.lead{ font-size: 1.05rem; color: var(--muted); max-width: 65ch; }
.muted{ color: var(--muted); }
.text-link{ color: var(--blue); font-weight:600; }
.text-link:hover{ text-decoration:underline; }

/* Sections */
.section{ padding: clamp(3rem, 6vw, 6rem) 0; }
.section.alt{ background: var(--alt); }
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between; gap:1rem;
  margin-bottom:1.2rem;
}
.section-foot{ margin-top: 1.2rem; display:flex; justify-content:flex-start; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:.5rem;
  padding:.85rem 1.1rem;
  border-radius:14px;
  border:0;
  cursor:pointer;
  font-weight:700;
  text-decoration:none !important;
}

.btn-primary{ background: var(--green); color:#fff; }
.btn-primary:hover{ filter: brightness(.97); }
.btn-outline{
  background: transparent;
  border:1px solid rgba(39,67,90,.22);
  color: var(--text);
}
.btn-outline:hover{ background: rgba(39,67,90,.06); }
.cta-row{ display:flex; gap:.7rem; flex-wrap:wrap; margin-top: 1rem; }

/* Hero */
.hero{
  background:
    radial-gradient(1200px 500px at 15% 15%, rgba(56,128,190,.18), transparent 60%),
    radial-gradient(900px 420px at 70% 20%, rgba(0,191,99,.18), transparent 55%),
    radial-gradient(700px 360px at 70% 85%, rgba(255,189,89,.20), transparent 60%);
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.6rem;
  align-items: start;
}
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
}
.badge{
  display:inline-flex; align-items:center; gap:.55rem;
  padding:.35rem .65rem;
  border-radius:999px;
  background: rgba(39,67,90,.06);
  border:1px solid rgba(39,67,90,.10);
  color: rgba(39,67,90,.85);
  font-weight:600;
  margin:0 0 1rem;
}
.badge .dot{
  width:10px; height:10px; border-radius:99px;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,189,89,.25);
}
.checklist{
  margin: 1.1rem 0 0;
  padding-left: 1.1rem;
  max-width: 70ch;
}
.checklist li{ margin:.35rem 0; }

.hero-card{
  background:#fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(39,67,90,.10);
  overflow:hidden;
}
.hero-card-top{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:1px;
  background: rgba(39,67,90,.10);
}
.kpi{
  padding: 1.2rem 1rem;
  background:#fff;
}
.kpi-number{
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--blue);
}
.kpi-label{ color: var(--muted); font-weight: 600; }
.hero-card-bottom{ padding: 1rem; }

/* Cards / grids */
.grid{ display:grid; gap: 1rem; }
.grid.cards{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){ .grid.cards{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .grid.cards{ grid-template-columns: 1fr; } }

.card{
  background:#fff;
  border:1px solid rgba(39,67,90,.10);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: 0 10px 26px rgba(39,67,90,.08);
}
.card-tag{
  display:inline-block;
  font-weight:800;
  font-size:.82rem;
  color: #fff;
  background: var(--dark);
  padding: .25rem .55rem;
  border-radius: 999px;
  margin-bottom: .6rem;
}
.card:nth-child(2) .card-tag{ background: var(--blue); }
.card:nth-child(3) .card-tag{ background: var(--green); }
.card:nth-child(4) .card-tag{ background: var(--red); }

.grid.news{ grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px){ .grid.news{ grid-template-columns: 1fr; } }

.news-item{
  background:#fff;
  border:1px solid rgba(39,67,90,.10);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.news-date{
  display:block;
  font-weight:700;
  color: rgba(39,67,90,.65);
  margin-bottom:.3rem;
}
.news-title{ font-weight:800; }
.news-title:hover{ color: var(--blue); text-decoration:none; }

/* CTA panel */
.cta-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  background: linear-gradient(135deg, rgba(56,128,190,.10), rgba(0,191,99,.10));
  border:1px solid rgba(39,67,90,.10);
  border-radius: calc(var(--radius) + 6px);
  padding: 1.3rem;
}
@media (max-width: 980px){
  .cta-panel{ flex-direction:column; align-items:flex-start; }
}

/* Footer */
.site-footer{
  border-top:1px solid rgba(39,67,90,.08);
  background:#fff;
}
.footer-inner{
  padding: 2rem 0 1.3rem;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 2rem;
}
.footer-brand{
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: .35rem;
}
.footer-links{ display:grid; gap:.45rem; }
.footer-links a:hover{ color: var(--blue); text-decoration:none; }
.footer-bottom{
  padding: 1rem 0 2rem;
  border-top: 1px solid rgba(39,67,90,.12);
  margin-top: 0;        /* evita colar demais */
  padding-top: 1rem;   /* espaço entre a linha e o texto */
  border-top: 1px solid rgba(39,67,90,.12);
}

/* Page hero */
.page-hero{
  background:
    radial-gradient(900px 420px at 15% 10%, rgba(0,191,99,.16), transparent 55%),
    radial-gradient(900px 420px at 70% 20%, rgba(56,128,190,.16), transparent 55%);
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
}
.breadcrumb{
  margin:0 0 .8rem;
  color: rgba(39,67,90,.70);
  font-weight: 600;
}
.breadcrumb a{ color: rgba(39,67,90,.85); }
.breadcrumb a:hover{ color: var(--blue); text-decoration:none; }

/* Two column layout */
.two-col{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.2rem;
  align-items:start;
}
@media (max-width: 980px){
  .two-col{ grid-template-columns: 1fr; }
}

.info-card{
  background:#fff;
  border:1px solid rgba(39,67,90,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}
.info-block + .info-block{
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(39,67,90,.08);
}

.bullets{
  margin:.4rem 0 0;
  padding-left: 1.1rem;
  color: rgba(39,67,90,.78);
}
.bullets li{ margin:.35rem 0; }

.mini-stats{
  margin-top: 1.1rem;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}
@media (max-width: 560px){
  .mini-stats{ grid-template-columns: 1fr; }
}
.mini-stat{
  background: rgba(39,67,90,.04);
  border: 1px solid rgba(39,67,90,.08);
  border-radius: 14px;
  padding: .9rem;
}
.mini-stat-title{
  font-weight: 800;
  font-size: .85rem;
  color: rgba(39,67,90,.70);
  margin-bottom: .25rem;
}
.mini-stat-value{
  font-weight: 800;
  line-height: 1.2;
}

/* Objective list cards */
.grid.list-cards{
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 980px){
  .grid.list-cards{ grid-template-columns: 1fr; }
}
.list-card{
  display:flex;
  gap: .8rem;
  align-items:flex-start;
  background:#fff;
  border: 1px solid rgba(39,67,90,.10);
  border-radius: var(--radius);
  padding: 1rem;
}
.list-index{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(56,128,190,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  color: rgba(39,67,90,.85);
  flex: 0 0 auto;
}
.list-text{
  color: rgba(39,67,90,.85);
  font-weight: 600;
  line-height: 1.5;
}


/* Programs page */
.programs-layout{
  display:grid;
  grid-template-columns: 340px 1fr;
  gap: 1.2rem;
  align-items: start;
}

@media (max-width: 980px){
  .programs-layout{ grid-template-columns: 1fr; }
}

.programs-nav{
  position: sticky;
  top: 92px;
  align-self: start;
  background:#fff;
  border:1px solid rgba(39,67,90,.10);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(39,67,90,.08);
  overflow:hidden;
}

@media (max-width: 980px){
  .programs-nav{ position: static; top:auto; }
}

.programs-nav-head{
  padding: 1rem;
  border-bottom: 1px solid rgba(39,67,90,.08);
  background: linear-gradient(135deg, rgba(56,128,190,.10), rgba(0,191,99,.10));
}
.programs-nav-title{
  font-family: var(--font-heading);
  font-weight: 900;
  margin-bottom: .25rem;
}

.pill-list{
  display:grid;
  gap:.5rem;
  padding: .9rem;
}

.pill{
  text-align:left;
  border: 1px solid rgba(39,67,90,.12);
  background: #fff;
  border-radius: 14px;
  padding: .8rem .85rem;
  cursor:pointer;
  display:grid;
  gap:.15rem;
}
.pill:hover{ background: rgba(39,67,90,.04); }
.pill.is-active{
  border-color: rgba(56,128,190,.45);
  box-shadow: 0 14px 34px rgba(39,67,90,.10);
}

.pill-title{
  font-weight: 900;
  font-size: .85rem;
  color: rgba(39,67,90,.70);
}
.pill-name{
  font-weight: 900;
  line-height: 1.2;
}

.programs-panels{
  display:grid;
  gap: 1rem;
}

.pillar-panel{
  display:none;
  background:#fff;
  border:1px solid rgba(39,67,90,.10);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem;
}
.pillar-panel.is-active{ display:block; }

.pillar-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(39,67,90,.08);
}

@media (max-width: 560px){
  .pillar-head{ flex-direction: column; }
}

.pillar-badge{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.35rem .65rem;
  border-radius:999px;
  border:1px solid rgba(39,67,90,.10);
  background: rgba(39,67,90,.05);
  font-weight: 800;
  color: rgba(39,67,90,.80);
}

.activity-grid{
  margin-top: 1rem;
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem;
}

@media (max-width: 980px){
  .activity-grid{ grid-template-columns: 1fr; }
}

.activity-card{
  display:flex;
  gap:.8rem;
  align-items:flex-start;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(39,67,90,.10);
  background: #fff;
}
.activity-card:hover{
  border-color: rgba(0,191,99,.35);
  box-shadow: 0 14px 34px rgba(39,67,90,.10);
}

.activity-code{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(0,191,99,.12);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight: 900;
  color: rgba(39,67,90,.85);
  flex: 0 0 auto;
}

.activity-title{
  font-weight: 900;
  line-height: 1.25;
}
.activity-meta{
  margin-top: .2rem;
  color: rgba(39,67,90,.70);
  font-weight: 600;
}

.pillar-bottom{ margin-top: 1rem; }

.info-strip{
  display:flex;
  gap:.7rem;
  align-items:flex-start;
  padding: .9rem 1rem;
  border-radius: 16px;
  background: rgba(56,128,190,.08);
  border: 1px solid rgba(56,128,190,.18);
  color: rgba(39,67,90,.90);
}
.info-strip-dot{
  width: 12px;
  height: 12px;
  border-radius: 99px;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(56,128,190,.20);
  margin-top: .25rem;
}

/* News */
.searchbar{
  margin-top: 1rem;
  display:flex;
  gap:.6rem;
  flex-wrap:wrap;
}
.searchbar-input{
  flex: 1 1 260px;
  padding:.85rem 1rem;
  border-radius:14px;
  border:1px solid rgba(39,67,90,.18);
  background:#fff;
  font-weight:600;
  outline:none;
}
.searchbar-input:focus{
  border-color: rgba(56,128,190,.45);
  box-shadow: 0 0 0 4px rgba(56,128,190,.14);
}

.news-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 980px){
  .news-grid{ grid-template-columns: 1fr; }
}

.news-card{
  background:#fff;
  border:1px solid rgba(39,67,90,.10);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 26px rgba(39,67,90,.08);
  display:flex;
  flex-direction:column;
}
.news-cover img{
  width:100%;
  height: 180px;
  object-fit: cover;
  display:block;
}
.news-body{ padding: 1rem; }

.news-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.6rem;
  margin-bottom:.6rem;
}
.chip{
  display:inline-flex;
  align-items:center;
  padding:.25rem .6rem;
  border-radius:999px;
  border:1px solid rgba(39,67,90,.10);
  background: rgba(39,67,90,.05);
  font-weight:800;
  font-size:.85rem;
}
.news-h3{ margin:.2rem 0 .5rem; }
.news-h3 a:hover{ color: var(--blue); text-decoration:none; }

.news-excerpt{
  margin:.2rem 0 .8rem;
  max-width: 70ch;
}

.news-figure{
  margin: 0 0 1.2rem;
  border-radius: calc(var(--radius) + 6px);
  overflow:hidden;
  border:1px solid rgba(39,67,90,.10);
  box-shadow: var(--shadow);
}
.news-figure img{
  width:100%;
  max-height: 420px;
  object-fit: cover;
  display:block;
}

.prose{
  max-width: 75ch;
}
.prose p{
  margin: 0 0 1rem;
}

.tags{
  margin-top: 1.2rem;
  display:flex;
  gap:.5rem;
  flex-wrap:wrap;
}
.tag{
  display:inline-flex;
  padding:.25rem .6rem;
  border-radius:999px;
  background: rgba(0,191,99,.10);
  border:1px solid rgba(0,191,99,.20);
  font-weight:800;
  color: rgba(39,67,90,.85);
}

.share-row{
  margin-top: 1rem;
  display:flex;
  gap:.6rem;
  flex-wrap:wrap;
}

/* Gallery */
.filter-row{
  margin-top: 1rem;
  display:flex;
  gap:.6rem;
  flex-wrap:wrap;
}
.filter-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.55rem .85rem;
  border-radius:999px;
  border:1px solid rgba(39,67,90,.16);
  background:#fff;
  font-weight:800;
  text-decoration:none !important;
}
.filter-btn:hover{ background: rgba(39,67,90,.05); }
.filter-btn.is-active{
  border-color: rgba(0,191,99,.45);
  background: rgba(0,191,99,.10);
}

.gallery-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 980px){
  .gallery-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .gallery-grid{ grid-template-columns: 1fr; }
}

.gallery-item{
  text-align:left;
  border:1px solid rgba(39,67,90,.10);
  background:#fff;
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 26px rgba(39,67,90,.08);
  padding:0;
  cursor:pointer;
}
.gallery-item:hover{
  border-color: rgba(56,128,190,.35);
  box-shadow: 0 16px 40px rgba(39,67,90,.12);
}

.gallery-thumb{
  position:relative;
  width:100%;
  aspect-ratio: 16 / 10;
  background: rgba(39,67,90,.04);
  overflow:hidden;
}
.gallery-thumb img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.01);
}
.play-badge{
  position:absolute;
  left: 12px;
  top: 12px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(39,67,90,.75);
  color:#fff;
  font-weight: 900;
}

.gallery-meta{
  padding: 1rem;
}
.gallery-title{
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: .25rem;
}

/* FIX modal layering + header */
.modal{
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;            /* garante que fica acima do header do site */
}

.modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 0;               /* backdrop atrás do painel */
}

.modal-panel{
  position: relative;
  z-index: 1;               /* painel acima do backdrop */
  width: min(980px, calc(100% - 2rem));
  max-height: calc(100% - 2rem);
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0,0,0,.35);
  display: flex;
  flex-direction: column;
}

.modal-head{
  position: sticky;         /* fica preso dentro do painel, não na página */
  top: 0;
  z-index: 2;               /* acima do conteúdo do modal */
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(39,67,90,.08);
  background: linear-gradient(135deg, rgba(56,128,190,.08), rgba(0,191,99,.08));
}

.modal-close{
  position: relative;
  z-index: 3;               /* garante clique no X */
  border: 1px solid rgba(39,67,90,.18);
  background: #fff;
  border-radius: 12px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-weight: 900;
}

.modal-body{
  position: relative;
  z-index: 1;
  padding: 0;
  overflow: auto;           /* scroll só dentro do modal */
}

/* Contact page */
.contact-layout{
  display:grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.2rem;
}

@media (max-width: 980px){
  .contact-layout{ grid-template-columns: 1fr; }
}

.contact-info{
  background:#fff;
  border:1px solid rgba(39,67,90,.10);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.contact-list{
  list-style:none;
  padding:0;
  margin: .8rem 0;
}
.contact-list li{ margin:.4rem 0; }

.contact-form{
  background:#fff;
  border:1px solid rgba(39,67,90,.10);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.form-group{
  display:flex;
  flex-direction:column;
  margin-bottom:.8rem;
}
.form-group label{
  font-weight:800;
  margin-bottom:.2rem;
}
.form-group input,
.form-group textarea{
  padding:.7rem .8rem;
  border-radius:12px;
  border:1px solid rgba(39,67,90,.18);
  font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus{
  outline:none;
  border-color: rgba(56,128,190,.45);
  box-shadow: 0 0 0 4px rgba(56,128,190,.14);
}

.alert{
  padding:.6rem .8rem;
  border-radius:12px;
  font-weight:800;
  margin-bottom:.8rem;
}
.alert.success{
  background: rgba(0,191,99,.12);
  border:1px solid rgba(0,191,99,.35);
}
.alert.error{
  background: rgba(247,41,45,.12);
  border:1px solid rgba(247,41,45,.35);
}

/* Home slider */
.hero-slider{ margin-top: 0; }
.slider{
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(39,67,90,.08);
}
.slider-track{
  display:flex;
  transition: transform .6s ease;
  will-change: transform;
}
.slide{
  min-width: 100%;
  position: relative;
  height: clamp(320px, 48vw, 520px);
  background: #000;
}
.slide img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: saturate(1.05);
}
.slide-overlay{
  position:absolute;
  inset:0;
  background: linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.15) 55%, rgba(0,0,0,0));
  display:flex;
  align-items:flex-end;
  padding: 2rem 0;
}
.slide-text{
  max-width: 62ch;
  color:#fff;
}
.slide-kicker{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  padding:.35rem .65rem;
  border-radius:999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  font-weight:800;
  margin-bottom:.8rem;
}
.slide-text h2{
  margin:0 0 .5rem;
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
}
.slide-text p{
  margin:0;
  color: rgba(255,255,255,.9);
  font-weight:600;
}

/* Slider controls */
.slider-btn{
  position:absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.35);
  color:#fff;
  font-size: 28px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 5;
}
.slider-btn:hover{ background: rgba(0,0,0,.5); }
.slider-btn.prev{ left: 14px; }
.slider-btn.next{ right: 14px; }

.slider-dots{
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  display:flex;
  gap: .5rem;
  z-index: 6;
}
.slider-dots .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(255,255,255,.45);
  cursor:pointer;
}
.slider-dots .dot.is-active{
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255,255,255,.18);
}

/* mobile tweaks */
@media (max-width: 560px){
  .slide-overlay{
    background: linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.65));
    align-items:flex-end;
  }
  .slider-btn{ display:none; }
}

/* Navigation active state */
.site-nav{
  display:flex;
  gap: .6rem;
}

.nav-link{
  position: relative;
  padding: .55rem .75rem;
  border-radius: 12px;
  font-weight: 800;
  color: rgba(39,67,90,.85); /* Dark Blue suave */
  text-decoration: none !important;
  transition: background .2s ease, color .2s ease;
}

.nav-link:hover{
  background: rgba(39,67,90,.06);
  color: #27435A;
}

/* Estado ativo */
.nav-link.is-active{
  background: rgba(39,67,90,.12); /* cinza/azul institucional */
  color: #27435A;
}

/* Linha inferior opcional (reforço visual) */
.nav-link.is-active::after{
  content:'';
  position:absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  border-radius: 99px;
  background: #3880BE; /* Light Blue */
}

/* Footer social icons */
.footer-social{
  margin-top: 1rem;
  display: flex;
  gap: .6rem;
  justify-content: center;
}

.footer-social .social-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(39,67,90,.15);
  transition: transform .2s ease, box-shadow .2s ease;
}

.footer-social .social-icon svg{
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Cores das redes */
.social-icon.facebook{ color: #1877F2; /* Facebook */ }
.social-icon.linkedin{ color: #0A66C2; /* Linkedin */ }
.social-icon.twitter{ color: #000000; /* Twitter */ }
.social-icon.instagram{ color: #E4405F; /* Instagram */ }
.social-icon.youtube{ color: #FF0000; /* YouTube */ }

/* Hover */
.footer-social .social-icon:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(39,67,90,.18);
}

/* Resources table */
.table-wrap{
  overflow-x: auto;
}

.resource-table{
  width:100%;
  border-collapse: collapse;
  background:#fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(39,67,90,.12);
}

.resource-table th,
.resource-table td{
  padding: .75rem .8rem;
  text-align: left;
  border-bottom: 1px solid rgba(39,67,90,.08);
}

.resource-table th{
  background: rgba(39,67,90,.05);
  font-weight: 900;
}

.resource-type{
  padding: .25rem .55rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: .8rem;
}

.resource-type.pdf{ background: rgba(247,41,45,.15); color:#F7292D; }
.resource-type.vídeo,
.resource-type.video{ background: rgba(255,0,0,.15); color:#FF0000; }
.resource-type.imagens{ background: rgba(56,128,190,.15); color:#3880BE; }
.resource-type.link{ background: rgba(0,191,99,.15); color:#00BF63; }

/* Header CTA */
.nav-cta{
  margin-left: .4rem;
  padding: .55rem .9rem;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    #3880BE,
    #27435A
  );
  color: #fff !important;
  font-weight: 900;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(39,67,90,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}

.nav-cta:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(39,67,90,.35);
}

/* Mobile: CTA ocupa linha própria */
@media (max-width: 980px){
  .nav-cta{
    width: 100%;
    margin: .4rem 0 0;
  }
}

/* Contact map */
.contact-map{
  margin-top: 1.2rem;
  background: #fff;
  border: 1px solid rgba(39,67,90,.10);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.map-frame{
  margin-top: .7rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(39,67,90,.10);
}
.map-frame iframe{
  display:block;
}

/* Contact info refined */
.contact-org{
  margin-bottom: 1rem;
}

.contact-org-name{
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: #27435A; /* Dark Blue */
  margin: 0;
}

.contact-org-full{
  margin: .2rem 0 0;
  font-weight: 700;
  color: rgba(39,67,90,.75);
}

.contact-list{
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: grid;
  gap: .7rem;
}

.contact-list li{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: .6rem;
  align-items: start;
}

@media (max-width: 560px){
  .contact-list li{
    grid-template-columns: 1fr;
  }
}

.contact-label{
  font-weight: 900;
  color: rgba(39,67,90,.7);
}

.contact-value{
  font-weight: 600;
  color: rgba(39,67,90,.9);
}

.contact-value a{
  color: #3880BE; /* Light Blue */
  text-decoration: none;
  font-weight: 700;
}
.contact-value a:hover{
  text-decoration: underline;
}

.contact-note{
  margin-top: 1rem;
  padding: .7rem .9rem;
  border-radius: 14px;
  background: rgba(56,128,190,.10);
  border: 1px solid rgba(56,128,190,.25);
  font-weight: 800;
  color: #27435A;
}

/* Contact: map + photo side-by-side */
.contact-location-grid{
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: 1.25fr .75fr; /* mapa maior, foto menor */
  gap: 1rem;
}

@media (max-width: 980px){
  .contact-location-grid{
    grid-template-columns: 1fr;
  }
}

.contact-location-card{
  background:#fff;
  border: 1px solid rgba(39,67,90,.10);
  border-radius: var(--radius);
  padding: 1.05rem;
  box-shadow: 0 14px 40px rgba(39,67,90,.12);
}

.contact-location-title{
  margin: 0 0 .7rem;
  font-family: var(--font-heading);
  font-weight: 900;
  color: #27435A;
}

/* Map */
.contact-location-card .map-frame{
  width: 100%;
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(39,67,90,.10);
}
.contact-location-card .map-frame iframe{
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

/* Place photo */
.place-photo{
  width: 100%;
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(39,67,90,.10);
  background: rgba(39,67,90,.04);
}
.place-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}

/* Partners carousel – 2 loops, no interruption */
.partners-carousel{
  margin-top: .9rem;
  border-radius: 18px;
  border: 1px solid rgba(39,67,90,.10);
  background: #fff;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(39,67,90,.08);
}

.partners-marquee{
  display: flex;
  width: 100%;
  overflow: hidden;
  user-select: none;
}

.partners-group{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 16px;
  flex: 0 0 auto;
  min-width: 100%;
  animation: partnersMarquee 26s linear infinite;
  will-change: transform;
}

.partners-carousel:hover .partners-group{
  animation-play-state: paused;
}

/* Move exatamente 1 grupo inteiro */
@keyframes partnersMarquee{
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* Logo card (tamanho médio) */
.partner-logo{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  height: 74px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(39,67,90,.08);
  background: #fff;
  text-decoration: none !important;
}

.partner-logo img{
  max-width: 150px;
  max-height: 44px;
  object-fit: contain;
  display: block;
}

/* Mobile */
@media (max-width: 560px){
  .partners-group{ animation-duration: 34s; }
  .partner-logo{ min-width: 150px; height: 58px; }
  .partner-logo img{ max-width: 130px; max-height: 40px; }
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce){
  .partners-group{ animation: none; }
}



/* Mobile */
@media (max-width: 560px){
  .partners-track{ animation-duration: 30s; }
  .partner-logo{ min-width: 150px; height: 58px; }
  .partner-logo img{ max-width: 130px; max-height: 40px; }
}

/* =========================
   NEWS PAGE (scoped styles)
   ========================= */
.news-page .tabs{
  display:flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: .6rem 0 1rem;
}

.news-page .tab-btn{
  border: 1px solid rgba(39,67,90,.14);
  background: #fff;
  color: rgba(39,67,90,.88);
  font-weight: 900;
  border-radius: 999px;
  padding: .55rem .85rem;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease;
}

.news-page .tab-btn:hover{
  background: rgba(39,67,90,.06);
}

.news-page .tab-btn.is-active{
  background: rgba(56,128,190,.12);
  border-color: rgba(56,128,190,.32);
  color: #27435A;
}

/* Grid (evita conflito com .grid global) */
.news-page .news-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 980px){
  .news-page .news-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .news-page .news-grid{ grid-template-columns: 1fr; }
}

.news-page .news-card{
  background:#fff;
  border: 1px solid rgba(39,67,90,.10);
  border-radius: 18px;
  overflow:hidden;
  box-shadow: 0 12px 30px rgba(39,67,90,.10);
  display:flex;
  flex-direction: column;
  min-height: 100%;
}

.news-page .news-thumb{
  display:block;
  text-decoration:none;
}

.news-page .news-thumb img{
  width:100%;
  height: 190px;
  object-fit: cover;
  display:block;
}

.news-page .news-content{
  padding: 1rem;
  display:flex;
  flex-direction: column;
  gap: .45rem;
}

.news-page .news-meta{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: .6rem;
}

.news-page .news-date{
  font-weight: 900;
  color: rgba(39,67,90,.65);
  font-size: .92rem;
}

.news-page .news-cat{
  font-weight: 900;
  font-size: .82rem;
  padding: .22rem .6rem;
  border-radius: 999px;
  background: rgba(39,67,90,.06);
  color: rgba(39,67,90,.86);
  white-space: nowrap;
}

.news-page .news-title{
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.08rem;
  color: #27435A;
  text-decoration:none;
  line-height: 1.2;
}

.news-page .news-title:hover{
  text-decoration: underline;
}

.news-page .news-excerpt{
  margin: 0;
  color: rgba(39,67,90,.78);
  font-weight: 600;
  line-height: 1.45;
}

.news-page .text-link{
  margin-top: .3rem;
  font-weight: 900;
  color: #3880BE;
  text-decoration: none;
}
.news-page .text-link:hover{
  text-decoration: underline;
}

/* News search */
.news-page .news-search{
  margin: -6.2rem 0 2.15rem;
  display: flex;
  justify-content: flex-start;
}

.news-page .news-search input{
  width: 100%;
  max-width: 360px;
  padding: .55rem .75rem;
  border-radius: 14px;
  border: 1px solid rgba(39,67,90,.18);
  font-weight: 700;
  outline: none;
}

.news-page .news-search input::placeholder{
  color: rgba(39,67,90,.55);
}

.news-page .news-search input:focus{
  border-color: #3880BE;
  box-shadow: 0 0 0 3px rgba(56,128,190,.15);
}

/* Mobile: ocupa largura total */
@media (max-width: 560px){
  .news-page .news-search{
    justify-content: stretch;
  }
  .news-page .news-search input{
    max-width: none;
  }
}

/* =========================
   Newsletter (Notícias)
   ========================= */
.news-page .news-newsletter{
  margin-top: 2rem;
}

.news-page .newsletter-box{
  background: linear-gradient(
    135deg,
    rgba(56,128,190,.12),
    rgba(39,67,90,.10)
  );
  border: 1px solid rgba(39,67,90,.14);
  border-radius: 22px;
  padding: 1.6rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1.2rem;
  align-items: center;
}

@media (max-width: 900px){
  .news-page .newsletter-box{
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.news-page .newsletter-text h2{
  margin: 0 0 .4rem;
  font-family: var(--font-heading);
  font-weight: 900;
  color: #27435A;
}

.news-page .newsletter-text p{
  margin: 0;
  font-weight: 600;
  color: rgba(39,67,90,.8);
}

.news-page .newsletter-form{
  display: flex;
  gap: .5rem;
}

@media (max-width: 900px){
  .news-page .newsletter-form{
    justify-content: center;
  }
}

@media (max-width: 560px){
  .news-page .newsletter-form{
    flex-direction: column;
  }
}

.news-page .newsletter-form input{
  flex: 1;
  padding: .65rem .75rem;
  border-radius: 14px;
  border: 1px solid rgba(39,67,90,.18);
  font-weight: 700;
  outline: none;
}

.news-page .newsletter-form input:focus{
  border-color: #3880BE;
  box-shadow: 0 0 0 3px rgba(56,128,190,.15);
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* =========================
   Header logo
   ========================= */
.site-logo{
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo img{
  height: 58px;              /* tamanho visível */
  width: auto;
  display: block;
}

@media (max-width: 980px){
  .site-logo img{
    height: 48px;
  }
}

@media (max-width: 560px){
  .site-logo img{
    height: 42px;
  }
}

/* Brand (icon + name + subtitle) */
.brand{
  display:flex;
  align-items:center;
  gap: .65rem;
  text-decoration:none !important;
}

.brand-icon{
  height: 54px;
  width: auto;
  display:block;
}

.brand-text{
  display:flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name{
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: .2px;
  display:flex;
  align-items: baseline;
  gap: 0;
}

.brand-name .md{ color:#27435A; }     /* Dark Blue */
.brand-name .tec{ color:#9aa0a6; }    /* Cinza moderno */
.brand-name .hub{ color:#F7292D; }    /* Vermelho */

/* Responsivo */
@media (max-width: 980px){
  .brand-icon{ height: 46px; }
  .brand-name{ font-size: 1.18rem; }
  .brand-sub{ font-size: .88rem; }
}
@media (max-width: 560px){
  .brand-icon{ height: 40px; }
  .brand-name{ font-size: 1.05rem; }
  .brand-sub{ font-size: .8rem; }
}

/* =========================
   Footer brand identity
   ========================= */
.footer-brand{
  display: flex;
  align-items: center;
  gap: .65rem;
  text-decoration: none !important;
}

.footer-brand-icon{
  height: 86px;
  width: auto;
  display: block;
}

.footer-brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.footer-brand-name{
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
}

/* 4 dots (2x2 like the reference) */
.footer-brand-name .dots{
  display: grid;
  grid-template-columns: repeat(2, 10px);
  grid-template-rows: repeat(2, 10px);
  gap: 4px;
  margin-right: .35rem;
  align-self: center;
}

.footer-brand-name .dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

/* colors */
.footer-brand-name .dot.blue{ background:#3880BE; }
.footer-brand-name .dot.red{ background:#F7292D; }
.footer-brand-name .dot.yellow{ background:#FFBD59; }
.footer-brand-name .dot.green{ background:#00BF63; }

/* Description: justified + limited width */
.footer-description{
  margin-top: .65rem;
  font-weight: 600;
  color: rgba(39,67,90,.78);
  text-align: justify;
  text-justify: inter-word;
  max-width: 50%;          /* ocupa até metade do espaço antes dos links */
  min-width: 280px;        /* evita ficar muito estreito */
}

/* Em layouts de footer por grid, é melhor controlar pela coluna */
.footer-brand-col{
  max-width: 520px;
}

/* Mobile: texto volta a ocupar toda a largura da coluna */
@media (max-width: 980px){
  .footer-description{
    max-width: 100%;
    min-width: 0;
  }
}

/* Name colors */
.footer-brand-name .md{ color:#27435A; }
.footer-brand-name .tec{ color:#9aa0a6; }
.footer-brand-name .hub{ color:#F7292D; }

.footer-brand-sub{
  margin-top: .1rem;
  font-weight: 800;
  font-size: .85rem;
  color:#00BF63;
}

/* Description */
.footer-description{
  margin-top: .6rem;
  font-weight: 600;
  color: rgba(39,67,90,.78);
  max-width: 360px;
}

/* Mobile adjustments */
@media (max-width: 560px){
  .footer-brand-icon{ height: 40px; }
  .footer-brand-name{ font-size: 1rem; }
  .footer-brand-sub{ font-size: .78rem; }
}

/* Brand word as a single unit */
.brand-word{
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;   /* nunca quebra */
  gap: 0;                /* sem espaço entre partes */
}

/* cores mantidas */
.brand-word .md{ color:#27435A; }      /* Dark Blue */
.brand-word .tec{ color:#9aa0a6; }     /* Cinza */
.brand-word .hub{ color:#F7292D; }     /* Vermelho */

/* Footer bottom centered */
.footer-bottom-center{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-copy{
  margin: 0;
  font-weight: 600;
  font-size: .9rem;
  color: rgba(39,67,90,.75);
}

.footer-copy strong{
  color: #27435A;
}

.footer-sep{
  margin: 0 .35rem;
  color: rgba(39,67,90,.45);
}

/* Developer credit */
.footer-copy a{
  font-weight: 800;
  color: #3880BE; /* Light Blue */
  text-decoration: none;
}
.footer-copy a:hover{
  text-decoration: underline;
}

/* Footer dotted gradient (subtle) */
.site-footer{
  position: relative;
  overflow: hidden; /* garante que o efeito não sai do footer */
}

/* camada de pontinhos */
.site-footer::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .28; /* discreto */
  background:
    radial-gradient(circle at 18% 35%, rgba(56,128,190,.55) 1.2px, transparent 1.3px) 0 0/18px 18px,
    radial-gradient(circle at 78% 60%, rgba(0,191,99,.45) 1.2px, transparent 1.3px) 0 0/20px 20px,
    radial-gradient(circle at 55% 20%, rgba(255,189,89,.35) 1.2px, transparent 1.3px) 0 0/22px 22px;
  mask-image: radial-gradient(circle at 30% 35%, rgba(0,0,0,1) 0%, rgba(0,0,0,.85) 35%, rgba(0,0,0,0) 72%);
}

/* garante que o conteúdo fica acima do efeito */
.site-footer .container{
  position: relative;
  z-index: 1;
}

/* =========================
   Slogan: Cria. Conecta. Transforma.
   ========================= */
.slogan-dots{
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

/* cada palavra */
.slogan-dots .word{
  display: inline-flex;
  align-items: baseline;
  gap: .1rem;
}

/* cores das palavras */
.slogan-dots .cria{ color: #00BF63; }       /* Green */
.slogan-dots .conecta{ color: #3880BE; }    /* Light Blue */
.slogan-dots .transforma{ color: #F7292D; } /* Red */

/* ponto */
.slogan-dots .dot{
  display: inline-block;
  width: .55em;
  text-align: center;
  font-weight: 900;
}

/* pontinhos decorativos por palavra */
.slogan-dots .word{
  position: relative;
}

.slogan-dots .word::after{
  content: "";
  position: absolute;
  inset: -25% -15%;
  z-index: -1;
  opacity: .35;
  background:
    radial-gradient(circle, currentColor 1.3px, transparent 1.4px) 0 0/16px 16px;
  mask-image: radial-gradient(circle at 40% 55%, rgba(0,0,0,1) 0%, rgba(0,0,0,.7) 45%, rgba(0,0,0,0) 70%);
}

/* animação suave dos pontos */
@keyframes floatDots{
  0%{ background-position: 0 0; }
  100%{ background-position: 24px 24px; }
}

.slogan-dots .word::after{
  animation: floatDots 14s linear infinite;
}

/* acessibilidade */
@media (prefers-reduced-motion: reduce){
  .slogan-dots .word::after{
    animation: none;
  }
}

/* Slogan layout */
/* Slogan: 1 linha, alinhado aos pontinhos */
.slogan-dots{
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1;                 /* ajuda alinhamento */
  display: inline-flex;
  align-items: center;            /* alinha com os pontinhos */
  gap: .6rem;
  white-space: nowrap;            /* NÃO quebra para outra linha */
}

/* 4 dots como “quadrado” */
.slogan-mark{
  display: inline-flex;
  align-items: center;
}

.dots-2x2{
  display: grid;
  grid-template-columns: repeat(2, .35em);
  grid-template-rows: repeat(2, .35em);
  gap: .09em;
}

.dots-2x2 .dot{
  width: .35em;
  height: .355em;
  border-radius: 50%;
  display: block;
}

.dots-2x2 .dot.blue{ background:#3880BE; }
.dots-2x2 .dot.red{ background:#F7292D; }
.dots-2x2 .dot.yellow{ background:#FFBD59; }
.dots-2x2 .dot.green{ background:#00BF63; }

/* palavras */
.slogan-dots .word{
  display: inline-flex;
  align-items: center;
  gap: .05em;
}

.slogan-dots .cria{ color:#00BF63; }
.slogan-dots .conecta{ color:#3880BE; }
.slogan-dots .transforma{ color:#F7292D; }

/* pontuação */
.slogan-dots .dot-punct{
  display: inline-block;
  line-height: 1;
  transform: translateY(.02em);
}

@media (max-width: 560px){
  .slogan-dots{
    font-size: 1.6rem;   /* reduz para caber */
  }
}

/* Footer grid layout */
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 1.5rem;
}

@media (max-width: 980px){
  .footer-grid{
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* Center links column */
.footer-links-col{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-links{
  list-style: none;
  padding: 0;
  margin: .4rem 0 0;
  display: grid;
  gap: .45rem;
}

.footer-links a{
  font-weight: 700;
  color: rgba(39,67,90,.85);
  text-decoration: none;
}

.footer-links a:hover{
  color: #3880BE;
  text-decoration: underline;
}

/* Extra content column */
.footer-extra-text{
  font-weight: 600;
  color: rgba(39,67,90,.78);
  margin-bottom: .7rem;
}

/* CTA no footer */
.footer-cta{
  display: inline-flex;
  font-weight: 900;
  color: #00BF63;
  text-decoration: none;
}

.footer-cta:hover{
  text-decoration: underline;
}

/* Social row */
.footer-social-row{
  margin-top: 1.6rem;
  margin-bottom: 1rem; 
  display: flex;
  justify-content: center;
}

.footer-social{
  display: flex;
  gap: .75rem;
}

/* Mobile fine tuning */
@media (max-width: 980px){
  .footer-links-col,
  .footer-extra-col{
    align-items: center;
  }
}