/* First-screen landing (hero + search + trust), scoped to avoid home.html collisions. */
.tb-landing {
  --navy: #12235c;
  --blue: #506da9;
  --blue-2: #455f96;
  --blue-dark: #12235c;
  --text: #12235c;
  --muted: #263455;
  --line: #e2e7f1;
  --soft: #ffffff;
  --card: #ffffff;
  --shadow: 0 14px 32px rgba(18, 35, 92, .10);
  --radius: 20px;
  box-sizing: border-box;
  overflow: visible;
  position: relative;
  z-index: 5;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #ffffff;
}

.tb-landing *,
.tb-landing *::before,
.tb-landing *::after {
  box-sizing: border-box;
}

.tb-landing a {
  text-decoration: none;
  color: inherit;
}

.tb-landing button,
.tb-landing input {
  font: inherit;
}

.tb-landing button:focus,
.tb-landing input:focus {
  outline: none;
  box-shadow: none;
}

/* Zone prioritaire (alignée maquette traininblue_accueil_complet_responsive.html) */
.tb-landing-above-the-fold {
  --tb-home-fold-offset: var(--tb-layout-top, 70px);
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0 auto;
  overflow: visible;
}

.tb-landing .hero {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(12px, 3.5vh, 48px) clamp(20px, 4vw, 55px) clamp(8px, 2vh, 24px);
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 5%);
  position: relative;
  overflow: visible;
}

.tb-landing .search-section,
.tb-landing .search {
  flex: 0 0 auto;
  flex-shrink: 0;
  width: 100%;
}

.tb-landing .hero-copy-col,
.tb-landing .copy {
  width: 51%;
  min-width: 0;
}

.tb-landing .audience-switch,
.tb-landing .tabs {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 40px;
  box-shadow: 0 10px 30px rgba(22, 46, 91, .04);
  padding: 4px;
  margin-bottom: 36px;
  overflow: hidden;
}

.tb-landing .audience-switch button,
.tb-landing .tab {
  border: 0;
  background: transparent;
  color: #455c8c;
  padding: 12px 21px;
  border-radius: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15.5px;
  font-weight: 700;
  transition: .2s ease;
}

.tb-landing .audience-switch button.active,
.tb-landing .audience-switch button[aria-pressed="true"],
.tb-landing .tab.active {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 0 0 2px #dce3f0, 0 3px 10px rgba(18, 35, 92, .07);
}

.tb-landing .eyebrow {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 18px;
  color: var(--navy);
}

.tb-landing .copy h1,
.tb-landing h1 {
  margin: 0 0 25px;
  font-size: clamp(34px, 3.15vw, 52px);
  line-height: 1.14;
  letter-spacing: -1.6px;
  max-width: 760px;
  color: var(--navy);
  text-shadow: none;
  font-weight: 750;
}

.tb-landing h1 .accent,
.tb-landing .accent {
  color: var(--blue);
}

.tb-landing .hero-copy,
.tb-landing .copy > p,
.tb-landing [data-audience-desc] {
  margin: 0;
  color: #202c48;
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.58;
  max-width: 680px;
}

.tb-landing .benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 33px;
  align-items: center;
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
  min-height: 1.5em;
}

.tb-landing .benefit,
.tb-landing .benefits span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 17px;
  border-right: 1px solid #cbd4e5;
}

.tb-landing .benefit:first-child,
.tb-landing .benefits span:first-child {
  padding-left: 0;
}

.tb-landing .benefit:last-child,
.tb-landing .benefits span:last-child {
  border-right: 0;
  padding-right: 0;
}

.tb-landing .benefit b,
.tb-landing .benefits b {
  color: var(--blue);
  font-weight: 700;
  margin-right: 0;
}

.tb-landing .visual {
  width: 44%;
  height: clamp(200px, 40vh, 430px);
  min-height: clamp(168px, 30vh, 340px);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
  flex: 0 1 auto;
  min-width: 0;
}

/* Hero carousel — aligné traininblue_accueil_complet_responsive.html (.scene / .profile) */
.tb-landing .tb-home-carousel.scene {
  --blue: #506da9;
  --navy: #12235c;
  --ink: #12235c;
  --carousel-card-w: 220px;
  --carousel-offset: min(150px, 33cqi);
  --carousel-photo-h: 130px;
  --carousel-card-pad: 9px;
  --carousel-shift-y: 0px;
  container-type: inline-size;
  container-name: home-carousel;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: visible;
  padding: 0 44px 24px;
  transform: translateY(var(--carousel-shift-y));
  color: var(--navy);
  background: transparent;
  font-size: 14px;
}

