/*
Theme Name: Institucional ccih
Theme URI: http://ccih.com
Author: MontarSites
Author URI: http://montarsite.com/
Description: Tema criado para a instituição CCIH
Version: 1.0
*/

:root {
  --green-500: #3DB35A;        /* primary brand */
  --green-600: #2E9A4A;
  --green-700: #1F7A38;
  --green-100: #C9EBC9;        /* hero blob */
  --green-50:  #E7F5E7;

  --dark-900: #0E2A1B;         /* deepest */
  --dark-800: #143626;         /* dark sections bg */
  --dark-700: #1B4733;

  --cream:    #F5F0E4;         /* cream section */
  --cream-2:  #FBF8F0;

  --ink:      #15201A;         /* body text */
  --ink-2:    #3D4A41;
  --muted:    #6B7570;

  --line:     #E7E2D5;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 10px rgba(15, 42, 30, 0.06);
  --shadow:    0 14px 40px rgba(15, 42, 30, 0.08);

  --container: 1200px;
  --gutter: 20px;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: #fff;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

/* ---------------- LAYOUT HELPERS ---------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container.narrow { max-width: 860px; }

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--dark-900);
  margin: 0 0 16px;
  text-wrap: pretty;
}
.section-title.light { color: #fff; }
.section-title.centered { text-align: center; }
.section-title.dark-on-cream { color: var(--dark-800); }

.section-lead {
  color: var(--ink-2);
  max-width: 64ch;
  margin: 0 auto 14px;
  text-align: center;
}

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background-color: #173f1c;
  color: #fff;
  border: none;
}
.btn-primary:hover { background: var(--green-600); }
.btn-primary:active { transform: translateY(1px); }

.btn-dark {
  background: var(--dark-800);
  color: #fff;
}
.btn-dark:hover { background: var(--dark-900); }

.btn-light {
  background: #7FE286;
  color: var(--dark-900);
}
.btn-light:hover { background: #6AD571; }

.btn-lg { padding: 16px 26px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.btn-outline {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
}
.btn-outline:hover { background: var(--ink); color: #fff; }

.link-pill {
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
}
.link-pill:hover { background: var(--green-50); }

.icon-btn {
  width: 40px; height: 40px;
  display: inline-grid; place-items: center;
  border-radius: 50%;
  color: var(--ink);
  transition: background .2s ease;
}
.icon-btn:hover { background: var(--green-50); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--green-600);
  font-weight: 600;
  font-size: 14px;
  margin-top: auto;
}
.link-arrow.dark { color: var(--ink); }
.link-arrow:hover { color: var(--green-700); }

/* ---------------- HEADER ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid rgba(15,42,30,.04);
}
.header-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 0;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-mark-icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  background: #7FE286;
  border-radius: 10px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-text small {
  font-size: 10px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  margin-bottom: 2px;
}
.logo-text strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark-900);
  letter-spacing: -0.02em;
  font-style: italic;
}
.logo-mark {
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--dark-800);
}
.logo-mark.light { color: #fff; }
.logo-plus { color: var(--green-500); }

.search-btn {
  background: #ECECEC;
  color: var(--dark-900);
  border-radius: 12px;
  width: 44px; height: 44px;
}
.search-btn:hover { background: #DDD; }

.primary-nav { display: none; }
.primary-nav ul { display: flex; gap: 6px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.nav-link:hover { background: var(--green-50); }

/* SUBMENU dropdown */
.primary-nav li { position: relative; }
.has-sub > .nav-link svg { transition: transform .2s ease; }
.has-sub:hover > .nav-link svg,
.has-sub.is-open > .nav-link svg { transform: rotate(180deg); }
.submenu, .sub-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 18px 50px rgba(15,42,30,.14), 0 2px 6px rgba(15,42,30,.06);
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
}
.submenu::before, .sub-menu::before {
  content: "";
  position: absolute;
  top: -6px; left: 0; right: 0; height: 12px;
}
.submenu a, .sub-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 10px;
  color: var(--ink);
  transition: background .15s ease, color .15s ease;
  white-space: nowrap;
}
.submenu a:hover, .sub-menu a:hover { background: var(--green-50); color: var(--green-700); }
.has-sub:hover > .submenu,
.has-sub.is-open > .submenu { display: flex; }

.header-actions {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 8px;
}

.hamburger {
  margin-left: auto;
  width: 40px; height: 40px;
  display: inline-grid; place-items: center; gap: 4px;
  padding: 10px;
}
.hamburger span {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
}

@media (min-width: 1024px) {
  .primary-nav { display: block; }
  .header-actions { display: inline-flex; }
  .hamburger { display: none; }
}

/* ------- MENU DO WP MODIFICADO --------  */

#menu-main-menu li{
  position: relative;
}
#menu-main-menu li a{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
#menu-main-menu li a:hover{
  background: var(--green-50);
}
/* ---------------- HERO ---------------- */
.banner{
  padding: 75px 0;
}
.banner .banner-content{
  position: relative;
  height: 600px;
  border-radius: 60px;
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;
}
.banner .banner-content .banner-text{
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  width: 575px;
  z-index: 10;
}
.banner .banner-content:after{
  position: absolute;
  top: 0;
  left: 0;
  width: 38%;
  height: 100%;
  background-color: rgb(138, 235, 125);
  border-radius: 50px 0 0 50px;
  content: "";
}
.banner .banner-content .banner-text h1{
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  color: var(--dark-900);
}
.banner .banner-content .banner-img{
  width: 97%;
  height: 100%;
}

