:root {
  --bg: #f3f5f7;
  --text: #ffffff;
  --muted: #d7dde6;
  --accent-red: #d62020;
  --accent-blue: #0b55d6;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: #1a1a1a;
}

.page {
  padding: 5px 5px 0;
}

.hero {
  position: relative;
  min-height: 820px;
  display: flex;
  flex-direction: column;
}

.hero-banner {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  border-radius: 14px 14px 10px 10px;
  overflow: hidden;
  background-image: url("IMG/BUNNER PRINCIPAL.png");
  background-size: cover;
  background-position: center -60px;
  background-repeat: no-repeat;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.62) 58%, rgba(0, 0, 0, 0.88) 100%);
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 10;
  height: 74px;
  background: #ffffff;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img,
.brand-link img {
  width: 176px;
  display: block;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  background: #fff;
  padding: 9px 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #1f1f1f;
  border-radius: 3px;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.menu {
  display: flex;
  gap: 30px;
}

.menu a {
  text-decoration: none;
  color: #111;
  font-size: 15px;
  font-weight: 500;
}

.menu a.active {
  color: var(--accent-red);
  font-weight: 700;
}

.cta-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: var(--accent-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 6px;
  padding: 10px 18px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 465px auto 0;
  text-align: center;
}

.hero-content h1 {
  margin: 0;
  color: var(--text);
  font-size: 42px;
  line-height: 1.07;
  font-weight: 800;
}

.hero-title-line {
  display: block;
}

.hero-content p {
  margin: 18px 0 28px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.25;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

.btn {
  text-decoration: none;
  border-radius: 10px;
  color: #fff;
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  padding: 14px 27px;
}

.btn-blue {
  background: var(--accent-blue);
}

.btn-red {
  background: var(--accent-red);
}

@media (min-width: 769px) {
  .packs-carousel {
    padding-inline: 28px;
  }

  .packs-header {
    justify-content: center;
  }

  .packs-header-left {
    padding-left: 0;
    max-width: min(920px, 100%);
    margin: 0 auto;
    text-align: center;
  }

  .packs-header-left h2,
  .packs-header-left p {
    text-align: center;
  }

  .packs-header-left h2 {
    margin-bottom: 18px;
    font-size: clamp(28px, 2.6vw, 40px);
    line-height: 1.18;
    letter-spacing: 0.01em;
  }

  .packs-header-left p {
    font-size: 16px;
    line-height: 1.55;
    color: #3a3d44;
    font-weight: 400;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions .btn {
    width: 260px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 20px;
    padding: 12px 22px;
  }

  /* No desktop, cards compactos seguem o mesmo padrão visual do PACK TÉCNICO 1 */
  .pack-card--compact-cta .pack-info {
    padding-bottom: 18px;
  }

  .pack-card--compact-cta .pack-desc--sm {
    font-size: 13px;
    line-height: 1.35;
  }

  .pack-card--compact-cta .pack-price {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 8px;
  }

  .pack-card--compact-cta .btn-comprar {
    font-size: 14px;
    padding: 10px 0;
    border-radius: 8px;
  }
}

@media (max-width: 1400px) {
  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 20px;
  }

  .btn {
    font-size: 23px;
    padding: 14px 27px;
  }
}

@media (max-width: 1024px) {
  .topbar {
    flex-wrap: wrap;
    height: auto;
    gap: 12px;
    padding: 14px 16px;
  }

  .menu {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 22px;
  }

  .hero-content {
    margin: 100px 24px 0;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .btn {
    font-size: 21px;
    padding: 15px 22px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 720px;
  }

  .hero-content {
    margin: 310px 24px 0;
  }

  .hero-content p {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }

  .hero-actions .btn-blue {
    width: 80%;
    align-self: center;
    padding-top: 13px;
    padding-bottom: 13px;
  }

  .hero-actions .btn-red {
    width: 90%;
    align-self: center;
    padding-top: 17px;
    padding-bottom: 17px;
  }
}

@media (max-width: 768px) {
  .page {
    padding: 0;
  }

  .hero {
    margin: 0;
  }

  .hero-banner {
    border-radius: 0;
    background-image: url("IMG/banner mobile.png");
    background-position: center center;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .hero-content h1.hero-title {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    display: block;
    width: max-content;
    max-width: none;
    text-align: center;
    font-size: clamp(24px, 7.8vw, 58px);
    line-height: 1.12;
  }

  .hero-content h1 .hero-title-line {
    display: block;
    margin: 0;
    white-space: nowrap;
    text-align: center;
  }

  .hero-actions {
    margin-top: -15px;
  }

  .hero-actions .btn-red {
    transform: translateY(-10px);
  }

  .topbar {
    position: relative;
    flex-wrap: nowrap;
    height: 74px;
    justify-content: center;
  }

  .brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
    position: relative;
    z-index: 4;
  }

  .cta-top {
    display: none;
  }

  .menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    right: auto;
    width: calc(100% - 24px);
    margin: 0;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    transform: translate(-50%, -2px);
    background: #fff;
    border-radius: 15px;
    padding: 22px 20px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
    z-index: 3;
    box-sizing: border-box;
  }

  .topbar.menu-open .menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .menu a {
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    color: #111;
    padding: 4px 8px;
  }

  .menu a.active {
    color: var(--accent-red);
    font-weight: 700;
  }
}

/* ── Seção Packs ── */
.packs-section {
  padding: 40px 98px 50px;
}

.packs-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.packs-header-left h2 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  color: #111;
}

.packs-header-left h2 .highlight {
  color: var(--accent-blue);
}

.packs-header-left p {
  margin: 0;
  font-size: 13px;
  color: #444;
  line-height: 1.5;
}

.btn-ver-cursos {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 2px solid var(--accent-red);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--accent-red);
  white-space: nowrap;
}