.tb-landing .carousel-stage {
  position: relative;
  width: 100%;
  height: 100%;
}

.tb-landing .tb-home-carousel .trainer-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--carousel-card-w);
  max-height: min(100%, 400px);
  margin: 0;
  padding: var(--carousel-card-pad);
  z-index: 1;
  display: flex;
  flex-direction: column;
  transform-origin: center center;
  border: 1px solid #e0e5f0;
  border-radius: 13px;
  overflow: hidden;
  background: #fff;
  box-sizing: border-box;
  transform: translate(-50%, -50%) scale(.7);
  opacity: 0;
  pointer-events: none;
  transition: transform .55s ease, opacity .55s ease, box-shadow .55s ease, border-color .55s ease, z-index .55s;
  box-shadow: 0 12px 26px rgba(20, 43, 91, .08);
}

.tb-landing .tb-home-carousel .trainer-card.is-center {
  z-index: 3;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
  border-color: #6d91e2;
  box-shadow: 0 12px 30px rgba(29, 66, 140, .145);
}

.tb-landing .tb-home-carousel .trainer-card.is-left {
  z-index: 1;
  transform: translate(calc(-50% - var(--carousel-offset)), -50%) scale(.9);
  opacity: .92;
  pointer-events: auto;
}

.tb-landing .tb-home-carousel .trainer-card.is-right {
  z-index: 1;
  transform: translate(calc(-50% + var(--carousel-offset)), -50%) scale(.9);
  opacity: .92;
  pointer-events: auto;
}

.tb-landing .tb-home-carousel .trainer-card.is-hidden {
  z-index: 0;
  transform: translate(-50%, -50%) scale(.7);
  opacity: 0;
  pointer-events: none;
}

@container home-carousel (max-width: 420px) {
  .tb-landing .tb-home-carousel.scene {
    --carousel-card-w: 185px;
    --carousel-offset: min(102px, 30cqi);
  }
}

@container home-carousel (max-width: 340px) {
  .tb-landing .tb-home-carousel.scene {
    --carousel-card-w: 168px;
    --carousel-offset: min(86px, 28cqi);
  }
}

/* Cartes carrousel — style maquette (profile inset, contenu compact) */
.tb-landing .tb-home-carousel .photo-wrap {
  flex: 0 0 auto;
  position: relative;
  width: 100%;
  height: var(--carousel-photo-h);
  min-height: 56px;
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #e7ecf7;
}

.tb-landing .tb-home-carousel .media-panel {
  width: 100%;
  height: 100%;
}

.tb-landing .tb-home-carousel .photo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border: 0;
  border-radius: 8px;
  object-fit: cover;
  object-position: center 20%;
  background: #e7ecf7;
}

.tb-landing .tb-home-carousel .photo-fallback {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  font-size: 32px;
}

.tb-landing .tb-home-carousel .card-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 3px 3px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.tb-landing .tb-home-carousel .card-body h3 {
  font-size: 13px;
  margin: 11px 3px 4px;
  line-height: 1.15;
  padding: 0;
}

