/* =========================================================
   Edukai — Frontend Styles
   ========================================================= */
:root {
  --c-white: #FFFFFF;
  --c-cyan: #00F3FF;
  --c-green: #00FF67;
  --c-yellow: #EDFF00;
  --c-gold: #E5B148;
  --c-orange: #FF7F00;
  --c-magenta: #E600FF;
  --c-red: #DD0035;
  --c-brown: #5E2412;
  --c-black: #000000;
  --c-btn: #4c82a3;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --container: min(1180px, 92vw);
  --header-top-h: 40px;
  --header-mid-h: 78px;
  --menu-h: 64px;
  --cta-h: 148px;
  --section-soft: #f3f9ff;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(0,0,0,.18);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: #1a1a1a;
  background: var(--c-white);
  line-height: 1.6;
  overflow-x: hidden;
}
body.has-trails { position: relative; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: var(--container); margin-inline: auto; }

html, body {
  cursor: url("../../img/mouse.png") 3 2, auto;
}
a, button, label, summary, .dest-panel, .btn, .hero-nav, .nav-links a, .parceiros-nav, .back-top, .float-fab, .side-video-expand {
  cursor: url("../../img/mouse.png") 3 2, pointer;
}
input, textarea, select, [contenteditable="true"] { cursor: text; }

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * .12s);
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- HEADER ---------- */
.site-header {
  position: relative;
  z-index: 50;
  background: var(--header-bg, var(--c-brown));
  color: #fff;
  margin: 0;
  padding: 0 0 calc(var(--menu-h) / 2);
  overflow: visible;
}
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-top-h);
  font-size: .85rem;
  padding: .45rem 0;
}
.header-top-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .85rem 1.25rem;
}
.header-top a:hover { filter: brightness(1.18); }
.header-top .hdr-ico { margin-right: .35rem; }
.header-top .hdr-ico i { margin-right: 0; color: inherit; }
.header-top-right { display: flex; gap: .35rem; align-items: center; white-space: nowrap; }
.header-divider { border: 0; border-top: 1px solid rgba(255,255,255,.18); margin: 0; }

.header-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-mid-h);
  padding: .65rem 0 .85rem;
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  position: relative;
  z-index: 5;
  flex-shrink: 0;
  max-width: min(220px, 55vw);
}
.brand-logo img {
  height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.header-search {
  position: relative;
  width: min(360px, 100%);
}
.header-search input {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: .7rem 2.8rem .7rem 1.1rem;
  background: var(--search-bg, rgba(255,255,255,.12));
  color: var(--search-text, #fff);
  outline: none;
}
.header-search input::placeholder { color: var(--search-text, #fff); opacity: .7; }
.header-search button {
  position: absolute;
  right: .35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--search-btn-bg, var(--c-gold));
  color: var(--search-icon-color, var(--c-brown));
  cursor: pointer;
}

/*
 * Menu: ancorado na base do header e deslocado 50% para baixo
 * => a linha header/slide passa exatamente no meio do retângulo
 */
.nav-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  transform: translateY(50%);
  z-index: 100;
  background: transparent !important;
  margin: 0;
  padding: 0;
}
.nav-wrap.is-fixed {
  position: fixed;
  top: 0;
  bottom: auto;
  transform: none;
  padding: .35rem 0;
  background: transparent !important;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--menu-bg, var(--c-gold));
  color: var(--menu-text, var(--c-brown));
  min-height: var(--menu-h);
  border-radius: 14px;
  padding: 0 1.35rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: inline-block;
  padding: 1rem .85rem;
  font-weight: 700;
  font-size: .95rem;
  position: relative;
  border-radius: 0;
  color: var(--menu-text, var(--c-brown));
  transition: color .25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: .72rem;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--menu-active, var(--c-brown));
  transform: translateX(-50%);
  transition: width .35s cubic-bezier(.22,.61,.36,1);
}
.nav-links a:hover,
.nav-links a.active {
  background: transparent;
  color: var(--menu-active, var(--c-black));
}
.nav-links a:hover::after,
.nav-links a.active::after {
  width: calc(100% - 1.4rem);
}
.nav-social {
  display: flex;
  gap: .55rem;
  align-items: center;
}
.nav-social a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(94,36,18,.12);
  color: var(--nav-icon, var(--c-brown));
  transition: transform .25s, background .25s, color .25s;
}
.nav-social a:hover {
  transform: translateY(-2px);
  background: var(--c-brown);
  color: #fff;
}
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--menu-text, var(--c-brown));
  font-size: 1.4rem;
  cursor: pointer;
}

