/*
 * base.css: custom CSS for every screen size. Loaded after Tailwind (main.css).
 * Brand colors and fonts are CSS variables: var(--color-primary), var(--font-heading)...
 * Screen-specific rules go in mobile.css, tablet.css, desktop.css.
 */

/* Swiper pagination / arrows in brand gold. */
.swiper {
  --swiper-theme-color: var(--color-primary);
}

/*
 * JW Prestige SEO plugin pages (CGV, mentions légales, merci...) ship light-theme colors.
 * The body prefix makes these beat the plugin's own stylesheet.
 */
body .jw-seo-page { color: var(--color-text); font-family: var(--font-body); }
body .jw-seo-page :is(h1, h2, h3) { font-family: var(--font-heading); color: var(--color-heading); }
body .jw-seo-page :is(p, li) { color: var(--color-text); }
body .jw-seo-page a { color: var(--color-primary); }
body .jw-seo-page .jw-kicker { font-family: var(--font-ui); color: var(--color-primary); text-transform: uppercase; letter-spacing: .15em; font-size: .75rem; }
body .jw-seo-page :is(th, td) { border-color: var(--color-border); }
body .jw-seo-page th { background: var(--color-surface); color: var(--color-heading); }

/* ==========================================================================
   === Hero ===  (e.g. template-parts/home/hero.php)
   Full-width photo, dark overlay, text left, booking form right, feature strip at the bottom.
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 4rem 2.5rem;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* Darker on the left and bottom so the white text stays readable over the photo. */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(0 0 0 / 60%) 0%, rgb(0 0 0 / 36%) 50%, rgba(0, 0, 0, .35) 100%),
    linear-gradient(0deg, rgb(0 0 0 / 54%) 0%, rgba(0, 0, 0, 0) 35%);
}
.hero .row {
  align-items: center;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  margin-top: 2.25rem;
}

/* === Hero: feature strip (icons + text along the bottom) === */
.hero__features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .12);
  list-style: none;
  font-family: var(--font-ui);
  font-size: .8125rem;
  color: var(--color-text);
}
.hero__features li {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hero__features i {
  width: 1.25rem;
  text-align: center;
  font-size: 1.05rem;
  color: var(--color-primary);
}

/* === Hero: booking form (Taxi Booking plugin, restyled to the theme) ===
   The plugin marks every rule !important, so these need it too. Scoped to the hero only. */
:is(.hero, .booking-panel) .taxi-booking-wrapper {
  max-width: 30rem;
  margin-inline: auto;
}
:is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-booking-card {
  background: rgba(10, 10, 10, .82) !important;
  border: 1px solid rgba(233, 192, 102, .45) !important;
  border-radius: 6px !important;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5) !important;
  backdrop-filter: blur(6px);
}
:is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-header {
  background: transparent !important;
  padding: 26px 28px 6px !important;
  text-align: left !important;
  border-bottom: 0 !important;
}
:is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-header-icon {
  display: none !important;
}
:is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-header h2 {
  font-family: var(--font-heading) !important;
  font-size: 1.5rem !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--color-heading) !important;
}
:is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-header p {
  font-family: var(--font-body) !important;
  color: var(--color-text-muted) !important;
}
:is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-form {
  padding: 18px 28px 10px !important;
}
:is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-label {
  font-family: var(--font-ui) !important;
  color: var(--color-text) !important;
}
:is(.hero, .booking-panel) .taxi-booking-wrapper :is(.taxi-input, .taxi-select) {
  background: var(--color-surface) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 4px !important;
  color: var(--color-heading) !important;
  font-family: var(--font-body) !important;
}
:is(.hero, .booking-panel) .taxi-booking-wrapper :is(.taxi-input, .taxi-select):focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(233, 192, 102, .2) !important;
}
:is(.hero, .booking-panel) .taxi-booking-wrapper select option {
  background: var(--color-surface) !important;
}
:is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-btn--primary {
  background: var(--color-primary) !important;
  color: var(--color-background) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-family: var(--font-ui) !important;
  letter-spacing: .12em !important;
}
:is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-btn--primary:hover {
  background: var(--color-primary-hover) !important;
}

/* === Hero: booking form — dropdowns (select) ===
   Closed state: dark field + gold chevron (all browsers).
   Open list: styled with the new customizable <select> (appearance: base-select) in Chrome/Edge 135+;
   other browsers (Safari, Firefox, phones) keep their native list, which already uses the dark colors below. */
:is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23E9C066' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  padding-right: 42px !important;
  cursor: pointer;
}
:is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-select option {
  background: var(--color-surface) !important;
  color: var(--color-text) !important;
}

@supports (appearance: base-select) {
  :is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-select,
  :is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-select::picker(select) {
    appearance: base-select !important;
  }
  /* base-select draws its own arrow (::picker-icon), so drop the background chevron. */
  :is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-select {
    display: flex !important;
    align-items: center;
    gap: 12px;
    background-image: none !important;
    padding-right: 16px !important;
    line-height: normal !important;
    white-space: nowrap;
  }
  /* Same thin gold chevron as the closed state, rotates when open. */
  :is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-select::picker-icon {
    content: "";
    flex-shrink: 0;
    width: 12px;
    height: 8px;
    margin-left: auto;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23E9C066' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right center;
    transition: rotate .2s ease;
  }
  :is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-select:open::picker-icon {
    rotate: 180deg;
  }
  /* The open list */
  :is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-select::picker(select) {
    margin-top: 6px;
    padding: 6px;
    background: var(--color-surface);
    border: 1px solid rgba(233, 192, 102, .45);
    border-radius: 6px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .6);
  }
  :is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-select option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px !important;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--color-text) !important;
    background: transparent !important;
    cursor: pointer;
  }
  :is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-select option:hover,
  :is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-select option:focus-visible {
    background: var(--color-surface-hover) !important;
    color: var(--color-heading) !important;
    outline: none;
  }
  :is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-select option:checked {
    background: rgba(233, 192, 102, .12) !important;
    color: var(--color-primary) !important;
    font-weight: 600;
  }
  /* Tick before the selected option, in gold. */
  :is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-select option::checkmark {
    color: var(--color-primary);
  }
}

/* === Hero: booking form — "Type de réservation" + "Choisir la voiture" side by side (50/50) ===
   Long car names ("Classe Affaires — Mercedes Benz E") end with "…" instead of pushing the arrow out. */