.tb-landing .tb-home-carousel .trainer-name {
  color: var(--navy);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.tb-landing .tb-home-carousel .trainer-name:hover {
  color: var(--blue);
  text-decoration: underline;
}

.tb-landing .tb-home-carousel .name-row {
  margin: 0;
  position: static;
  z-index: auto;
  display: block;
}

.tb-landing .tb-home-carousel .trainer-title,
.tb-landing .tb-home-carousel .meta {
  font-size: 10px;
  line-height: 1.45;
  color: #263455;
  margin: 4px 3px;
}

.tb-landing .tb-home-carousel .trainer-title {
  min-height: 0;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tb-landing .tb-home-carousel .meta-experience {
  margin: 8px 3px;
}

.tb-landing .tb-home-carousel .rating-row {
  margin: 6px 3px 8px;
  font-size: 10px;
}

.tb-landing .tb-home-carousel .rating-star {
  color: #f5b301;
}

.tb-landing .tb-home-carousel .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 6px 3px 12px;
  flex-shrink: 0;
  max-height: 2.65em;
  overflow: hidden;
}

.tb-landing .tb-home-carousel .chip {
  background: #eef1f9;
  border-radius: 12px;
  padding: 3px 7px;
  font-size: 9px;
  line-height: 1.2;
  color: #263455;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tb-landing .tb-home-carousel .trainer-card:not(.is-center) .chips {
  max-height: 2.15em;
  margin: 4px 3px 10px;
}

.tb-landing .tb-home-carousel .modes {
  display: none;
}

.tb-landing .tb-home-carousel .profile-btn {
  display: block;
  width: auto;
  margin: auto 3px 3px;
  border: 1px solid #6585d1;
  color: #194aa7;
  border-radius: 5px;
  height: auto;
  min-height: 34px;
  padding: 9px;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  background: #fff;
  box-sizing: border-box;
  flex-shrink: 0;
}

.tb-landing .tb-home-carousel .trainer-card:not(.is-center) .rating-row {
  display: none;
}

.tb-landing .carousel-arrow,
.tb-landing .arrow {
  position: absolute;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  width: 37px;
  height: 37px;
  border-radius: 50%;
  border: 1px solid #dfe6f2;
  background: #fff;
  color: #254b94;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(21, 46, 91, .09);
}

.tb-landing .carousel-arrow.prev,
.tb-landing .arrow.prev { left: 0; }
.tb-landing .carousel-arrow.next,
.tb-landing .arrow.next { right: 0; }

.tb-landing .tb-home-carousel .carousel-dots,
.tb-landing .tb-home-carousel .dots {
  position: absolute;
  bottom: 1px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 6;
  pointer-events: auto;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.tb-landing .carousel-dots,
.tb-landing .dots {
  position: absolute;
  bottom: 1px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 5;
}

.tb-landing .carousel-dots button,
.tb-landing .dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 50%;
  background: #d5dce9;
  margin: 0 4px;
  padding: 0;
  cursor: pointer;
}

.tb-landing .carousel-dots button.is-on,
.tb-landing .dots button.is-on,
.tb-landing .dots button.on {
  background: var(--blue);
}

.tb-landing .carousel-empty {
  text-align: center;
  color: var(--muted);
  padding: 40px 24px;
  max-width: 320px;
}

.tb-landing .carousel-empty-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--blue);
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .tb-landing .tb-home-carousel .trainer-card {
    transition: none;
  }
}

.tb-landing .search-section,
.tb-landing .search {
  flex: 0 0 auto;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto clamp(8px, 2vh, 24px);
  padding: 0 clamp(16px, 3vw, 25px);
  position: relative;
  z-index: 20;
  overflow: visible;
  scroll-margin-top: var(--tb-scroll-anchor-offset, calc(var(--tb-layout-top, 70px) + 8px));
}

.tb-landing .search-tabs {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.tb-landing .search-tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 13px 13px 0 0;
  padding: 17px 24px;
  color: var(--navy);
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 700;
  cursor: pointer;
}

.tb-landing .search-tab.active {
  color: var(--navy);
  font-weight: 700;
  box-shadow: none;
  position: relative;
  border-bottom: 3px solid var(--blue);
}

.tb-landing .search-tab.active:after {
  display: none;
}

.tb-landing .search-box,
.tb-landing .search-fields {
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 15px 32px rgba(17, 43, 91, .043);
  border-radius: 0 14px 14px 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: visible;
}

.tb-landing .search-box .field,
.tb-landing .search-box .location-combo {
  flex: 1;
  min-width: 0;
}

.tb-landing .field {
  height: auto;
  min-height: max(2.75rem, 48px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: #59698f;
  border: 1px solid #e8edf4;
  border-radius: 30px;
  margin: 0;
  background: #fff;
}

.tb-landing .field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1f346c;
  font-size: 15px;
  -webkit-appearance: none;
  appearance: none;
}

.tb-landing .field input[type="search"]::-webkit-search-decoration,
.tb-landing .field input[type="search"]::-webkit-search-cancel-button,
.tb-landing .field input[type="search"]::-webkit-search-results-button,
.tb-landing .field input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.tb-landing .location-combo {
  position: relative;
  z-index: 8;
  overflow: visible;
}

.tb-landing .location-combo .field {
  width: 100%;
}