.hero {
  padding: 16px 0 32px;
}
.hero-stage {
  position: relative;
}
.hero-track {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 460px;
  background: var(--green-100);
  transition: background-color .6s ease;
}
.hero-block {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .55s ease, transform .55s ease;
  pointer-events: none;
}
.hero-block.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.hero-block-inner {
  position: relative;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  padding: 32px 24px;
  min-height: 460px;
}
.hero-copy h1 {
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 18px;
  color: var(--dark-900);
}
.hero-lead {
  color: var(--dark-800);
  max-width: 46ch;
  margin: 0 0 22px;
}
/*.hero-art {
  position: relative;
  aspect-ratio: 5/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
}*/
.hero-photo {
  width: 100%; height: 100%;
  background: rgba(255,255,255,.35);
  border-radius: var(--radius-lg);
}
.hero-badge {
  position: absolute;
  top: 20%;
  right: 37%;
}
.badge-card {
  background: #2E7D38;
  width: 75px;
  height: 75px;
  border-radius: 14px;
  display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.hero-toga{
  position: absolute;
  top: 52%;
  right: 4%;
  width: 75px !important;
  height: 75px;
  box-shadow: var(--shadow-sm);
}
.owl-theme .owl-dots .owl-dot.active span{
  width: 36px;
  background-color: #6AD571;
}
.owl-stage{
  display: flex;
}
#mentorsTrack .owl-nav{
  z-index: 9;
}
#mentorsTrack .owl-prev, #mentorsTrack .owl-next{
  position: absolute;
  left: -50px;
  top: 40%;
  padding: 0px 10px 5px;
}
#mentorsTrack .owl-next{
  left: auto;
  right: -50px;
}
#mentorsTrack .owl-prev span, #mentorsTrack .owl-next span{
  color: black;
  font-size: 26px;
}
@media (min-width: 768px) {
  .hero { padding: 24px 0 48px; }
  .hero-track { min-height: 520px; }
  .hero-block-inner { padding: 48px; gap: 32px; }
}
@media (min-width: 1024px) {
  .hero-block-inner {
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    padding: 64px 64px;
    gap: 56px;
  }
  /*.hero-art { aspect-ratio: 1/1; max-width: 520px; margin-left: auto; }*/
}
/* ---------------- VIDEO ---------------- */
.video-section { padding: 32px 0; }
.video-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: #cccfc9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid; place-items: center;
  cursor: pointer;
}
.play-btn {
  position: absolute; inset: auto;
  width: 76px; height: 76px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 2px solid rgba(255,255,255,.85);
  backdrop-filter: blur(4px);
  display: grid; place-items: center;
  color: #fff;
  transition: transform .2s ease, background .2s ease;
}
.play-btn:hover { background: rgba(255,255,255,.3); transform: scale(1.06); }

/* ---------------- ESPECIALISTAS ---------------- */
.specialists { padding: 48px 0 64px; text-align: center; }
.specialist-grid {
  margin-top: 36px;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  justify-items: center;
}
@media (min-width: 640px) {
  .specialist-grid { grid-template-columns: 1fr 1fr; max-width: 720px; margin-inline: auto; }
}
.specialist h3 {
  margin: 14px 0 6px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--dark-900);
}
.specialist p { color: var(--muted); font-size: 14px; margin: 0; }
.specialist-avatar {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}
.avatar-blob {
  position: absolute; inset: 0;
  background: var(--green-100);
  border-radius: 50%;
  transform: rotate(-12deg);
}
.specialist-avatar .photo-placeholder {
  position: absolute; inset: 12px;
  border-radius: 50%;
  background: #b5d8b5;
}

/* ---------------- DARK SECTION ---------------- */
.dark-section {
  position: relative;
  background: var(--dark-800);
  color: #fff;
  padding: 64px 0 80px;
  overflow: hidden;
  border-radius: 50px;
}
.dark-blob {
  position: absolute;
  width: 360px; height: 360px;
  background: radial-gradient(closest-side, rgba(61,179,90,.18), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.blob-tl { top: -80px; left: -100px; }
.blob-br { bottom: -120px; right: -100px; }
.dark-section .section-title.light{
  text-align: center;
  padding: 50px 0;
}
.path-grid {
  margin: 36px 50px;
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .path-grid { 
    grid-template-columns: 1fr 1fr; 
    gap: 28px; 
  } 
  .page-template-page-pos .path-grid { 
    max-width: 600px; 
    margin: 0 auto; 
  } 
}

.path-card {
  background: #fff;
  color: var(--ink);
  border-radius: 50px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.path-photo {
  aspect-ratio: 16/9;
  background: #ffffff;
}
.path-img{
  width: 100%;
}
.path-body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.path-body h3 {
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.3;
  margin: 4px 0 0;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--dark-900);
}
.muted { color: var(--muted); margin: 0; }
.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green-50);
  color: var(--green-700);
}
.tag-green { background: var(--green-50); color: var(--green-700); }
.tag-soft  { background: #EEF3EE; color: var(--ink-2); }
.tag-pill  { background: var(--green-500); color: #fff; }

.check-list { display: grid; gap: 10px; margin: 6px 0 6px; }
.check-list li {
  position: relative; padding-left: 28px;
  font-size: 14px; color: var(--ink-2);
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 2px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--green-500)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M5 12l5 5 9-10' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat;
}
.path-body .btn { margin-top: 6px; align-self: flex-start; }

/* MBAs carousel */
.mbas { margin-top: 56px; }
.mbas-head { text-align: center; margin-bottom: 28px; color: #fff; }
.mbas-head h3 { font-size: clamp(20px, 2.4vw, 28px); margin: 0 0 4px; font-weight: 700; }
.mbas-head .muted { color: rgba(255,255,255,.7); }

.mbas-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.mbas-track::-webkit-scrollbar { display: none; }
.mbas-itens {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}
.mba-card {
  scroll-snap-align: start;
  background: #fff;
  color: var(--ink);
  padding: 22px;
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column; gap: 12px;
  min-height: 280px;
  width: 30%;
  margin: 10px;
}
.mba-card h4 {
  font-size: 20px; font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.2; margin: 4px 0 0; color: var(--dark-900);
}
.mba-card p { color: var(--muted); margin: 0; font-size: 14px; }
.partner-logo {
  display: inline-block;
  background: #0A2C5A;
  color: #fff;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 13px;
  letter-spacing: 0.06em;
  align-self: flex-start;
  margin-top: auto;
}
.curso-logo{
  max-width: 45%;
  height: 30px;
}
.mbas-arrows {
  display: flex; justify-content: center; gap: 12px; margin-top: 18px;
}
.arrow-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  display: grid; place-items: center;
  transition: background .2s ease;
}
.arrow-btn:hover { background: rgba(255,255,255,.2); }
.btn-links{
  margin: 20px ;
  text-align: center;
}
@media (min-width: 1024px) {
  .mbas-track { grid-auto-columns: calc((100% - 40px) / 3); }
}
@media (min-width: 768px) {
  .mbas-track { grid-auto-columns: 46%; gap: 20px; }
}
@media (max-width: 768px) {
  .mba-card{width: 45%;}
}
@media (max-width: 576px) {
  .mba-card{width: 100%;}
}

/* ---------------- FEATURES ---------------- */
.features { padding: 72px 0; background: #fff; }
.features-grid {
  margin-top: 40px;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}
.feature {
  background: #2E7D38;
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 18px;
  min-height: 170px;
  display: flex; flex-direction: column; gap: 14px;
  justify-content: space-between;
  transition: all 0.2s ease-in-out;
}
.feature:hover .feature-icon{
  transform: scale(1.2);
  transition: all 0.2s ease-in-out;
}
.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  /*background: rgba(255,255,255,.15);*/
  display: grid; place-items: center;
  color: #fff;
  margin: 0 auto;
  padding: 8px;
}
.feature p { margin: 0; font-size: 14px; font-weight: 500; line-height: 1.35; }

@media (min-width: 768px) {
  .feature { padding: 24px; min-height: 185px; text-align: center; }
  .feature p { font-size: 15px; }
}

/* ---------------- EXCELLENCE ---------------- */
.excellence {
  background: var(--cream);
  padding: 72px 0 88px;
}
.stats {
  margin: 36px auto 48px;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  text-align: left;
  max-width: 880px;
}
.stat{
  text-align: center;
}
@media (min-width: 768px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
    text-align: left;
    align-items: end;
  }
}
.stat-number {
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--dark-800);
  font-variant-numeric: tabular-nums;
}
.stat-label { color: var(--ink-2); margin-top: 8px; font-size: 14px; }

