/* =========================================================
   CHB OFF-ROAD — CSS CONSOLIDADO
   ========================================================= */

/* ===== Variáveis ===== */

:root {
  --bg: #0f1210;
  --surface: #161a17;
  --surface-2: #1e2420;
  --text: #eef1ec;
  --muted: #a6ada4;
  --line: #2a312c;
  --primary: #c94a1b;
  --primary-2: #a83b13;
  --accent: #c9b26a;
  --green: #3f5a3a;
  --radius: 14px;
  --container: 1160px;
}

/* ===== Reset e estrutura geral ===== */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1em;
  color: var(--muted);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.6em;
  font-family: "Barlow Condensed", sans-serif;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  text-transform: uppercase;
}

h1 span {
  color: var(--primary);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  text-transform: uppercase;
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

/* ===== Botões ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-2);
}

.btn-outline {
  border-color: var(--line);
  background: transparent;
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ===== Cabeçalho ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(15, 18, 16, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 10px 24px;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: auto;
  height: 40px;
}

.brand-fallback {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.brand-mark {
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--primary);
  color: #fff;
  letter-spacing: 2px;
}

.brand-word {
  letter-spacing: 2px;
}

.brand--official {
  flex: none;
  min-width: max-content;
  gap: 10px;
}

.brand-logo-frame {
  display: block;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: #0a0c0a;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.26);
}

.brand-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: circle(43% at 50% 50%);
  transform: scale(1.12);
}

.brand-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 0.86;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-name strong {
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.3rem;
}

.brand-name span {
  margin-top: 7px;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-left: auto;
}

.nav a {
  color: var(--muted);
  font-size: 0.89rem;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.nav a:hover {
  color: var(--text);
}

.header-right {
  display: flex;
  flex: none;
  align-items: center;
  gap: 14px;
}

.header-cta {
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.mobile-nav:not([hidden]) {
  display: flex;
}

.mobile-nav a {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}

.mobile-nav a.btn {
  margin-top: 12px;
  border-bottom: 0;
  text-align: center;
}

/* ===== Redes sociais ===== */

.social-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--muted);
  text-decoration: none;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.social-icons a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--primary);
  transform: translateY(-1px);
}

.social-icons a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.social-icons svg {
  display: block;
}

.social-icons-mobile {
  justify-content: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.social-icons-mobile a {
  color: var(--text);
}

/* ===== Hero padrão ===== */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 96px 0 88px;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-image.no-img {
  background:
    radial-gradient(
      1000px 500px at 80% -10%,
      rgba(201, 74, 27, 0.35),
      transparent 60%
    ),
    radial-gradient(
      700px 500px at -10% 100%,
      rgba(63, 90, 58, 0.45),
      transparent 60%
    ),
    linear-gradient(180deg, #12160f 0%, #0f1210 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(15, 18, 16, 0.65),
    rgba(15, 18, 16, 0.85)
  );
}

.hero-bg {
  display: none;
}

.hero-inner {
  max-width: 900px;
}

.hero .lead {
  margin-bottom: 2rem;
  color: #d6dcd3;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 2rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.9rem;
  list-style: none;
}

.hero-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-badges li::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

/* ===== Hero institucional v2.7.1 ===== */

.hero-v27 {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  min-height: 720px;
  overflow: hidden;
  padding: 0;
  background: #080a08;
}

.hero-v27-visual {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    url("images/hero-chb-integrado-v271.png") center / cover no-repeat;
}

.hero-v27 .hero-overlay {
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(5, 7, 5, 0.9) 0%,
      rgba(5, 7, 5, 0.76) 38%,
      rgba(5, 7, 5, 0.3) 67%,
      rgba(5, 7, 5, 0.1) 100%
    ),
    linear-gradient(
      180deg,
      rgba(5, 7, 5, 0.16),
      rgba(5, 7, 5, 0.34)
    );
}

.hero-v27 .hero-inner {
  width: 100%;
  max-width: var(--container);
  padding-top: 40px;
  padding-bottom: 104px;
}

.hero-v27 .eyebrow {
  margin-bottom: 8px;
}

.hero-v27 .hero-inner > h1 {
  max-width: 760px;
  margin-top: 0;
}

.hero-v27 .lead {
  max-width: 700px;
}