/* Carousel */
.packs-carousel {
  overflow: hidden;
}

.packs-track {
  display: flex;
  gap: 14px;
  transition: transform 0.4s ease;
}

/* Card */
.pack-card {
  flex: 0 0 calc(50% - 7px);
  border: 1px solid #e4e4e4;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  background: #fff;
  gap: 0;
}

.pack-thumb {
  position: relative;
  flex-shrink: 0;
  width: 300px;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}

.pack-thumb > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pack-thumb-ribbon,
.pack-thumb-title {
  display: none;
}

.pack-thumb::after {
  content: none;
}

.pack-thumb-label {
  position: absolute;
  bottom: 10px;
  left: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pack-thumb-label img {
  width: 28px;
  height: auto;
  background: rgba(255,255,255,0.15);
  border-radius: 4px;
}

.pack-thumb-label span {
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.pack-info {
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pack-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-blue);
  letter-spacing: 0.3px;
}

.pack-desc {
  margin: 0 0 8px;
  font-size: 13px;
  color: #444;
  line-height: 1.35;
}

.pack-desc--sm {
  font-size: 12px;
  line-height: 1.38;
}

.pack-disciplines-label {
  margin: 0 0 4px;
  font-size: 12px;
  color: #111;
}

.pack-disciplines {
  margin: 0 0 10px;
  padding-left: 18px;
  font-size: 10px;
  color: #444;
  line-height: 1.4;
}

.pack-price {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
  color: #111;
}

.btn-comprar {
  display: block;
  text-align: center;
  text-decoration: none;
  background: var(--accent-red);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 0;
}

.pack-card--compact-cta .pack-price {
  font-size: 16px;
  margin-bottom: 5px;
  margin-top: auto;
}

.pack-card--compact-cta .btn-comprar {
  font-size: 11px;
  padding: 7px 0;
  border-radius: 6px;
}

.pack-card--compact-cta .pack-info {
  padding-bottom: 12px;
}

@media (min-width: 769px) {
  .pack-card--compact-cta .pack-info {
    padding-bottom: 18px;
  }

  .pack-card--compact-cta .pack-desc--sm {
    font-size: 13px;
    line-height: 1.35;
  }

  .pack-card--compact-cta .pack-price {
    font-size: 22px;
    margin-top: 0;
    margin-bottom: 8px;
  }

  .pack-card--compact-cta .btn-comprar {
    font-size: 14px;
    padding: 10px 0;
    border-radius: 8px;
  }
}

/* Controles */
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.carousel-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.carousel-btn.prev {
  background: #e4e4e4;
  color: #555;
}

.carousel-btn.prev:not(:disabled) {
  background: var(--accent-blue);
  color: #fff;
}

.carousel-btn.next {
  background: var(--accent-blue);
  color: #fff;
}

.carousel-btn:hover.prev:disabled {
  background: #e4e4e4;
}

.carousel-btn:hover.prev:not(:disabled) {
  background: #0944b0;
}

.carousel-btn:hover.next {
  background: #0944b0;
}

@media (max-width: 768px) {
  .packs-section {
    padding: 40px 20px 50px;
  }

  .packs-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .packs-header-left {
    width: 100%;
    text-align: center;
  }

  .packs-header-left h2,
  .packs-header-left p {
    text-align: center;
  }

  .packs-header-left h2 {
    margin: 0 auto 14px;
    max-width: 660px;
    font-size: clamp(21px, 6vw, 42px);
    line-height: 1.14;
    letter-spacing: 0.01em;
    font-weight: 800;
  }

  .packs-header-left p {
    margin: 0 auto;
    max-width: 640px;
    font-size: clamp(14px, 4.2vw, 24px);
    line-height: 1.45;
    color: #2f333a;
    font-weight: 500;
  }

  .packs-header-left h2 br,
  .packs-header-left p br {
    display: none;
  }

  .btn-ver-cursos {
    display: none;
  }

  .pack-card {
    flex: 0 0 100%;
    max-width: 100%;
    align-items: stretch;
    background: #f3f4f6;
    border-radius: 14px;
    border: 1px solid #d0d0d0;
    overflow: hidden;
  }

  .pack-thumb {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    min-height: 190px;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
    background: #2a2a2a;
  }

  .pack-thumb > img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: top center;
    display: block;
  }

  .pack-thumb-ribbon,
  .pack-thumb-title {
    display: none;
  }

  .pack-info {
    flex: 1 1 50%;
    min-width: 0;
    background: #f3f4f6;
    padding: 14px 12px 16px;
    justify-content: flex-start;
    gap: 0;
  }

  .pack-title {
    font-size: clamp(13px, 3.4vw, 16px);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
  }

  .pack-desc {
    font-size: 11px;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #4a4a4a;
  }

  .pack-desc--sm {
    font-size: 9.5px;
    line-height: 1.42;
  }

  .pack-disciplines-label {
    font-size: 11px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
  }

  .pack-disciplines {
    margin: 0 0 8px;
    padding-left: 14px;
    font-size: 8.5px;
    line-height: 1.38;
    color: #444444;
    font-weight: 600;
  }

  .pack-disciplines li::marker {
    color: #444444;
  }

  .pack-price {
    font-size: clamp(18px, 4.5vw, 22px);
    margin-top: auto;
    margin-bottom: 10px;
  }

  .btn-comprar {
    width: 100%;
    padding: 12px 14px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    box-sizing: border-box;
  }

  .pack-card--compact-cta .pack-info {
    padding: 14px 12px 8px;
  }

  .pack-card--compact-cta .pack-price {
    font-size: clamp(12px, 3.2vw, 15px);
    margin-bottom: 5px;
    transform: translateY(-80px);
  }

  .pack-card--compact-cta .btn-comprar {
    padding: 8px 10px;
    font-size: 10px;
    border-radius: 7px;
    transform: translateY(-80px);
    margin-bottom: -80px;
  }
}