.testimonial {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  min-height: 220px;
}
.testimonial-track { position: relative; }
.testimonial-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .45s ease, transform .45s ease;
  pointer-events: none;
}
.testimonial-slide.is-active {
  position: relative;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.testimonial blockquote {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--ink-2);
  margin: 0 0 22px;
  line-height: 1.6;
  text-wrap: pretty;
  font-weight: 500;
}
.testimonial figcaption {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--ink);
  text-align: left;
}
.testimonial figcaption img{
  width: 100px !important;
}
.avatar-mini {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #cbe7cb, #95cf95);
  display: inline-block;
}

/* ---------------- UPDATES ---------------- */
.updates { padding: 72px 0; }
.updates-grid {
  margin: 36px 0 28px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .updates-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.update-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.update-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.update-photo {
  aspect-ratio: 16/10;
  background: #d0e3d0;
}
.update-body { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.update-body h4 {
  font-size: 17px; font-weight: 800; margin: 4px 0 0; line-height: 1.25; letter-spacing: -0.015em; color: var(--dark-900);
}
.update-body p { color: var(--muted); font-size: 14px; margin: 0; }
.updates-cta { text-align: center; margin-top: 12px; } 
.page-template-page-home .updates .attachment-large.size-large.wp-post-image {
  width: 100%;
  height: 260px;
}

/* ---------------- KNOWLEDGE / ACCORDION ---------------- */
.knowledge { padding: 72px 0; background: #fff; }
.knowledge-grid {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .knowledge-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
}
.knowledge-copy .section-title { font-size: clamp(28px, 4vw, 40px); }

.accordion { display: grid; gap: 8px; }
.acc-item {
  border-bottom: 1px solid var(--line);
}
.acc-item > summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 4px;
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
}
.acc-item > summary::-webkit-details-marker { display: none; }
.acc-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.acc-item[open] .acc-icon { background: var(--green-500); color: #fff; border-color: var(--green-500); }
.acc-item[open] .acc-icon .plus-v { transform: rotate(90deg); transform-origin: center; opacity: 0; }
.acc-body { padding: 0 4px 20px; color: var(--ink-2); font-size: 14px; display: grid; gap: 12px; }

/* ---------------- CTA FINAL ---------------- */
.final-cta {
  padding: 40px 0 24px;
}
.cta-card{
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  padding: 40px 24px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: center;
  /*background-image:url('https://ccih.you-dev.online/institucional/wp-content/themes/InstitucionalCCIH/assets/img/bannerf.jpg');*/
  background-position: top right;
  background-size: cover;
}

.cta-blob-a, .cta-blob-b, .cta-blob-c {
  position: absolute;
  background: #3DB35A;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.cta-blob-a {
  width: 240px; height: 240px;
  right: 28%; bottom: -90px;
}
.cta-blob-b {
  width: 150px; height: 150px;
  right: 34%; bottom: 10px;
  background: var(--dark-800);
  opacity: .15;
}
.cta-blob-c {
  width: 360px; height: 360px;
  right: -120px; top: -60px;
  background: rgba(20,54,38,.05);
}
.cta-copy {
  position: relative;
  z-index: 2;
}
.cta-copy h2 {
  font-size: clamp(28px, 4.5vw, 48px);
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.05;
  color: var(--dark-900);
}
.cta-copy p {
  color: var(--dark-900);
  margin: 0 0 26px;
  max-width: 42ch;
  font-size: 15px;
  line-height: 1.55;
}

@media (min-width: 900px) {
  .final-cta { padding: 56px 0 32px; }
  .cta-card {
    padding: 64px 64px;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
  }
}
@media (min-width: 1200px) {
  .cta-card { padding: 80px 80px; }
}

/* ---------------- FOOTER ---------------- */
.site-footer {
  background: var(--dark-800);
  color: rgba(255,255,255,.85);
  padding: 56px 0 0;
  border-radius: 40px 40px 0 0;
  margin-top: 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1.6fr auto;
    gap: 32px;
    align-items: start;
  }
}

.footer-brand .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-logo-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  background: #7FE286;
  border-radius: 10px;
  flex-shrink: 0;
}
.footer-logo-text {
  display: flex; flex-direction: column;
  color: #fff;
  line-height: 1;
}
.footer-logo-text small {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  margin-bottom: 2px;
}
.footer-logo-text strong {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  font-style: italic;
  letter-spacing: -0.02em;
}
.footer-logo-text .logo-plus { color: var(--green-500); }

.footer-col h5 {
  color: var(--green-500);
  font-size: 14px;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { color: rgba(255,255,255,.85); font-size: 14px; }
.footer-col a:hover { color: var(--green-500); }

.footer-contact .company-name {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.footer-contact .cnpj {
  color: rgba(255,255,255,.78);
  font-size: 13px;
  margin: 0 0 16px;
}
.footer-contact .cnpj strong { color: #fff; font-weight: 700; }
.contact-divider {
  border: 0;
  border-top: 1px solid rgba(255,255,255,.15);
  margin: 0 0 16px;
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}
.contact-row:nth-of-type(2), .contact-row:nth-of-type(3){
  display: none;
}
.contact-row .contact-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--green-500);
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.contact-row a { color: rgba(255,255,255,.9); }
.contact-row a:hover { color: var(--green-500); }

.footer-social {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--green-500);
  color: #fff;
  transition: background .2s ease, transform .15s ease;
}
.footer-social a:hover {
  background: var(--green-600);
  transform: translateY(-2px);
}
.footer-social a span{
  font-size: 20px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  color: rgba(255,255,255,.5);
  font-size: 13px;
  text-align: center;
}

/* Testimonial dots */
.dots.small { justify-content: center; margin-top: 18px; }

/* ---------------- PHOTO PLACEHOLDERS ---------------- */
.photo-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
  font: 500 11px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(15,42,30,.45);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.4) 0 8px, rgba(255,255,255,0) 8px 16px),
    linear-gradient(180deg, #cfe5cf, #b9d9b9);
}
.photo-placeholder.dark {
  color: rgba(255,255,255,.7);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 8px, rgba(255,255,255,0) 8px 16px),
    linear-gradient(180deg, #2b3a32, #1b2820);
}
.photo-placeholder.small { font-size: 10px; }