:is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-select {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
:is(.hero, .booking-panel) .taxi-booking-wrapper .taxi-select selectedcontent {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   === Marquee ===  (e.g. template-parts/home/marquee.php)
   Gold band under the hero, tagline scrolling right to left in a seamless loop.
   ========================================================================== */
.marquee {
  overflow: hidden;
  padding-block: 1.6rem;
  background: linear-gradient(100deg, #F5D48A 0%, var(--color-primary) 55%, var(--color-primary-hover) 100%);
  color: var(--color-dark-text);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
.marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  margin: 0;
}
.marquee__item {
  padding-inline: 2.5rem;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.6vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -.01em;
}
.marquee__sep {
  font-size: .7rem;
  opacity: .55;
}
/* Track holds 2 identical groups: moving by half its width = one full group, so the loop has no jump. */
@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ==========================================================================
   === Split Media ===  (image + text side by side; e.g. template-parts/home/about.php, precision.php)
   Use with .section--light or .section--dark; add .row--reverse to put the image on the right.
   ========================================================================== */
.split-media .row {
  align-items: center;
}
.split-media .media {
  aspect-ratio: 4 / 3;
}
.split-media .content > .btn {
  margin-top: 2.25rem;
}
/* ACF buttons row after an icon list: same gap as the coded home section (list margin + button margin). */
.split-media .icon-list + .section-actions {
  padding-top: 2.25rem;
}

/* ==========================================================================
   === Split Cards ===  (text left + grid of icon cards right; e.g. template-parts/home/services.php)
   Cards are separated by thin lines.
   ========================================================================== */
.split-cards .row {
  align-items: center;
}
.split-cards__cta {
  margin-top: 2.25rem;
}
.split-cards__grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--color-border);
  list-style: none;
  margin: 0;
  padding: 0;
}
.split-cards__grid .card {
  padding: 1.75rem .25rem;
  border-bottom: 1px solid var(--color-border);
}

/* ==========================================================================
   === Feature Banner ===  (photo background, heading, row of SVG-icon features; e.g. why-choose-us.php)
   The photo sits on the right; the left side is darkened for the text.
   ========================================================================== */
.feature-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--color-background);
}
.feature-banner__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}
.feature-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .95) 0%, rgb(0 0 0 / 37%) 45%, rgb(0 0 0 / 0%) 100%);
}
.feature-banner__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
  list-style: none;
  padding: 0;
}
.feature-banner__item .card-title {
  margin-top: 1.25rem;
}

/* ==========================================================================
   === CTA Banner ===  (template-parts/cta-banner.php — above the footer on every page)
   ========================================================================== */
.cta-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 5rem;
}
.cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.cta-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .55) 45%, rgba(0, 0, 0, .1) 100%);
}
.cta-banner__content {
  max-width: 34rem;
}
.cta-banner__content .section-content {
  margin-top: 1.25rem;
}
.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  margin-top: 2.25rem;
}

/* ==========================================================================
   === Site Footer ===  (template-parts/site-footer.php)
   ========================================================================== */
.site-footer {
  background: var(--color-background);
  border-top: 1px solid var(--color-border);
  padding-top: 4.5rem;
  font-size: .875rem;
  color: var(--color-text-muted);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem;
}
.site-footer__logo {
  width: 7.5rem;
  height: auto;
}
.site-footer__brand p {
  margin-top: 1.25rem;
  max-width: 17rem;
  line-height: 1.7;
}
.site-footer__title {
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
  font-size: .95rem;
  font-weight: 600;
  color: var(--color-heading);
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer__links li + li {
  margin-top: .7rem;
}
.site-footer a {
  color: var(--color-text-muted);
  transition: color .2s;
}
.site-footer a:hover {
  color: var(--color-primary);
}
.site-footer__contact li {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.site-footer__contact li + li {
  margin-top: 1rem;
}
.site-footer__contact i {
  width: 1rem;
  text-align: center;
  color: var(--color-primary);
}
.site-footer__social {
  display: flex;
  gap: .75rem;
  margin-top: 1.75rem !important;
}
.site-footer__social a {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 1.1rem;
  color: var(--color-heading);
}
.site-footer__social a:hover {
  border-color: var(--color-primary);
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 3.5rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--color-border);
  font-size: .8125rem;
}
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 0;
}
.site-footer__legal li + li::before {
  content: "|";
  margin-inline: .9rem;
  color: var(--color-border);
}

/* ==========================================================================
   === Image Slider ===  (text + button on a dark band, photo slider overlapping into a light band;
   e.g. template-parts/home/cities-slider.php). Swiper, options in the data-swiper attribute.
   ========================================================================== */
.image-slider {
  background: var(--color-light-background);
  padding-bottom: 5rem;
}
.image-slider__band {
  background: var(--color-background);
  padding-block: 5rem 9rem;
}
.image-slider__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.image-slider__header .section-heading {
  max-width: 52rem;
}
/* Text below the heading. */
.image-slider__intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}
.image-slider__intro .section-content {
  max-width: 52rem;
}
/* Photos sit over the bottom of the dark band. */
.image-slider__stage {
  position: relative;
  margin-top: -6rem;
}
.image-slider__swiper {
  overflow: hidden;
}
.image-slider .swiper-wrapper {
  list-style: none;
  margin: 0;
  padding: 0;
}
.image-card {
  position: relative;
  overflow: hidden;
}
.image-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .6s ease;
}
.image-card:hover .image-card__img {
  transform: scale(1.04);
}
/* City name on a soft dark fade at the bottom of the photo. */
.image-card__caption {
  position: absolute;
  inset: auto 0 0;
  margin: 0;
  padding: 3rem 1.25rem 1.25rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, .75) 0%, rgba(0, 0, 0, 0) 100%);
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
}
.image-slider__arrow {
  display: none;
}

/* ==========================================================================
   === FAQ ===  (questions in 2 columns, click to open; e.g. template-parts/home/faq.php)
   Native <details>/<summary>: no JavaScript, works with keyboard and screen readers.
   ========================================================================== */