/* ── Seção Sobre ── */
.about-section {
  position: relative;
  background-color: #0a0c10;
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.60) 100%),
    url("IMG/fundo.jpg");
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  padding: 70px 98px;
}

.about-inner {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Lado esquerdo */
.about-left {
  flex: 1;
  min-width: 0;
  margin-top: 100px;
  text-align: left;
}

.about-left h2 {
  margin: 0 0 22px;
  max-width: 520px;
  font-size: 30px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.about-highlight {
  color: var(--accent-blue);
}

.about-left p {
  margin: 0 0 14px;
  max-width: 560px;
  font-size: 14px;
  color: #c8cdd8;
  line-height: 1.7;
}

.about-left p:last-child {
  margin-bottom: 0;
}

/* Lado direito - grid de cards */
.about-right {
  flex: 1.1;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
}

.about-card {
  background: rgba(30,32,40,0.85);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

/* Card 1: full width com layout em linha */
.about-card--full {
  grid-column: span 2;
}

.about-card--row {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 26px 24px;
  min-height: 140px;
  text-align: center;
}

/* Cards metade inferior */
.about-card--half {
  grid-column: span 1;
}

.about-card--students {
  padding: 26px 24px;
  min-height: 208px;
  gap: 13px;
}

.about-card--students .about-stat--lg {
  font-size: 47px;
}

.about-card--students .about-stat-sub {
  font-size: 31px;
}

.about-card--students .about-card-text strong {
  font-size: 17px;
}

.about-card--students .about-card-text p {
  font-size: 15px;
}

.about-card--training {
  padding: 26px 24px;
  min-height: 208px;
  gap: 13px;
}

.about-card-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #8a92a6;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.about-card--training .about-card-title-lg {
  font-size: 29px;
  line-height: 1.15;
}

.about-card--training .about-card-sub {
  font-size: 16px;
  color: #ffffff;
}

.about-card--training .about-card-text p {
  font-size: 15px;
}

/* Divisor vertical */
.about-card-divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}

.about-card--row .about-stat {
  font-size: 42px;
}

.about-card--row .about-stat.about-stat--row-long {
  white-space: normal;
  max-width: min(220px, 32vw);
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.12;
  text-align: center;
}

.about-card--row .about-card-text strong {
  font-size: 17px;
}

.about-card--row .about-card-text .about-card-row-title-sm {
  font-size: 15px;
}

.about-card--row .about-card-text p {
  font-size: 15px;
}

/* Stats grandes */
.about-stat {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  line-height: 1.05;
  flex-shrink: 0;
}

.about-stat--lg {
  font-size: 36px;
}

.about-stat-sub {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
}

/* Textos dos cards */
.about-card-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.about-card-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.about-card-title-lg {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 4px;
}

.about-card-sub {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #8a92a6;
  margin-bottom: 4px;
}

.about-card-text p {
  margin: 0;
  font-size: 12px;
  color: #8a92a6;
  line-height: 1.55;
}

/* ── Perfil instrutor (Luciano) ── */
.instructor-profile {
  position: relative;
  background-color: #f0f2f5;
  background-image: url("IMG/bglu.png");
  background-size: auto 100%;
  background-position: left center;
  background-repeat: no-repeat;
  padding: 72px 48px 88px;
  overflow: hidden;
}

.instructor-profile__deco {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: min(52vw, 540px);
  background: var(--accent-red);
  clip-path: polygon(0 0, 100% 0, 72% 100%, 0 100%);
  pointer-events: none;
}

.instructor-profile__inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.instructor-profile__media {
  flex: 0 0 auto;
  width: min(380px, 36vw);
  margin-left: clamp(0px, 2vw, 40px);
}

.instructor-profile__media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
  border: 3px solid #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.instructor-profile__content {
  flex: 1;
  min-width: 0;
}