/* ---------- HERO + CTA (bloco único) ---------- */
.hero-block {
  position: relative;
  /* mesmo fundo da seção valores — sem faixa branca solta */
  background: var(--section-soft);
  /* reserva a metade inferior da CTA */
  padding-bottom: calc(var(--cta-h) / 2);
  margin: 0;
  overflow: visible;
}
.hero {
  position: relative;
  width: 100%;
  min-height: clamp(460px, 72vh, 720px);
  background: #111;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.hero-track {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s var(--ease), visibility .8s;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media picture,
.hero-media img {
  width: 100%;
  height: 100%;
  display: block;
}
.hero-media img {
  object-fit: cover;
  object-position: center;
  background: #0d0d0d;
}
.hero-filter {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: clamp(460px, 72vh, 720px);
  display: flex;
  align-items: center;
  padding: calc(var(--menu-h) * 0.85 + 2rem) 0 calc(var(--cta-h) * 0.55 + 3rem);
}
.hero-content.pos-left { justify-content: flex-start; }
.hero-content.pos-center { justify-content: center; text-align: center; }
.hero-content.pos-right { justify-content: flex-end; text-align: right; }
.hero-copy { width: min(560px, 100%); }
.hero-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  margin: 0 0 .85rem;
  font-weight: 800;
}
.hero-copy h2 span { font-weight: inherit; }
.hero-copy .desc {
  font-size: 1.05rem;
  margin-bottom: 1.4rem;
  opacity: .95;
}
.hero-copy .desc p { margin: 0 0 .5rem; }
.hero-copy h2,
.hero-copy .desc,
.hero-copy .btn {
  opacity: 0;
  transform: translateY(22px);
}
.hero-slide.active .hero-copy h2 {
  animation: heroCopyIn .75s var(--ease) .08s forwards;
}
.hero-slide.active .hero-copy .desc {
  animation: heroCopyIn .75s var(--ease) .22s forwards;
}
.hero-slide.active .hero-copy .btn {
  animation: heroCopyIn .75s var(--ease) .38s forwards;
}
@keyframes heroCopyIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s, filter .25s;
  color: #fff;
  background: var(--c-btn);
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.btn-dark { background: var(--c-btn); color: #fff; }

.hero-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 0;
  background: var(--hero-arrow-bg, rgba(255,255,255,.18));
  color: var(--hero-arrow-color, #fff);
  backdrop-filter: blur(6px);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .25s, color .25s;
}
.hero-nav:hover {
  background: var(--hero-arrow-hover, var(--c-gold));
  color: var(--hero-arrow-color, var(--c-brown));
}
.hero-nav.prev { left: 1rem; }
.hero-nav.next { right: 1rem; }

/*
 * CTA: centro exatamente na divisão entre a imagem do slide e a seção de baixo
 * (bottom = metade da altura + translateY 50%)
 */
.cta-bar-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(var(--cta-h) / 2);
  transform: translateY(50%);
  z-index: 20;
  margin: 0;
  padding: 0;
  background: transparent;
}
.cta-bar {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  min-height: var(--cta-h);
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.cta-left {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  padding: 1.75rem 1.85rem;
  color: #fff;
  position: relative;
}
.cta-left::after {
  content: "";
  position: absolute;
  top: 0; right: -48px; bottom: 0;
  width: 96px;
  background: inherit;
  transform: skewX(-18deg);
  z-index: 0;
}
.cta-item {
  position: relative;
  z-index: 1;
  display: flex;
  gap: .9rem;
  align-items: flex-start;
}
.cta-item .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--cta-item-icon-bg, #fff) 18%, transparent);
  color: var(--cta-item-icon, #fff);
  flex-shrink: 0;
  font-size: 1.35rem;
}
.cta-item h4 {
  margin: 0;
  font-size: 1.05rem;
  letter-spacing: .04em;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--cta-item-title, #fff);
}
.cta-item p {
  margin: .3rem 0 0;
  font-size: .92rem;
  opacity: .88;
  line-height: 1.35;
  color: var(--cta-item-text, #fff);
}
.cta-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
  padding: 1.75rem 1.9rem 1.75rem 3rem;
  color: var(--cta-title, var(--c-brown));
  font-weight: 700;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  transition: filter .25s;
}
.cta-right:hover { filter: brightness(1.05); }
.cta-right h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: .03em;
  font-weight: 800;
  color: var(--cta-title, var(--c-brown));
}
.cta-right span {
  display: block;
  font-weight: 500;
  font-size: 1rem;
  opacity: .88;
  margin-top: .3rem;
  color: var(--cta-text, var(--c-brown));
}
.cta-right .divider {
  width: 1px;
  align-self: stretch;
  background: var(--cta-divider, rgba(94,36,18,.25));
  margin: .2rem 0;
}
.cta-right .arrow {
  font-size: 1.65rem;
  flex-shrink: 0;
  color: var(--cta-arrow, var(--c-brown));
}

/* ---------- VALORES PIPELINE ---------- */
.section { padding: 5rem 0; }
.section-head {
  text-align: center;
  /* Mesmo respiro usado acima do título em .valores-section */
  margin-bottom: 2.25rem;
}
.section-label {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .14em;
  font-weight: 700;
  color: var(--c-brown);
  margin-bottom: .55rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin: 0 0 .75rem;
  color: var(--c-brown);
}
.section-head p {
  max-width: 640px;
  margin: 0 auto;
  color: #666;
}

.valores-section {
  background: var(--section-soft);
  /*
   * A CTA já “encaixa” no padding-bottom do .hero-block.
   * Aqui só o respiro CTA → título (= título → conteúdo abaixo).
   */
  padding-top: 2.25rem;
  padding-bottom: 5rem;
  margin-top: 0;
}

