/* Cubner page Conteneurs d'occasion — gabarit Figma 1137:296, desktop 1920 */
/* Header/footer : cubner-homepage-v2.css (chrome global). */

body.cubner-occasion-page {
  margin: 0;
  background: var(--cb-white, #fff);
}

body.cubner-occasion-page .site-main,
body.cubner-occasion-page .page-content,
body.cubner-occasion-page #content,
body.cubner-occasion-page .elementor-section-wrap {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  overflow: visible;
}

.cubner-v2-occ {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 0 0 127px;
  font-family: "Switzer", Arial, sans-serif;
  color: var(--cb-black, #1c1c1b);
  overflow: visible;
}

.cubner-v2-occ *,
.cubner-v2-occ *::before,
.cubner-v2-occ *::after {
  box-sizing: border-box;
}

.cubner-v2-occ p,
.cubner-v2-occ ul,
.cubner-v2-occ .elementor-heading-title {
  margin: 0;
}

.cubner-v2-occ .elementor-widget-container {
  margin: 0;
  padding: 0;
}

.cubner-v2-occ a {
  text-decoration: none;
}

.cubner-v2-occ a:focus-visible,
.cubner-v2-occ button:focus-visible {
  outline: 3px solid var(--cb-blue, #00518c);
  outline-offset: 3px;
}

.cubner-v2-occ > .e-con,
.cubner-v2-occ-hero > .e-con,
.cubner-v2-occ-gammes > .e-con,
.cubner-v2-occ-usages > .e-con,
.cubner-v2-occ-tabs > .e-con,
.cubner-v2-occ-usage > .e-con,
.cubner-v2-occ-card > .e-con {
  --flex-direction: column;
  --flex-wrap: nowrap;
  --align-items: initial;
  --justify-content: initial;
  max-width: none;
}

/* Hero — titre y253, CTA y584, image 802×495 à y201 */
.cubner-v2-occ-hero {
  --display: block !important;
  display: block !important;
  position: relative;
  width: 100%;
  min-height: 570px;
  overflow: visible;
}

.cubner-v2-occ-hero__image.elementor-widget,
.cubner-v2-occ-hero__line.elementor-widget,
.cubner-v2-occ-hero__pointer.elementor-widget {
  position: absolute !important;
  margin: 0 !important;
}

.cubner-v2-occ-hero__image {
  z-index: 2;
  top: 48px;
  left: calc(50% - 86px);
  width: 802px !important;
  height: 495px;
  pointer-events: none;
}

.cubner-v2-occ-hero__image img {
  display: block;
  width: 802px;
  height: 495px;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.cubner-v2-occ-hero__line {
  z-index: 1;
  height: 1px;
  pointer-events: none;
  overflow: hidden;
}

.cubner-v2-occ-hero__line img {
  display: block;
  width: 1476px;
  height: 1px;
  max-width: none;
}

.cubner-v2-occ-hero__line--title {
  top: 123px;
  left: calc(50% - 2175px);
  width: 1476px !important;
}

.cubner-v2-occ-hero__line--cta {
  top: 455px;
  left: calc(50% - 464px);
  width: 1476px !important;
}

.cubner-v2-occ-hero__pointer {
  z-index: 3;
  top: 433px;
  left: calc(50% - 245px);
  width: 33px !important;
  height: 48px;
  pointer-events: none;
}

.cubner-v2-occ-hero__pointer img {
  display: block;
  width: 33px;
  height: 48px;
  max-width: none;
}

.cubner-v2-occ-hero__content {
  --display: flex !important;
  --flex-direction: column !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative;
  z-index: 3;
  width: 564px;
  max-width: 564px;
  margin: 0 0 0 max(24px, calc(50% - 700px)) !important;
  padding: 100px 0 0 !important;
}

.cubner-v2-occ-hero__title {
  width: auto !important;
}

.cubner-v2-occ-hero__title .elementor-heading-title {
  color: var(--cb-black, #1c1c1b) !important;
  font-family: "Switzer", Arial, sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.132;
  white-space: normal;
}

.cubner-v2-occ-hero__title span {
  color: var(--cb-blue, #00518c) !important;
}

.cubner-v2-occ-hero__lead {
  width: 564px !important;
  margin-top: 22px !important;
}

.cubner-v2-occ-hero__lead p {
  color: #000 !important;
  font-family: "Switzer", Arial, sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.132;
}

.cubner-v2-occ-hero__text {
  width: 540px !important;
  margin-top: 22px !important;
}

.cubner-v2-occ-hero__text p {
  color: #000 !important;
  font-family: "Switzer", Arial, sans-serif;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.132;
}

.cubner-v2-occ-hero__text p + p {
  margin-top: 18px;
}

.cubner-v2-occ-hero__button {
  margin-top: 45px !important;
  width: auto !important;
  align-self: flex-start;
}

.cubner-v2-occ-hero__button .elementor-widget-container,
.cubner-v2-occ-hero__button .elementor-button-wrapper {
  width: auto !important;
}

.cubner-v2-occ-hero__button .elementor-button {
  width: auto;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  padding: 10px 20px;
  line-height: 24px;
}

/* Gammes — titre y723, cartes y821, 326×479, gouttière 32 */
.cubner-v2-occ-gammes {
  --display: flex !important;
  --flex-direction: column !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  width: 100%;
  /* Figma 1137:296 — titre gammes y723, CTA héro ~y628 → 95 px */
  padding-top: 95px;
}

.cubner-v2-occ-gammes__title {
  width: auto !important;
  max-width: min(100% - 48px, 1400px);
  text-align: center;
}

.cubner-v2-occ-gammes__title .elementor-heading-title {
  color: #000 !important;
  font-family: "Switzer", Arial, sans-serif;
  font-size: 36px;
  font-weight: 600;
  line-height: 1.132;
  text-align: center;
}

.cubner-v2-occ-gammes__title span {
  color: var(--cb-blue, #00518c) !important;
}

.cubner-v2-occ-grid {
  --display: grid !important;
  display: grid !important;
  --grid-template-columns: 326px 326px 326px !important;
  grid-template-columns: 326px 326px 326px !important;
  --justify-content: center !important;
  justify-content: center;
  column-gap: 32px !important;
  row-gap: 32px !important;
  width: 1042px;
  max-width: 1042px;
  margin: 57px auto 0 !important;
}

.cubner-v2-occ-card {
  --display: flex !important;
  --flex-direction: column !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative;
  width: 326px !important;
  max-width: 326px;
  min-height: 479px;
  height: auto;
  justify-self: center;
  overflow: hidden;
  border-radius: var(--cubner-radius-card);
  background: var(--cb-white, #fff);
  box-shadow: var(--cb-shadow-card, var(--cubner-shadow-card, 0 4px 22px rgb(0 0 0 / 8%)));
  cursor: pointer;
}

.cubner-v2-occ-card__image {
  width: 268px !important;
  height: 134px;
  margin: 21px 0 0 21px !important;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--cubner-radius-card) var(--cubner-radius-card) 0 0;
}

.cubner-v2-occ-card__image img {
  display: block;
  width: 268px;
  height: 134px;
  max-width: none;
  object-fit: contain;
  object-position: center;
}

.cubner-v2-occ-card__title {
  width: 285px !important;
  margin: 21px 0 0 21px !important;
}

.cubner-v2-occ-card__title .elementor-heading-title {
  color: #000 !important;
  font-family: "Switzer", Arial, sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.05;
  white-space: normal;
}

.cubner-v2-occ-card__title span {
  color: var(--cb-blue, #00518c) !important;
}

.cubner-v2-occ-card__text {
  width: 273px !important;
  margin: 15px 0 0 18px !important;
  flex: 1 1 auto;
}

.cubner-v2-occ-card__text p,
.cubner-v2-occ-card__text {
  color: #000 !important;
  font-family: "Switzer", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.132;
}

.cubner-v2-occ-card__text p + p {
  margin-top: 18px;
}

.cubner-v2-occ-card__text strong {
  font-weight: 600;
}

.cubner-v2-occ-card__exp {
  font-size: 10.32px;
  line-height: 1.132;
}

.cubner-v2-occ-card__button {
  margin: 0 0 25px 21px !important;
  width: 268px !important;
}

.cubner-v2-occ-card__button .elementor-widget-container,
.cubner-v2-occ-card__button .elementor-button-wrapper {
  width: 268px !important;
}

.cubner-v2-occ-card__button .elementor-button {
  position: static;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 268px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px;
  padding: 10px 20px;
  line-height: 24px;
}

.cubner-v2-occ-card__button .elementor-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Usages — onglets y1433, contenu y1534, 1405×474 */
.cubner-v2-occ-usages {
  --display: flex !important;
  --flex-direction: column !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center;
  width: 100%;
  margin-top: 133px !important;
}

.cubner-v2-occ-tabs {
  --display: flex !important;
  --flex-direction: row !important;
  --justify-content: center !important;
  --align-items: center !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 1162px;
  max-width: 1162px;
  min-height: 48px;
  padding: 0 0 11px !important;
  column-gap: 28px !important;
  row-gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  background-image:
    linear-gradient(#000, #000),
    linear-gradient(var(--cb-orange, #f49b27), var(--cb-orange, #f49b27));
  background-size: 100% 1px, var(--cubner-tab-underline-width, 120px) 3px;
  background-position: left bottom, var(--cubner-tab-underline, 0) bottom;
  background-repeat: no-repeat;
}

.cubner-v2-occ-tabs__item {
  width: auto !important;
  flex: 0 0 auto;
  cursor: pointer;
}

.cubner-v2-occ-tabs__item .elementor-heading-title {
  color: var(--cubner-color-ink-900, #002828) !important;
  font-family: "Switzer", Arial, sans-serif;
  font-size: var(--cubner-text-20, 1.25rem);
  font-weight: 400 !important;
  line-height: 1.3;
  white-space: nowrap;
}

.cubner-v2-occ-tabs__item.is-active .elementor-heading-title,
.cubner-v2-occ-tabs__item--active .elementor-heading-title {
  color: var(--cb-orange, #f49b27) !important;
  font-weight: 700 !important;
}

.cubner-v2-occ-tabs__item:hover .elementor-heading-title {
  opacity: var(--cubner-hover-link-opacity, 0.8);
}

.cubner-v2-occ-tabs__item.is-active:hover .elementor-heading-title {
  opacity: 1;
}

.cubner-v2-occ-usage {
  --display: flex !important;
  --flex-direction: row !important;
  --align-items: center !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  width: 1405px;
  max-width: 1405px;
  margin-top: 54px !important;
  column-gap: 24px !important;
}

.cubner-v2-occ-usage[hidden],
.cubner-v2-occ-usages:not(.cubner-v2-occ-usages--stacked) .cubner-v2-occ-usage:not(.is-active) {
  display: none !important;
}

.cubner-v2-occ-usage__text {
  width: 565px !important;
  flex: 0 0 565px;
}

.cubner-v2-occ-usage__text p,
.cubner-v2-occ-usage__text {
  color: var(--cubner-color-ink-900, #002828) !important;
  font-family: "Switzer", Arial, sans-serif;
  font-size: var(--cubner-text-16, 1rem);
  font-weight: 400;
  line-height: 1.45;
}

.cubner-v2-occ-usage__text p + p {
  margin-top: 12px;
}

.cubner-v2-occ-usage__text strong {
  font-weight: 600;
}

.cubner-v2-occ-usage__image {
  width: 816px !important;
  height: 474px;
  flex: 0 0 816px;
  overflow: hidden;
  border-radius: var(--cubner-radius-usage);
}

.cubner-v2-occ-usage__image img {
  display: block;
  width: 816px;
  height: 474px;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: var(--cubner-radius-usage);
}

@media (max-width: 1439px) {
  .cubner-v2-occ {
    padding-bottom: 80px;
  }

  .cubner-v2-occ-hero {
    min-height: 0;
    display: flex !important;
    flex-direction: column !important;
    width: min(100% - 48px, 1400px);
    margin: 0 auto;
    padding-top: 40px;
  }

  .cubner-v2-occ-hero__image.elementor-widget,
  .cubner-v2-occ-hero__line.elementor-widget,
  .cubner-v2-occ-hero__pointer.elementor-widget {
    position: relative !important;
    left: auto;
    top: auto;
  }

  .cubner-v2-occ-hero__line,
  .cubner-v2-occ-hero__pointer {
    display: none !important;
  }

  .cubner-v2-occ-hero__content {
    order: 1;
    width: 100%;
    max-width: 564px;
    margin: 0 !important;
    padding: 0 !important;
  }

  .cubner-v2-occ-hero__image {
    order: 2;
    width: 100% !important;
    max-width: 802px;
    height: auto;
    aspect-ratio: 802 / 495;
    margin-top: 32px;
    pointer-events: auto;
  }

  .cubner-v2-occ-hero__image img {
    width: 100%;
    height: 100%;
  }

  .cubner-v2-occ-hero__title .elementor-heading-title,
  .cubner-v2-occ-hero__lead,
  .cubner-v2-occ-hero__text {
    white-space: normal;
    width: 100% !important;
  }

  .cubner-v2-occ-hero__button {
    margin-top: 24px !important;
  }

  .cubner-v2-occ-gammes,
  .cubner-v2-occ-usages {
    width: min(100% - 48px, 1400px);
    margin-left: auto;
    margin-right: auto;
  }

  .cubner-v2-occ-gammes {
    padding-top: 64px;
  }

  .cubner-v2-occ-usages {
    margin-top: 64px !important;
  }

  .cubner-v2-occ-grid {
    width: 100%;
    --grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 24px !important;
    row-gap: 32px !important;
    margin-top: 40px !important;
  }

  .cubner-v2-occ-grid .cubner-v2-occ-card {
    width: 100% !important;
    max-width: 326px;
  }

  .cubner-v2-occ-tabs {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    column-gap: 32px !important;
    row-gap: 12px;
    justify-content: flex-start;
    --cubner-tab-underline: 0px;
  }

  .cubner-v2-occ-tabs__item .elementor-heading-title {
    white-space: normal;
  }

  .cubner-v2-occ-usage {
    width: 100%;
    max-width: 100%;
    flex-direction: column !important;
    align-items: stretch;
  }

  .cubner-v2-occ-usage__text,
  .cubner-v2-occ-usage__image {
    width: 100% !important;
    flex: 1 1 auto;
  }

  .cubner-v2-occ-usage__image {
    height: auto;
    aspect-ratio: 816 / 474;
    margin-top: 24px;
  }

  .cubner-v2-occ-usage__image img {
    width: 100%;
    height: 100%;
  }
}

@media (max-width: 767px) {
  .cubner-v2-occ {
    padding-bottom: 64px;
  }

  .cubner-v2-occ-hero,
  .cubner-v2-occ-gammes,
  .cubner-v2-occ-usages {
    width: min(100% - 32px, 1400px);
  }

  .cubner-v2-occ-hero__title .elementor-heading-title,
  .cubner-v2-occ-gammes__title .elementor-heading-title {
    font-size: clamp(28px, 8vw, 36px);
    white-space: normal;
  }

  .cubner-v2-occ-tabs__item .elementor-heading-title {
    font-size: clamp(16px, 4.5vw, 20px);
  }

  .cubner-v2-occ-grid {
    --grid-template-columns: 1fr !important;
    grid-template-columns: 1fr !important;
  }

  .cubner-v2-occ-card {
    height: auto;
    min-height: 479px;
  }
}