/* ---------------- MOBILE MENU ---------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark-800);
  color: #fff;
  z-index: 100;
  padding: 80px 24px 24px;
  display: flex; flex-direction: column;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav ul { display: grid; gap: 4px; margin: 0 0 24px; }
.mobile-menu a { display: block; padding: 14px 0; font-size: 18px; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-close {
  position: absolute; top: 18px; right: 22px;
  font-size: 34px; color: #fff; line-height: 1;
}
#modalSearch .modal-dialog{
  min-width: 600px;
  margin-top: 50px;
}
#modalSearch .modal-body .search-form{
  display: flex;
  align-items: center;
}
#modalSearch .modal-body .search-form input {
  width: 70%;
  height: 50px;
  padding: 0 18px;
  margin-right: 10px;
}
#modalSearch .modal-body .search-form button {
  padding: 16px 22px;
}
#modalSearch .modal-body .search-form .search-submit{
  margin-left: 10px;
}
@media (min-width: 768px) {
  #modalSearch .modal-dialog{
    min-width: 300px;
  }
}
/* ---------------- STUB PAGES (sobre / blog / cursos / posgraduacao) ---------------- */
.stub-hero {
  padding: 80px 0 60px;
  text-align: center;
  background: var(--green-50);
}
.stub-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}
.stub-hero p { color: var(--ink-2); max-width: 70ch; margin: 0 auto; }
.stub-body { padding: 60px 0 80px; }
.stub-body p { color: var(--ink-2); max-width: 60ch; }
.sobre-content{
  margin: 40px 20px;
}
.update-photo .attachment-medium.size-medium.wp-post-image{
  width: 100%;
  height: 100%;
  max-height: 250px;
}

.post-thumbnail .attachment-large.size-large.wp-post-image{
  max-height: 385px;
}
/* =========================================================
   Instituto CCIH+ — article.css (Post + Blog listing)
   ========================================================= */

/* ============== ARTICLE PAGE ============== */
.article {
  padding: 24px 0 48px;
}
.article-container {
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-head {
  padding: 24px 0 28px;
}
.article-head h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--dark-900);
  margin: 18px 0 14px;
  text-wrap: pretty;
}
.article-meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}
.article-meta strong { color: var(--ink); font-weight: 700; }

.tag-bright {
  background: #7FE286;
  color: var(--dark-900);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-block;
}

/* hero image */
.article-hero {
  margin: 0 0 36px;
  aspect-ratio: 16/9;
  border-radius: 20px;
  overflow: hidden;
  background: #cbe7cb;
}

/* body */
.article-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-2);
}
.article-body p {
  margin: 0 0 22px;
}
.article-body h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  color: var(--green-700);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 36px 0 18px;
}
.article-body h3 {
  font-size: clamp(17px, 1.8vw, 20px);
  color: var(--green-700);
  font-weight: 700;
  line-height: 1.3;
  margin: 28px 0 14px;
  letter-spacing: -0.01em;
}
.article-body ul, .article-body ol {
  margin: 0 0 26px;
  padding-left: 22px;
}
.article-body li {
  margin: 0 0 8px;
  padding-left: 4px;
}
.article-body ul li::marker { color: var(--green-500); font-size: 1.1em; }
.article-body a {
  color: var(--green-600);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}
.article-body a:hover { color: var(--green-700); }
.article-body strong { color: var(--ink); font-weight: 700; }

/* ============== PROMO CARD (inline MBA) ============== */
.promo-card{
  background-image:url('https://ccih.you-dev.online/institucional/wp-content/themes/InstitucionalCCIH/assets/img/bannerpost.png');
  background-size: cover;
  background-repeat: no-repeat;
}
.promo-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin: 48px 0 32px;
  padding: 32px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}
.promo-blob-a, .promo-blob-b {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}
.promo-blob-a {
  width: 220px; height: 220px;
  background: var(--green-500);
  bottom: -90px; right: 30%;
  opacity: .9;
}
.promo-blob-b {
  width: 140px; height: 140px;
  background: var(--green-100);
  bottom: 20px; right: 24%;
  opacity: .85;
}

.promo-copy { position: relative; z-index: 2; }
.promo-partner { margin-bottom: 18px; }
.partner-farresp {
  display: inline-block;
  background: transparent;
  color: var(--dark-800);
  font-weight: 900;
  font-size: 20px;
  font-style: italic;
  letter-spacing: -0.02em;
  padding: 8px 14px;
  background: rgba(255,255,255,.85);
  border-radius: 8px;
}
.promo-copy h3 {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--dark-900);
  margin: 0 0 16px;
}
.promo-copy p {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 22px;
  max-width: 44ch;
}
.promo-art {
  position: relative;
  z-index: 2;
  aspect-ratio: 1/1;
  max-width: 360px;
  margin: 0 auto;
}
.promo-photo {
  width: 100%; height: 100%;
  border-radius: 28px;
  overflow: hidden;
}
.promo-badge {
  position: absolute;
  right: -10px; top: 14%;
  z-index: 3;
}
.badge-circle {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--green-500);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.1;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(15,42,30,.18);
  padding: 6px;
}
.badge-circle strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 2px 0;
}