.faq__columns {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 3rem;
  margin-top: 2.75rem;
}
.faq__item {
  border-bottom: 1px solid var(--color-border);
}
.section--light .faq__item {
  border-bottom-color: rgba(23, 23, 23, .2);
}
.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.6rem;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-heading);
}
.section--light .faq__question {
  color: var(--color-dark-text);
}
.faq__question::-webkit-details-marker {
  display: none;
}
.faq__question:hover,
.faq__question:focus-visible {
  color: var(--color-primary-hover);
}
.faq__icon {
  flex-shrink: 0;
  font-size: .9rem;
  color: var(--color-primary-hover);
  transition: rotate .25s ease;
}
.faq__item[open] .faq__icon {
  rotate: 180deg;
}
.faq__answer {
  padding-bottom: 1.6rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
}
.section--light .faq__answer {
  color: rgba(23, 23, 23, .75);
}

/* ==========================================================================
   === Anchors ===  Smooth scroll to #sections; the offset keeps the sticky header off the section title.
   ========================================================================== */
html {
  scroll-behavior: smooth;
}
[id] {
  scroll-margin-top: 6rem;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   === Jump Nav ===  ("Aller à :" bar with links to sections of the page; template-parts/jump-nav.php)
   ========================================================================== */
.jump-nav {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}
.jump-nav__inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  overflow-x: auto;
  padding-block: 1.4rem;
  scrollbar-width: none;
}
.jump-nav__label {
  flex-shrink: 0;
  font-family: var(--font-ui);
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.jump-nav__list {
  display: flex;
  flex: 1;
  justify-content: space-between;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.jump-nav__list a {
  position: relative;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-heading);
}
/* Gold underline grows on hover. */
.jump-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.4rem;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.jump-nav__list a:hover {
  color: var(--color-primary);
}
.jump-nav__list a:hover::after,
.jump-nav__list a:focus-visible::after {
  transform: scaleX(1);
}

/* ==========================================================================
   === Split Statement ===  (dark half: eyebrow + bold statement / light half: paragraph)
   ========================================================================== */
.split-statement {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 4px solid var(--color-primary);
}
.split-statement__dark {
  background: var(--color-background);
}
.split-statement__light {
  background: var(--color-light-background);
  color: rgba(23, 23, 23, .8);
  font-size: 1.125rem;
  line-height: 1.8;
}
.split-statement__inner {
  padding: 4rem 1.25rem;
}
.split-statement__title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-heading);
}

/* ==========================================================================
   === Key Stats ===  (1–4 big numbers; the layout adapts to the count; template-parts/key-stats.php)
   ========================================================================== */
.key-stats__title {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-dark-text);
}
/* Thin gold lines on both sides of the title. */
.key-stats__title::before,
.key-stats__title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(212, 169, 78, .5);
}
.key-stats__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 2rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  text-align: center;
}
.key-stats__value {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--color-primary-hover);
  font-variant-numeric: tabular-nums;
}
.key-stats__text {
  max-width: 17rem;
  margin: 1.25rem auto 0;
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(23, 23, 23, .75);
}

/* ==========================================================================
   === Pricing ===  (price cards: image + "à partir de" badge, hour/price table, book button)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(23, 23, 23, .08);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(23, 23, 23, .06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow: 0 24px 50px rgba(23, 23, 23, .12);
}
.pricing-card__media {
  position: relative;
  overflow: hidden;
}
.pricing-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s ease;
}
.pricing-card:hover .pricing-card__img {
  transform: scale(1.05);
}
.pricing-card__badge {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  padding: .45rem .8rem;
  background: rgba(0, 0, 0, .78);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: .75rem;
  color: #fff;
  backdrop-filter: blur(4px);
}
.pricing-card__badge strong {
  color: var(--color-primary);
}
.pricing-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}
.pricing-card__table {
  width: 100%;
  margin: 1rem 0 1.5rem;
  border-collapse: collapse;
  font-size: .95rem;
}
.pricing-card__table th,
.pricing-card__table td {
  padding: .6rem 0;
  border-bottom: 1px dashed rgba(23, 23, 23, .12);
}
.pricing-card__table th {
  text-align: left;
  font-weight: 400;
  color: rgba(23, 23, 23, .7);
}
.pricing-card__table td {
  text-align: right;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-dark-text);
}
.pricing-card__btn {
  margin-top: auto;
  justify-content: center;
}
.pricing-note {
  margin-top: 2rem;
  text-align: center;
  font-size: .85rem;
  color: rgba(23, 23, 23, .6);
}

/* ==========================================================================
   === Highlight Cards ===  (2 large cards, e.g. Vision / Mission; interactive)
   A soft gold light follows the mouse (custom.js sets --x/--y), the card lifts and gets a gold border.
   ========================================================================== */