.hero-v27-instructors {
  position: absolute;
  top: 50%;
  right: 7%;
  z-index: 3;
  display: flex;
  align-items: center;
  transform: translateY(-50%);
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.48));
}

.hero-v27-instructors img {
  width: 158px;
  height: 158px;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: #151815;
  object-fit: cover;
}

.hero-v27-instructors img:first-child {
  object-position: center 20%;
}

.hero-v27-instructors img:last-child {
  margin-left: -28px;
  border-color: var(--accent);
  object-position: center 28%;
}

/* Classes antigas mantidas para compatibilidade */

.hero-v27-panel {
  position: relative;
  min-width: 0;
  background-position: center;
  background-size: cover;
}

.hero-v27-panel::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 9, 7, 0.12),
    rgba(7, 9, 7, 0.78)
  );
  content: "";
}

.hero-v27-panel--corporate {
  background-image: url("images/portfolio/caminhoes/exercicio-controlado.jpg");
}

.hero-v27-panel--experience {
  background-image: url("images/portfolio/experiencias-4x4/toro.jpg");
}

.hero-v27-panel > span {
  position: absolute;
  bottom: 28px;
  z-index: 2;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(7, 9, 7, 0.72);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hero-v27-panel--corporate > span {
  left: 28px;
}

.hero-v27-panel--experience > span {
  right: 28px;
}

/* ===== Chips de evento ===== */

.event-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 24px;
}

.event-chip {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: #f3f3ef;
  font-size: 0.92rem;
  font-weight: 700;
}

.cta-note {
  margin-top: 17px !important;
  color: #b9bdb8 !important;
  font-size: 0.88rem !important;
}

/* ===== Seções ===== */

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--surface);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-head h2,
.portfolio-section-head h2 {
  max-width: 920px;
  font-size: clamp(2.45rem, 4.6vw, 3.85rem);
  line-height: 0.97;
  letter-spacing: 0.01em;
}

.section-head > p:not(.eyebrow),
.portfolio-section-head > p:not(.eyebrow) {
  font-size: 1.05rem;
  line-height: 1.72;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 56px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.cards-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* ===== Cards gerais ===== */

.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.card h3,
.feature h3,
.person h3 {
  font-size: 1.38rem;
  line-height: 1.15;
}

.card ul {
  margin: 0 0 8px;
  padding-left: 1.1em;
  color: var(--muted);
}

.card ul li {
  margin-bottom: 4px;
}

.card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.pillars {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pillars li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.pillars strong {
  color: var(--text);
}

.pillars span {
  color: var(--muted);
  font-size: 0.95rem;
}

.feature {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.feature h3 {
  color: var(--primary);
}

/* ===== Etapas ===== */

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.steps span {
  display: block;
  margin-bottom: 8px;
  color: var(--primary);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.steps strong {
  font-size: 1.15rem;
  line-height: 1.25;
}

/* ===== Portfólios ===== */

.portfolio-section {
  position: relative;
  overflow: hidden;
  padding-top: 104px;
  padding-bottom: 104px;
  scroll-margin-top: 70px;
}

.portfolio-section::before {
  position: absolute;
  bottom: -280px;
  left: -220px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(63, 90, 58, 0.22),
    transparent 68%
  );
  content: "";
  pointer-events: none;
}

.portfolio-section-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  align-items: end;
  gap: 42px;
  max-width: none;
  margin-bottom: 44px;
  text-align: left;
}

.portfolio-section-head h2 {
  margin-bottom: 0;
}

.portfolio-intro {
  margin: 0;
  font-size: 1.02rem;
}

.portfolio-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(
    145deg,
    rgba(29, 35, 30, 0.98),
    rgba(22, 27, 23, 0.98)
  );
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.portfolio-card:hover {
  border-color: rgba(201, 74, 27, 0.72);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
  transform: translateY(-3px);
}

.portfolio-card-media {
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0c0a;
}

.portfolio-card-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 13, 11, 0.04),
    rgba(10, 13, 11, 0.34)
  );
  content: "";
  pointer-events: none;
}

.portfolio-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.55s ease,
    filter 0.35s ease;
}

.portfolio-card:hover .portfolio-card-media img {
  filter: saturate(1.06);
  transform: scale(1.035);
}

.portfolio-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(15, 18, 16, 0.88);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.portfolio-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-height: 260px;
  padding: 28px 30px 26px;
}

