/*
 * Finitions transversales Black Pearl Transport.
 * Un seul appel à l'action en fin de page, coordonnées conservées une seule fois dans le pied de page.
 */

section[class$="-final"] [class*="-btn-ghost"],
section[class$="-final"] [class*="-contact"],
.bpt-nice-cta .bpt-nice-btn--ghost {
  display: none !important;
}

section[class$="-final"] {
  padding-top: 78px !important;
  padding-bottom: 78px !important;
}

section[class$="-final"] [class$="-btns"] {
  justify-content: center !important;
  margin-top: 30px !important;
}

.bpt-footer-main {
  gap: 48px !important;
  padding-top: 64px !important;
  padding-bottom: 50px !important;
}

.bpt-footer-brand p {
  max-width: 350px !important;
}

.bpt-footer-contact {
  margin-top: 20px !important;
}

.bpt-footer-bottom > a {
  display: none !important;
}

/* Afficher les véhicules en entier sur toutes les pages, sans modifier la page Notre flotte. */
.bpt-full-image-view main img:not([class*="logo"]) {
  object-fit: contain !important;
  object-position: center center !important;
  background-color: #111113;
}

/* Section mariage : une composition éditoriale plus lisible et une vraie vue de la flotte. */
.bpc .bpc-wedding {
  min-height: 620px !important;
  align-items: center !important;
  background-image: url("assets/wedding-fleet.jpg") !important;
  background-position: right center !important;
  background-size: 50% auto !important;
  background-repeat: no-repeat !important;
  background-color: #0b0b0d !important;
}

.bpc .bpc-wedding::before {
  background: linear-gradient(90deg, rgba(9, 9, 11, .96) 0%, rgba(9, 9, 11, .90) 45%, rgba(9, 9, 11, .18) 54%, rgba(9, 9, 11, .03) 100%) !important;
}

.bpc .bpc-wedding .bpc-wrap {
  display: flex !important;
  justify-content: flex-start !important;
}

.bpc .bpc-wedding-card {
  width: min(540px, 100%) !important;
  margin: 72px 0 !important;
  padding: 40px 42px !important;
  border: 0 !important;
  border-left: 3px solid #b58b3b !important;
  background: rgba(12, 12, 14, .88) !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28) !important;
  backdrop-filter: blur(5px) !important;
}

.bpc .bpc-wedding-card .bpc-title {
  font-size: clamp(2.15rem, 3.35vw, 3.15rem) !important;
  line-height: 1.05 !important;
}

/* Nice–Provence : deux sens de trajet clairs, sans grille répétitive ni case orpheline. */
.bpt-nice-route-grid {
  display: none !important;
}

.bpt-nice-route-directions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 50px;
}

.bpt-nice-direction {
  position: relative;
  min-height: 430px;
  padding: 42px 40px 38px;
  overflow: hidden;
  border: 1px solid rgba(213, 174, 85, .28);
  background: linear-gradient(145deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
}

.bpt-nice-direction::after {
  content: "";
  position: absolute;
  right: -75px;
  bottom: -95px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(213, 174, 85, .12);
  border-radius: 50%;
}

.bpt-nice-direction__label {
  display: block;
  margin-bottom: 48px;
  color: var(--bpt-nice-gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bpt-nice-direction h3 {
  max-width: 500px;
  margin-bottom: 18px;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.12;
}

.bpt-nice-direction > p {
  max-width: 580px;
  margin-bottom: 34px;
  font-size: 15px;
  line-height: 1.75;
}

.bpt-nice-direction__flow {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.bpt-nice-direction__flow small {
  display: block;
  margin-bottom: 8px;
  color: #8f8c86;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bpt-nice-direction__flow strong {
  color: #f5f1e9;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
}

.bpt-nice-direction__flow > span {
  color: var(--bpt-nice-gold);
  font-size: 25px;
}

.bpt-nice-popular-routes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.bpt-nice-popular-routes span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .1);
  color: #c9c5bd;
  font-size: 12px;
  letter-spacing: .02em;
}

.bpt-nice-route-note {
  margin-top: 30px !important;
}

@media (max-width: 900px) {
  .bpt-nice-route-directions {
    grid-template-columns: 1fr;
  }

  .bpt-nice-direction {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  section[class$="-final"] {
    padding-top: 62px !important;
    padding-bottom: 62px !important;
  }

  .bpt-footer-main {
    padding-top: 54px !important;
    padding-bottom: 42px !important;
  }

  .bpc .bpc-wedding {
    min-height: 680px !important;
    align-items: flex-end !important;
    background-position: center top !important;
    background-size: 100% auto !important;
  }

  .bpc .bpc-wedding::before {
    background: linear-gradient(0deg, rgba(9, 9, 11, .96) 0%, rgba(9, 9, 11, .75) 58%, rgba(9, 9, 11, .18) 100%) !important;
  }

  .bpc .bpc-wedding-card {
    margin: 0 0 20px !important;
    padding: 28px 24px !important;
  }

  .bpt-nice-direction {
    padding: 32px 24px 30px;
  }

  .bpt-nice-direction__label {
    margin-bottom: 34px;
  }

  .bpt-nice-direction__flow {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .bpt-nice-direction__flow > span {
    transform: rotate(90deg);
    justify-self: start;
  }
}

html[dir="rtl"] .bpc .bpc-wedding-card {
  border-right: 3px solid #b58b3b !important;
  border-left: 0 !important;
}

/* Aéroport Marseille : galerie de trois photos réelles, sans zoom ni recadrage. */
body.page-id-85 main .bpa-fleet-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
  align-items: start !important;
}

body.page-id-85 main .bpa-fleet-grid > img,
body.page-id-85 main .bpa-fleet-stack img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  background: transparent !important;
}

body.page-id-85 main .bpa-fleet-stack {
  display: contents !important;
}

@media (max-width: 900px) {
  body.page-id-85 main .bpa-fleet-grid {
    grid-template-columns: 1fr !important;
  }
}