.highlight-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
.highlight-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 26rem;
  padding: 3rem 2rem;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.highlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--x, 80%) var(--y, 20%), rgba(233, 192, 102, .22), transparent 60%);
  opacity: .6;
  transition: opacity .35s ease;
}
.highlight-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.highlight-card:hover::before {
  opacity: 1;
}
.highlight-card--dark {
  background: linear-gradient(135deg, #1c1c1c 0%, #0b0b0b 100%);
}
.highlight-card--light {
  background: linear-gradient(135deg, #FBF7EE 0%, #F1E6CC 100%);
}
.highlight-card__title {
  margin-top: .5rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--color-heading);
}
.highlight-card__title span {
  display: block;
  color: var(--color-primary);
}
.highlight-card--light .highlight-card__title {
  color: var(--color-dark-text);
}
.highlight-card--light .highlight-card__title span {
  color: #A9822F;
}
.highlight-card__text {
  max-width: 32rem;
  margin-top: 1.5rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
}
.highlight-card--light .highlight-card__text {
  color: rgba(23, 23, 23, .78);
}
.highlight-card__btn {
  align-self: flex-start;
  margin-top: auto;
  border-radius: 999px;
}
.highlight-card__text + .highlight-card__btn {
  margin-top: 2.5rem;
}
.highlight-card--light .highlight-card__btn {
  background: var(--color-dark-text);
  color: #fff;
}
.highlight-card--light .highlight-card__btn:hover {
  background: #000;
}
.highlight-card .highlight-card__btn i {
  transition: transform .25s ease;
}
.highlight-card .highlight-card__btn:hover i {
  transform: translateX(4px);
}

/* ==========================================================================
   === Hero Slider ===  (background photos slide; the text block stays fixed on top;
   options: left / centered, with or without overlay, 0–2 buttons; template-parts/hero-slider.php)
   ========================================================================== */
.hero-slider {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 148vh;
  overflow: hidden;
  background: var(--color-background);
}
.hero-slider__swiper {
  position: absolute !important;
  inset: 0;
  z-index: -2;
}
.hero-slider__swiper .swiper-wrapper,
.hero-slider__slide {
  height: 100%;
}
.hero-slider__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
/* Slow zoom-out while a photo is shown. */
.swiper-slide-active .hero-slider__img {
  transform: scale(1);
}
.hero-slider__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .45) 55%, rgba(0, 0, 0, .2) 100%);
  pointer-events: none;
}
.hero-slider--center .hero-slider__overlay {
  background: rgba(0, 0, 0, .55);
}
.hero-slider--no-overlay .hero-slider__overlay {
  display: none;
}
.hero-slider__layer {
  position: relative;
  width: 100%;
}
.hero-slider__content {
  max-width: 40rem;
  padding-block: 5rem;
}
.hero-slider--center .hero-slider__content {
  margin-inline: auto;
  text-align: center;
}
/* No overlay: the text sits on a dark glass panel so it stays readable. */
.hero-slider--no-overlay .hero-slider__content {
  margin-block: 5rem;
  padding: 2.5rem;
  background: rgba(0, 0, 0, .62);
  border-left: 3px solid var(--color-primary);
  backdrop-filter: blur(8px);
}
.hero-slider__title {
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
}
.hero-slider__text {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text);
}
.hero-slider__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 2.25rem;
}
.hero-slider--center .hero-slider__actions {
  justify-content: center;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider__img { transition: none; transform: none; }
}
.hero-slider__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  display: none;
  width: 3.25rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  background: rgba(0, 0, 0, .3);
  color: #fff;
  cursor: pointer;
  translate: 0 -50%;
  transition: background .2s, border-color .2s;
}
.hero-slider__arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-background);
}
.hero-slider__arrow--prev { left: 1.5rem; }
.hero-slider__arrow--next { right: 1.5rem; }
/* Dots: short gold bars, the active one longer. */
.hero-slider__pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8.75rem !important;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: .5rem;
}
.hero-slider__pagination .swiper-pagination-bullet {
  width: 0.75rem;
  height: 0.75rem;
  margin: 0 !important;
  border-radius: 45px;
  background: rgba(255, 255, 255, .5);
  opacity: 1;
  transition: width .3s, background .3s;
}
.hero-slider__pagination .swiper-pagination-bullet-active {
  /* width: 3rem; */
  background: var(--color-primary);
}

/* ==========================================================================
   === Tile Grid ===  (photo tiles with a name on a dark fade; first tile can be .tile--large;
   e.g. template-parts/home/destinations.php)
   ========================================================================== */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.tile {
  position: relative;
  overflow: hidden;
  min-height: 11rem;
  border-radius: 6px;
  background: var(--color-surface);
}
.tile--large {
  grid-column: 1 / -1;
  min-height: 20rem;
}
.tile__link {
  position: absolute;
  inset: 0;
  display: block;
}
.tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.tile:hover .tile__img {
  transform: scale(1.06);
}
.tile__caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .75rem;
  padding: 3.5rem 1.25rem 1.1rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, 0) 100%);
}
.tile__name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
}
.tile--large .tile__name {
  font-size: 2rem;
  color: var(--color-primary);
}
.tile__note {
  width: 100%;
  font-size: .8rem;
  letter-spacing: .05em;
  color: var(--color-text-muted);
}
.tile__arrow {
  margin-left: auto;
  color: var(--color-primary);
  transition: transform .25s ease;
}
.tile:hover .tile__arrow {
  transform: translateX(4px);
}

/* ==========================================================================
   === Panel ===  (rounded tinted box inside a section, holds an intro + cards)
   ========================================================================== */
.panel {
  padding: 3.5rem 1.25rem;
  border-radius: 20px;
  background: linear-gradient(180deg, #F1E8D4 0%, #EFE4CC 100%);
}

/* ==========================================================================
   === Feature Cards ===  (white cards: outline icon, uppercase gold title, text; 1 / 2 / 3 per row)
   ========================================================================== */
.feature-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-card {
  padding: 2.25rem 2rem;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(23, 23, 23, .04);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 169, 78, .5);
  box-shadow: 0 20px 40px rgba(23, 23, 23, .08);
}
.feature-card__icon {
  display: inline-flex;
  width: 3.25rem;
  height: 3.25rem;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(212, 169, 78, .6);
  border-radius: 999px;
  font-size: 1.25rem;
  color: #A9822F;
  transition: background .3s ease, color .3s ease;
}
.feature-card:hover .feature-card__icon {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-dark-text);
}
.feature-card__title {
  margin-top: 1.75rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #A9822F;
}
.feature-card__text {
  margin-top: .9rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(23, 23, 23, .78);
}

/* ==========================================================================
   === Page Banner ===  (top banner of inner pages: photo + overlay + eyebrow, H1, short text)
   ========================================================================== */
.page-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 6rem 5rem;
}
.page-banner__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}
.page-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .6) 50%, rgba(0, 0, 0, .25) 100%);
}

/* ==========================================================================
   === Contact List ===  (icon circle + small label + value; contact page)
   ========================================================================== */
.contact-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  list-style: none;
  padding: 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.contact-list__icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--color-dark-text);
  color: var(--color-primary);
}
.contact-list__label {
  margin: 0 0 .15rem;
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #A9822F;
}
.contact-list a,
.contact-list span:not(.contact-list__icon) {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--color-dark-text);
}
.contact-list a:hover {
  color: #A9822F;
}

/* ==========================================================================
   === Form Card ===  (white card holding a form)
   ========================================================================== */
.form-card {
  padding: 2.25rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(23, 23, 23, .08);
  border-top: 3px solid var(--color-primary);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(23, 23, 23, .08);
}
.form-card__title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-dark-text);
}
.form-card__intro {
  margin: .6rem 0 1.75rem;
  color: rgba(23, 23, 23, .7);
}

/* ==========================================================================
   === Fluent Form ===  (any Fluent Forms form inside .form-card, styled to the theme)
   ========================================================================== */