.portfolio-number {
  margin-bottom: 10px;
  color: var(--primary);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 1.6px;
}

.portfolio-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 2.4vw, 2.15rem);
  line-height: 1.03;
  letter-spacing: 0.6px;
}

.portfolio-card p:not(.portfolio-number) {
  font-size: 1rem;
  line-height: 1.58;
}

.portfolio-actions,
.portfolio-card-footer {
  width: 100%;
  margin-top: auto;
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.portfolio-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.portfolio-link {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.portfolio-link span {
  margin-left: 5px;
  color: var(--primary);
  transition: margin-left 0.2s ease;
}

.portfolio-link:hover span {
  margin-left: 9px;
}

.portfolio-pdf {
  flex: none;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;
  text-transform: uppercase;
}

.portfolio-pdf:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== Instrutores ===== */

.person {
  align-items: flex-start;
}

.person-photo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--green));
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-photo.no-img img {
  display: none;
}

.person-photo.no-img::after {
  color: #fff;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 2px;
  content: "CHB";
}

.person-role {
  margin: -6px 0 6px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.person-note {
  margin-top: auto;
  color: var(--muted);
  font-size: 0.78rem;
  font-style: italic;
  opacity: 0.75;
}

/* ===== Depoimentos ===== */

.carousel {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.carousel-track {
  display: grid;
  flex: 1;
  grid-auto-columns: calc((100% - 40px) / 3);
  grid-auto-flow: column;
  gap: 20px;
  overflow-x: auto;
  padding: 4px 2px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.carousel-track::-webkit-scrollbar {
  height: 8px;
}

.carousel-track::-webkit-scrollbar-thumb {
  border-radius: 4px;
  background: var(--line);
}

.testimonial {
  min-height: 100%;
  scroll-snap-align: start;
}

.t-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--green));
}

.t-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.t-photo.no-img img {
  display: none;
}

.t-photo.no-img::after {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  content: "";
}

.testimonial p {
  color: var(--text);
  font-size: 1rem;
  font-style: italic;
}

.testimonial footer {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  color: var(--muted);
  font-size: 0.85rem;
}

.testimonial footer strong {
  color: var(--accent);
}

.carousel-btn {
  flex-shrink: 0;
  width: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 1.6rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.carousel-btn:hover {
  border-color: var(--primary);
  background: var(--primary);
}

/* ===== Empresas atendidas ===== */

.clients-section {
  position: relative;
  overflow: hidden;
  padding: 68px 0 62px;
  scroll-margin-top: 70px;
}

.clients-section::before {
  position: absolute;
  right: -160px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 74, 27, 0.12),
    transparent 68%
  );
  content: "";
  pointer-events: none;
}

.clients-section .section-head {
  margin-bottom: 30px;
}

.clients-slider {
  position: relative;
  width: 100%;
  overflow-x: auto;
  padding: 2px 0 8px;
  scrollbar-color: var(--primary) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
  touch-action: pan-x;
}

.clients-slider:focus-visible {
  border-radius: 14px;
  outline: 2px solid var(--primary);
  outline-offset: 5px;
}

.clients-slider.is-animated {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 5%,
    #000 95%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 5%,
    #000 95%,
    transparent 100%
  );
}

.clients-track {
  display: flex;
  width: max-content;
  will-change: transform;
}

.clients-track.is-ready {
  animation: clients-scroll 34s linear infinite;
}

.clients-list {
  display: flex;
  flex: none;
  align-items: stretch;
  gap: 14px;
  margin: 0;
  padding: 0 14px 0 0;
  list-style: none;
}

