/* =========================================================
   ITINERARY + STICKY BOOKING
========================================================= */

/* Grande section qui contient les 2 colonnes */
.itinerary-section {
  position: relative !important;
  overflow: visible !important;
  align-items: stretch !important;
}


/* Colonne de droite :
   elle doit prendre toute la hauteur de la section */
.booking-column {
  position: relative !important;

  align-self: stretch !important;

  overflow: visible !important;
}


/* C'est le FORMULAIRE qui devient sticky */
.booking-sticky {
  position: sticky !important;
  position: -webkit-sticky !important;

  top: 100px !important;

  align-self: flex-start !important;

  z-index: 20;
}


/* Elementor ne doit pas bloquer le sticky */
.itinerary-section > .e-con-inner,
.booking-column > .e-con-inner {
  overflow: visible !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .booking-sticky {
    position: relative !important;
    top: auto !important;
  }

}

/* =========================================================
   PRIVATE CHARTER EXPERIENCE
========================================================= */

.charter-experience {
  --navy: #17295c;
  --blue: #159bb1;
  --text: #59616d;
  --muted: #7c8591;
  --border: #dfe4e9;
  --soft: #f4f7f8;

  width: 100%;

  box-sizing: border-box;

  color: var(--navy);
}


/* =========================================================
   KICKER
========================================================= */

.charter-kicker {
  margin-bottom: 12px;

  font-size: 13px;
  line-height: 1.3;

  font-weight: 600;

  letter-spacing: .11em;
  text-transform: uppercase;

  color: var(--blue);
}


/* =========================================================
   HEADER
========================================================= */

.charter-header {
  display: grid;

  grid-template-columns: minmax(0, 1fr) auto;

  gap: 35px;

  align-items: start;

  margin-bottom: 30px;
}

.charter-header-content {
  min-width: 0;
}

.charter-header h2 {
  margin: 0 0 20px;

  font-size: clamp(38px, 4vw, 50px);
  line-height: 1.03;

  font-weight: 500;

  letter-spacing: -.04em;

  color: var(--navy);
}

.charter-header p {
  max-width: 680px;

  margin: 0 0 15px;

  font-size: 16px;
  line-height: 1.7;

  font-weight: 400;

  color: var(--text);
}

.charter-header p:last-child {
  margin-bottom: 0;
}


/* =========================================================
   PRICE
========================================================= */

.charter-price {
  min-width: 135px;

  padding: 6px 0 6px 22px;

  border-left: 2px solid var(--blue);
}

.charter-price span {
  display: block;

  margin-bottom: 5px;

  font-size: 13px;
  line-height: 1.2;

  font-weight: 600;

  letter-spacing: .08em;

  color: var(--muted);
}

.charter-price strong {
  display: block;

  font-size: 38px;
  line-height: 1;

  font-weight: 500;

  letter-spacing: -.04em;

  color: var(--navy);
}

.charter-price small {
  display: block;

  margin-top: 7px;

  font-size: 13px;
  line-height: 1.3;

  font-weight: 600;

  color: var(--muted);
}


/* =========================================================
   HERO IMAGE
========================================================= */

.charter-image {
  position: relative;

  width: 100%;

  margin: 0 0 18px;

  overflow: hidden;

  border-radius: 5px;
}

.charter-image img {
  display: block;

  width: 100%;
  height: 300px;

  object-fit: cover;
  object-position: center;

  transition: transform .5s ease;
}

.charter-image:hover img {
  transform: scale(1.015);
}


/* subtle gradient */

.charter-image::after {
  content: "";

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      180deg,
      rgba(10, 24, 50, 0) 50%,
      rgba(10, 24, 50, .50) 100%
    );

  pointer-events: none;
}


/* IMAGE LABEL */

.charter-image-label {
  position: absolute;

  z-index: 2;

  left: 22px;
  bottom: 20px;

  color: #ffffff;
}

.charter-image-label span {
  display: block;

  margin-bottom: 4px;

  font-size: 13px;
  line-height: 1.2;

  font-weight: 600;

  letter-spacing: .09em;

  color: rgba(255,255,255,.78);
}

.charter-image-label strong {
  display: block;

  font-size: 22px;
  line-height: 1.2;

  font-weight: 500;

  color: #ffffff;
}


/* =========================================================
   HIGHLIGHTS
========================================================= */

.charter-highlights {
  display: grid;

  grid-template-columns: repeat(3, minmax(0, 1fr));

  gap: 10px;

  margin-bottom: 42px;
}