.tb-landing .location-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  max-height: 320px;
  overflow: auto;
  background: #fff;
  border: 1px solid #e6ebf5;
  border-radius: 16px;
  box-shadow: 0 14px 32px rgba(28, 55, 110, .12);
  padding: 8px;
}

.tb-landing .location-menu.is-above {
  top: auto;
  bottom: calc(100% + 6px);
}

.tb-landing .location-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 11px 12px;
  border-radius: 10px;
  color: #243868;
  font-size: 15px;
  cursor: pointer;
}

.tb-landing .location-option:hover,
.tb-landing .location-option.is-active {
  background: #eef4fb;
}

.tb-landing .location-menu-icon {
  display: inline-flex;
  color: #2d4d8c;
  flex: 0 0 18px;
}

.tb-landing .search-btn {
  height: auto;
  min-height: max(2.75rem, 48px);
  border: 0;
  border-radius: 28px;
  padding: 12px 26px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
  box-shadow: none;
}

.tb-landing .search-btn:hover {
  background: #455f96;
  color: #fff;
}

.tb-landing .search-btn:active {
  background: #3d5588;
}

.tb-landing .trust-row,
.tb-landing .search .trust {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  gap: 15px;
  margin-top: 20px;
  padding: 0;
  color: #173467;
  font-size: 13px;
  scroll-margin-top: var(--tb-scroll-anchor-offset, calc(var(--tb-layout-top, 70px) + 8px));
}

.tb-landing .trust-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.tb-landing .trust-icon {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
  display: inline;
  font-size: inherit;
  flex: 0 0 auto;
  line-height: 1.4;
}

.tb-landing .trust-item strong,
.tb-landing .trust-item b {
  display: inline;
  font-size: 13px;
  font-weight: 700;
  color: #173467;
}

.tb-landing .trust-item small,
.tb-landing .trust-item span:not(.trust-icon) {
  display: block;
  font-size: 13px;
  color: #8291b2;
  margin-top: 6px;
}

@media (min-width: 751px) {
  .tb-landing-above-the-fold {
    min-height: calc(100dvh - var(--tb-home-fold-offset));
    height: calc(100dvh - var(--tb-home-fold-offset));
    overflow: visible;
  }

  /* Équilibre texte / carrousel : cartes plus lisibles face au copy + recherche */
  .tb-landing .copy,
  .tb-landing .hero-copy-col {
    width: 47%;
    flex: 1 1 47%;
    max-width: 680px;
  }

  .tb-landing .visual {
    width: 51%;
    flex: 1 1 51%;
    max-width: 620px;
    height: clamp(320px, 46vh, 490px);
    min-height: clamp(300px, 40vh, 420px);
  }

  .tb-landing .tb-home-carousel.scene {
    --carousel-card-w: clamp(214px, 46cqi, 258px);
    --carousel-photo-h: clamp(128px, 38cqi, 152px);
    --carousel-offset: min(166px, 37cqi);
    --carousel-shift-y: clamp(16px, 2.8vh, 32px);
  }

  .tb-landing .audience-switch,
  .tb-landing .tabs {
    margin-bottom: clamp(8px, 2.6vh, 36px);
  }

  .tb-landing .eyebrow {
    margin-bottom: clamp(6px, 1.5vh, 18px);
  }

  .tb-landing .copy h1,
  .tb-landing h1 {
    margin-bottom: clamp(8px, 2vh, 25px);
    font-size: clamp(25px, min(3.15vw, 5.2vh), 52px);
  }

  .tb-landing .hero-copy,
  .tb-landing .copy > p,
  .tb-landing [data-audience-desc] {
    font-size: clamp(13px, min(1.35vw, 2.2vh), 21px);
    line-height: 1.45;
  }

  .tb-landing .benefits {
    margin-top: clamp(10px, 2.6vh, 33px);
  }
}

/* Zoom / petite hauteur : compactage global (toutes largeurs) */
@media (max-height: 900px) {
  .tb-landing .visual {
    height: clamp(140px, 32vh, 360px);
    min-height: min(140px, 28vh);
  }

  @media (min-width: 751px) {
    .tb-landing .visual {
      min-height: clamp(220px, 34vh, 360px);
    }

    .tb-landing .tb-home-carousel.scene {
      --carousel-card-w: clamp(198px, 44cqi, 238px);
      --carousel-photo-h: clamp(118px, 34cqi, 142px);
      --carousel-offset: min(148px, 35cqi);
    }
  }

  .tb-landing .benefits {
    margin-top: clamp(8px, 1.5vh, 20px);
  }
}