/* 4 colunas: imagem em cima, texto embaixo */
.valores-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.75rem;
  padding: 1rem 0 2rem;
  align-items: start;
}
.valor-card {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: .95rem;
}
.valores-grid .valor-card.reveal {
  transform: translateY(36px) scale(.96);
}
.valores-grid .valor-card.reveal.visible {
  transform: none;
}
.valor-media {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(30, 70, 110, .12);
}
.valor-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 210px;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .55s var(--ease);
}
.valor-card:hover .valor-media img {
  transform: scale(1.1);
}
@media (prefers-reduced-motion: reduce) {
  .valor-media img,
  .valor-card:hover .valor-media img {
    transition: none;
    transform: none;
  }
  .hero-copy h2,
  .hero-copy .desc,
  .hero-copy .btn,
  .hero-slide.active .hero-copy h2,
  .hero-slide.active .hero-copy .desc,
  .hero-slide.active .hero-copy .btn {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .destaques-acc:not(.is-inview) .dest-panel,
  .destaques-acc.is-inview .dest-panel {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.valor-text {
  padding: 0 .15rem;
}
.valor-text .num {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3vw, 2.65rem);
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px #b7d4ea;
  paint-order: stroke fill;
  line-height: 1;
  margin-bottom: .35rem;
}
.valor-text h3 {
  margin: 0 0 .35rem;
  color: var(--c-brown);
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
}
.valor-text p {
  margin: 0;
  color: #4a5a6a;
  font-size: .95rem;
  line-height: 1.45;
}

/* ---------- DESTAQUES ACCORDION ---------- */
.destaques-section { background: #fff; }
.destaques-acc {
  display: flex;
  gap: .85rem;
  min-height: 520px;
}
.dest-panel {
  flex: 0 0 16%;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: flex .55s var(--ease);
  background: #f6efe4;
  min-height: 500px;
}
.destaques-acc:not(.is-inview) .dest-panel {
  opacity: 0;
  transform: translateY(40px) scale(.97);
}
.destaques-acc.is-inview .dest-panel {
  animation: destPanelIn .75s var(--ease) both;
}
.destaques-acc.is-inview .dest-panel:nth-child(1) { animation-delay: .05s; }
.destaques-acc.is-inview .dest-panel:nth-child(2) { animation-delay: .16s; }
.destaques-acc.is-inview .dest-panel:nth-child(3) { animation-delay: .27s; }
.destaques-acc.is-inview .dest-panel:nth-child(4) { animation-delay: .38s; }
@keyframes destPanelIn {
  from { opacity: 0; transform: translateY(40px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.dest-panel.active { flex: 1 1 60%; }
.dest-collapsed {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 1.5rem 1.15rem;
  color: #fff;
  z-index: 2;
  opacity: 1;
  transition: opacity .35s;
}
.dest-panel.active .dest-collapsed { opacity: 0; pointer-events: none; }
.dest-collapsed .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.dest-collapsed .overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.dest-collapsed .num,
.dest-expanded .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: .55rem;
}
.dest-collapsed .dest-title {
  writing-mode: horizontal-tb !important;
  transform: none !important;
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.25;
  max-width: 100%;
  color: #fff;
  position: relative;
  z-index: 1;
  word-break: normal;
  overflow-wrap: anywhere;
}
.dest-expanded {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.25rem;
  height: 100%;
  min-height: inherit;
  padding: 1.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s .1s;
}
.dest-panel.active .dest-expanded {
  opacity: 1;
  pointer-events: auto;
}
.dest-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 100%;
  padding: .15rem 0;
}
.dest-copy-top { flex-shrink: 0; }
.dest-copy-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
  margin-top: auto;
}
.dest-expanded .num { color: var(--c-brown); }
.dest-expanded h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: #111;
  line-height: 1.25;
}
.dest-expanded .body {
  color: #555;
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
}
.dest-expanded .body p { margin: 0 0 .5rem; }
.dest-expanded .body p:last-child { margin-bottom: 0; }
.dest-expanded .media {
  border-radius: 18px;
  overflow: hidden;
  min-height: 100%;
}
.dest-expanded .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}

/* ---------- BLOG HOME ---------- */
.blog-home {
  position: relative;
  padding: 3.25rem 0 3.75rem;
  overflow: hidden;
  background: #fff;
}
.blog-home-bg {
  position: absolute;
  inset: 0;
  display: grid;
  /* Coluna clara maior + verde menor (fundo da seção) */
  grid-template-columns: 1.55fr 1fr;
  z-index: 0;
  pointer-events: none;
}
.blog-home-bg-light { background: #fff; }
.blog-home-bg-green { background: var(--blog-right-bg, var(--c-green)); }

.blog-home-inner {
  position: relative;
  z-index: 2;
}
.blog-home-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.blog-home-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0;
  color: var(--c-brown);
  font-size: clamp(1.7rem, 2.4vw, 2.1rem);
}
.blog-see-all {
  flex-shrink: 0;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: underline;
  text-underline-offset: 4px;
  color: #111;
}

/* 4 colunas coladas; col 4 (featured) na mesma altura */
.blog-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  height: 420px;
  align-items: stretch;
}
.bm-col {
  display: grid;
  grid-template-rows: 1fr 1fr;
  min-width: 0;
  min-height: 0;
  height: 100%;
}
.bm-col.img-top .bm-img { grid-row: 1; }
.bm-col.img-top .bm-text { grid-row: 2; }
.bm-col.text-top .bm-text { grid-row: 1; }
.bm-col.text-top .bm-img { grid-row: 2; }

.bm-col.bm-featured {
  grid-template-rows: 1fr;
}
.bm-col.bm-featured .blog-featured {
  height: 100%;
}

.bm-img {
  display: block;
  overflow: hidden;
  position: relative;
  min-height: 0;
  background: #ddd;
}
.bm-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s var(--ease);
}
.bm-img:hover img { transform: scale(1.04); }