.charter-highlight {
  display: flex;

  align-items: center;

  gap: 12px;

  min-width: 0;

  padding: 15px;

  background: var(--soft);

  border-radius: 4px;
}

.charter-highlight-icon {
  display: flex;

  align-items: center;
  justify-content: center;

  flex: 0 0 38px;

  width: 38px;
  height: 38px;

  background: #ffffff;

  border-radius: 50%;

  font-size: 18px;

  color: var(--blue);
}

.charter-highlight span {
  display: block;

  margin-bottom: 4px;

  font-size: 13px;
  line-height: 1.2;

  font-weight: 600;

  letter-spacing: .05em;

  color: var(--muted);
}

.charter-highlight strong {
  display: block;

  font-size: 15px;
  line-height: 1.3;

  font-weight: 600;

  color: var(--navy);
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.charter-section-heading {
  margin-bottom: 28px;
}

.charter-section-heading > span,
.charter-included-heading > span,
.charter-good-title > span {
  display: block;

  margin-bottom: 6px;

  font-size: 13px;
  line-height: 1.2;

  font-weight: 600;

  letter-spacing: .09em;
  text-transform: uppercase;

  color: var(--blue);
}

.charter-section-heading h3,
.charter-included-heading h3,
.charter-good-title h3 {
  margin: 0 0 8px;

  font-size: 27px;
  line-height: 1.15;

  font-weight: 500;

  letter-spacing: -.02em;

  color: var(--navy);
}

.charter-section-heading p {
  max-width: 600px;

  margin: 0;

  font-size: 15px;
  line-height: 1.6;

  color: var(--text);
}


/* =========================================================
   ITINERARY
========================================================= */

.charter-itinerary {
  position: relative;

  padding: 0 0 38px;

  margin-bottom: 38px;

  border-bottom: 1px solid var(--border);
}


/* vertical route */

.charter-itinerary::before {
  content: "";

  position: absolute;

  top: 125px;
  bottom: 50px;
  left: 22px;

  width: 1px;

  background: var(--border);
}


/* =========================================================
   STOPS
========================================================= */

.charter-stop {
  position: relative;
  z-index: 1;

  display: grid;

  grid-template-columns: 46px minmax(0, 1fr);

  gap: 20px;

  padding-bottom: 31px;
}

.charter-stop:last-child {
  padding-bottom: 0;
}

.charter-stop-number {
  display: flex;

  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;

  box-sizing: border-box;

  background: #ffffff;

  border: 1px solid #d5dbe2;
  border-radius: 50%;

  font-size: 13px;
  line-height: 1;

  font-weight: 600;

  color: var(--navy);
}

.charter-stop-content {
  padding-top: 1px;
}

.charter-stop-content > span {
  display: block;

  margin-bottom: 5px;

  font-size: 13px;
  line-height: 1.2;

  font-weight: 600;

  letter-spacing: .07em;

  color: var(--blue);
}

.charter-stop-content h4 {
  margin: 0 0 8px;

  font-size: 21px;
  line-height: 1.2;

  font-weight: 600;

  color: var(--navy);
}

.charter-stop-content p {
  max-width: 640px;

  margin: 0;

  font-size: 15px;
  line-height: 1.65;

  color: var(--text);
}


/* =========================================================
   INCLUDED
========================================================= */

.charter-included {
	    margin-top: 30px;
  margin-bottom: 22px;

  padding: 28px;

  background: var(--soft);

  border-radius: 5px;
}

.charter-included-heading {
  margin-bottom: 22px;
}

.charter-included-grid {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 13px 30px;
}

.charter-included-item {
  display: flex;

  align-items: flex-start;

  gap: 10px;

  min-width: 0;

  font-size: 15px;
  line-height: 1.45;

  color: var(--text);
}

.charter-included-item b {
  flex: 0 0 auto;

  font-size: 15px;

  color: var(--blue);
}

.charter-included-item span {
  min-width: 0;
}

.charter-included-wide {
  grid-column: span 2;
}


/* =========================================================
   GOOD TO KNOW
========================================================= */

.charter-good-to-know {
  display: grid;

  grid-template-columns: 180px minmax(0, 1fr);

  gap: 35px;

  padding: 26px 0 0;

  border-top: 1px solid var(--border);
}

.charter-good-title h3 {
  font-size: 23px;

  margin-bottom: 0;
}

.charter-good-content ul {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 20px 30px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.charter-good-content li {
  position: relative;

  padding-left: 16px;

  font-size: 14px;
  line-height: 1.55;

  color: var(--text);
}

.charter-good-content li::before {
  content: "";

  position: absolute;

  top: 8px;
  left: 0;

  width: 5px;
  height: 5px;

  background: var(--blue);

  border-radius: 50%;
}

.charter-good-content strong {
  display: block;

  margin-bottom: 3px;

  font-size: 15px;
  line-height: 1.3;

  font-weight: 600;

  color: var(--navy);
}


/* Passport / important */

.charter-good-content .charter-important {
  padding: 13px 15px 13px 20px;

  background: var(--soft);

  border-left: 3px solid var(--blue);
}

.charter-good-content .charter-important::before {
  display: none;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

  .charter-header {
    grid-template-columns: 1fr;

    gap: 20px;
  }

  .charter-price {
    padding-left: 0;

    border-left: 0;
  }

  .charter-image img {
    height: 270px;
  }

  .charter-highlights {
    grid-template-columns: 1fr;
  }

  .charter-good-to-know {
    grid-template-columns: 1fr;

    gap: 20px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .charter-kicker {
    font-size: 13px;
  }

  .charter-header h2 {
    font-size: 34px;
  }

  .charter-header p {
    font-size: 16px;
  }

  .charter-price strong {
    font-size: 36px;
  }


  /* IMAGE */

  .charter-image img {
    height: 230px;
  }

  .charter-image-label {
    left: 16px;
    bottom: 15px;
  }

  .charter-image-label strong {
    font-size: 19px;
  }


  /* HIGHLIGHTS */

  .charter-highlights {
    gap: 8px;

    margin-bottom: 35px;
  }

  .charter-highlight {
    padding: 13px;
  }


  /* TITLES */

  .charter-section-heading h3,
  .charter-included-heading h3 {
    font-size: 24px;
  }


  /* ITINERARY */

  .charter-itinerary::before {
    left: 20px;
  }

  .charter-stop {
    grid-template-columns: 42px minmax(0, 1fr);

    gap: 15px;

    padding-bottom: 27px;
  }

  .charter-stop-number {
    width: 40px;
    height: 40px;
  }

  .charter-stop-content h4 {
    font-size: 20px;
  }

  .charter-stop-content p {
    font-size: 15px;
  }


  /* INCLUDED */

  .charter-included {
    padding: 22px 18px;
  }

  .charter-included-grid {
    grid-template-columns: 1fr;

    gap: 12px;
  }

  .charter-included-wide {
    grid-column: auto;
  }


  /* GOOD TO KNOW */

  .charter-good-content ul {
    grid-template-columns: 1fr;

    gap: 17px;
  }

  .charter-good-content li {
    font-size: 15px;
  }

}

.page-id-2822 .banner-header, .page-id-2920 .banner-header, .page-id-2950 .banner-header {
background-position: bottom;
}

/* Masquer le formulaire "Plan Your Trip" sur tous les listings tours */
body.tax-tour_destination .tours3 > .container > .row > .col-md-4,
body.tax-tour_type        .tours3 > .container > .row > .col-md-4,
body.search               .tours3 > .container > .row > .col-md-4 {
    display: none;
}

/* et passer la liste des tours en pleine largeur */
body.tax-tour_destination .tours3 > .container > .row > .col-md-8,
body.tax-tour_type        .tours3 > .container > .row > .col-md-8,
body.search               .tours3 > .container > .row > .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
}

/* Listings tours : 3 cartes par ligne au lieu de 2 */
@media (min-width: 992px) {
    body.tax-tour_destination .tours3 .col-md-6:has(> .square-flip),
    body.tax-tour_type        .tours3 .col-md-6:has(> .square-flip),
    body.search               .tours3 .col-md-6:has(> .square-flip) {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}


.ck-boat-card {
  font-family: inherit;
  color: #1d1d1d;
}

.ck-boat-card__head {
  padding: 28px 0 24px;
  border-bottom: 1px solid rgba(0,0,0,.12);
}

.ck-boat-card__eyebrow {
  display: block;
  margin-bottom: 8px;
  font-size: 10px;
  line-height: 1.2;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8a8a8a;
}

.ck-boat-card__title {
  margin: 0 0 12px;
  font-size: clamp(30px, 3vw, 44px);
  line-height: .95;
  font-weight: 500;
  letter-spacing: -.02em;
}

.ck-boat-card__subtitle {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #777;
}

.ck-boat-card__specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-bottom: 1px solid rgba(0,0,0,.12);
}

.ck-boat-spec {
  padding: 20px 12px 20px 0;
}

.ck-boat-spec:nth-child(even) {
  padding-left: 18px;
  border-left: 1px solid rgba(0,0,0,.08);
}

.ck-boat-spec__label {
  display: block;
  margin-bottom: 6px;
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #999;
}

.ck-boat-spec strong {
  font-size: 13px;
  line-height: 1.35;
  font-weight: 500;
}

.ck-boat-card__includes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 22px 0;
}

.ck-boat-card__includes span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 11px;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #555;
}