@media (min-width: 768px) {
  
  .promo-card {
    grid-template-columns: 1.1fr 1fr;
    padding: 67px 44px;
    gap: 32px;
  }
  .promo-art { max-width: none; }
}

/* ============== RELATED POSTS ============== */
.related {
  padding: 24px 0 72px;
}
.related .post-imagem {
  width: 100%;
  height: 100%;
}
.related .post-imagem img {
  width: 100%;
  height: 100%;
}
.related .update-photo{
  aspect-ratio: 15/10;
}
/* ============== BLOG LISTING (v2) ============== */

/* Featured hero card (dark green) */
.blog-featured-hero { padding: 24px 0 24px; }
.featured-card {
  background: var(--dark-800);
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  min-height: 280px;
}
.featured-copy {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.featured-copy h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  color: #fff;
  text-wrap: pretty;
}
.featured-photo {
  min-height: 240px;
  background: linear-gradient(180deg, #2a3a30, #1b2820);
}
.featured-photo .photo-placeholder { background: none; color: rgba(255,255,255,.4); }
.featured-photo .photo-placeholder .post-imagem img{
  width: 90%;
  height: 90%;
  border-radius: 24px;
  margin: 0 auto;
}

.featured-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-bottom: 1.5px solid rgba(255,255,255,.4);
  padding-bottom: 4px;
  width: fit-content;
  transition: color .2s ease, border-color .2s ease;
}
.featured-link:hover { color: var(--green-500); border-color: var(--green-500); }
.featured-link.dark { color: var(--dark-900); border-color: var(--dark-900); }
.featured-link.dark:hover { color: var(--green-700); border-color: var(--green-700); }

@media (min-width: 900px) {
  .featured-card {
    grid-template-columns: 1fr 1fr;
    min-height: 380px;
  }
  .featured-copy { padding: 56px 48px; gap: 24px; }
  .featured-photo { min-height: auto; }
}

/* Two secondary posts (no image) */
.blog-secondary { padding: 32px 0 24px; }
.secondary-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .secondary-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
.secondary-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px 0;
}
.secondary-card h3 {
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--dark-900);
  margin: 0;
  text-wrap: pretty;
}

/* Search row */
.blog-search {
  padding: 40px 0 48px;
}
.search-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}
@media (min-width: 900px) {
  .search-grid { grid-template-columns: 0.9fr 1.4fr; gap: 32px; }
}
.search-title {
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--dark-900);
  margin: 0;
}
.blog-search .search-form {
  display: flex;
} 
.blog-search .search-form button{
  margin-left: 10px;
} 
.search-form {
  position: relative;
  width: 100%;
}
.search-form input {
  width: 100%;
  height: 56px;
  padding: 0 18px 0 52px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  font: 500 15px var(--font);
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.search-form input:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(61,179,90,.12);
}
.search-form input::placeholder { color: var(--muted); }
.search-form-icon {
  position: absolute;
  left: 18px;
  top: 45%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

/* Section heads */
.blog-section { padding: 28px 0 40px; }
.blog-section .updates-grid .update-photo img{
  width: 100%;
  height: 100%;
  object-fit: unset;
}
.blog-section .updates-grid .post-imagem {
  height: 100%;
}
.blog-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.blog-section-head h2 {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark-900);
  margin: 0;
  line-height: 1.1;
}
.blog-section-lead {
  color: var(--muted);
  font-size: 14px;
  margin: 8px 0 0;
  max-width: 60ch;
}
.see-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--dark-900);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1.5px solid var(--dark-900);
  padding-bottom: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}
.see-all:hover { color: var(--green-700); border-color: var(--green-700); }

/* card tag updates */
.update-card .tag-bright {
  margin-bottom: 4px;
  font-size: 11px;
  padding: 6px 12px;
}

/* ------ single-Cursos ---------- */
.cursos
.curso .cursos-content{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
}
.curso .cursos-content img{
  border-radius: 20px;
max-width: 500px;
}
.curso .cursos-content .curso-texts{
  padding-left: 25px;
}

.curso .cursos-content .curso-texts span{
  font-size: 20px;
  font-weight: bold;
  padding: 6px 10px;
  background: #EEF3EE;
  color: var(--ink-2);
  border-radius: 999px;
}
.curso .cursos-content .curso-texts h2{
  margin: 10px 0;
  font-weight: bold;
}
.curso .cursos-content .curso-texts p{
  color: var(--muted);
  font-size: 14px;
}
.single-cursos .knowledge-grid {
    grid-template-columns: 2fr 1fr;
}
.modulo-infos h3{
  display: inline-block;
  font-size: 24px;
  font-weight: bold;
  padding: 6px 10px;
  background: #EEF3EE;
  color: var(--ink-2);
  border-radius: 999px;
  margin-bottom: 20px;
}
.modulo-infos .modulos-subtitulo{
  margin: 10px 0;
  color: var(--muted);
}
.modulo-infos .modulo-list li{
  margin: 5px 0;
  font-size: 14px;
  color: var(--muted);
}
.values {
  position: relative;
  background: var(--dark-800);
  color: #fff;
  padding: 100px 0 80px;
  overflow: hidden;
}
.values .values-title{
  position: absolute;
  top: -75px;
  left: 50%;
  display: flex;
  align-items: center;
  transform: translateX(-50%);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin: 0 0 16px;
}
.values .values-title h2{
  font-size: 30px;
}
.values .values-content{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border: 1px solid white;
  padding: 15px;
  border-radius: 15px;
  background: var(--green-600);
  font-size: 20px;
  font-weight: bold;
  min-height: 130px;
}
.values .values-content p{
  margin-bottom: 0px;
}
.valuesou{
  font-size: 20px;
  font-weight: bold;
  text-decoration: underline;
  text-transform: uppercase;
  margin: 0 30px;
}
.values-links{
  margin-left: 40px;
  text-align: center;
}
.values-links .btn.btn-light{
  background: var(--green-600);
  color: white;
}.values-links .btn.btn-light span{
  color: white;
}
/* ------ single-Pos ---------- */
.charme{
  background: linear-gradient(45deg,rgba(27, 71, 51, 1) 0%, rgba(61, 179, 90, 1) 100%);
}
.charme .charmes-contents{
  display: flex;
  justify-content: center;
  align-items: center;
}
.charme .charmes-contents .charme-item{
  width: calc(100% / 3 );
  margin: 0;
  padding: 18px 0;
  display: flex;
  background-color: #1F7A38;
  color: white;
  justify-content: center;
  align-items: center;
  border-right: 2px solid white;
  flex-direction: column;
}
.charme .charmes-contents .charme-item:nth-of-type(1){
  border-left: 2px solid white;
}
.charme .charmes-contents .charme-item:nth-of-type(2){
  background-color: green;
}
.charme .charmes-contents .charme-item:nth-of-type(3){
  background-color: #2E9A4A;
}
.charme .charmes-contents .charme-item span{
  font-size: 22px;
  margin-right: 5px;
}
.charme .charmes-contents .charme-item p{
  font-size: 18px;
  margin-bottom: 0;
}