.bm-text {
  position: relative;
  padding: .9rem .95rem 1rem;
  display: flex;
  flex-direction: column;
  background: #f3f3f3;
  color: #222;
  min-height: 0;
  overflow: visible; /* setinhas fora do bloco */
}
.bm-text.accent {
  background: var(--blog-accent, var(--c-red));
  color: #fff;
}
.bm-text time {
  display: block;
  font-size: .68rem;
  letter-spacing: .04em;
  opacity: .7;
  margin-bottom: .35rem;
}
.bm-text h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  margin: 0 0 .4rem;
  line-height: 1.25;
  color: var(--c-brown);
}
.bm-text h3 a { color: inherit; }
.bm-text.accent h3,
.bm-text.accent h3 a { color: #fff; }
.bm-text p {
  margin: 0 0 .65rem;
  font-size: .78rem;
  line-height: 1.4;
  opacity: .9;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bm-text .more {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: inherit;
  margin-top: auto;
}

/* Setinhas: texto → imagem da mesma coluna */
.bm-pointer {
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  z-index: 5;
  pointer-events: none;
}
.bm-pointer.point-up {
  top: 0;
  transform: translate(-50%, -100%);
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 12px solid #f3f3f3;
}
.bm-text.accent .bm-pointer.point-up {
  border-bottom-color: var(--blog-accent, var(--c-red));
}
.bm-pointer.point-down {
  bottom: 0;
  transform: translate(-50%, 100%);
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid #f3f3f3;
}
.bm-text.accent .bm-pointer.point-down {
  border-top-color: var(--blog-accent, var(--c-red));
}

.blog-featured {
  position: relative;
  display: block;
  overflow: hidden;
  height: 100%;
  min-height: 0;
  color: #fff;
  background: #222;
}
.blog-featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.blog-featured .overlay-text {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.25rem 1.05rem;
  background: linear-gradient(transparent, rgba(0,0,0,.8));
  color: #fff;
}
.blog-featured time {
  display: block;
  font-size: .68rem;
  letter-spacing: .04em;
  opacity: .85;
  margin-bottom: .35rem;
}
.blog-featured h3 {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0 0 .4rem;
  font-size: 1.05rem;
  line-height: 1.25;
}
.blog-featured p {
  margin: 0 0 .7rem;
  font-size: .8rem;
  line-height: 1.4;
  opacity: .92;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-featured .more {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ---------- PARCEIROS ---------- */
.parceiros-section { background: #fafafa; }
.parceiros-slider {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.parceiros-viewport {
  overflow: hidden;
  flex: 1;
}
.parceiros-track {
  --p-gap: 1.25rem;
  --p-visible: 5;
  display: flex;
  gap: var(--p-gap);
  will-change: transform;
  transition: transform .65s cubic-bezier(.22,.61,.36,1);
}
.parceiro-item {
  flex: 0 0 calc((100% - (var(--p-visible) - 1) * var(--p-gap)) / var(--p-visible));
  height: 100px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
}
.parceiro-item img {
  max-height: 64px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(.2);
  transition: filter .3s;
}
.parceiro-item:hover img { filter: none; }
.parceiros-nav {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  color: var(--c-brown);
}
.parceiros-nav:hover { background: var(--c-gold); border-color: var(--c-gold); }

/* ---------- FOOTER CTA ---------- */
.footer-cta {
  position: relative;
  z-index: 2;
  padding: 2.35rem 0;
  overflow: hidden;
}
.footer-cta::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cta-accent, var(--c-cyan)), transparent 72%);
  pointer-events: none;
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.4rem;
}
.footer-cta-copy {
  min-width: 0;
  max-width: 40rem;
}
.footer-cta-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.28rem, 2.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}
.footer-cta-copy p {
  margin: .45rem 0 0;
  font-size: .95rem;
  line-height: 1.5;
  opacity: .84;
}
.footer-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .82rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .01em;
  transition: transform .22s var(--ease), filter .22s var(--ease);
}
.footer-cta-btn i { font-size: .78rem; }
.footer-cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}
.footer-cta + .site-footer { margin-top: 0; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--footer-bg, var(--c-brown));
  color: #fff;
  padding-top: 3.5rem;
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 3rem;
}
.footer-logo img { height: 48px; width: auto; margin-bottom: 1rem; }
.footer-col h4 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a:hover { color: var(--c-cyan); }
.footer-contact li {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  margin-bottom: .7rem;
  list-style: none;
}
.footer-contact { margin: 0; padding: 0; }
.footer-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .35rem;
}
.footer-mosaic a {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
}
.footer-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .6s ease, transform .6s ease;
}
.footer-mosaic img.fade-out {
  opacity: 0;
  transform: scale(1.08);
}
.footer-bottom-wrap {
  position: relative;
  border-top: 1px solid rgba(255,255,255,.15);
  padding: 1.4rem 0 1.6rem;
}
.back-top {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 4px solid transparent;
  box-shadow: 0 0 0 2px rgba(255,255,255,.2);
  cursor: pointer;
  z-index: 2;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: .88rem;
  color: rgba(255,255,255,.75);
  padding-top: .5rem;
}
.footer-bottom-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.footer-bottom a:hover { color: var(--c-cyan); }