.client-card {
  display: flex;
  flex: 0 0 clamp(178px, 19vw, 218px);
  align-items: center;
  justify-content: center;
  height: 104px;
  padding: 14px 20px;
  border: 1px solid rgba(28, 34, 29, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.client-card img {
  width: auto;
  max-width: 78%;
  height: auto;
  max-height: 68px;
  object-fit: contain;
}

.client-card--cemig img {
  max-width: 72%;
  max-height: 50px;
}

.client-card--celeo img {
  max-height: 72px;
}

.client-card--pmmg img {
  max-width: 72%;
  max-height: 54px;
}

.client-card--fatech {
  overflow: hidden;
}

.client-card--fatech img {
  max-width: 68%;
  max-height: 78px;
  transform: scale(1.55);
}

.client-card--usimeg img {
  max-width: 76%;
  max-height: 48px;
}

.client-card--category {
  gap: 10px;
  text-align: left;
}

.client-card--category img {
  flex: 0 0 auto;
  width: 48px;
  max-width: none;
  height: 38px;
  max-height: none;
}

.client-card--category span {
  max-width: 120px;
  color: #252d28;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

.clients-slider:hover .clients-track,
.clients-slider:focus-within .clients-track,
.clients-slider.is-paused .clients-track {
  animation-play-state: paused;
}

.clients-meta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.clients-note {
  max-width: 760px;
  margin: 0;
  font-size: 0.76rem;
  text-align: center;
  opacity: 0.76;
}

.clients-motion-toggle {
  display: none;
  flex: none;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font: inherit;
  font-size: 0.72rem;
  line-height: 1;
  cursor: pointer;
}

.clients-section.has-client-motion .clients-motion-toggle {
  display: inline-flex;
}

.clients-motion-toggle:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
}

.clients-motion-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.clients-toggle-icon {
  font-size: 0.72rem;
  font-weight: 700;
}

@keyframes clients-scroll {
  to {
    transform: translateX(-50%);
  }
}

/* ===== Loja CHB ===== */

.merch-section {
  position: relative;
  overflow: hidden;
}

.merch-section::before {
  position: absolute;
  top: -250px;
  right: -220px;
  width: 610px;
  height: 610px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(201, 74, 27, 0.13),
    transparent 68%
  );
  content: "";
  pointer-events: none;
}

.merch-head {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: 64px;
  max-width: none;
  text-align: left;
}

.merch-head > p {
  margin: 0;
  color: var(--muted);
}

.merch-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.merch-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: linear-gradient(145deg, #1d221e, #151916);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.merch-card:hover {
  border-color: rgba(201, 74, 27, 0.48);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}

.merch-card > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #e9e9e7;
  object-fit: cover;
}

.merch-card--featured > img {
  object-position: center 22%;
}

.merch-card:nth-child(2) > img {
  object-position: center;
}

.merch-card:nth-child(3) > img {
  object-position: center 42%;
}

.merch-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 25px 26px 27px;
}

.merch-kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.merch-card h3 {
  margin: 0 0 11px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.75rem;
  line-height: 1.05;
  text-transform: uppercase;
}

.merch-card-body > p:not(.merch-kicker) {
  margin: 0 0 23px;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.62;
}

.merch-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

/* ===== CTA ===== */

.cta {
  padding: 72px 0;
  background: linear-gradient(
    120deg,
    var(--primary),
    var(--primary-2)
  );
  text-align: center;
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
}

.cta .btn-primary {
  background: #0f1210;
  color: #fff;
}

.cta .btn-primary:hover {
  background: #000;
}