/* =========================================================
   Instituto CCIH+ — curso.css
   Página do MBA — fiel ao mockup (PDF)
   Paleta extraída do mockup:
     verde médio  #2E7D38  (seções)
     verde escuro #173F1C  (hero / cards)
     verde vivo   #8AEA7C  (títulos hero / botões / destaques)
     creme        #FBF6F3  (painéis claros)
   ========================================================= */
:root {
  --c-mid:    #2E7D38;
  --c-dark:   #173F1C;
  --c-bright: #8AEA7C;
  --c-cream:  #FBF6F3;
}

/* ---------------- BOTÕES ESPECÍFICOS ---------------- */
.btn-bright {
  background: var(--c-bright);
  color: var(--c-dark);
}
.btn-bright:hover { background: #77df6a; }
.btn-deep {
  background: var(--c-dark);
  color: #fff;
}
.btn-deep:hover { background: #0f2d14; color: white; }

/* ================================================================
   HERO (card verde escuro arredondado)
   ================================================================ */
.course-hero { padding: 20px 0 8px; background: #fff; }
.course-hero-card {
  position: relative;
  background: var(--c-dark);
  border-radius: 40px;
  overflow: hidden;
  padding: 56px 48px;
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  align-items: center;
}
.course-hero-copy { position: relative; z-index: 2; }
.famesp-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  margin-bottom: 28px;
}
.famesp-logo .fx {
  width: 40px; height: 32px;
  border: 2px solid #fff;
  border-radius: 7px;
  display: grid; place-items: center;
}
.famesp-logo .ft { display: flex; flex-direction: column; line-height: 1; }
.famesp-logo .ft strong {
  font-size: 26px; font-weight: 800; letter-spacing: -0.02em; font-style: italic;
}
.famesp-logo .ft small { font-size: 8px; letter-spacing: .14em; opacity: .8; margin-top: 3px; }

.course-hero h1 {
  font-size: clamp(25px, 5vw, 45px);
  font-weight: 800;
  line-height: 1.20;
  letter-spacing: -0.03em;
  margin: 0 0 22px;
  color: var(--c-bright);
}
.course-hero-lead {
  color: rgba(255,255,255,.9);
  max-width: 46ch;
  margin: 0 0 6px;
  font-size: 17px;
}
.course-hero .btn { margin-top: 28px; }

/* arte / foto */
.course-hero-art {
  position: relative;
  z-index: 1;
  aspect-ratio: 1/1;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.course-hero-photo {
  position: absolute;
}
/* selo MEC */
.mec-badge {
  position: absolute;
  left: 2%;
  bottom: 6%;
  width: 168px; height: 168px;
  z-index: 3;
}
.mec-badge .mec-star {
  position: absolute; inset: 0;
  background: var(--c-bright);
  clip-path: polygon(50% 0, 62% 20%, 85% 12%, 80% 36%, 100% 50%, 80% 64%, 85% 88%, 62% 80%, 50% 100%, 38% 80%, 15% 88%, 20% 64%, 0 50%, 20% 36%, 15% 12%, 38% 20%);
}
.mec-badge .mec-circle {
  position: absolute; inset: 12px;
  background: var(--c-cream);
  border-radius: 50%;
  display: grid; place-items: center;
  text-align: center;
}
.mec-badge .mec-circle span {
  display: block;
  font-size: 11px; font-weight: 700; letter-spacing: .1em;
  color: var(--c-dark); text-transform: uppercase; line-height: 1.4;
}
.mec-badge .mec-circle strong {
  display: block;
  font-size: 40px; font-weight: 800; letter-spacing: .02em;
  color: var(--c-dark); line-height: 1;
}
/* ícone vírus (quadrado branco) */
.virus-icon {
  position: absolute;
  right: 4%; bottom: 12%;
  width: 76px; height: 76px;
  background: #fff;
  border-radius: 18px;
  display: grid; place-items: center;
  color: var(--c-mid);
  box-shadow: 0 12px 30px rgba(0,0,0,.2);
  z-index: 3;
}
/* ícone máscara (canto sup. direito) */
.mask-icon {
  position: absolute;
  right: 2%; top: 4%;
  width: 68px; height: 68px;
  background: var(--c-mid);
  border-radius: 18px;
  display: grid; place-items: center;
  color: #fff;
  z-index: 3;
}

@media (min-width: 1024px) {
  .course-hero { padding: 28px 0 8px; }
  .course-hero-card {
    grid-template-columns: 1.08fr 1fr;
    gap: 45px;
    padding: 50px 0px 0px 64px;
  }
}

/* ================================================================
   SUBNAV (pílulas verdes)
   ================================================================ */
.course-subnav { padding: 36px 0 12px; background: #fff; }
.course-subnav .container {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}
.course-subnav .container::-webkit-scrollbar { display: none; }
.subnav-pill {
  flex: 1 0 auto;
  min-width: 160px;
  text-align: center;
  padding: 22px 24px;
  border-radius: 22px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--c-mid);
  transition: filter .2s ease, transform .15s ease;
}
.subnav-pill:hover { filter: brightness(1.08); }
.subnav-pill.is-active { background: var(--c-bright); color: var(--c-dark); }

/* ================================================================
   SOBRE O CURSO
   ================================================================ */
.course-about { padding: 56px 0 64px; }
.course-about-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1024px) {
  .course-about-grid { grid-template-columns: 1.05fr 0.95fr; gap: 72px; }
}
.course-about .section-title { margin-bottom: 26px; }
.course-about p { color: var(--ink-2); margin: 0 0 20px; font-size: 17px; }
.course-about p strong { color: var(--dark-900); }
.course-about .about-sub { font-weight: 800; color: var(--dark-900); margin-bottom: 4px; }
.course-about-photo {
  aspect-ratio: 4/4.5;
  border-radius: 28px;
  overflow: hidden;
  width: 100%;
}
.course-about-photo img{
  height: 100%;
  width: auto;
  max-width: 100%;
}

/* ================================================================
   FACTS (cards centralizados, borda verde)
   ================================================================ */
.course-facts { padding: 0 0 64px; }
.facts-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 768px) { .facts-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .facts-grid { grid-template-columns: repeat(5, 1fr); } }
.fact-card {
  border: 1.5px solid var(--c-mid);
  border-radius: 20px;
  padding: 34px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
  background: #fff;
}
.fact-icon {
  width: 58px; height: 58px;
  border-radius: 15px;
  background: var(--c-mid);
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.fact-card p {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--c-mid);
}
.fact-card p small {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-top: 2px;
}

/* ================================================================
   DIFERENCIAIS — "Por que este é o curso definitivo" (verde médio)
   ================================================================ */
.course-why {
  background: var(--c-mid);
  color: #fff;
  border-radius: 40px;
  padding: 72px 48px 64px;
  margin: 0 20px;
}
.course-why .section-title { color: #fff; text-align: center; margin-bottom: 48px; }
.why-list { max-width: 1040px; margin: 0 auto; }
.why-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  padding: 26px 0;
}
@media (min-width: 900px) {
  .why-row { grid-template-columns: 0.8fr 1.9fr; gap: 48px; }
}
.why-row h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #fff;
}
.why-row p {
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 16px;
  line-height: 1.6;
}
.why-cta { text-align: center; margin-top: 40px; }
/* container que segura o card com respiro nas laterais */
.course-why-wrap { padding: 48px 0; }
@media (min-width: 1200px) {
  .course-why { margin: 0 auto; max-width: 1360px; }
}