.form-card .fluentform .ff-el-group {
  margin-bottom: 1.25rem;
}
.form-card .fluentform .ff-el-input--label label {
  font-family: var(--font-ui);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-dark-text);
}
.form-card .fluentform .ff-el-input--label.ff-el-is-required.asterisk-right label::after {
  color: #A9822F;
}
.form-card .fluentform .ff-el-form-control {
  height: auto;
  min-height: 3.25rem;
  padding: .85rem 1rem;
  border: 1px solid rgba(23, 23, 23, .15);
  border-radius: 6px;
  background: #FAF8F3;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-dark-text);
  box-shadow: none;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.form-card .fluentform .ff-el-form-control::placeholder {
  color: rgba(23, 23, 23, .45);
}
.form-card .fluentform .ff-el-form-control:focus {
  border-color: var(--color-primary-hover);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(233, 192, 102, .25);
  outline: none;
}
.form-card .fluentform textarea.ff-el-form-control {
  min-height: 8rem;
}
.form-card .fluentform .ff-btn-submit,
.form-card .fluentform .ff-btn-submit:hover {
  width: 100%;
  padding: 1.05rem 2rem;
  border: 0;
  border-radius: 6px;
  background: var(--color-primary) !important;
  color: var(--color-background) !important;
  font-family: var(--font-ui);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  opacity: 1;
  transition: background .2s;
}
.form-card .fluentform .ff-btn-submit:hover {
  background: var(--color-primary-hover) !important;
}
.form-card .fluentform .error,
.form-card .fluentform .text-danger {
  font-size: .8rem;
  color: #B42318;
}
.form-card .ff-message-success {
  border: 1px solid rgba(212, 169, 78, .5);
  border-radius: 6px;
  background: #FBF7EE;
  color: var(--color-dark-text);
}

/* ==========================================================================
   === Breadcrumb ===
   ========================================================================== */
.breadcrumb {
  margin-bottom: 1.5rem;
  font-size: .85rem;
  color: var(--color-text-muted);
}
.breadcrumb a {
  color: var(--color-text);
}
.breadcrumb a:hover {
  color: var(--color-primary);
}
.breadcrumb span[aria-hidden] {
  margin-inline: .5rem;
  opacity: .5;
}

/* ==========================================================================
   === Package Grid / Package Card ===  (/packages/ list)
   ========================================================================== */
.package-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.package-card {
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(23, 23, 23, .08);
  box-shadow: 0 10px 30px rgba(23, 23, 23, .06);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.package-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-primary);
  box-shadow: 0 24px 50px rgba(23, 23, 23, .12);
}
.package-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
}
.package-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.package-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.75rem;
}
.package-card__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-dark-text);
}
.package-card__text {
  margin-top: .75rem;
  color: rgba(23, 23, 23, .72);
  line-height: 1.65;
}
.package-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.5rem;
  color: rgba(23, 23, 23, .7);
  font-size: .9rem;
}
.package-card__footer strong {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-dark-text);
}
.package-card .link-arrow {
  color: var(--color-dark-text);
}

/* === Package single === */
.package-headline {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 600;
  margin-top: 1rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 2rem;
}
.package-rate {
  padding: .6rem 1.1rem;
  border: 1px solid var(--color-primary);
  border-radius: 999px;
  font-family: var(--font-ui);
  font-weight: 600;
  color: var(--color-primary);
}
.package-price {
  margin: 1.25rem 0;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark-text);
}
.section--surface .pricing-card {
  background: #1b1b1b;
  border-color: var(--color-border);
}
.section--surface .pricing-card .card-title,
.section--surface .package-price,
.section--surface .pricing-card__table td {
  color: var(--color-heading);
}
.section--surface .pricing-card__table th,
.section--surface .pricing-card .card-description {
  color: var(--color-text-muted);
}
.section--surface .pricing-card__table :is(th, td) {
  border-bottom-color: var(--color-border);
}
.pricing-note--dark {
  color: var(--color-text-muted);
}

/* === Steps (numbered gold circles) === */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  list-style: none;
  counter-reset: step;
  margin: 0;
  padding: 0;
}
.steps__item {
  counter-increment: step;
  padding: 2rem;
  border: 1px solid var(--color-border);
  border-radius: 12px;
}
.steps__item::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 1.25rem;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

/* === Aside card ("Idéal pour") === */
.aside-card {
  padding: 2.25rem;
  border-radius: 12px;
  background: var(--color-dark-text);
  color: var(--color-text);
}
.aside-card__title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
}
.aside-card__list {
  margin-top: 1.25rem;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
  line-height: 1.6;
}
.aside-card__list i {
  margin-right: .5rem;
  color: var(--color-primary);
}

/* === Booking panel (plugin booking form on dark sections) === */
.booking-panel .taxi-booking-wrapper {
  max-width: none;
}
.booking-panel--info {
  padding: 2.5rem;
  border: 1px solid rgba(233, 192, 102, .45);
  border-radius: 8px;
  background: var(--color-surface);
}
.booking-panel--info p {
  margin-bottom: 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* ==========================================================================
   === Header: dropdown menu ===  (menu items with children; opens on hover / keyboard focus on desktop,
   shown indented under the parent in the mobile menu)
   ========================================================================== */
#primary-menu .menu-item-has-children > a::after {
  content: "\f078";
  margin-left: .45rem;
  font-family: "Font Awesome 7 Free", "Font Awesome 6 Free";
  font-weight: 900;
  font-size: .6rem;
  vertical-align: middle;
}
#primary-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: .25rem 0 .5rem 1rem;
}
#primary-menu .sub-menu a {
  padding-block: .55rem !important;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: none;
}

/* === Booking section on a light background (e.g. package page "Réservation") === */
.section--light .section-content a {
  color: #A9822F;
  font-weight: 600;
}
.section--light .booking-panel--info p {
  color: var(--color-text);
}

/* === Package booking form: when "Type de réservation" is fixed (hidden input), the car field takes the full row.
   Solid black card so it stands out on a light section. === */
.taxi-booking-wrapper .taxi-grid-2:has(> input#taxi-service-type) {
  grid-template-columns: 1fr !important;
}
.booking-panel .taxi-booking-wrapper .taxi-booking-card {
  background: #0b0b0b !important;
  backdrop-filter: none;
}

/* ==========================================================================
   === Header: actions + language switcher (GTranslate "dropdown with flags") ===
   ========================================================================== */
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.lang-switcher {
  position: relative;
  font-family: var(--font-ui);
  font-size: .8rem;
}
/* Same look as the "Réserver" outline button: Montserrat, small caps, gold border, same height.
   Higher specificity than GTranslate's inline styles (.gt_container-xxx .gt_switcher …). */