.instructor-profile__eyebrow {
  margin: 5px 0 10px;
  transform: none;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-blue);
}

.instructor-profile__title {
  margin: 0 0 12px;
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.15;
}

.instructor-profile__subtitle {
  margin: 0 0 26px;
  font-size: clamp(16px, 1.75vw, 19px);
  font-weight: 700;
  color: #2d2d2d;
  line-height: 1.4;
}

.instructor-profile__content p:not(.instructor-profile__eyebrow):not(.instructor-profile__subtitle) {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.7;
  color: #3a3a3a;
}

.instructor-profile__content p:last-child {
  margin-bottom: 0;
}

@media (min-width: 1025px) {
  .instructor-profile-intro-line {
    display: block;
    white-space: nowrap;
  }
}

@media (max-width: 1024px) {
  .about-section {
    padding: 50px 28px;
  }

  .about-inner {
    flex-direction: column;
    align-items: center;
    gap: 36px;
  }

  .about-left {
    margin-top: 0;
    width: 100%;
  }

  .instructor-profile {
    padding: 56px 28px 64px;
  }

  .instructor-profile__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }

  .instructor-profile__media {
    width: min(340px, 88%);
    margin-left: 0;
  }

  .instructor-profile__deco {
    width: 100%;
    height: min(38vh, 300px);
    bottom: auto;
    clip-path: polygon(0 0, 100% 0, 100% 68%, 0 100%);
  }

  .instructor-profile__content {
    text-align: left;
    max-width: 560px;
  }

  .instructor-profile__eyebrow {
    text-align: center;
  }

  .instructor-profile__title,
  .instructor-profile__subtitle {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .instructor-profile {
    background-image: url("IMG/bglumobile.png");
    background-size: auto 42.5%;
    background-position: left top;
  }

  .instructor-profile__content,
  .instructor-profile__eyebrow,
  .instructor-profile__title,
  .instructor-profile__subtitle,
  .instructor-profile__content p:not(.instructor-profile__eyebrow):not(.instructor-profile__subtitle) {
    text-align: left;
  }

  .instructor-profile__eyebrow {
    margin-top: 5px;
  }
}