@media (max-height: 760px) {
  .tb-landing .hero {
    padding-top: clamp(6px, 1.5vh, 16px);
    padding-bottom: clamp(4px, 1vh, 10px);
  }

  .tb-landing .visual {
    height: clamp(120px, 28vh, 240px);
    min-height: 100px;
  }

  .tb-landing .tb-home-carousel.scene {
    --carousel-card-w: 185px;
    --carousel-photo-h: clamp(96px, 12vh, 130px);
    --carousel-offset: min(102px, 30cqi);
  }

  .tb-landing .tb-home-carousel .trainer-title {
    -webkit-line-clamp: 2;
    margin-bottom: 4px;
  }

  .tb-landing .tb-home-carousel .chips {
    margin: 6px 3px 10px;
  }

  .tb-landing .tb-home-carousel .modes {
    display: none;
  }

  .tb-landing .tb-home-carousel .profile-btn {
    min-height: 30px;
    padding: 7px;
    font-size: 10px;
    margin-top: 8px;
  }

  .tb-landing .eyebrow {
    font-size: clamp(14px, 2.2vh, 18px);
    margin-bottom: 6px;
  }

  .tb-landing .copy h1,
  .tb-landing h1 {
    font-size: clamp(22px, 4.5vh, 36px);
    margin-bottom: 8px;
    line-height: 1.12;
  }

  .tb-landing .hero-copy,
  .tb-landing [data-audience-desc] {
    font-size: clamp(13px, 2vh, 16px);
    line-height: 1.35;
  }

  .tb-landing .benefits {
    font-size: 12px;
    margin-top: 10px;
  }

  .tb-landing .search-tab {
    padding: 10px 14px;
    font-size: 13px;
  }

  .tb-landing .trust-row,
  .tb-landing .search .trust {
    margin-top: 10px;
    font-size: 12px;
  }
}

@media (min-width: 751px) and (max-height: 740px) {
  .tb-landing-above-the-fold {
    min-height: calc(100dvh - var(--tb-layout-top, 56px));
  }

  .tb-landing .hero {
    padding-top: 8px;
    padding-bottom: 5px;
  }

  .tb-landing .visual {
    height: clamp(140px, 31vh, 250px);
    min-height: 140px;
  }

  .tb-landing .tb-home-carousel.scene {
    --carousel-offset: 128px;
    --carousel-photo-h: clamp(90px, 11vh, 130px);
  }

  .tb-landing .tb-home-carousel .trainer-card.is-center {
    transform: translate(-50%, -50%) scale(.78);
  }

  .tb-landing .tb-home-carousel .trainer-card.is-left {
    transform: translate(calc(-50% - var(--carousel-offset)), -50%) scale(.65);
  }

  .tb-landing .tb-home-carousel .trainer-card.is-right {
    transform: translate(calc(-50% + var(--carousel-offset)), -50%) scale(.65);
  }

  .tb-landing .audience-switch button,
  .tb-landing .tab {
    padding: 8px 15px;
    font-size: 13px;
  }

  .tb-landing .eyebrow {
    font-size: 16px;
    margin-bottom: 7px;
  }

  .tb-landing .copy h1,
  .tb-landing h1 {
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.1;
    margin-bottom: 10px;
  }

  .tb-landing .hero-copy,
  .tb-landing [data-audience-desc] {
    font-size: 14px;
    line-height: 1.35;
  }

  .tb-landing .benefits {
    font-size: 11px;
    margin-top: 12px;
  }

  .tb-landing .search-tab {
    padding: 10px 16px;
  }

  .tb-landing .search-box,
  .tb-landing .search-fields {
    padding: 8px;
  }

  .tb-landing .field {
    min-height: 44px;
    padding: 10px 14px;
  }

  .tb-landing .trust-row,
  .tb-landing .search .trust {
    margin-top: 9px;
    font-size: 11px;
  }

  .tb-landing .trust-item small {
    margin-top: 2px;
  }
}