.lang-switcher .gtranslate_wrapper .gt_switcher {
  position: relative;
  width: auto;
  overflow: visible;
  font-family: var(--font-ui);
  font-size: .75rem;
  line-height: 1;
}
.lang-switcher .gtranslate_wrapper .gt_switcher a {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.lang-switcher .gtranslate_wrapper .gt_switcher a img {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  object-fit: cover;
  opacity: 1;
}
.lang-switcher .gtranslate_wrapper .gt_switcher .gt_selected {
  background: transparent;
}
.lang-switcher .gtranslate_wrapper .gt_switcher .gt_selected a {
  width: auto;
  min-width: 8.5rem;
  padding: 1rem 2.6rem 1rem 1.1rem;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  transition: background .2s, color .2s;
}
.lang-switcher .gtranslate_wrapper .gt_switcher .gt_selected a:hover {
  background: var(--color-primary);
  color: var(--color-background);
}
.lang-switcher .gtranslate_wrapper .gt_switcher .gt_selected a::after {
  top: 50%;
  right: 1rem;
  height: 12px;
  width: 12px;
  margin-top: -6px;
}
/* Open list drops over the page instead of pushing the header down. */
.lang-switcher .gtranslate_wrapper .gt_switcher .gt_option {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  width: auto;
  border-color: var(--color-border);
  border-top: 2px solid var(--color-primary);
  box-shadow: 0 16px 30px rgba(0, 0, 0, .45);
}
.lang-switcher .gtranslate_wrapper .gt_switcher .gt_option a {
  padding: .85rem 1.1rem;
  color: var(--color-text);
}
.lang-switcher .gtranslate_wrapper .gt_switcher .gt_option a:hover {
  color: var(--color-primary);
}
/* GTranslate floating widget is off; hide it if any cached markup remains. */
#gt_float_wrapper {
  display: none !important;
}

/* ==========================================================================
   === Fact Bar ===  (gold strip of short facts under a page banner; e.g. service pages)
   ========================================================================== */
.fact-bar {
  background: var(--color-primary);
  color: var(--color-dark-text);
}
.fact-bar__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 1.4rem 0;
}
.fact-bar__item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
}
.fact-bar__item i {
  font-size: 1.2rem;
}
.fact-bar__item strong {
  font-family: var(--font-heading);
}

/* ==========================================================================
   === Service page ===  (template-parts/service-page.php)
   ========================================================================== */
.service-body__content h2:first-child {
  margin-top: 0;
}
.note-box {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-left: 3px solid var(--color-primary);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 23, 23, .05);
}
.note-box i {
  margin-top: .25rem;
  color: #A9822F;
}
.note-box p {
  margin: 0 !important;
}
.service-sidebar {
  display: grid;
  gap: 1.5rem;
}
.service-sidebar .booking-panel .taxi-booking-wrapper {
  margin: 0;
}
.service-sidebar__contact {
  margin-left: 0 !important;
}
.aside-card__list a {
  color: var(--color-text);
}
.aside-card__list a:hover {
  color: var(--color-primary);
}

/* === Link Cards (icon + title + arrow; e.g. "autres services") === */
.link-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-heading);
  transition: border-color .25s, background .25s;
}
.link-card:hover {
  border-color: var(--color-primary);
  background: var(--color-surface);
}
.link-card__icon {
  width: 1.5rem;
  text-align: center;
  color: var(--color-primary);
}
.link-card__title {
  font-family: var(--font-heading);
  font-weight: 600;
}
.link-card__arrow {
  margin-left: auto;
  color: var(--color-primary);
  transition: transform .25s;
}
.link-card:hover .link-card__arrow {
  transform: translateX(4px);
}
.service-sidebar .booking-panel .taxi-booking-wrapper {
  width: 100%;
  max-width: none !important;
}
/* GTranslate sizes the open list for its own small padding; let it fit our larger items. */
.lang-switcher .gtranslate_wrapper .gt_switcher .gt_option {
  height: auto !important;
  max-height: none;
}

/* ==========================================================================
   === Site Header ===  Sticky black bar on every page.
   Home: transparent and over the hero, turns black once the page scrolls (custom.js adds .is-scrolled).
   ========================================================================== */
.site-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 40;
  background: rgba(0, 0, 0, .92);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.home .site-header {
  position: fixed;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
}
.home .site-header.is-scrolled {
  background: #000;
  border-bottom-color: var(--color-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
/* Room for the header that now sits over the hero. */
.home .hero {
  padding-top: calc(4rem + 5.5rem);
}

/* Language switcher: flag + small arrow only (no border, no language name) on the closed button.
   The open list keeps the names so visitors know what they pick. */
.lang-switcher .gtranslate_wrapper .gt_switcher .gt_selected a {
  min-width: 0;
  gap: 0;
  padding: .6rem 1.6rem .6rem .4rem;
  border: 0;
  font-size: 0;
  background: transparent;
}
.lang-switcher .gtranslate_wrapper .gt_switcher .gt_selected a:hover {
  background: transparent;
  opacity: .85;
}
.lang-switcher .gtranslate_wrapper .gt_switcher .gt_selected a img {
  width: 22px;
  height: 22px;
}
.lang-switcher .gtranslate_wrapper .gt_switcher .gt_selected a::after {
  right: .2rem;
  width: 10px;
  height: 10px;
  margin-top: -5px;
}
.lang-switcher .gtranslate_wrapper .gt_switcher .gt_option {
  left: auto;
  min-width: 10rem;
}

/* === Site Header: menu sits on the right, close to the "Réserver" button (logo stays left) === */
@media (min-width: 768px) {
  .site-header #primary-menu {
    margin-left: auto;
    margin-right: 1.75rem;
  }
  .site-header .container {
    justify-content: flex-start;
  }
}

/* ==========================================================================
   === Hero (page variant, ACF "Hero Section") ===  centered / left, with or without overlay
   ========================================================================== */
.hero__single {
  width: 100%;
  max-width: 46rem;
  padding-inline: .75rem;
}
.hero--center .row {
  justify-content: center;
}
.hero--center .hero__single {
  text-align: center;
}
.hero--center .hero-content {
  margin-inline: auto;
}
.hero--center .hero__actions {
  justify-content: center;
}
.hero--no-overlay .hero__overlay {
  display: none;
}
.hero--no-overlay .content {
  /* padding: 2.5rem; */
  /* background: rgb(0 0 0 / 44%); */
  /* border-left: 3px solid var(--color-primary); */
  /* backdrop-filter: blur(8px); */
}

/* Buttons row under section text (ACF sections). */
.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: 2.25rem;
}

