/**
 * M&T Expo — página do programa Sobratema
 */

.main--programa:has(.mtexpo-page) {
  padding: 0;
  background: #f0f2f5;
}

.mtexpo-page {
  --mtex-green: #60b739;
  --mtex-green-dark: #4a9429;
  --mtex-ink: #0f1419;
  --mtex-muted: #5c6573;
  --mtex-surface: #ffffff;
  --mtex-radius: 16px;
  color: var(--mtex-ink);
  overflow-x: hidden;
}

.mtexpo-page em {
  font-style: normal;
  color: var(--mtex-green-dark);
  font-weight: 600;
}

/* Hero */
.mtexpo-hero {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 4.5rem);
  color: #fff;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.mtexpo-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.mtexpo-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 12, 18, 0.94) 0%,
    rgba(15, 20, 28, 0.88) 42%,
    rgba(96, 183, 57, 0.35) 100%
  );
}

.mtexpo-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.mtexpo-hero-kicker {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.mtexpo-hero-kicker strong {
  color: var(--mtex-green);
}

.mtexpo-hero-title {
  margin: 0 0 0.35rem;
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-size: clamp(2.75rem, 7vw, 4.25rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.mtexpo-hero-sub {
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 2.4vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
}

.mtexpo-hero-lead {
  margin: 0 0 1.25rem;
  max-width: 58ch;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
}

.mtexpo-hero-facts {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mtexpo-hero-facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.9);
}

.mtexpo-hero-facts i {
  color: var(--mtex-green);
  font-size: 1.2rem;
  margin-top: 0.1rem;
}

.mtexpo-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.mtexpo-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.2s;
}

.mtexpo-hero-link:hover {
  color: var(--mtex-green);
}

/* Subnav */
.mtexpo-subnav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--mtex-surface);
  border-bottom: 1px solid rgba(15, 20, 25, 0.08);
  box-shadow: 0 4px 20px rgba(15, 20, 25, 0.06);
}

.mtexpo-subnav-inner {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  overflow-x: auto;
  padding: 0.65rem 0;
  scrollbar-width: none;
}

.mtexpo-subnav-inner::-webkit-scrollbar {
  display: none;
}

.mtexpo-subnav a {
  flex-shrink: 0;
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--mtex-muted);
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}

.mtexpo-subnav a:hover {
  color: var(--mtex-ink);
  background: rgba(96, 183, 57, 0.12);
}

/* Buttons */
.mtexpo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  border: 2px solid transparent;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}

.mtexpo-btn--primary {
  background: var(--mtex-green);
  color: #fff;
  border-color: var(--mtex-green);
  box-shadow: 0 6px 24px rgba(96, 183, 57, 0.35);
}

.mtexpo-btn--primary:hover {
  background: var(--mtex-green-dark);
  border-color: var(--mtex-green-dark);
  transform: translateY(-2px);
}

.mtexpo-btn--outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.mtexpo-btn--outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.mtexpo-btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

.mtexpo-btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

.mtexpo-btn--ghost-light {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: transparent;
}

/* Sections */
.mtexpo-section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.mtexpo-section-head {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 720px;
}

.mtexpo-section-head--light h2,
.mtexpo-section-head--light .mtexpo-section-lead {
  color: inherit;
}

.mtexpo-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mtex-green-dark);
}

.mtexpo-section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
}

.mtexpo-section-lead {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--mtex-muted);
}

.mtexpo-note {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1rem 0 0;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--mtex-muted);
  background: rgba(96, 183, 57, 0.08);
  border-radius: 10px;
  border-left: 3px solid var(--mtex-green);
}

/* About + timeline */
.mtexpo-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

.mtexpo-about-grid p {
  line-height: 1.65;
  color: var(--mtex-muted);
}

.mtexpo-timeline-wrap {
  background: var(--mtex-surface);
  border-radius: var(--mtex-radius);
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(15, 20, 25, 0.08);
}

.mtexpo-timeline-title {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 700;
}

.mtexpo-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mtexpo-timeline-item {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(15, 20, 25, 0.06);
}

.mtexpo-timeline-item:last-child {
  border-bottom: none;
}

.mtexpo-timeline-item.is-current {
  background: rgba(96, 183, 57, 0.1);
  margin: 0 -0.75rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  border-radius: 10px;
  border-bottom-color: transparent;
}