/* ---------- FLOATING CONTACT ---------- */
.float-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  border: 0;
  background: var(--c-green);
  color: var(--c-brown);
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  transition: transform .25s;
}
.float-fab:hover { transform: scale(1.06); }
.float-popup {
  position: fixed;
  right: 1.25rem;
  bottom: 5.5rem;
  z-index: 91;
  width: min(320px, calc(100vw - 2rem));
  background: #fff;
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: visible;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(.96);
  transition: .28s var(--ease);
}
.float-popup.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.float-popup::after {
  content: "";
  position: absolute;
  right: 22px;
  bottom: -10px;
  width: 20px; height: 20px;
  background: #fff;
  transform: rotate(45deg);
  box-shadow: 4px 4px 8px rgba(0,0,0,.06);
}
.float-popup-head {
  background: var(--c-brown);
  color: #fff;
  padding: 1.1rem 1.2rem;
  border-radius: 22px 22px 0 0;
  position: relative;
}
.float-popup-head h4 { margin: 0 0 .25rem; font-size: 1.15rem; }
.float-popup-head p { margin: 0; font-size: .85rem; opacity: .9; }
.float-close {
  position: absolute;
  top: .7rem; right: .8rem;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
}
.float-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  padding: 1rem;
}
.float-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  padding: .85rem .5rem;
  border: 1px solid #eee;
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 600;
  color: #333;
  transition: border-color .2s, transform .2s;
}
.float-opt:hover {
  border-color: var(--c-gold);
  transform: translateY(-2px);
}
.float-opt i { font-size: 1.25rem; }
.float-opt.wa i { color: #25D366; }
.float-opt.ig i { color: #E1306C; }
.float-opt.in i { color: #0A66C2; }

/* Contact sidebar */
.contact-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: .3s;
}
.contact-sidebar-overlay.open { opacity: 1; pointer-events: auto; }
.contact-sidebar {
  position: fixed;
  top: 50%;
  right: 1.1rem;
  width: min(400px, calc(100vw - 2.2rem));
  height: auto;
  max-height: calc(100vh - 2rem);
  background: #f7f9fb;
  z-index: 96;
  transform: translate(110%, -50%);
  transition: transform .4s var(--ease);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0,0,0,.18);
  overflow: hidden;
  border-radius: 18px;
}
.contact-sidebar.open { transform: translate(0, -50%); }
.contact-sidebar-head {
  padding: .85rem 1.1rem;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: .88rem;
  flex-shrink: 0;
}
.contact-sidebar-body {
  padding: 1rem 1.1rem 1.15rem;
  overflow-y: auto;
  flex: 0 1 auto;
}
.contact-intro {
  background: #d8fbf0;
  color: #1a4a3a;
  padding: .7rem .85rem;
  border-radius: 12px;
  margin-bottom: .85rem;
  font-size: .88rem;
  line-height: 1.4;
}
.contact-sidebar .form-field { margin-bottom: .65rem; }
.contact-sidebar .form-field input,
.contact-sidebar .form-field textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  padding: .7rem .9rem;
  background: #fff;
  outline: none;
  font-size: .92rem;
}
.contact-sidebar .form-field textarea {
  min-height: 88px;
  resize: vertical;
}
.contact-sidebar .form-field input:focus,
.contact-sidebar .form-field textarea:focus { border-color: var(--c-cyan); }
.contact-sidebar .btn {
  padding: .7rem 1.1rem;
  font-size: .92rem;
  margin-top: .15rem;
}
.contact-side-tabs {
  position: absolute;
  left: -48px;
  top: 1rem;
  display: none;
  flex-direction: column;
  gap: .45rem;
}
.contact-sidebar.open .contact-side-tabs {
  display: flex;
}
.contact-side-tabs button,
.contact-side-tabs a {
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 0;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
  cursor: pointer;
  display: grid;
  place-items: center;
  text-decoration: none;
}

/* Mobile bottom bar */
.mobile-contact-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 89;
  height: 58px;
  grid-template-columns: repeat(3, 1fr);
}
.mobile-contact-bar a,
.mobile-contact-bar button {
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  text-decoration: none;
}
.mobile-contact-bar .wa { background: var(--c-green); }
.mobile-contact-bar .ig { background: var(--c-magenta); }
.mobile-contact-bar .msg { background: var(--c-cyan); }

/* ---------- BLOG PAGES ---------- */
.page-wrap { padding: 2.5rem 0 4rem; }