/* ================================================================
   PROFESSORES / MENTORES
   ================================================================ */
.course-mentors { padding: 64px 0 72px; }
.course-mentors .section-title { text-align: center; margin-bottom: 56px; }

.mentor-featured {
  display: grid;
  gap: 36px;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  max-width: 940px;
  margin: 0 auto 64px;
}
@media (min-width: 768px) {
  .mentor-featured { grid-template-columns: 340px 1fr; gap: 56px; justify-items: start; }
}
.mentor-featured-avatar {
  position: relative;
  width: 300px; height: 300px;
}
.mentor-featured-avatar .avatar-blob {
  position: absolute; inset: 0;
  background: var(--c-bright);
  border-radius: 52% 48% 46% 54% / 55% 52% 48% 45%;
}
.mentor-featured-avatar .photo-placeholder {
  position: absolute; inset: 22px;
  border-radius: 50%;
  background: #b5d8b5;
}
.mentor-featured-body h3 {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 2px;
  color: var(--dark-900);
}
.mentor-featured-body .mentor-role {
  display: block;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 18px;
}
.mentor-featured-body p {
  color: var(--ink-2);
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  max-width: 52ch;
}

/* carrossel de cards de professores */
.mentors-carousel {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.mentors-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px;
  scrollbar-width: none;
  flex: 1;
}
.mentors-track::-webkit-scrollbar { display: none; }
@media (min-width: 640px) { .mentors-track { grid-auto-columns: 46%; } }
@media (min-width: 1024px) { .mentors-track { grid-auto-columns: calc((100% - 44px) / 3); } }

.mentor-card {
  scroll-snap-align: start;
  text-align: center;
}
.mentor-photo {
  aspect-ratio: 1/1;
  border-radius: 26px;
  overflow: hidden;
  background: #cbe7cb;
  margin-bottom: 20px;
}
.mentor-card h4 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--dark-900);
}
.mentor-card p { margin: 0; color: var(--ink-2); font-size: 16px; }

.mentors-arrow {
  flex-shrink: 0;
  align-self: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: #EFEFEF;
  color: var(--ink);
  display: grid; place-items: center;
  transition: background .2s ease;
}
.mentors-arrow:hover { background: #e2e2e2; }
@media (max-width: 640px) { .mentors-arrow { display: none; } }

/* ================================================================
   DISCIPLINAS (acordeão sem bordas)
   ================================================================ */
.course-disciplines { padding: 8px 0 72px; }
.course-disciplines .section-title { text-align: center; margin-bottom: 40px; }
.disc-list { max-width: 1120px; margin: 0 auto; }
.disc-item { border-bottom: 1px solid var(--line); }
.disc-item > summary {
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 30px 0;
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
  color: var(--c-mid);
  cursor: pointer;
}
.disc-item > summary::-webkit-details-marker { display: none; }
.disc-chevron {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: #EFEFEF;
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: transform .25s ease, background .2s ease;
}
.disc-item[open] .disc-chevron { transform: rotate(180deg); background: #e6e6e6; }
.disc-body { padding: 0 0 34px; }
.disc-body ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.5;
  list-style: decimal;
}

/* ================================================================
   INVESTIMENTO
   ================================================================ */
.course-invest { padding: 48px 0; }
.invest-outer {
  background: var(--c-mid);
  border-radius: 40px;
  padding: 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.invest-card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 28px;
  overflow: hidden;
}
@media (min-width: 900px) { .invest-card { grid-template-columns: 0.9fr 1.1fr; } }

.invest-price {
  background: var(--c-dark);
  color: #fff;
  padding: 56px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.invest-price h3 {
  margin: 0 0 26px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: #fff;
}
.invest-price .price-from {
  font-size: 17px;
  color: rgba(255,255,255,.72);
  margin: 0 0 22px;
}
.invest-price .price-from s { text-decoration: line-through; }
.invest-price .price-main {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: 0 0 22px;
}
.invest-price .price-main .x {
  font-size: 26px; font-weight: 700; color: #fff;
}
.invest-price .price-main .val {
  font-size: clamp(56px, 7vw, 84px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--c-bright);
}
.invest-price .price-main .val small { font-size: .5em; font-weight: 800; margin-right: 2px; }
.invest-price .price-cash {
  font-size: 18px;
  color: rgba(255,255,255,.9);
  margin: 0;
}

.invest-body {
  background: var(--c-cream);
  color: var(--ink);
  padding: 56px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
}
.invest-body h3 {
  margin: 0 0 8px;
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark-900);
}
.invest-check { display: grid; gap: 18px; }
.invest-check li {
  position: relative;
  padding-left: 34px;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-900);
}
.invest-check li::before {
  content: "";
  position: absolute; left: 0; top: -1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c-mid)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'><path d='M5 12l5 5 9-10' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/13px no-repeat;
}
.invest-body .btn { align-self: flex-start; margin-top: 8px; }