/* === Cookie Banner (Complianz) === */
/* While the banner is open, hide the WhatsApp bubble so it never covers the banner buttons. */
body:has(.cmplz-cookiebanner.cmplz-show) .qlwapp {
  display: none !important;
}

/* ==========================================================================
   === Legal Pages ===  mentions légales, confidentialité, CGV, cookies
   ========================================================================== */
.page-banner--legal {
  background: radial-gradient(120% 140% at 0% 0%, #2a2216 0%, #0b0b0b 55%, #000 100%);
}
.page-banner--legal .page-banner__overlay {
  background: linear-gradient(90deg, rgba(233, 192, 102, .08), transparent 60%);
}
.page-banner--legal .hero-content {
  max-width: 46rem;
}
.page-banner__meta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-top: 1.75rem;
  padding: .55rem 1rem;
  border: 1px solid rgba(233, 192, 102, .35);
  border-radius: 999px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .8);
}
.page-banner__meta i {
  color: var(--color-primary);
}
.legal__layout {
  display: grid;
  gap: 2rem;
}
.legal__box {
  padding: 1.75rem;
  background: #fff;
  border: 1px solid #ece5d8;
  border-radius: 10px;
}
.legal__box + .legal__box {
  margin-top: 1.25rem;
}
.legal__box-title {
  margin-bottom: 1rem;
  font-family: var(--font-ui);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #9a7429;
}
.legal__toc {
  counter-reset: toc;
  display: grid;
  gap: .25rem;
}
.legal__toc li {
  counter-increment: toc;
}
.legal__toc a {
  display: flex;
  gap: .75rem;
  padding: .45rem 0;
  font-size: .95rem;
  color: #3d3d3d;
  transition: color .2s;
}
.legal__toc a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-ui);
  font-size: .8rem;
  font-weight: 600;
  color: var(--color-primary-hover);
  padding-top: .1rem;
}
.legal__toc a:hover {
  color: #171717;
}
.legal__docs {
  display: grid;
}
.legal__docs a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0;
  border-bottom: 1px solid #f0ebe1;
  font-size: .95rem;
  color: #3d3d3d;
  transition: color .2s;
}
.legal__docs li:last-child a {
  border-bottom: 0;
}
.legal__docs a i {
  font-size: .75rem;
  color: var(--color-primary-hover);
  transition: translate .2s;
}
.legal__docs a:hover,
.legal__docs a[aria-current="page"] {
  color: #171717;
  font-weight: 600;
}
.legal__docs a:hover i {
  translate: 3px 0;
}
.legal__card {
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid #ece5d8;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(23, 23, 23, .05);
}
.legal__card .free-content h2 {
  scroll-margin-top: 7rem;
  padding-top: 2.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid #f0ebe1;
}
.legal__card .free-content h2:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}
.legal__card .free-content a {
  color: #9a7429;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal__contact {
  margin-top: 3rem;
  padding: 1.5rem;
  background: #F8F5EF;
  border-left: 3px solid var(--color-primary);
  border-radius: 6px;
}
.legal__contact-title {
  margin-bottom: .6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: #171717;
}
.legal__contact p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.75rem;
}
.legal__contact a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #3d3d3d;
}
.legal__contact a i {
  color: var(--color-primary-hover);
}

/* Complianz document (cookie policy) inside the legal card: same text size and colours as the other legal pages. */
.legal__card #cmplz-document :is(p, li, summary, .cmplz-subtitle) {
  font-size: 1rem;
  line-height: 1.75;
}
.legal__card #cmplz-document,
.legal__card #cmplz-manage-consent-container,
.legal__card #cmplz-manage-consent-container-nojavascript {
  max-width: none;
  color: #3d3d3d;
}

/* === Card link === */
/* A card whose title is a link: the whole card is clickable (stretched link), title turns gold on hover. */
.card:has(.card__link) {
  position: relative;
  transition: background-color .2s ease;
}
.card__link::after {
  content: "";
  position: absolute;
  inset: 0;
}
.card:has(.card__link):hover {
  background-color: rgba(233, 192, 102, .06);
}
.card:has(.card__link):hover .card__link,
.card__link:focus-visible {
  color: var(--color-primary);
}

/* === Split Statement: paragraphs === */
.split-statement__inner p + p {
  margin-top: 1rem;
}

/* ==========================================================================
   === Booking Wizard ===  (Reservation page: how it works + 4-step booking + summary)
   The Taxi Booking plugin form is restyled light here; the plugin's own CSS is dark and uses !important.
   ========================================================================== */