/* ---------- CONTACT PAGE ---------- */
.contact-page-section { padding-top: 3.5rem; padding-bottom: 4.5rem; }
.contact-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 3.25rem 4rem;
  align-items: start;
  position: relative;
  z-index: 2;
}
.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .38rem .85rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
}
.contact-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.65rem);
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 2rem;
}
.contact-copy h2 em {
  font-family: "Libre Baskerville", Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
.contact-topics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}
.contact-topics li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-topic-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.05rem;
}
.contact-topics strong {
  display: block;
  font-size: .95rem;
  color: #1a1a1a;
}
.contact-topics span,
.contact-topics a {
  color: #666;
  font-size: .92rem;
}
.contact-topics a:hover { color: var(--c-brown); }
.cform-card {
  position: relative;
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 22px;
  padding: 1.6rem 1.5rem 1.5rem;
  box-shadow: 0 16px 40px rgba(0,0,0,.04);
}
.cform-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.1rem;
}
.cform-field {
  display: block;
  margin-bottom: 1rem;
}
.cform-field > span:first-child {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: #333;
  margin-bottom: .4rem;
}
.cform-control {
  position: relative;
  display: block;
}
.cform-control input,
.cform-control select,
.cform-control textarea {
  width: 100%;
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  padding: .82rem 2.5rem .82rem 1rem;
  background: #fff;
  outline: none;
  appearance: none;
  font: inherit;
}
.cform-control textarea {
  min-height: 130px;
  resize: vertical;
  padding-right: 2.5rem;
}
.cform-control i {
  position: absolute;
  right: .9rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: .9rem;
}
.cform-control.is-area i { top: 1.05rem; transform: none; }
.cform-control input:focus,
.cform-control select:focus,
.cform-control textarea:focus { border-color: var(--c-orange); }
.contact-send {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  border-radius: 14px;
  padding: .28rem .28rem .28rem 1.25rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  margin-top: .35rem;
}
.contact-send-arrow {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.contact-send-arrow i {
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}
.contact-send:hover .contact-send-arrow { transform: translateX(6px); }
.contact-send:hover .contact-send-arrow i { transform: rotate(-45deg); }
.contact-send.is-sending { pointer-events: none; opacity: .9; }
.contact-send.is-sending .contact-send-arrow i { animation: cform-spin .7s linear infinite; }
.contact-send.is-success .contact-send-arrow { transform: none; }
.contact-send.is-success .contact-send-arrow i { transform: none; animation: none; }
@keyframes cform-spin { to { transform: rotate(360deg); } }
.cform-error { color: var(--c-red); font-size: .88rem; margin: 0 0 .75rem; }
.cform-success {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 22px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  animation: cform-pop .45s cubic-bezier(.22,.61,.36,1);
}
.cform-success[hidden] { display: none !important; }
.cform-check {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #00FF67;
  color: #5E2412;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  margin: 0 auto .9rem;
}
.cform-success p { margin: 0; font-weight: 700; color: var(--c-brown); max-width: 22rem; }
@keyframes cform-pop {
  from { opacity: 0; transform: scale(.96); }
  to { opacity: 1; transform: none; }
}
.cform .g-recaptcha { margin: 0 0 1rem; }
.breadcrumb {
  font-size: .88rem;
  color: #888;
  margin-bottom: 1.25rem;
}
.breadcrumb a:hover { color: var(--c-brown); }
.blog-list-layout {
  display: grid;
  grid-template-columns: 1.7fr .9fr;
  gap: 2.5rem;
  align-items: start;
  position: relative;
  z-index: 2;
}
.blog-list-layout.no-sidebar,
.blog-single-layout.no-sidebar {
  grid-template-columns: 1fr;
}
.blog-list-item {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e8e8e8;
}
.blog-list-item .thumb {
  height: 100%;
  min-height: 180px;
}
.blog-list-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.blog-list-item h2,
.blog-list-item h2 a {
  font-family: var(--font-display);
  font-weight: 800;
  margin: 0 0 .75rem;
  font-size: 1.35rem;
  color: var(--c-brown);
}
.blog-list-item h2 a { margin: 0; }
.blog-list-item p {
  color: #666;
  margin: 0 0 .85rem;
}
.blog-list-item .btn {
  padding: .42rem .95rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.blog-sidebar {
  position: sticky;
  top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.side-block {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.05);
}
.side-block-body { padding: 1rem 1.05rem 1.15rem; }
.side-block h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--c-brown);
}
.side-block p {
  margin: .45rem 0 0;
  color: #666;
  font-size: .9rem;
  line-height: 1.5;
}
.side-block-btn {
  margin-top: .75rem;
  padding: .38rem .85rem;
  font-size: .76rem;
}
.side-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
}
.side-video-frame iframe,
.side-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: cover;
}
.side-video-expand {
  position: absolute;
  right: .5rem;
  bottom: .5rem;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: rgba(94,36,18,.88);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.side-video-expand:hover { background: var(--c-brown); }
.side-event-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; }
.side-event-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s var(--ease);
}
.side-event-img:hover img { transform: scale(1.04); }
.side-cta {
  background: var(--c-brown);
  border: 0;
  color: #fff;
}
.side-cta h4 { color: #fff; }
.side-cta p { color: rgba(255,255,255,.82); }
.side-cta-btn {
  margin-top: .75rem;
  padding: .42rem .95rem;
  font-size: .78rem;
  background: var(--c-btn);
  color: #fff;
}
.video-lightbox[hidden] { display: none !important; }
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
}
.video-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
}
.video-lightbox-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.video-lightbox-frame iframe,
.video-lightbox-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-lightbox-close {
  position: absolute;
  right: 0;
  top: -2.4rem;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.blog-single-layout {
  display: grid;
  grid-template-columns: 1.7fr .9fr;
  gap: 2.5rem;
  align-items: start;
  position: relative;
  z-index: 2;
}
.blog-single-featured {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.25rem;
}
.blog-single h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 1rem;
  color: var(--c-brown);
}
.blog-content {
  color: #555;
  font-size: 1.02rem;
  line-height: 1.75;
}
.blog-nav-posts {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #eee;
}
.blog-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.blog-related .card img {
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: .75rem;
}
.blog-related h4 {
  margin: 0 0 .6rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--c-brown);
}

.page-hero-simple {
  background: var(--c-brown);
  color: #fff;
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-hero-simple h1 {
  font-family: var(--font-display);
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

/* ---------- PAGE BANNER (internas) ---------- */
.page-banner {
  position: relative;
  width: 100%;
  height: clamp(168px, 22vw, 260px);
  overflow: hidden;
  color: #fff;
}
.page-banner-media {
  position: absolute;
  inset: 0;
}
.page-banner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-banner-filter {
  position: absolute;
  inset: 0;
}
.page-banner-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  padding-left: clamp(1.25rem, 8vw, 6rem);
}
.page-banner h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: clamp(1.45rem, 3.2vw, 2.4rem);
  display: flex;
  align-items: center;
  gap: .85rem;
}
.page-banner h1::before {
  content: "";
  width: 3px;
  height: 1.05em;
  background: var(--banner-accent, var(--c-cyan));
  flex-shrink: 0;
}