.cta .btn-ghost {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.cta .hero-actions {
  justify-content: center;
}

.cta--next-class {
  position: relative;
  overflow: hidden;
  padding: 92px 0;
  background:
    linear-gradient(
      110deg,
      rgba(7, 9, 7, 0.96),
      rgba(17, 23, 18, 0.88)
    ),
    radial-gradient(
      circle at 82% 50%,
      rgba(201, 74, 27, 0.25),
      transparent 35%
    );
}

.cta--next-class::after {
  position: absolute;
  right: -7%;
  bottom: -70%;
  width: 560px;
  height: 560px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 72px rgba(255, 255, 255, 0.018),
    0 0 0 145px rgba(255, 255, 255, 0.012);
  content: "";
  pointer-events: none;
}

.cta--next-class .cta-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.cta--next-class .eyebrow {
  color: var(--accent);
  font-size: 1.15rem;
}

.cta--next-class h2 {
  font-size: clamp(2.55rem, 5.5vw, 4.4rem);
  line-height: 0.94;
}

.cta--next-class p:not(.eyebrow) {
  font-size: 1.08rem;
  line-height: 1.68;
}

.cta--next-class .hero-actions {
  justify-content: center;
}

Nesse HTML, as classes estão invertidas em relação ao destaque desejado.

Hoje:

```html
<a class="btn btn-primary btn-lg" href="curso-off-road-sete-lagoas.html">Conhecer a turma</a>

<a class="btn btn-ghost btn-lg" href="https://pay.hotmart.com/O106076672D?off=sagmk9jz" target="_blank" rel="noopener">Garantir minha vaga</a>
```

Troque para:

```html
<a class="btn btn-ghost btn-lg" href="curso-off-road-sete-lagoas.html">Conhecer a turma</a>

<a class="btn btn-primary btn-lg" href="https://pay.hotmart.com/O106076672D?off=sagmk9jz" target="_blank" rel="noopener">Garantir minha vaga</a>
```

Assim:

- **Conhecer a turma** ficará com a cor secundária;
- **Garantir minha vaga** ficará em laranja, com mais destaque.

Depois, no CSS, adicione:

```css
.cta--next-class .btn-ghost{
  background:var(--green);
  color:#fff;
  border-color:var(--green);
}

.cta--next-class .btn-ghost:hover{
  background:#31492d;
  border-color:#31492d;
}

.cta--next-class .btn-primary{
  background:var(--primary);
  color:#fff;
  border-color:var(--primary);
}

.cta--next-class .btn-primary:hover{
  background:var(--primary-2);
  border-color:var(--primary-2);
}

/* ===== FAQ ===== */

.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}

.faq details {
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}

.faq summary {
  color: var(--text);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  float: right;
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 1;
  content: "+";
}

.faq details[open] summary::after {
  content: "−";
}

.faq p {
  margin-top: 10px;
}

/* ===== Contato ===== */

.contact-list {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.contact-list a {
  color: var(--accent);
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-2);
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0f1210;
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  outline: 2px solid var(--primary);
}

.form-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ===== Rodapé ===== */

.site-footer {
  margin-top: 0;
  padding: 56px 0 24px;
  border-top: 1px solid var(--line);
  background: #0a0d0b;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}

.footer-brand .brand--official {
  display: inline-flex;
  margin-bottom: 14px;
}

.footer-brand p strong {
  color: var(--text);
}

.site-footer h4 {
  margin: 0 0 10px;
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.site-footer ul {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--text);
}

.copyright {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

/* ===== WhatsApp flutuante ===== */

.whats-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.whats-float:hover {
  transform: scale(1.06);
}

/* ===== Responsividade ===== */

@media (max-width: 1180px) {
  .nav,
  .header-right,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-v27-instructors {
    right: 3%;
  }

  .hero-v27-instructors img {
    width: 126px;
    height: 126px;
  }
}

@media (min-width: 1181px) {
  .nav {
    display: flex;
  }

  .header-right {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }
}

@media (max-width: 900px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cards,
  .cards-2 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero {
    padding: 72px 0 64px;
  }

  .hero-v27 {
    min-height: 700px;
    padding: 0;
  }

  .hero-v27-visual {
    background-position: 57% center;
  }

  .hero-v27 .hero-overlay {
    background:
      linear-gradient(
        90deg,
        rgba(5, 7, 5, 0.94),
        rgba(5, 7, 5, 0.58)
      ),
      linear-gradient(
        180deg,
        rgba(5, 7, 5, 0.24),
        rgba(5, 7, 5, 0.72)
      );
  }

  .hero-v27 .hero-inner {
    padding-top: 48px;
    padding-bottom: 96px;
  }

  .hero-v27-instructors {
    display: none;
  }

  .hero-v27-panel > span {
    bottom: 18px;
  }

  .section {
    padding: 76px 0;
  }

  .carousel-track {
    grid-auto-columns: 85%;
  }

  .portfolio-section {
    padding: 78px 0;
  }

  .portfolio-section-head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 18px;
    margin-bottom: 34px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .clients-section {
    padding: 56px 0 52px;
  }

  .clients-section .section-head {
    margin-bottom: 26px;
  }

  .merch-head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .merch-grid {
    grid-template-columns: 1fr;
  }

  .merch-card {
    display: grid;
    grid-template-columns: minmax(230px, 0.9fr) minmax(0, 1.1fr);
  }

  .merch-card > img {
    height: 100%;
    min-height: 300px;
    aspect-ratio: auto;
  }

  .cta--next-class {
    padding: 76px 0;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 18px;
  }

  .header-inner {
    min-height: 70px;
    padding-right: 18px;
    padding-left: 18px;
  }

  .brand-logo-frame {
    width: 43px;
    height: 43px;
  }

  .brand-name strong {
    font-size: 1.15rem;
  }

  .brand-name span {
    font-size: 0.63rem;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .section-head h2,
  .portfolio-section-head h2 {
    font-size: clamp(2.1rem, 11vw, 2.85rem);
  }

  .grid-4,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-v27 {
    min-height: 740px;
  }

  .hero-v27-visual {
    background-position: 55% center;
  }

  .hero-v27 .hero-inner {
    padding-top: 36px;
    padding-bottom: 90px;
  }

  .hero-v27 .lead {
    font-size: 1rem;
    line-height: 1.58;
  }

  .hero-v27 .hero-actions {
    align-items: stretch;
  }

  .hero-v27 .hero-actions .btn {
    width: 100%;
  }

  .hero-v27-panel > span {
    font-size: 0.66rem;
    letter-spacing: 1.25px;
  }

  .hero-v27-panel--corporate > span {
    left: 14px;
  }

  .hero-v27-panel--experience > span {
    right: 14px;
  }

  .event-chips {
    gap: 8px;
  }

  .event-chip {
    font-size: 0.82rem;
  }

  .carousel-track {
    grid-auto-columns: 92%;
  }

  .portfolio-section {
    padding: 66px 0;
  }

  .portfolio-card-body {
    min-height: 0;
    padding: 24px 23px;
  }

  .portfolio-card h3 {
    font-size: 1.75rem;
  }

  .portfolio-actions {
    align-items: flex-start;
  }

  .clients-section {
    padding: 48px 0 44px;
  }

  .clients-slider.is-animated {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 3%,
      #000 97%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 3%,
      #000 97%,
      transparent 100%
    );
  }

  .clients-list {
    gap: 10px;
    padding-right: 10px;
  }

  .client-card {
    flex-basis: 172px;
    height: 92px;
    padding: 12px 16px;
    border-radius: 12px;
  }

  .client-card img {
    max-height: 58px;
  }

  .client-card--cemig img {
    max-height: 44px;
  }

  .client-card--celeo img {
    max-height: 62px;
  }

  .client-card--pmmg img {
    max-height: 48px;
  }

  .client-card--fatech img {
    max-height: 66px;
    transform: scale(1.5);
  }

  .client-card--usimeg img {
    max-height: 42px;
  }

  .client-card--category img {
    width: 42px;
    max-width: none;
    height: 34px;
    max-height: none;
  }

  .client-card--category span {
    max-width: 104px;
    font-size: 0.76rem;
  }

  .clients-meta {
    align-items: flex-start;
    gap: 10px;
  }

  .clients-note {
    font-size: 0.7rem;
    text-align: left;
  }

  .merch-card {
    display: flex;
  }

  .merch-card > img {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .cta--next-class {
    padding: 66px 0;
  }

  .cta--next-class .hero-actions {
    align-items: stretch;
  }

  .cta--next-class .btn {
    width: 100%;
  }

  .social-icons-mobile a {
    width: 40px;
    height: 40px;
  }
}

/* ===== Acessibilidade e redução de movimento ===== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .clients-slider.is-animated {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .clients-track.is-ready {
    animation: none;
  }

  .clients-list[aria-hidden="true"] {
    display: none;
  }

  .clients-section.has-client-motion .clients-motion-toggle {
    display: none;
  }
}

/* ===== Instagram no cabeçalho ===== */

.header-instagram {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;

  width: 42px;
  height: 42px;

  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.06);
  color: var(--text);

  text-decoration: none;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.header-instagram svg {
  display: block;
  width: 22px;
  height: 22px;

  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-instagram .instagram-dot {
  fill: currentColor;
  stroke: none;
}

.header-instagram:hover {
  border-color: #e1306c;
  background: #e1306c;
  color: #ffffff;

  transform: translateY(-2px);

  box-shadow:
    0 6px 18px rgba(225, 48, 108, 0.32);
}

.header-instagram:focus-visible {
  outline: 3px solid rgba(225, 48, 108, 0.45);
  outline-offset: 3px;
}

/* Ajuste para telas menores */

@media (max-width: 1100px) {
  .header-instagram {
    width: 38px;
    height: 38px;
  }

  .header-instagram svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 900px) {
  .header-instagram {
    display: none;
  }
}