@media (max-width: 1050px) {
  .tb-landing .hero {
    padding: 40px 25px;
    gap: 10px;
  }

  .tb-landing .copy,
  .tb-landing .hero-copy-col {
    width: 52%;
  }

  .tb-landing .visual {
    width: 48%;
  }

  .tb-landing .tb-home-carousel.scene {
    --carousel-card-w: 185px;
    --carousel-offset: 102px;
  }

  .tb-landing .tb-home-carousel .trainer-card.is-left {
    transform: translate(calc(-50% - var(--carousel-offset)), -50%) scale(.85);
  }

  .tb-landing .tb-home-carousel .trainer-card.is-right {
    transform: translate(calc(-50% + var(--carousel-offset)), -50%) scale(.85);
  }
}

@media (max-width: 750px) {
  .tb-landing-above-the-fold {
    display: flex;
    flex-direction: column;
    min-height: calc(100dvh - var(--tb-home-fold-offset));
  }

  .tb-landing .hero {
    display: contents;
  }

  .tb-landing .copy,
  .tb-landing .hero-copy-col {
    order: 1;
    width: 100%;
    padding: 16px 16px 8px;
  }

  .tb-landing .search-section,
  .tb-landing .search {
    order: 2;
    width: 100%;
    padding: 0 16px;
    margin: 8px auto 16px;
  }

  .tb-landing .visual {
    order: 3;
    width: 100%;
    height: clamp(300px, 52vw, 360px);
    min-height: 280px;
    margin: 12px auto;
    padding: 0 8px;
    overflow: visible;
  }

  .tb-landing .tb-home-carousel.scene {
    padding: 0 40px 22px;
  }

  .tb-landing .copy h1,
  .tb-landing h1 {
    font-size: clamp(24px, 6vw, 34px);
    line-height: 1.12;
    margin-bottom: 8px;
  }

  .tb-landing .eyebrow {
    font-size: 16px;
    margin-bottom: 7px;
  }

  .tb-landing .hero-copy,
  .tb-landing [data-audience-desc],
  .tb-landing .benefits {
    display: none;
  }

  .tb-landing .audience-switch,
  .tb-landing .tabs {
    width: 100%;
    margin-bottom: 12px;
  }

  .tb-landing .audience-switch button,
  .tb-landing .tab {
    flex: 1;
    justify-content: center;
    padding: 8px 12px;
    font-size: 13px;
  }

  .tb-landing .tb-home-carousel.scene {
    --carousel-card-w: min(220px, 86vw);
    --carousel-offset: min(102px, 24vw);
    --carousel-shift-y: clamp(6px, 1.5vw, 14px);
  }

  .tb-landing .tb-home-carousel .trainer-card.is-left {
    transform: translate(calc(-50% - var(--carousel-offset)), -50%) scale(.8);
  }

  .tb-landing .tb-home-carousel .trainer-card.is-right {
    transform: translate(calc(-50% + var(--carousel-offset)), -50%) scale(.8);
  }

  .tb-landing .search-box,
  .tb-landing .search-fields {
    flex-direction: column;
    align-items: stretch;
    border-radius: 14px;
    padding: 9px;
    gap: 8px;
  }

  .tb-landing .field {
    min-height: 46px;
    padding: 11px 13px;
  }

  .tb-landing .field input {
    font-size: 13px;
  }

  .tb-landing .search-btn {
    width: 100%;
    min-height: 46px;
  }

  .tb-landing .search-tabs {
    width: 100%;
  }

  .tb-landing .search-tab {
    flex: 1;
    min-width: 0;
    padding: 10px 7px;
    font-size: 12px;
  }

  .tb-landing .trust-row,
  .tb-landing .search .trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
    font-size: 10px;
  }

  .tb-landing .trust-item strong {
    font-size: 10px;
  }

  .tb-landing .trust-item small {
    font-size: 9px;
    line-height: 1.3;
    margin-top: 4px;
  }

  .tb-landing .copy {
    padding-top: 10px;
  }

  .tb-landing .visual {
    margin-top: 8px;
  }
}

@media (max-width: 750px) and (max-height: 650px) {
  .tb-landing .eyebrow {
    display: none;
  }

  .tb-landing .copy h1,
  .tb-landing h1 {
    font-size: 22px;
  }

  .tb-landing .search-section,
  .tb-landing .search {
    margin-top: 2px;
  }
}