/* ---------- SOBRE NÓS ---------- */
.sobre-intro-section { background: #fff; padding-top: 4.5rem; }
.sobre-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.sobre-photos {
  position: relative;
  min-height: 580px;
}
.sobre-main {
  position: relative;
  z-index: 1;
  width: min(68%, 340px);
  height: 560px;
  object-fit: cover;
  border-radius: 999px;
  display: block;
}
.sobre-circle {
  position: absolute;
  z-index: 2;
  width: 248px;
  height: 248px;
  object-fit: cover;
  border-radius: 50%;
  right: 2%;
  bottom: 4%;
  border: 7px solid #fff;
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
.sobre-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  margin: .35rem 0 1.1rem;
  line-height: 1.25;
}
.sobre-text {
  font-size: 1rem;
  line-height: 1.7;
}
.sobre-text p { margin: 0 0 1rem; }
.sobre-text ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}
.sobre-text li { margin: .35rem 0; }

.team-section { background: #fff; padding-top: 1rem; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.75rem 1.25rem;
}
.team-card { text-align: center; }
.team-photo-wrap {
  width: 148px;
  height: 148px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  padding: 7px;
  border: 2px dashed var(--ring, var(--c-cyan));
}
.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.team-card h3 {
  margin: 0 0 .4rem;
  font-size: 1.02rem;
  color: #222;
}
.team-card p {
  margin: 0 auto .75rem;
  color: #777;
  font-size: .86rem;
  line-height: 1.45;
  max-width: 200px;
}
.team-social {
  display: flex;
  justify-content: center;
  gap: .4rem;
}
.team-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .82rem;
  border: 1px solid currentColor;
  opacity: .9;
  transition: transform .2s, opacity .2s;
}
.team-social a:hover { transform: translateY(-2px); opacity: 1; }
.team-social .ig { color: #E600FF; }
.team-social .fb { color: #00F3FF; }
.team-social .ln { color: #E5B148; }

.numeros-section { background: #fafafa; }
.numeros-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: stretch;
}
.numero-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0,0,0,.06);
  padding: 2.45rem 1.35rem 2.1rem;
  text-align: center;
  position: relative;
  z-index: 2;
  min-height: 228px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}
.numeros-grid .numero-card.reveal {
  transform: translateY(32px) scale(.94);
}
.numeros-grid .numero-card.reveal.visible {
  transform: none;
}

/* ---------- PAPER-PLANE TRAILS ---------- */
.site-trails {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.site-trails .trails-full {
  display: block;
  width: 100%;
  height: 100%;
}
.trail-plane {
  position: absolute;
  font-size: 1rem;
  opacity: .55;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.12));
}
.trail-plane-a {
  left: 28%;
  top: 46%;
  color: #00F3FF;
  transform: rotate(32deg);
}
.trail-plane-b {
  right: 12%;
  top: 72%;
  color: #E600FF;
  transform: rotate(-22deg);
}
body.has-trails .section > .container,
body.has-trails .blog-home-inner,
body.has-trails .page-banner-inner,
body.has-trails .hero-content,
body.has-trails .cta-bar,
body.has-trails .sobre-intro {
  position: relative;
  z-index: 2;
}
body.has-trails .site-footer,
body.has-trails .footer-cta {
  position: relative;
  z-index: 2;
}
.numero-icon { font-size: 2.15rem; margin-bottom: .8rem; }
.numero-value {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 3.4vw, 2.95rem);
  font-weight: 900;
  letter-spacing: -.02em;
  line-height: 1.05;
  margin-bottom: .45rem;
}
.numero-label { color: #666; font-size: .92rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .blog-home-bg {
    grid-template-columns: 1.35fr 1fr;
  }
  /* altura fixa só no tablet em 4 colunas; no mobile (≤860) vira auto */
  .blog-mosaic {
    height: 380px;
  }
  .parceiros-track { --p-visible: 3; }
  .valores-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.4rem 1.25rem;
  }
  .valor-media img { max-height: 190px; }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .numeros-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .numero-card { margin-top: 0; }
}