@media (max-width: 640px) { 
  .invest-outer { 
    padding: 15px; 
  } 
  .invest-card {
    display: block;
  } 
  .invest-price, .invest-body{
    padding: 30px 15px;
  }
}

/* ================================================================
   DEPOIMENTO
   ================================================================ */
.course-testimonial { background: var(--c-cream); padding: 80px 0; }
.course-testimonial .testimonial blockquote {
  font-size: clamp(20px, 2.2vw, 30px);
  color: var(--dark-900);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.01em;
  max-width: 20ch;
  margin: 0 auto 34px;
  max-width: 22ch;
}
@media (min-width: 700px){ .course-testimonial .testimonial blockquote { max-width: 40ch; } }
.course-testimonial .avatar-mini {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #d15b5b, #8a2b2b);
}
.course-testimonial figcaption strong { font-size: 16px; }
.course-testimonial figcaption small { color: var(--ink-2); }

/* ================================================================
   CONTATO / FORM
   ================================================================ */
.course-contact { padding: 72px 0; }
.contact-grid {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
  align-items: start;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } }
.contact-copy .section-title { margin-bottom: 20px; }
.contact-copy p { color: var(--ink-2); max-width: 42ch; margin: 0; font-size: 17px; }

.contact-form { display: grid; gap: 18px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #D8D8DE;
  border-radius: 16px;
  padding: 15px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  resize: vertical;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #9AA0A6; }
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--c-mid);
  box-shadow: 0 0 0 3px rgba(46,125,56,.14);
}
.contact-form textarea { max-height: 180px; }
.contact-form .btn { justify-self: start; padding: 18px 40px; }
.form-feedback {
  display: none;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--green-700);
}
.form-feedback.is-visible { display: block; }

/* ================================================================
   SOBRE O INSTITUTO (verde médio, título branco)
   ================================================================ */
.course-institute { padding: 24px 0 48px; }
.institute-card {
  background: var(--c-mid);
  color: #fff;
  border-radius: 40px;
  padding: 72px 32px;
  text-align: center;
  max-width: 1360px;
  margin: 0 auto;
}
.institute-card h2 {
  margin: 0 0 26px;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.institute-card p {
  max-width: 74ch;
  margin: 0 auto 16px;
  color: rgba(255,255,255,.9);
  font-size: 17px;
  line-height: 1.65;
}
.institute-card p strong { color: #fff; font-weight: 800; }
@media (min-width: 900px) { .institute-card { padding: 80px 72px; } }

/* ================================================================
   CTA FINAL (reaproveita .cta-card do styles.css)
   ================================================================ */
.course-final-cta { padding: 24px 0; }

/* hover suave */
@media (prefers-reduced-motion: no-preference) {
  .fact-card { transition: transform .2s ease, box-shadow .2s ease; }
  .fact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
}

/* ------ SEARCH ---------- */
.search-item{
  padding: 10px 0;
}
.page-title{
  padding-top: 40px;
}
.search-item:hover .entry-title{
  color: #6AD571;
  text-decoration: underline;
}
.screen-reader-text{
  display: none;
}
.pagination {
  justify-content: center;
}

/* ------ RESPONSIVO MS ---------- */
@media (max-width: 1024px) {
  .header-row {
    padding: 14px;
  }
  .banner .banner-content {
    background-position: top;
  }
  .banner .banner-content::after {
    content: none; 
  }
  .banner .banner-content .banner-text h1 {
    font-size: clamp(30px, 6vw, 45px);
  }
  .banner .banner-content .banner-text {
    width: 470px;
  }
  .stat-label {
    font-size: 12px;
  }
  .path-grid {
    margin: 36px 100px;
  }
  .cta-copy h2 {
    font-size: clamp(20px, 3.5vw, 30px);
  }
  .cta-copy p {
    font-size: 13px;
    max-width: 35ch;
  }
  .updates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .update-photo .attachment-medium.size-medium.wp-post-image {
    max-height: 230px;
    object-fit: cover;
  }
  .featured-photo .photo-placeholder .post-imagem img {
    margin-bottom: 20px;
  }
  .course-hero-art{
    display: none;
  }
  .course-about-photo {
    aspect-ratio: 12/4.5;
  }
  .mentors-carousel .owl-nav.disabled {
    display: none;
  }
}
@media (max-width: 576px) {
  .hero-lead {
    max-width: 35ch;
  }
  .path-grid {
    margin: 10px 40px;
  }
  .stats {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .updates {
    padding: 35px 0;
  }
  .cta-card {
    background-position: unset;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .updates-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .update-photo .attachment-medium.size-medium.wp-post-image {
    max-height: 400px;
  }
  .post-thumbnail .attachment-large.size-large.wp-post-image {
    max-height: 300px;
  }
  .course-about-photo {
    aspect-ratio: 5/4.5;
  }
  .promo-copy {
    width: 350px;
  }
}
@media (max-width: 440px) {
  .banner {
    padding: 20px 0;
  }
  .banner .banner-content {
    height: 370px;
  }
  .banner .banner-content .banner-text {
    width: 280px;
  }
  .hero-lead {
    max-width: 35ch;
    font-size: 12px;
    margin: 0 0 15px;
  }
  .path-grid {
    margin: 10px;
  }
  .path-body .btn {
    font-size: 11px;
  }
   .cta-card {
    background-size: inherit;
  }
  .blog-section-head .see-all span{
    display: none;
  }
  .blog-search .search-form button{
    padding: 12px;
    font-size: 10px;
    margin-left: 7px;
  }
}