.ck-boat-card__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 18px;
  background: #202020;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: all .25s ease;
}

.ck-boat-card__button:hover {
  background: #333;
}

.ck-boat-card__button span {
  font-size: 18px;
  line-height: 1;
  transition: transform .25s ease;
}

.ck-boat-card__button:hover span {
  transform: translateX(4px);
}

@media (max-width: 767px) {
  .ck-boat-card__head {
    padding-top: 20px;
  }

  .ck-boat-card__title {
    font-size: 34px;
  }
}


img.boat-spec-icon.captain-icon {
  width: 23px;
  height: 23px;
  object-fit: contain;
  transform: scale(1.35);
  transform-origin: center;
}

/* =========================================================
   SECTION / GRID
========================================================= */

.boats-section {
  width: 100%;
}

.boats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  align-items: stretch;
}


/* =========================================================
   CARD
========================================================= */

.boat-card {
  position: relative;

  display: flex;
  flex-direction: column;

  min-width: 0;
  height: 100%;

  background: #ffffff;

  border-radius: 4px;
  overflow: hidden;

  box-shadow:
    0 8px 28px rgba(23, 41, 92, 0.10);

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

.boat-card:hover {
  transform: translateY(-3px);

  box-shadow:
    0 12px 34px rgba(23, 41, 92, 0.14);
}


/* =========================================================
   IMAGE ELEMENTOR
========================================================= */

/*
   Premier widget Elementor de la card = image
*/

.boat-card > .elementor-element:first-child {
  width: 100%;
  flex: 0 0 auto;
}

.boat-card > .elementor-element:first-child .elementor-widget-container {
  width: 100%;
  height: 250px;

  overflow: hidden;
}

.boat-card > .elementor-element:first-child img {
  display: block;

  width: 100%;
  height: 250px;

  object-fit: cover;
  object-position: center;

  transition: transform .4s ease;
}

.boat-card:hover > .elementor-element:first-child img {
  transform: scale(1.02);
}


/* =========================================================
   CONTENT ELEMENTOR WIDGET
========================================================= */

.boat-card > .elementor-element:nth-child(2) {
  display: flex;

  flex: 1;
  width: 100%;
}

.boat-card > .elementor-element:nth-child(2) .elementor-widget-container {
  display: flex;

  flex: 1;

  width: 100%;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.boat-card-content {
  position: relative;

  display: flex;
  flex-direction: column;

  width: 100%;
  height: 100%;

  padding: 18px;

  box-sizing: border-box;

  color: #17295c;
}


/* =========================================================
   DESTINATIONS OVERLAY
========================================================= */

.boat-destinations-overlay {
  position: absolute;

  top: -258px;
  right: 14px;

  z-index: 5;

  padding: 8px 11px;

  background: #3B8CB3;

  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);

  border: 1px solid rgba(255,255,255,.10);
  border-radius: 3px;

  box-shadow:
    0 4px 12px rgba(0, 0, 0, .10);

  pointer-events: none;
}

.boat-destinations-overlay small {
  display: block;

  margin: 0 0 3px;

  font-size: 8px;
  line-height: 1;

  font-weight: 600;

  letter-spacing: .10em;
  text-transform: uppercase;

  color: rgba(255,255,255,.62);
}

.boat-destinations-overlay strong {
  display: block;

  margin: 0;

  font-size: 12px;
  line-height: 1.2;

  font-weight: 600;

  white-space: nowrap;

  color: #ffffff;
}

.boat-destinations-overlay i {
  padding: 0 4px;

  font-style: normal;

  color: rgba(255,255,255,.45);
}


/* =========================================================
   BOAT TYPE
========================================================= */

.boat-type {
  margin: 0 0 5px;

  font-size: 10px;
  line-height: 1;

  font-weight: 600;

  letter-spacing: .13em;
  text-transform: uppercase;

  color: #8e949d;
}


/* =========================================================
   BOAT NAME
========================================================= */

.boat-name {
  margin: 0 0 8px;

  font-size: 30px;
  line-height: 1.05;

  font-weight: 500;

  letter-spacing: -.025em;

  color: #17295c;
}


/* =========================================================
   INTRO
========================================================= */

.boat-intro {
  min-height: 42px;

  margin: 0 0 12px;

  font-size: 13px;
  line-height: 1.55;

  font-weight: 400;

  color: #707681;
}


/* =========================================================
   SPECS
========================================================= */

.boat-specs {
  display: flex;
	justify-content: space-between;

  gap: 10px;

  min-height: 44px;

  padding: 9px 0;

  border-top: 1px solid #e3e5e8;
  border-bottom: 1px solid #e3e5e8;

  box-sizing: border-box;
}

.boat-spec {
  display: flex;

  align-items: center;

  gap: 7px;

  min-width: 0;
}

.boat-spec > div {
  min-width: 0;
}


/* =========================================================
   SPEC ICONS
========================================================= */

.boat-spec-icon {
  display: block;

  flex: 0 0 22px;

  width: 22px;
  height: 22px;

  margin: 0;

  object-fit: contain;
}

svg.boat-spec-icon {
  fill: none;

  stroke: #17295c;
  stroke-width: 1.5;

  stroke-linecap: round;
  stroke-linejoin: round;
}

img.boat-spec-icon.captain-icon {
  width: 22px;
  height: 22px;

  flex-basis: 22px;

  object-fit: contain;
}


/* =========================================================
   SPEC LABELS
========================================================= */

.boat-spec small {
  display: block;

  margin: 0 0 2px;

  font-size: 8px;
  line-height: 1;

  font-weight: 600;

  letter-spacing: .09em;
  text-transform: uppercase;

  color: #9297a0;
}

.boat-spec strong {
  display: block;

  margin: 0;

  font-size: 11px;
  line-height: 1.15;

  font-weight: 600;

  white-space: nowrap;

  color: #262b33;
}


/* =========================================================
   FEATURES
========================================================= */

.boat-features {
  min-height: 42px;

  margin: 10px 0 13px;

  font-size: 11px;
  line-height: 1.55;

  font-weight: 400;

  color: #7b8089;
}

.boat-features i {
  padding: 0 3px;

  font-style: normal;

  color: #b2b6bd;
}


/* =========================================================
   CTA
========================================================= */

.boat-cta {
  display: flex;
    align-items: center;
    justify-content: space-between;
    width: max-content;
    margin-top: auto;
    box-sizing: border-box;
    padding: 14px 14px;
    background: #3B8CB3;
    border-radius: 4px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.boat-cta:hover {
  background: #3B8CB3;

  color: #ffffff !important;

  transform: translateY(-1px);

  box-shadow:
    0 5px 14px rgba(23, 41, 92, .15);
}

.boat-arrow {
  margin-left: 10px;

  font-size: 17px;
  line-height: 1;

  font-weight: 300;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

  .boats-grid {
    gap: 22px;
  }

  .boat-card > .elementor-element:first-child .elementor-widget-container,
  .boat-card > .elementor-element:first-child img {
    height: 220px;
  }

  .boat-destinations-overlay {
    top: -230px;
    right: 11px;
  }

  .boat-card-content {
    padding: 16px;
  }

  .boat-name {
    font-size: 27px;
  }

  .boat-specs {
    gap: 7px;
  }

  .boat-spec {
    gap: 5px;
  }

  .boat-spec-icon,
  img.boat-spec-icon.captain-icon {
    width: 20px;
    height: 20px;

    flex-basis: 20px;
  }

  .boat-spec strong {
    font-size: 10.5px;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

  .boats-grid {
    grid-template-columns: 1fr;

    gap: 24px;
  }

  .boat-card {
    height: auto;
  }

  .boat-card > .elementor-element:first-child .elementor-widget-container,
  .boat-card > .elementor-element:first-child img {
    height: 230px;
  }

  .boat-destinations-overlay {
    top: -240px;
    right: 10px;

    padding: 7px 9px;
  }

  .boat-destinations-overlay small {
    font-size: 7px;
  }

  .boat-destinations-overlay strong {
    font-size: 11px;
  }

  .boat-card-content {
    padding: 15px;
  }

  .boat-name {
    font-size: 27px;
  }

  .boat-intro {
    min-height: 0;

    margin-bottom: 10px;

    font-size: 13px;
  }

  .boat-specs {
    gap: 8px;
  }

  .boat-spec-icon,
  img.boat-spec-icon.captain-icon {
    width: 19px;
    height: 19px;

    flex-basis: 19px;
  }

  .boat-spec strong {
    font-size: 10.5px;
  }

  .boat-features {
    min-height: 0;

    margin: 8px 0 11px;

    font-size: 10.5px;
  }

  .boat-cta {
    padding: 10px 13px;
  }

}