.mtexpo-timeline-year {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--mtex-green-dark);
}

.mtexpo-timeline-item p {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: var(--mtex-muted);
}

/* Stats */
.mtexpo-stats {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: linear-gradient(135deg, #0f1419 0%, #1a2332 55%, #2d4a22 100%);
  color: #fff;
}

.mtexpo-stats .mtexpo-eyebrow {
  color: var(--mtex-green);
}

.mtexpo-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.mtexpo-stat {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--mtex-radius);
  text-align: center;
}

.mtexpo-stat-value {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--mtex-green);
  margin-bottom: 0.35rem;
}

.mtexpo-stat-desc {
  display: block;
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
}

/* Setores */
.mtexpo-setores-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.mtexpo-setor-card {
  background: var(--mtex-surface);
  border-radius: var(--mtex-radius);
  padding: 1.5rem;
  box-shadow: 0 6px 28px rgba(15, 20, 25, 0.07);
  border: 1px solid rgba(15, 20, 25, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.mtexpo-setor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(96, 183, 57, 0.15);
}

.mtexpo-setor-icon img {
  height: 56px;
  width: auto;
  margin-bottom: 0.75rem;
}

.mtexpo-setor-num {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mtex-green-dark);
  margin-bottom: 0.25rem;
}

.mtexpo-setor-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.mtexpo-setor-card p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--mtex-muted);
}

/* Atrações */
.mtexpo-atracoes {
  background: var(--mtex-surface);
}

.mtexpo-atracoes-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.mtexpo-atracao {
  padding: 1.1rem 1.2rem;
  background: #f6f8fa;
  border-radius: 12px;
  border-left: 4px solid var(--mtex-green);
}

.mtexpo-atracao h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.mtexpo-atracao p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--mtex-muted);
}

/* Benefícios visitantes */
.mtexpo-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.mtexpo-benefit {
  padding: 1.35rem;
  background: var(--mtex-surface);
  border-radius: var(--mtex-radius);
  box-shadow: 0 4px 20px rgba(15, 20, 25, 0.06);
}

.mtexpo-benefit i {
  font-size: 1.75rem;
  color: var(--mtex-green);
  margin-bottom: 0.65rem;
  display: block;
}

.mtexpo-benefit h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.mtexpo-benefit p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--mtex-muted);
}

.mtexpo-section-cta {
  text-align: center;
  margin: 2rem 0 0;
}

/* Expositores */
.mtexpo-expositores {
  background: linear-gradient(160deg, #121820 0%, #1e2a38 100%);
  color: #fff;
}

.mtexpo-expositores .mtexpo-eyebrow {
  color: var(--mtex-green);
}

.mtexpo-expositores .mtexpo-section-lead {
  color: rgba(255, 255, 255, 0.78);
}

.mtexpo-motivos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.mtexpo-motivo {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mtexpo-motivo i {
  font-size: 1.5rem;
  color: var(--mtex-green);
  margin-bottom: 0.5rem;
  display: block;
}

.mtexpo-motivo h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.mtexpo-motivo p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.mtexpo-expositor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* bauma */
.mtexpo-bauma-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.mtexpo-bauma-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.mtexpo-bauma-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(15, 20, 25, 0.08);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.15rem 1rem;
}

.mtexpo-bauma-list li.is-here {
  background: rgba(96, 183, 57, 0.12);
  margin: 0 -0.5rem;
  padding: 0.65rem 0.5rem;
  border-radius: 8px;
  border-bottom-color: transparent;
}

.mtexpo-bauma-list strong {
  grid-column: 1;
}

.mtexpo-bauma-list span {
  grid-column: 2;
  font-size: 0.88rem;
  color: var(--mtex-muted);
  text-align: right;
}

.mtexpo-bauma-list em {
  grid-column: 1 / -1;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--mtex-muted);
}

.mtexpo-bauma-logos {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  padding: 2rem;
  background: var(--mtex-surface);
  border-radius: var(--mtex-radius);
  box-shadow: 0 8px 32px rgba(15, 20, 25, 0.08);
}

.mtexpo-bauma-logos img {
  max-width: 200px;
  height: auto;
}

/* Depoimentos */
.mtexpo-depoimentos {
  background: #f6f8fa;
}

.mtexpo-depo-slider {
  display: flex;
  gap: 0;
  overflow: hidden;
  position: relative;
  min-height: 200px;
}