@media (max-width: 860px) {
  :root {
    /* CTA em 2 faixas (itens + descobrir) — alinhar ao tamanho real */
    --cta-h: 185px;
  }
  .site-trails { opacity: .55; }
  .trail-plane { display: none; }
  .footer-cta { padding: 2rem 0; }
  .footer-cta-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1.15rem;
  }
  .footer-cta-copy { max-width: none; }
  .footer-cta-btn { width: 100%; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: calc(100% + .4rem);
    background: var(--menu-bg, var(--c-gold));
    flex-direction: column;
    padding: .5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
  }
  .main-nav.open .nav-links { display: flex; }
  /* CTA: mantém 3 colunas no mobile para não alongar o slide */
  .cta-bar {
    grid-template-columns: 1fr;
  }
  .cta-left {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .4rem;
    padding: .95rem .7rem;
  }
  .cta-left::after { display: none; }
  .cta-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: .3rem;
  }
  .cta-item .icon {
    width: 34px;
    height: 34px;
    font-size: .95rem;
    border-radius: 8px;
  }
  .cta-item h4 {
    font-size: .78rem;
    letter-spacing: .02em;
    line-height: 1.2;
  }
  .cta-item p {
    font-size: .68rem;
    margin: .15rem 0 0;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .cta-right {
    clip-path: none;
    padding: .95rem 1.1rem;
  }
  .cta-right h3 { font-size: 1rem; }
  .cta-right span { font-size: .8rem; }
  .valores-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .valor-media img {
    max-height: 240px;
    aspect-ratio: 16 / 10;
  }
  .destaques-acc {
    flex-direction: column;
    min-height: 0;
    gap: .7rem;
  }
  .dest-panel {
    flex: none !important;
    min-height: 0;
    height: 88px;
    transition: height .45s var(--ease);
  }
  .dest-panel.active {
    height: auto;
    min-height: 0;
  }
  /* Conteúdo expandido fora do fluxo quando recolhido — evita cortar o título */
  .dest-panel:not(.active) .dest-expanded {
    display: none;
  }
  .dest-collapsed {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: .85rem;
    padding: 1.1rem 1.25rem;
  }
  .dest-collapsed .num {
    margin-bottom: 0;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
  }
  .dest-collapsed .dest-title {
    display: block;
    flex: 1 1 auto;
    font-size: 1.05rem;
    line-height: 1.25;
    white-space: normal;
  }
  .dest-expanded {
    display: none;
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    padding: 1.25rem;
    gap: 1rem;
  }
  .dest-panel.active .dest-expanded {
    display: grid;
    opacity: 1;
    pointer-events: auto;
  }
  .dest-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
    height: auto;
    gap: 1rem;
  }
  .dest-copy-bottom {
    margin-top: 0;
  }
  .dest-expanded .media {
    min-height: 0;
  }
  .dest-expanded .media img {
    min-height: 200px;
    max-height: 240px;
    height: 200px;
  }
  .dest-expanded h3 {
    font-size: 1.35rem;
  }
  .blog-home-bg {
    grid-template-columns: 1fr;
  }
  .blog-home-bg-green {
    display: none;
  }
  .blog-home-head {
    flex-direction: column;
    align-items: flex-start;
    gap: .65rem;
  }
  /* Mobile: 2 colunas; cards compactos (ref. Avaliação formativa). Destaque intacto. */
  .blog-mosaic {
    grid-template-columns: 1fr 1fr;
    height: auto !important;
    gap: 0;
    align-items: start;
  }
  .bm-col:not(.bm-featured) {
    display: flex !important;
    flex-direction: column;
    height: auto !important;
    min-height: 0 !important;
    align-self: start;
  }
  .bm-col:not(.bm-featured) .bm-img {
    order: -1;
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto !important;
    min-height: 0 !important;
    max-height: none;
  }
  .bm-col:not(.bm-featured) .bm-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .bm-col:not(.bm-featured) .bm-text {
    order: 1;
    flex: 0 0 auto !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
    padding: .65rem .6rem .7rem;
  }
  .bm-col:not(.bm-featured) .bm-text time {
    margin-bottom: .25rem;
  }
  .bm-col:not(.bm-featured) .bm-text h3 {
    font-size: .82rem;
    margin-bottom: .3rem;
  }
  .bm-col:not(.bm-featured) .bm-text p {
    flex: 0 0 auto !important;
    margin: 0 0 .4rem !important;
    font-size: .72rem;
    -webkit-line-clamp: 2;
  }
  .bm-col:not(.bm-featured) .bm-text .more {
    margin-top: 0 !important;
  }
  .bm-pointer {
    border-left-width: 10px;
    border-right-width: 10px;
  }
  .bm-pointer.point-up { border-bottom-width: 10px; }
  .bm-pointer.point-down { border-top-width: 10px; }
  .blog-list-layout,
  .blog-single-layout { grid-template-columns: 1fr; }
  .blog-list-item { grid-template-columns: 1fr; }
  .blog-list-item .thumb { min-height: 200px; }
  .blog-related { grid-template-columns: 1fr; }
  .contact-page { grid-template-columns: 1fr; gap: 2rem; }
  .cform-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .parceiros-track { --p-visible: 2; }
  .float-fab { display: none; }
  .float-popup { display: none; }
  .mobile-contact-bar { display: grid; }
  body.has-mobile-bar { padding-bottom: 58px; }
  .contact-side-tabs,
  .contact-sidebar.open .contact-side-tabs { display: none !important; }
  .contact-sidebar {
    top: auto;
    bottom: 58px;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    max-height: calc(100vh - 58px - 8px);
    border-radius: 18px 18px 0 0;
    transform: translateY(110%);
    box-shadow: 0 -12px 40px rgba(0,0,0,.18);
  }
  .contact-sidebar.open { transform: none; }
  .contact-sidebar-body {
    flex: 0 1 auto;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  }
  .sobre-intro {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .sobre-photos { min-height: 480px; }
  .sobre-main {
    width: min(62%, 260px);
    height: 430px;
  }
  .sobre-circle {
    width: 180px;
    height: 180px;
  }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-banner { height: 170px; }
}

@media (max-width: 560px) {
  .header-top { flex-direction: column; align-items: flex-start; }
  .header-mid {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: .75rem 1rem;
  }
  .brand-logo {
    max-width: min(160px, 48vw);
  }
  .brand-logo img { height: 40px; }
  .header-search { width: min(100%, 220px); margin-left: auto; }
  .hero-nav { width: 38px; height: 38px; }
  .cta-item h4 { font-size: .72rem; }
  .cta-item p { font-size: .62rem; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .numeros-grid { grid-template-columns: 1fr 1fr; }
  .numero-card { margin-top: 0 !important; }
}

@media (pointer: fine) {
  html, body, a, button, label, .dest-panel, .btn, .hero-nav, .nav-links a, .parceiros-nav, .back-top, .float-fab, .side-video-expand, .cta-right, .bm-img, .bm-text a {
    cursor: url("../../img/mouse.png") 3 2, auto !important;
  }
  input, textarea, select, [contenteditable="true"] {
    cursor: text !important;
  }
}