.booking-howto {
  display: grid;
  gap: 1.25rem;
  margin: 3rem 0 3.5rem;
  list-style: none;
  counter-reset: none;
}
.booking-howto__item {
  position: relative;
  padding: 1.75rem 1.5rem;
  background: #fff;
  border: 1px solid #ece5d8;
  border-radius: 10px;
}
.booking-howto__num {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(233, 192, 102, .35);
}
.booking-howto__icon {
  display: inline-flex;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.1rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--color-primary);
  color: #171717;
  font-size: 1.1rem;
}
.booking-howto .card-title { color: #171717; }
.booking-howto .card-description { margin-top: .4rem; color: #555; }

.booking-wizard__layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}
.booking-wizard__main {
  scroll-margin-top: 6.5rem;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #ece5d8;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(23, 23, 23, .05);
}
/* Before the script splits the form, keep the page tidy. */
.booking-wizard:not(.is-ready) .booking-wizard__main [data-step-panel="1"] ~ * { display: none; }

/* Step bar */
.booking-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .5rem;
  margin-bottom: 2rem;
  list-style: none;
}
.booking-steps__item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding-bottom: .9rem;
  border-bottom: 3px solid #ece5d8;
  font-family: var(--font-ui);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9a9a9a;
}
.booking-steps__item span {
  display: inline-flex;
  width: 1.9rem;
  height: 1.9rem;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  font-size: .8rem;
  letter-spacing: 0;
}
.booking-steps__item.is-active { color: #171717; border-bottom-color: var(--color-primary); }
.booking-steps__item.is-active span { background: var(--color-primary); border-color: var(--color-primary); }
.booking-steps__item.is-done { color: #9a7429; border-bottom-color: rgba(233, 192, 102, .6); cursor: pointer; }
.booking-step-title {
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: #171717;
}

/* Step 1: car cards */
.car-choice {
  display: grid;
  gap: 1.25rem;
  list-style: none;
}
.car-choice__card {
  overflow: hidden;
  border: 1.5px solid #ece5d8;
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.car-choice__card.is-selected {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(233, 192, 102, .25);
}
.car-choice__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.car-choice__body { padding: 1.25rem; }
.car-choice__body .card-title { color: #171717; }
.car-choice__meta {
  display: flex;
  gap: 1.25rem;
  margin-top: .6rem;
  list-style: none;
  font-size: .85rem;
  color: #666;
}
.car-choice__meta i { color: #9a7429; }
.car-choice__from { margin-top: .9rem; font-size: .9rem; color: #555; }
.car-choice__from strong { font-size: 1.25rem; color: #171717; }
.car-choice__rates { margin-top: .25rem; font-size: .8rem; color: #888; }
.car-choice__btn { margin-top: 1.1rem; width: 100%; justify-content: center; }
.car-choice__card.is-selected .car-choice__btn {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #171717;
}
.car-choice__btn i { display: none; }
.car-choice__card.is-selected .car-choice__btn i { display: inline-block; }
.booking-note { margin-top: 1.25rem; font-size: .85rem; color: #777; }

/* Step navigation */
.booking-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0ebe1;
}
.booking-nav__next { margin-left: auto; }
.booking-nav__prev { color: #171717; }
.booking-nav:has(> [hidden]:first-child):has(> [hidden]:last-child) { display: none; }
.booking-wizard.is-booked .booking-nav { display: none; }

/* Sidebar */
.booking-wizard__aside > div + div { margin-top: 1.25rem; }
.booking-summary,
.booking-info,
.booking-help {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #ece5d8;
  border-radius: 10px;
}
.booking-summary { background: #171717; border-color: #171717; color: #fff; }
.booking-summary__title {
  margin-bottom: 1rem;
  font-family: var(--font-ui);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.booking-info .booking-summary__title,
.booking-help .booking-summary__title { color: #9a7429; }
.booking-summary__list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: .88rem;
}
.booking-summary__list dt { color: rgba(255, 255, 255, .6); }
.booking-summary__list dd { text-align: right; overflow-wrap: anywhere; }
.booking-summary__total {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-family: var(--font-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .8rem;
}
.booking-summary__total strong { font-size: 1.4rem; letter-spacing: 0; color: var(--color-primary); }
.booking-info ul { display: grid; gap: .65rem; list-style: none; font-size: .9rem; color: #444; }
.booking-info i { margin-right: .4rem; color: #9a7429; }
.booking-help a { display: flex; align-items: center; gap: .6rem; padding: .35rem 0; color: #171717; font-size: .95rem; }
.booking-help i { width: 1.1rem; color: #9a7429; }

/* Plugin form, light version */
.booking-wizard .taxi-booking-wrapper { margin: 0 !important; max-width: none !important; }
.booking-wizard .taxi-booking-wrapper .taxi-booking-card {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}
.booking-wizard .taxi-booking-wrapper .taxi-header { display: none !important; }
.booking-wizard .taxi-booking-wrapper .taxi-form { padding: 0 !important; background: none !important; }
.booking-wizard .taxi-booking-wrapper .taxi-label { color: #555 !important; }
.booking-wizard .taxi-booking-wrapper .taxi-input,
.booking-wizard .taxi-booking-wrapper .taxi-select,
.booking-wizard .taxi-booking-wrapper input[type="text"],
.booking-wizard .taxi-booking-wrapper input[type="email"],
.booking-wizard .taxi-booking-wrapper input[type="tel"],
.booking-wizard .taxi-booking-wrapper input[type="datetime-local"],
.booking-wizard .taxi-booking-wrapper select,
.booking-wizard .taxi-booking-wrapper textarea {
  background-color: #fff !important;
  border: 1.5px solid #e2dccf !important;
  color: #171717 !important;
  color-scheme: light;
}
.booking-wizard .taxi-booking-wrapper textarea { height: auto !important; padding-top: 12px !important; }
.booking-wizard .taxi-booking-wrapper .taxi-input::placeholder,
.booking-wizard .taxi-booking-wrapper textarea::placeholder { color: #9a9a9a !important; }
.booking-wizard .taxi-booking-wrapper .taxi-input:focus,
.booking-wizard .taxi-booking-wrapper .taxi-select:focus {
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px rgba(233, 192, 102, .2) !important;
}
.booking-wizard .taxi-booking-wrapper .taxi-select option { background: #fff !important; color: #171717 !important; }
.booking-wizard .taxi-booking-wrapper .taxi-capacity-note { color: #777 !important; }
.booking-wizard .taxi-booking-wrapper .taxi-route-line { border-color: #d8cfbd !important; }
.booking-wizard .taxi-booking-wrapper .taxi-price-result { background: #F8F5EF !important; border-color: #ece5d8 !important; }
.booking-wizard .taxi-booking-wrapper .taxi-price-row { color: #555 !important; border-bottom-color: #ece5d8 !important; }
.booking-wizard .taxi-booking-wrapper .taxi-price-row span:last-child { color: #171717 !important; }
.booking-wizard .taxi-booking-wrapper .taxi-price-total { background: #171717 !important; color: var(--color-primary) !important; }
.booking-wizard .taxi-booking-wrapper .taxi-price-meta { color: #666 !important; border-top-color: #ece5d8 !important; }
.booking-wizard .taxi-booking-wrapper .taxi-section-title { color: #9a7429 !important; border-bottom-color: #ece5d8 !important; }
.booking-wizard .taxi-booking-wrapper .taxi-success h3 { color: #171717 !important; }
.booking-wizard .taxi-booking-wrapper .taxi-success p { color: #555 !important; }
.booking-wizard .taxi-booking-wrapper .taxi-booking-ref { color: #171717 !important; }
/* Buttons and links use display:flex, which would beat the [hidden] attribute. */
.booking-wizard [hidden] { display: none !important; }
/* Step 2: the car select is hidden (cards in step 1), so the service type takes the full row. */
.booking-wizard .taxi-booking-wrapper .taxi-grid-2:has(> [data-field="car_class"][hidden]) { grid-template-columns: 1fr !important; }