.mtexpo-depo {
  flex: 0 0 100%;
  margin: 0;
  padding: 2rem 2.5rem;
  background: var(--mtex-surface);
  border-radius: var(--mtex-radius);
  box-shadow: 0 10px 40px rgba(15, 20, 25, 0.08);
  opacity: 0;
  transform: translateX(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mtexpo-depo.is-active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
}

.mtexpo-depo p {
  margin: 0 0 1.25rem;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.55;
  font-weight: 500;
}

.mtexpo-depo cite {
  font-style: normal;
  font-weight: 700;
  display: block;
}

.mtexpo-depo footer span {
  display: block;
  font-size: 0.9rem;
  color: var(--mtex-muted);
  margin-top: 0.15rem;
}

.mtexpo-depo-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.mtexpo-depo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(15, 20, 25, 0.2);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.mtexpo-depo-dot.is-active {
  background: var(--mtex-green);
  transform: scale(1.15);
}

/* Mídia */
.mtexpo-midia-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.mtexpo-video-link {
  display: block;
  position: relative;
  border-radius: var(--mtex-radius);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.mtexpo-video-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mtexpo-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.2s;
}

.mtexpo-video-play i {
  font-size: 3.5rem;
  color: #fff;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.mtexpo-video-link:hover .mtexpo-video-play {
  background: rgba(96, 183, 57, 0.45);
}

.mtexpo-video p {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  color: var(--mtex-muted);
}

.mtexpo-galeria {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.mtexpo-galeria-item {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1;
}

.mtexpo-galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.mtexpo-galeria-item:hover img {
  transform: scale(1.06);
}

.mtexpo-galeria-links {
  text-align: center;
  margin: 1.25rem 0 0;
  font-size: 0.95rem;
}

.mtexpo-galeria-links a {
  color: var(--mtex-green-dark);
  font-weight: 600;
}

/* Práticas */
.mtexpo-praticas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.mtexpo-praticas-list {
  margin: 0;
}

.mtexpo-praticas-list > div {
  margin-bottom: 1rem;
}

.mtexpo-praticas-list dt {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.mtexpo-praticas-list dt i {
  color: var(--mtex-green);
}

.mtexpo-praticas-list dd {
  margin: 0 0 0 1.6rem;
  color: var(--mtex-muted);
}

.mtexpo-praticas-extra h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1rem;
}

.mtexpo-praticas-extra ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--mtex-muted);
  line-height: 1.6;
}

/* Explore */
.mtexpo-explore-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.mtexpo-explore-card {
  padding: 1.25rem;
  background: var(--mtex-surface);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(15, 20, 25, 0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.mtexpo-explore-card:hover {
  border-color: var(--mtex-green);
  box-shadow: 0 8px 24px rgba(96, 183, 57, 0.15);
}

.mtexpo-explore-card i {
  font-size: 1.5rem;
  color: var(--mtex-green);
  display: block;
  margin-bottom: 0.5rem;
}

.mtexpo-explore-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.mtexpo-explore-card p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--mtex-muted);
  line-height: 1.45;
}

/* CTA final */
.mtexpo-cta-final {
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  background: linear-gradient(120deg, var(--mtex-green-dark) 0%, var(--mtex-green) 45%, #3d7a24 100%);
  color: #fff;
  text-align: center;
}

.mtexpo-cta-final h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
}

.mtexpo-cta-final p {
  margin: 0 auto 1.75rem;
  max-width: 58ch;
  line-height: 1.6;
  opacity: 0.95;
}

.mtexpo-cta-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* Responsive */
@media (max-width: 1100px) {
  .mtexpo-stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .mtexpo-motivos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mtexpo-explore-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .mtexpo-about-grid,
  .mtexpo-bauma-grid,
  .mtexpo-midia-grid,
  .mtexpo-praticas-grid {
    grid-template-columns: 1fr;
  }
  .mtexpo-setores-grid,
  .mtexpo-atracoes-grid,
  .mtexpo-benefits-grid {
    grid-template-columns: 1fr;
  }
  .mtexpo-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mtexpo-galeria {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .mtexpo-stats-grid,
  .mtexpo-motivos-grid,
  .mtexpo-explore-grid {
    grid-template-columns: 1fr;
  }
  .mtexpo-depo {
    padding: 1.5rem;
  }
}