@media (max-width: 640px) {
  .about-section {
    padding: 40px 20px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-card--full,
  .about-card--half {
    grid-column: span 1;
  }

  .about-card--row {
    flex-direction: column;
    align-items: center;
  }

  .about-card-divider {
    width: 100%;
    height: 1px;
    align-self: auto;
  }

  .about-left h2 {
    font-size: 24px;
  }

  .about-card--row .about-stat.about-stat--row-long {
    font-size: 47px;
    max-width: 100%;
    line-height: 1.05;
  }

  .instructor-profile {
    padding: 40px 20px 52px;
  }

  .instructor-profile__media img {
    border-width: 2px;
    border-radius: 22px;
  }

  .about-grid {
    max-width: 100%;
  }
}

/* ── Seção Jornada ── */
.journey-section {
  background: #f7f8fa;
  padding: 32px 46px 36px;
}

.journey-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.journey-gallery {
  flex: 0 0 50%;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 6px;
  align-items: stretch;
}

.journey-main-image,
.journey-side-top,
.journey-side-bottom {
  border-radius: 18px;
  overflow: hidden;
  background: #eceef2;
}

.journey-main-image {
  position: relative;
  min-height: 360px;
}

.journey-main-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.journey-side-top,
.journey-side-bottom {
  position: relative;
  min-height: 0;
}

.journey-side-top img,
.journey-side-bottom img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.journey-side-images {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  width: 100%;
  min-height: 0;
  height: 100%;
}

.journey-content {
  flex: 0 0 50%;
  padding: 5px 9px 5px 20px;
}

.journey-content h2 {
  margin: 0;
  color: #242730;
  font-size: 33px;
  line-height: 1.03;
  font-weight: 800;
}

.journey-content h2 span {
  color: var(--accent-blue);
}

.journey-intro {
  margin: 9px 0 12px;
  color: #303644;
  font-size: 15px;
  line-height: 1.28;
  max-width: 760px;
}

.journey-steps {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.journey-step {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.step-number {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent-red);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.journey-step strong {
  display: block;
  font-size: 22px;
  line-height: 1.1;
  color: #171b22;
}

.journey-step p {
  margin: 3px 0 0;
  color: #353b48;
  font-size: 14px;
  line-height: 1.25;
}

@media (min-width: 1025px) {
  .journey-step-line-desktop {
    white-space: nowrap;
  }
}

.journey-cta {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  background: var(--accent-red);
  color: #fff;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 15px;
  font-weight: 700;
}

@media (max-width: 1200px) {
  .journey-section {
    padding: 20px 24px 25px;
  }

  .journey-inner {
    flex-direction: column;
  }

  .journey-gallery,
  .journey-content {
    flex: 1 1 auto;
  }

  .journey-content {
    padding: 0;
  }

  .journey-content h2 {
    font-size: 29px;
  }

  .journey-intro {
    font-size: 13px;
  }

  .journey-step strong {
    font-size: 20px;
  }

  .journey-step p {
    font-size: 12px;
  }

  .journey-cta {
    font-size: 13px;
    padding: 9px 15px;
  }
}

@media (max-width: 640px) {
  .journey-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .journey-main-image {
    min-height: 220px;
    aspect-ratio: 16 / 10;
  }

  .journey-side-images {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(148px, auto);
    height: auto;
  }

  .journey-side-top,
  .journey-side-bottom {
    aspect-ratio: 1 / 1;
    min-height: 148px;
  }

  .journey-content h2 {
    font-size: 25px;
  }

  .journey-intro {
    font-size: 15px;
    margin: 9px 0 11px;
  }

  .journey-step strong {
    font-size: 20px;
  }

  .journey-step p {
    font-size: 13px;
  }

  .journey-cta {
    width: 100%;
    justify-content: center;
    font-size: 15px;
  }
}

/* ── Catálogo de treinamentos ── */
.training-catalog {
  background: #f0f2f5;
  padding: 56px 46px 64px;
  overflow-x: clip;
}

.training-catalog-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.training-catalog-title {
  margin: 0 0 14px;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  color: #2a2d35;
}

.training-catalog-subtitle {
  margin: 0 auto 28px;
  max-width: 920px;
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: #5c6370;
}

.training-search {
  display: flex;
  align-items: stretch;
  max-width: 920px;
  margin: 0 auto 36px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #dde1e8;
  background: #fff;
}

.training-search-input {
  flex: 1;
  border: none;
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

.training-search-input::placeholder {
  color: #9aa0ac;
}

.training-search-btn {
  flex-shrink: 0;
  width: 52px;
  border: none;
  background: var(--accent-blue);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.training-search-btn:hover {
  filter: brightness(1.05);
}

.training-search-empty {
  margin: -12px auto 24px;
  max-width: 920px;
  text-align: center;
  font-size: 14px;
  line-height: 1.45;
  color: #5c6370;
}

.training-pages {
  width: 100%;
}

@media (max-width: 640px) {
  .training-pages.training-pages--mobile-paginate .training-page-panel {
    display: contents;
  }

  .training-pages.training-pages--mobile-paginate {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .training-pagination {
    flex-wrap: wrap;
    max-width: 100%;
    row-gap: 8px;
  }

  .training-pagination.training-pagination--many .training-page-btn {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }
}

/* Pesquisa: um único grid — painéis viram display:contents para os cards fluírem lado a lado (max 3/linha) */
.training-pages.training-pages--search-active {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.training-pages.training-pages--search-active .training-page-panel:not([hidden]) {
  display: contents;
}

.training-page-panel.is-hidden {
  display: none;
}

.training-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

/* O atributo [hidden] perde para display:flex/grid sem !important — necessário para a pesquisa */
.training-page-panel[hidden] {
  display: none !important;
}

.training-card {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

.training-card[hidden] {
  display: none !important;
}

/* Mesma largura em todos os cards (igual coluna do treino 7) + area quadrada 1:1 */
.training-thumb {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 11px;
  border: 1px solid #e8ebf0;
  background: #e8ecf1;
}

.training-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.training-thumb--shift-5 img {
  object-position: center calc(50% - 5px);
}

.training-thumb--shift-7 img {
  object-position: center calc(50% - 7px);
}

.training-thumb--shift-8 img {
  object-position: center calc(50% - 8px);
}

.training-thumb--shift-10 img {
  object-position: center calc(50% - 21px);
}

.training-thumb--shift-15 img {
  object-position: center calc(50% - 15px);
}

.training-thumb--shift-18 img {
  object-position: center calc(50% - 18px);
}

.training-card-heading {
  padding: 10px 12px 2px;
  background: transparent;
}

.training-card-heading h3 {
  margin: 0;
  font-size: 14.3px;
  font-weight: 800;
  color: var(--accent-blue);
  line-height: 1.3;
}

.training-body {
  padding: 2px 12px 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.training-body > p {
  margin: 0 0 8px;
  font-size: 11px;
  line-height: 1.4;
  color: #5c6370;
  min-height: 2.6em;
}

.training-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 11px;
}

.training-price {
  font-size: 19px;
  font-weight: 800;
  color: #1a1d24;
}

.training-buy {
  flex-shrink: 0;
  text-decoration: none;
  background: var(--accent-red);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 9px;
}

.training-buy:hover {
  filter: brightness(1.05);
}

.training-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.training-pagination[hidden] {
  display: none !important;
}

.training-page-btn {
  min-width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  background: #e4e7ed;
  color: #4a505c;
}

.training-page-btn.is-active {
  background: var(--accent-blue);
  color: #fff;
}

.training-page-btn:hover:not(.is-active) {
  background: #d8dce4;
}

/* Banner Plataforma Universo Aviação (full-bleed nas laterais da viewport) */
.platform-universo {
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  box-sizing: border-box;
  margin-top: 48px;
  padding: 40px clamp(24px, 5vw, 46px) 44px;
  background: #fff;
  border-radius: 0;
  border: none;
  border-top: 1px solid #e4e8ef;
  border-bottom: 1px solid #e4e8ef;
  box-shadow: none;
}

.platform-universo-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 48px;
  align-items: center;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

.platform-universo-title {
  margin: 0 0 16px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.25;
  color: #2a2d35;
}

.platform-universo-title-accent {
  color: #1a59c4;
}

.platform-universo-intro {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #4a505c;
}

.platform-universo-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  margin-top: 26px;
}

.platform-universo-features-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.platform-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.platform-feature-icon {
  flex-shrink: 0;
  width: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.platform-feature-icon svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.platform-feature-icon--doc {
  align-items: flex-start;
  padding-top: 2px;
}

.platform-feature-icon--mobile {
  align-items: center;
}

.platform-feature-icon--cert {
  align-items: flex-start;
  padding-top: 4px;
}

.platform-feature-text strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: #2a2d35;
  margin-bottom: 4px;
  line-height: 1.25;
}

.platform-feature-text p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #5c6370;
}

.platform-universo-visual {
  min-width: 0;
}

.platform-universo-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

@media (max-width: 1024px) {
  .training-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .training-pages.training-pages--search-active {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .training-catalog {
    padding: 40px 24px 48px;
  }

  .platform-universo {
    padding: 32px 24px 36px;
  }

  .platform-universo-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .platform-universo-visual {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .training-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .training-pages.training-pages--search-active {
    grid-template-columns: minmax(0, 1fr);
  }

  .training-catalog-title {
    font-size: 22px;
  }

  .training-catalog-subtitle {
    font-size: 13px;
  }

  .platform-universo-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .platform-universo-title {
    font-size: 22px;
  }
}

/* ── Footer ── */
.site-footer {
  background: #1a1a1a;
  color: #c8ccd4;
  padding: 52px 46px 28px;
  font-family: "Inter", sans-serif;
}

.site-footer-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.85fr 1fr 0.95fr;
  gap: 28px 32px;
  align-items: start;
}

.site-footer-logo {
  display: block;
  max-width: 260px;
  width: 100%;
  height: auto;
  margin-bottom: 18px;
}

.site-footer-logo--mobile {
  display: none;
}

@media (max-width: 768px) {
  .site-footer-logo--desktop {
    display: none;
  }

  .site-footer-logo--mobile {
    display: block;
    max-width: 200px;
  }
}

.site-footer-desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #a8adb8;
  max-width: 280px;
}

.site-footer-heading {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.02em;
}

.site-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer-links li + li {
  margin-top: 10px;
}

.site-footer-links a {
  color: #a8adb8;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.4;
}

.site-footer-links a:hover {
  color: #e8eaef;
}

.site-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.site-footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.92;
  transition: opacity 0.15s ease;
}

.site-footer-social-link:hover {
  opacity: 1;
}

.site-footer-contact {
  margin: 0 0 8px;
  font-size: 13px;
  line-height: 1.45;
}

.site-footer-contact:last-of-type {
  margin-bottom: 0;
}

.site-footer-contact a {
  color: #a8adb8;
  text-decoration: none;
}

.site-footer-contact a:hover {
  color: #e8eaef;
}

.site-footer-hours {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.45;
  color: #a8adb8;
}

.site-footer-hours:last-child {
  margin-bottom: 0;
}

.site-footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid #2e3238;
}

.site-footer-copy {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: #8b909c;
}

.site-footer-cnpj {
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
  color: #8b909c;
}

@media (max-width: 1024px) {
  .site-footer {
    padding: 44px 28px 24px;
  }

  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 28px;
  }

  .site-footer-brand {
    grid-column: 1 / -1;
  }

  .site-footer-desc {
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 36px 20px 22px;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .site-footer-brand {
    grid-column: auto;
  }

  .site-footer-col,
  .site-footer-heading,
  .site-footer-links,
  .site-footer-links a,
  .site-footer-desc,
  .site-footer-contact,
  .site-footer-hours {
    text-align: center;
  }

  .site-footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .site-footer-social {
    justify-content: center;
  }
}
