/* =====================================================
   MAROC CAR RENTAL — BASE & TYPOGRAPHIE
   ===================================================== */

:root {
  /* Identité */
  --mcr-primary: #d9232e;
  --mcr-primary-dark: #b51b25;
  --mcr-ink: #171c24;
  --mcr-text: #505966;
  --mcr-background: #f7f8fa;
  --mcr-white: #ffffff;
  --mcr-border: #e4e7ec;

  /* Polices : chargement immédiat, sans dépendance externe */
  --mcr-font: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Échelle responsive */
  --mcr-body-size: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
  --mcr-h1-size: clamp(2.125rem, 1.35rem + 3.3vw, 4.5rem);
  --mcr-h2-size: clamp(1.75rem, 1.2rem + 2vw, 3.125rem);
  --mcr-h3-size: clamp(1.375rem, 1.1rem + 1vw, 2rem);
  --mcr-h4-size: clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem);
  --mcr-h5-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --mcr-h6-size: 1rem;
}

/* Dimensions cohérentes */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;

  background-color: var(--mcr-background);
  color: var(--mcr-text);

  font-family: var(--mcr-font);
  font-size: var(--mcr-body-size);
  font-weight: 400;
  line-height: 1.75;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =====================================================
   TITRES
   ===================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.75em;
  color: var(--mcr-ink);
  font-family: var(--mcr-font);
  font-weight: 700;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h1 {
  font-size: var(--mcr-h1-size);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

h2 {
  font-size: var(--mcr-h2-size);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

h3 {
  font-size: var(--mcr-h3-size);
  line-height: 1.3;
  letter-spacing: -0.025em;
}

h4 {
  font-size: var(--mcr-h4-size);
  line-height: 1.35;
  letter-spacing: -0.015em;
}

h5 {
  font-size: var(--mcr-h5-size);
  line-height: 1.4;
  letter-spacing: -0.01em;
}

h6 {
  font-size: var(--mcr-h6-size);
  line-height: 1.45;
  letter-spacing: 0;
}

/* =====================================================
   PARAGRAPHES
   ===================================================== */

p {
  margin: 0 0 1.25em;
  font-size: inherit;
  line-height: 1.8;
  overflow-wrap: break-word;
  text-wrap: pretty;
}

/* Conserver la couleur du contexte, notamment sur fond sombre */
p strong,
p b {
  color: inherit;
  font-weight: 700;
}

/* Introduction d’une section : classe facultative */
.mcr-lead {
  max-width: 65ch;
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  line-height: 1.7;
}

/* Petit libellé au-dessus d’un titre : classe facultative */
.mcr-eyebrow {
  display: block;
  margin: 0 0 0.875rem;
  color: var(--mcr-primary);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Mot à mettre en valeur dans un titre */
.mcr-accent {
  color: var(--mcr-primary);
}

/* Zone sur fond sombre ou sur une photo */
.mcr-on-dark {
  color: #e5e9ef;
}

.mcr-on-dark :is(h1, h2, h3, h4, h5, h6) {
  color: var(--mcr-white);
}

/* Sélection de texte */
::selection {
  background-color: var(--mcr-primary);
  color: var(--mcr-white);
}

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

@media (max-width: 575.98px) {
  h1 {
    line-height: 1.16;
    letter-spacing: -0.03em;
  }

  h2 {
    line-height: 1.24;
    letter-spacing: -0.025em;
  }

  p {
    line-height: 1.75;
  }

  .mcr-eyebrow {
    letter-spacing: 0.1em;
  }
}

/* Liens */
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease;
}

a:hover,
a:focus-visible,
a:active,
a.active,
a[aria-current="page"] {
  color: var(--mcr-primary, #d9232e);
}

/* Focus visible pour la navigation au clavier */
a:focus-visible {
  outline: 2px solid var(--mcr-primary, #d9232e);
  outline-offset: 4px;
}

/* =====================================================
   MAROC CAR RENTAL — NAVIGATION PREMIUM
   ===================================================== */

.mcr-header {
  --mcr-nav-bg: #101215;
  --mcr-nav-text: #d8dce2;
  --mcr-nav-red: #f0444f;
  --mcr-nav-border: rgba(255, 255, 255, 0.12);

  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--mcr-nav-bg);
  border-bottom: 1px solid var(--mcr-nav-border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

.mcr-header .mcr-navbar {
  margin: 0;
  padding: 0;
  background: transparent;
  font-family: var(
    --mcr-font,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif
  );
}

.mcr-header .mcr-nav-container {
  min-height: 100px;
  gap: 28px;
}

/* Logo */

.mcr-header .mcr-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 12px 0;
  text-decoration: none;
}

.mcr-header .mcr-brand-logo {
  display: block;
  width: clamp(145px, 14vw, 185px);
  height: 72px;
  object-fit: contain;
  object-position: left center;
}

/* Menu */

.mcr-header .mcr-menu {
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
}

.mcr-header .mcr-nav-list {
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mcr-header .navbar-nav .mcr-nav-link {
  position: relative;
  display: block;
  padding: 15px 12px;
  color: var(--mcr-nav-text);
  font-size: 0.925rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}

/* Repère rouge sous le lien */

.mcr-header .mcr-nav-link::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 6px;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--mcr-nav-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.mcr-header .navbar-nav .mcr-nav-link:hover,
.mcr-header .navbar-nav .mcr-nav-link:focus-visible,
.mcr-header .navbar-nav .mcr-nav-link.active,
.mcr-header .navbar-nav .mcr-nav-link[aria-current="page"] {
  color: var(--mcr-nav-red);
}

.mcr-header .mcr-nav-link:hover::after,
.mcr-header .mcr-nav-link:focus-visible::after,
.mcr-header .mcr-nav-link.active::after {
  transform: scaleX(1);
}

/* Langue et devise */

.mcr-header .mcr-nav-tools {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  padding-left: 24px;
  border-left: 1px solid var(--mcr-nav-border);
}

.mcr-header .mcr-language-button,
.mcr-header .mcr-currency {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--mcr-nav-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  color: #f3f4f6;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.mcr-header .mcr-language-button {
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease;
}

.mcr-header .mcr-language-button:hover,
.mcr-header .mcr-language-button[aria-expanded="true"] {
  border-color: rgba(240, 68, 79, 0.6);
  background: rgba(240, 68, 79, 0.09);
}

.mcr-header .mcr-language-chevron {
  transition: transform 180ms ease;
}

.mcr-header
.mcr-language-button[aria-expanded="true"]
.mcr-language-chevron {
  transform: rotate(180deg);
}

.mcr-header .mcr-currency-dot {
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--mcr-nav-red);
}

.mcr-header .mcr-language-menu {
  min-width: 175px;
  margin-top: 12px;
  padding: 6px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.mcr-header .mcr-language-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 7px;
  color: #252b34;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
}

.mcr-header .mcr-language-option:hover,
.mcr-header .mcr-language-option:focus,
.mcr-header .mcr-language-option.is-selected {
  background: #fff0f1;
  color: #b51b25;
}

.mcr-header .mcr-language-code {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* Bouton mobile */

.mcr-header .mcr-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--mcr-nav-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  box-shadow: none;
}

.mcr-header .mcr-toggle-lines {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 18px;
  height: 18px;
}

.mcr-header .mcr-toggle-lines span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mcr-header
.mcr-menu-toggle[aria-expanded="true"]
.mcr-toggle-lines span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mcr-header
.mcr-menu-toggle[aria-expanded="true"]
.mcr-toggle-lines span:nth-child(2) {
  opacity: 0;
}

.mcr-header
.mcr-menu-toggle[aria-expanded="true"]
.mcr-toggle-lines span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Navigation au clavier */

.mcr-header a:focus-visible,
.mcr-header button:focus-visible {
  outline: 2px solid var(--mcr-nav-red);
  outline-offset: 4px;
  border-radius: 6px;
  box-shadow: none;
}

/* Tablettes et mobiles */

@media (max-width: 1199.98px) {
  .mcr-header .mcr-nav-container {
    min-height: 82px;
    column-gap: 16px;
  }

  .mcr-header .mcr-brand-logo {
    width: 155px;
    height: 58px;
  }

  .mcr-header .mcr-menu-toggle {
    display: inline-flex;
  }

  .mcr-header .mcr-menu {
    flex-basis: 100%;
    max-height: calc(100vh - 82px);
    max-height: calc(100dvh - 82px);
    overflow-y: auto;
  }

  .mcr-header .mcr-menu.show,
  .mcr-header .mcr-menu.collapsing {
    border-top: 1px solid var(--mcr-nav-border);
  }

  .mcr-header .mcr-nav-list {
    align-items: stretch;
    gap: 4px;
    padding: 16px 0;
  }

  .mcr-header .navbar-nav .mcr-nav-link {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 1rem;
    white-space: normal;
  }

  .mcr-header .mcr-nav-link::after {
    display: none;
  }

  .mcr-header .navbar-nav .mcr-nav-link:hover,
  .mcr-header .navbar-nav .mcr-nav-link.active {
    background: rgba(240, 68, 79, 0.09);
  }

  .mcr-header .mcr-nav-tools {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 0 22px;
    border-top: 1px solid var(--mcr-nav-border);
    border-left: 0;
  }

  /* Le choix de langue reste dans le flux du menu mobile */
  .mcr-header .mcr-language-menu {
    position: static !important;
    transform: none !important;
    margin-top: 8px;
    box-shadow: none;
  }
}

@media (max-width: 575.98px) {
  .mcr-header .mcr-nav-container {
    padding-right: 20px;
    padding-left: 20px;
  }

  .mcr-header .mcr-brand-logo {
    width: 140px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mcr-header *,
  .mcr-header *::after {
    transition: none !important;
  }
}

/* =====================================================
   MAROC CAR RENTAL — BANNIÈRE & RÉSERVATION
   ===================================================== */

.banner1 {
  --hero-red: #d9232e;
  --hero-red-dark: #b51b25;
  --hero-ink: #171c24;
  --hero-muted: #657080;
  --hero-border: #dce1e8;

  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  padding: clamp(48px, 6vw, 88px) 0;
  background-color: #151b22;

  /* Chemin depuis la racine du site */
  background-image:
    linear-gradient(
      90deg,
      rgba(9, 15, 23, 0.91) 0%,
      rgba(9, 15, 23, 0.76) 48%,
      rgba(9, 15, 23, 0.48) 100%
    ),
    url("/templates/img/bg-mcr.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

/* Conteneur principal */

.banner1 .left-side {
  float: none;
  width: min(1320px, 100%);
  min-width: 0;
  max-width: none;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* =====================================================
   H1 & TEXTE D’INTRODUCTION
   ===================================================== */

.banner1 h1 {
  width: 100%;
  margin: 0 0 22px;
  color: #fff;
  font-family: var(
    --mcr-font,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif
  );
  font-size: clamp(2rem, 1.2rem + 2.8vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.banner1 p {
  width: 100%;
  margin: 0 0 32px;
  color: #e1e6ed;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.75;
  text-wrap: pretty;
}

.banner1 p strong {
  color: #fff;
}

/* =====================================================
   FORMULAIRE
   ===================================================== */

.banner1 form.row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;

  width: 100%;
  margin: 0;
  padding: clamp(22px, 3vw, 34px);

  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 22px;
  background: #fff;
  color: var(--hero-ink);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.22);
}

/* Neutraliser les dimensions et gouttières Bootstrap */
.banner1 form.row > [class*="col-"] {
  width: auto;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
}

.banner1 form.row > .col-12 {
  grid-column: 1 / -1;
}

.banner1 form label {
  display: block;
  margin: 0 0 10px;
  color: #343c48;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.015em;
}

/* Champs */
.banner1 form .form-control,
.banner1 form .form-select {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 14px;

  border: 1px solid var(--hero-border);
  border-radius: 11px;
  background-color: #f7f8fa;
  color: var(--hero-ink);

  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;

  box-shadow: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.banner1 form .form-select {
  padding-right: 38px;
  text-overflow: ellipsis;
}

.banner1 form input[type="datetime-local"] {
  color-scheme: light;
}

.banner1 form input[type="datetime-local"]::-webkit-date-and-time-value {
  min-width: 0;
  text-align: left;
}

.banner1 form input::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.7;
}

.banner1 form .form-control:hover,
.banner1 form .form-select:hover {
  border-color: #aeb7c3;
}

.banner1 form .form-control:focus,
.banner1 form .form-select:focus {
  outline: none;
  border-color: var(--hero-red);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(217, 35, 46, 0.1);
}

/* Ligne du bouton */
.banner1 form.row > .col-12 {
  display: flex;
  justify-content: flex-end;
  padding-top: 18px;
  border-top: 1px solid #edf0f4;
}

/* Bouton rechercher */
.banner1 form .btn.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 200px;
  min-height: 54px;
  margin: 0;
  padding: 14px 28px;

  border: 1px solid var(--hero-red);
  border-radius: 11px;
  background: var(--hero-red);
  color: #fff;

  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;

  box-shadow: 0 8px 20px rgba(217, 35, 46, 0.18);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.banner1 form .btn.btn-primary:hover,
.banner1 form .btn.btn-primary:active {
  border-color: var(--hero-red-dark);
  background: var(--hero-red-dark);
  color: #fff;
  box-shadow: 0 10px 24px rgba(217, 35, 46, 0.25);
}

.banner1 form .btn.btn-primary:focus-visible {
  outline: 3px solid var(--hero-red);
  outline-offset: 4px;
}

/*
 * Message créé par votre JavaScript :
 * remplace le jaune, peu lisible sur le formulaire blanc.
 */
.banner1 form .col-md-3 > div {
  margin-top: 8px;
  color: #b51b25 !important;
  font-size: 0.8125rem;
  line-height: 1.5;
}

/* =====================================================
   CATÉGORIES
   ===================================================== */

/* Conteneur déjà présent dans recherche.php */
.banner1 form + .d-flex {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px !important;
  margin-top: 24px !important;
}

.banner1 a.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;

  width: auto;
  min-width: 0;
  min-height: 104px;
  margin: 0;
  padding: 18px 10px;

  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 14px;
  background: rgba(15, 22, 32, 0.82);
  color: #fff;

  text-align: center;
  text-decoration: none;
  box-shadow: none;

  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.banner1 .category-card i {
  display: block;
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  transition: color 180ms ease;
}

.banner1 .category-card span {
  color: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

.banner1 a.category-card:hover,
.banner1 a.category-card.active {
  border-color: #f0444f;
  background: #fff;
  color: var(--hero-ink);
}

.banner1 a.category-card:hover i,
.banner1 a.category-card.active i {
  color: var(--hero-red);
}

.banner1 a.category-card:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

@media (hover: hover) {
  .banner1 a.category-card:hover {
    transform: translateY(-3px);
  }
}

/* =====================================================
   GARANTIES / INFORMATIONS
   ===================================================== */

.banner1 .hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin: 28px 0 0;
  padding: 0;
}

.banner1 .trust-item {
  display: flex;
  align-items: center;
  gap: 10px;

  min-width: 0;
  margin: 0;
  padding: 0;

  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.banner1 .trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 24px;
  height: 24px;
  flex: 0 0 24px;

  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;

  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1;
}

.banner1 .trust-text {
  min-width: 0;
  color: #edf0f5;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.banner1 .trust-text strong {
  color: inherit;
  font-weight: 500;
}

/* =====================================================
   TABLETTE
   ===================================================== */

@media (max-width: 991.98px) {
  .banner1 {
    padding: 48px 0;
  }

  .banner1 h1 {
    max-width: 25ch;
  }

  .banner1 form.row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .banner1 form + .d-flex {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

@media (max-width: 575.98px) {
  .banner1 {
    padding: 36px 0;
    background-image:
      linear-gradient(
        180deg,
        rgba(9, 15, 23, 0.83),
        rgba(9, 15, 23, 0.94)
      ),
      url("/templates/img/bg.jpg");
    background-position: center top;
  }

  .banner1 .left-side {
    padding-right: 20px;
    padding-left: 20px;
  }

  .banner1 h1 {
    margin-bottom: 16px;
    font-size: clamp(1.875rem, 7.5vw, 2.5rem);
    line-height: 1.16;
    letter-spacing: -0.03em;
  }

  .banner1 p {
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.7;
  }

  .banner1 form.row {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    padding: 20px;
    border-radius: 17px;
  }

  .banner1 form label {
    margin-bottom: 8px;
  }

  .banner1 form .form-control,
  .banner1 form .form-select {
    min-height: 54px;
    font-size: 1rem;
  }

  .banner1 form.row > .col-12 {
    padding-top: 16px;
  }

  .banner1 form .btn.btn-primary {
    width: 100%;
    min-width: 0;
  }

  .banner1 form + .d-flex {
    gap: 10px !important;
    margin-top: 20px !important;
  }

  .banner1 a.category-card {
    min-height: 90px;
    gap: 8px;
    padding: 14px 6px;
    border-radius: 11px;
  }

  .banner1 .category-card i {
    font-size: 1.5rem;
  }

  .banner1 .category-card span {
    font-size: 0.75rem;
  }

  .banner1 .hero-trust-badges {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 24px;
  }
}

/* Respect des préférences d’animation */
@media (prefers-reduced-motion: reduce) {
  .banner1 *,
  .banner1 *::before,
  .banner1 *::after {
    transition: none !important;
  }
}

/* =====================================================
   MAROC CAR RENTAL — CONTENU ACCUEIL
   Styles limités au conteneur .mcr-home
   ===================================================== */

.mcr-home {
  --home-red: #d9232e;
  --home-red-dark: #b51b25;
  --home-ink: #171c24;
  --home-text: #596373;
  --home-border: #e5e8ed;
  --home-soft: #f6f7f9;

  background: #fff;
  color: var(--home-text);
}

/* Espacement général */

.mcr-home > section {
  position: relative;
  padding: clamp(52px, 7vw, 96px) 0 !important;
  border-top: 0 !important;
}

.mcr-home > section > .container {
  width: 100%;
  max-width: 1280px;
  padding-right: clamp(20px, 3vw, 40px);
  padding-left: clamp(20px, 3vw, 40px);
}

.mcr-home .row > * {
  min-width: 0;
}

/* Typographie */

.mcr-home h2,
.mcr-home h3 {
  color: var(--home-ink);
  text-wrap: balance;
}

.mcr-home h2 {
  font-size: clamp(1.75rem, 1.25rem + 1.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.mcr-home h3 {
  font-size: clamp(1.25rem, 1.05rem + 0.65vw, 1.625rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.mcr-home p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.85;
}

.mcr-home .text-muted {
  color: var(--home-text) !important;
}

.mcr-home p strong {
  color: var(--home-ink);
  font-weight: 650;
}

.mcr-home p a {
  color: var(--home-red-dark);
  text-decoration: underline;
  text-decoration-color: rgba(181, 27, 37, 0.3);
  text-underline-offset: 4px;
}

.mcr-home p a:hover {
  text-decoration-color: currentColor;
}

.mcr-home p a strong {
  color: inherit;
}

.mcr-home .text-danger {
  color: var(--home-red) !important;
}

/* Boutons */

.mcr-home .btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  max-width: 100%;
  min-height: 54px;
  padding: 15px 24px;

  border: 1px solid var(--home-red);
  border-radius: 11px;
  background: var(--home-red);
  color: #fff;

  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;

  box-shadow: 0 8px 20px rgba(217, 35, 46, 0.14);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.mcr-home .btn-gold:hover {
  border-color: var(--home-red-dark);
  background: var(--home-red-dark);
  color: #fff;
  box-shadow: 0 12px 26px rgba(217, 35, 46, 0.2);
}

.mcr-home a:focus-visible,
.mcr-home button:focus-visible {
  outline: 3px solid var(--home-red);
  outline-offset: 4px;
}

/* =====================================================
   1. PRÉSENTATION & GALERIE
   ===================================================== */

.mcr-home > section:nth-of-type(1) {
  background: #fff !important;
}

.mcr-home > section:nth-of-type(1) > .container > .row {
  --bs-gutter-x: clamp(28px, 5vw, 72px);
  --bs-gutter-y: 28px;
}

.mcr-home > section:nth-of-type(1) .col-md-6 > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border: 1px solid var(--home-border);
  border-radius: 24px !important;
  box-shadow: 0 20px 50px rgba(23, 28, 36, 0.1) !important;
}

.mcr-home > section:nth-of-type(1) .list-unstyled {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
}

.mcr-home > section:nth-of-type(1) .list-unstyled li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #343e4c;
  font-size: 0.9375rem;
  line-height: 1.65;
}

.mcr-home > section:nth-of-type(1) .list-unstyled i {
  flex-shrink: 0;
  margin-right: 0 !important;
  color: var(--home-red) !important;
}

.mcr-home > section:nth-of-type(1) .mt-5 {
  margin-top: clamp(48px, 6vw, 80px) !important;
}

.mcr-home .custom-card1 {
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--home-border) !important;
  border-radius: 16px !important;
  background: var(--home-soft);
  box-shadow: none !important;
}

.mcr-home .custom-card1 img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform 300ms ease;
}

@media (hover: hover) {
  .mcr-home .custom-card1:hover img {
    transform: scale(1.04);
  }
}

/* =====================================================
   2. LOCATION CASABLANCA / AÉROPORT
   ===================================================== */

.mcr-home > section:nth-of-type(2) {
  background: var(--home-soft) !important;
}

.mcr-home > section:nth-of-type(2) .col {
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
}

.mcr-home > section:nth-of-type(2) h2 {
  max-width: 30ch;
  margin-bottom: 24px !important;
}

.mcr-home > section:nth-of-type(2) h3 {
  margin-top: 32px;
  margin-bottom: 14px !important;
  padding-left: 18px;
  border-left: 3px solid var(--home-red);
}

.mcr-home > section:nth-of-type(2) p {
  max-width: 85ch;
}

/* =====================================================
   3. POURQUOI NOUS CHOISIR
   ===================================================== */

.mcr-home > section:nth-of-type(3) {
  background: #fff !important;
}

.mcr-home > section:nth-of-type(3) .row {
  --bs-gutter-x: 20px;
  --bs-gutter-y: 20px;
}

.mcr-home > section:nth-of-type(3) .row > div {
  margin-bottom: 0 !important;
}

.mcr-home .service-box {
  position: relative;
  height: 100%;
  padding: 28px 22px !important;

  border: 1px solid var(--home-border);
  border-radius: 18px !important;
  background: #fff;
  text-align: left;

  box-shadow: none !important;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.mcr-home .service-box:hover {
  border-color: #edb6bb;
  box-shadow: 0 16px 36px rgba(23, 28, 36, 0.06) !important;
}

.mcr-home .service-box .icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;
  margin-bottom: 22px !important;

  border-radius: 14px;
  background: #fff0f1 !important;
  color: var(--home-red) !important;
}

.mcr-home .service-box h3 {
  margin-bottom: 14px;
  font-size: 1.0625rem !important;
  line-height: 1.45;
  letter-spacing: -0.015em;
}

.mcr-home .service-box p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.8;
}

/* =====================================================
   4. TÉMOIGNAGES
   ===================================================== */

.mcr-home > section:nth-of-type(4) {
  background: var(--home-soft) !important;
}

.mcr-home > section:nth-of-type(4) .row {
  --bs-gutter-x: 24px;
  --bs-gutter-y: 24px;
}

.mcr-home > section:nth-of-type(4) .row > div {
  margin-bottom: 0 !important;
}

.mcr-home > section:nth-of-type(4) .card {
  display: flex;
  align-items: flex-start;
  height: 100%;
  padding: clamp(24px, 3vw, 34px) !important;

  border: 1px solid var(--home-border) !important;
  border-radius: 20px !important;
  background: #fff !important;
  text-align: left !important;

  box-shadow: 0 8px 24px rgba(23, 28, 36, 0.025) !important;
}

.mcr-home .testimonial-icon {
  margin-bottom: 18px !important;
  line-height: 1;
}

.mcr-home .testimonial-icon i {
  color: var(--home-red) !important;
  font-size: 2rem !important;
}

.mcr-home > section:nth-of-type(4) .card p {
  flex-grow: 1;
  margin-bottom: 24px !important;
  color: #454f5e;
  font-size: 0.9375rem;
  font-style: normal !important;
  line-height: 1.9;
}

.mcr-home > section:nth-of-type(4) .card h6 {
  width: 100%;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid var(--home-border);
  color: var(--home-ink);
  font-size: 0.9375rem;
  font-weight: 700;
}

.mcr-home > section:nth-of-type(4) .card small {
  display: block;
  margin-top: 5px;
  font-size: 0.8125rem;
}

/* =====================================================
   5. CHIFFRES CLÉS
   ===================================================== */

.mcr-home > section:nth-of-type(5) {
  background: #11161e !important;
}

.mcr-home > section:nth-of-type(5) h2,
.mcr-home > section:nth-of-type(5) h3 {
  color: #fff !important;
}

.mcr-home > section:nth-of-type(5) .row {
  --bs-gutter-x: 20px;
  --bs-gutter-y: 20px;
}

.mcr-home > section:nth-of-type(5) .row > div {
  margin-bottom: 0 !important;
}

.mcr-home .counter-box {
  height: 100%;
  padding: 28px 16px !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.035) !important;
  box-shadow: none !important;
}

.mcr-home .counter-box > i {
  display: block;
  margin-bottom: 18px !important;
  color: #f46b74 !important;
  font-size: 1.75rem !important;
  line-height: 1;
}

.mcr-home .counter-box .mcr-stat-value,
.mcr-home .counter-box h2 {
  margin: 0 0 10px;
  color: #fff !important;
  font-size: clamp(1.5rem, 1rem + 1.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.mcr-home .counter-box p.text-muted {
  margin: 0;
  color: #c2cad6 !important;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* =====================================================
   6. FAQ
   ===================================================== */

.mcr-home > section:nth-of-type(6) {
  background: #fff !important;
}

.mcr-home #faqAccordion {
  max-width: 960px;
  margin: 0 auto;
}

.mcr-home #faqAccordion .accordion-item {
  overflow: hidden;
  margin-bottom: 14px !important;
  border: 1px solid var(--home-border) !important;
  border-radius: 13px !important;
  background: #fff !important;
  box-shadow: none !important;
}

.mcr-home #faqAccordion .accordion-header {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
}

.mcr-home #faqAccordion .accordion-button {
  gap: 12px;
  padding: 23px 24px;

  border-radius: 0;
  background: #fff;
  color: var(--home-ink);

  font-family: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.6;
  text-align: left;

  box-shadow: none;
}

.mcr-home #faqAccordion .accordion-button > i {
  flex-shrink: 0;
  margin-right: 0 !important;
  color: var(--home-red) !important;
  font-size: 1.125rem;
}

.mcr-home #faqAccordion .accordion-button::after {
  flex-shrink: 0;
}

.mcr-home #faqAccordion .accordion-button:not(.collapsed) {
  background: #fff5f5;
  color: var(--home-red-dark);
  box-shadow: none;
}

.mcr-home #faqAccordion .accordion-button:hover {
  background: #fafbfc;
}

.mcr-home #faqAccordion .accordion-button:focus-visible {
  outline: 3px solid var(--home-red);
  outline-offset: -4px;
  box-shadow: none;
}

.mcr-home #faqAccordion .accordion-body {
  padding: 22px 24px 26px;
  border-top: 1px solid #f0f1f4;
}

.mcr-home #faqAccordion .accordion-body p {
  margin: 0;
  color: var(--home-text);
  font-size: 0.9375rem;
  line-height: 1.85;
}

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

@media (max-width: 767.98px) {
  .mcr-home > section {
    padding: 48px 0 !important;
  }

  .mcr-home > section:nth-of-type(1) .col-md-6 > img {
    aspect-ratio: 4 / 3;
    border-radius: 18px !important;
  }

  .mcr-home .mb-5 {
    margin-bottom: 28px !important;
  }

  .mcr-home .service-box {
    padding: 24px 20px !important;
  }

  .mcr-home > section:nth-of-type(4) .card {
    padding: 24px !important;
  }
}

@media (max-width: 575.98px) {
  .mcr-home .btn-gold {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .mcr-home > section:nth-of-type(2) h3 {
    padding-left: 14px;
  }

  .mcr-home > section:nth-of-type(5) .row {
    --bs-gutter-x: 12px;
    --bs-gutter-y: 12px;
  }

  .mcr-home .counter-box {
    padding: 24px 12px !important;
  }

  .mcr-home .counter-box p.text-muted {
    font-size: 0.8125rem;
  }

  .mcr-home #faqAccordion .accordion-button {
    gap: 10px;
    padding: 18px 16px;
    font-size: 0.9375rem;
  }

  .mcr-home #faqAccordion .accordion-body {
    padding: 18px 16px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mcr-home *,
  .mcr-home *::before,
  .mcr-home *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* =====================================================
   CONTENU CASABLANCA — HTML .mcr-discover
   ===================================================== */

.mcr-discover {
  --mcr-page-red: #d9232e;
  --mcr-page-red-dark: #b51b25;
  --mcr-page-ink: #171c24;
  --mcr-page-text: #596373;
  --mcr-page-border: #e4e8ee;

  width: 100%;
  background: #fff;
  color: var(--mcr-page-text);
  font-family: var(
    --mcr-font,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif
  );
}

.mcr-discover,
.mcr-discover *,
.mcr-discover *::before,
.mcr-discover *::after {
  box-sizing: border-box;
}

/* Conteneur */

.mcr-discover > section {
  margin: 0;
  padding: clamp(48px, 6vw, 88px) 0;
}

.mcr-discover > section > .container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

/* Titres et paragraphes */

.mcr-discover .mcr-discover-heading {
  max-width: 850px;
  margin: 0 auto 36px;
  text-align: center;
}

.mcr-discover h2 {
  margin: 0 0 20px;
  color: var(--mcr-page-ink);
  font-size: clamp(1.75rem, 1.15rem + 2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.mcr-discover h3 {
  margin: 0 0 14px;
  color: var(--mcr-page-ink);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.015em;
}

.mcr-discover p {
  margin: 0 0 20px;
  color: inherit;
  font-size: 1rem;
  line-height: 1.85;
  overflow-wrap: break-word;
}

.mcr-discover p:last-child {
  margin-bottom: 0;
}

.mcr-discover .mcr-discover-lead {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.7;
}

.mcr-discover strong {
  color: var(--mcr-page-ink);
  font-weight: 700;
}

.mcr-discover .mcr-discover-description {
  max-width: 900px;
  margin-inline: auto;
}

.mcr-discover .mcr-discover-description a {
  color: var(--mcr-page-red-dark);
  text-decoration: underline;
  text-decoration-color: #eab6bb;
  text-underline-offset: 4px;
}

.mcr-discover .mcr-discover-description a:hover {
  text-decoration-color: currentColor;
}

/* Cartes de services */

.mcr-discover .mcr-discover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 40px;
}

.mcr-discover .mcr-discover-card {
  min-width: 0;
  margin: 0;
  padding: 28px;
  border: 1px solid var(--mcr-page-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(23, 28, 36, 0.025);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.mcr-discover .mcr-discover-card:hover {
  border-color: #e6b1b6;
  box-shadow: 0 14px 36px rgba(23, 28, 36, 0.07);
}

.mcr-discover .mcr-discover-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border: 1px solid #f8dadd;
  border-radius: 14px;
  background: #fff1f2;
  color: var(--mcr-page-red);
  font-size: 1.5rem;
  line-height: 1;
}

.mcr-discover .mcr-discover-card p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.8;
}

/* Bloc sombre */

.mcr-discover .mcr-discover-experience {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
  align-items: center;
  gap: 40px;
  margin-top: 48px;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid #29313d;
  border-radius: 24px;
  background: #121821;
  color: #ced5df;
}

.mcr-discover .mcr-discover-experience-copy {
  min-width: 0;
}

.mcr-discover .mcr-discover-experience h2 {
  color: #fff;
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
}

.mcr-discover .mcr-discover-experience p {
  color: #ced5df;
  font-size: 0.9375rem;
}

.mcr-discover .mcr-discover-experience strong {
  color: #fff;
}

.mcr-discover .mcr-discover-experience-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

/* Boutons */

.mcr-discover a.mcr-discover-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  max-width: 100%;
  padding: 14px 22px;
  border: 1px solid var(--mcr-page-red);
  border-radius: 10px;
  background: var(--mcr-page-red);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.mcr-discover a.mcr-discover-button:hover {
  border-color: var(--mcr-page-red-dark);
  background: var(--mcr-page-red-dark);
  color: #fff;
}

.mcr-discover a.mcr-discover-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.mcr-discover a.mcr-discover-secondary:hover {
  color: #ffb7bd;
}

/* FAQ */

.mcr-discover .mcr-discover-faq {
  border-top: 1px solid var(--mcr-page-border);
  background: #f6f7f9;
}

.mcr-discover .mcr-discover-accordion {
  max-width: 940px;
  margin-inline: auto;
}

.mcr-discover .mcr-discover-accordion .accordion-item {
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--mcr-page-border);
  border-radius: 13px;
  background: #fff;
}

.mcr-discover .mcr-discover-accordion .accordion-header {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
}

.mcr-discover .mcr-discover-accordion .accordion-button {
  gap: 16px;
  margin: 0;
  padding: 22px 24px;
  border-radius: 0;
  background: #fff;
  color: var(--mcr-page-ink);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.6;
  text-align: left;
  box-shadow: none;
}

.mcr-discover .mcr-discover-accordion .accordion-button::after {
  flex-shrink: 0;
}

.mcr-discover .mcr-discover-accordion .accordion-button:hover {
  background: #fafbfc;
}

.mcr-discover
.mcr-discover-accordion
.accordion-button:not(.collapsed) {
  background: #fff1f2;
  color: var(--mcr-page-red-dark);
  box-shadow: none;
}

.mcr-discover .mcr-discover-accordion .accordion-body {
  padding: 22px 24px 26px;
  border-top: 1px solid #edf0f4;
  color: var(--mcr-page-text);
}

.mcr-discover .mcr-discover-accordion .accordion-body p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.85;
}

.mcr-discover .mcr-discover-faq-contact {
  margin-top: 32px;
  text-align: center;
}

.mcr-discover .mcr-discover-faq-contact p {
  margin-bottom: 16px;
}

/* Navigation au clavier */

.mcr-discover a:focus-visible,
.mcr-discover button:focus-visible {
  outline: 3px solid var(--mcr-page-red);
  outline-offset: 4px;
}

.mcr-discover
.mcr-discover-accordion
.accordion-button:focus-visible {
  outline-offset: -4px;
  box-shadow: none;
}

/* Tablette */

@media (max-width: 991.98px) {
  .mcr-discover .mcr-discover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mcr-discover .mcr-discover-experience {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .mcr-discover .mcr-discover-experience-actions {
    align-items: flex-start;
  }
}

/* Mobile */

@media (max-width: 575.98px) {
  .mcr-discover .mcr-discover-heading {
    margin-bottom: 28px;
    text-align: left;
  }

  .mcr-discover .mcr-discover-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 28px;
  }

  .mcr-discover .mcr-discover-card {
    padding: 24px;
  }

  .mcr-discover .mcr-discover-experience {
    margin-top: 32px;
    padding: 26px 22px;
    border-radius: 18px;
  }

  .mcr-discover .mcr-discover-experience-actions {
    align-items: stretch;
  }

  .mcr-discover a.mcr-discover-button {
    width: 100%;
  }

  .mcr-discover .mcr-discover-accordion .accordion-button {
    gap: 12px;
    padding: 18px;
    font-size: 0.9375rem;
  }

  .mcr-discover .mcr-discover-accordion .accordion-body {
    padding: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mcr-discover *,
  .mcr-discover *::before,
  .mcr-discover *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* =====================================================
   MAROC CAR RENTAL — CARTES AVEC BADGE -30%
   ===================================================== */

.mcr-rentals {
  --rental-red: #d9232e;
  --rental-red-dark: #b51b25;
  --rental-ink: #171c24;
  --rental-text: #626c79;
  --rental-border: #e4e8ee;

  padding: clamp(48px, 6vw, 60px) 0;
  background: #f6f7f9;
  color: var(--rental-text);
  font-family: var(
    --mcr-font,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif
  );
}

.mcr-rentals *,
.mcr-rentals *::before,
.mcr-rentals *::after {
  box-sizing: border-box;
}

.mcr-rentals > .container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(20px, 3vw, 40px);
}

/* Présentation */

.mcr-rentals .mcr-rentals-header {
  max-width: 900px;
  margin-bottom: 36px;
}

.mcr-rentals .mcr-rentals-header h2 {
  margin: 0 0 18px;
  color: var(--rental-ink);
  font-size: clamp(1.75rem, 1.2rem + 1.7vw, 2.625rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.mcr-rentals .mcr-rentals-header p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
}

/* Quatre cartes sur ordinateur */

.mcr-rentals .mcr-rentals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.mcr-rentals .mcr-rentals-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--rental-border);
  border-radius: 14px;
  background: #fff;
}

/* Carte */

.mcr-rentals .mcr-rental-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--rental-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(23, 28, 36, 0.03);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.mcr-rentals .mcr-rental-card:hover {
  border-color: #cbd2dc;
  box-shadow: 0 18px 42px rgba(23, 28, 36, 0.09);
}

/* Photo */

.mcr-rentals .mcr-rental-media {
  position: relative;
  isolation: isolate;
  background: #f0f2f5;
}

.mcr-rentals .mcr-rental-photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  padding: 20px 10px 10px;
  color: var(--rental-text);
  text-decoration: none;
}

.mcr-rentals .mcr-rental-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 280ms ease;
}

@media (hover: hover) {
  .mcr-rentals .mcr-rental-card:hover .mcr-rental-photo img {
    transform: scale(1.04);
  }
}

/* Badge fixe en haut à gauche */

.mcr-rentals .mcr-rental-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  min-height: 34px;
  padding: 9px 12px;
  border-radius: 8px;
  background: var(--rental-red);
  color: #fff;

  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1;

  box-shadow: 0 5px 14px rgba(217, 35, 46, 0.2);
  pointer-events: none;
}

.mcr-rentals .mcr-rental-badge i {
  font-size: 0.75rem;
}

.mcr-rentals .mcr-rental-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 100%;
  font-size: 0.8125rem;
}

.mcr-rentals .mcr-rental-placeholder i {
  font-size: 2.5rem;
}

/* Contenu */

.mcr-rentals .mcr-rental-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 22px;
}

.mcr-rentals .mcr-rental-category {
  display: block;
  margin-bottom: 9px;
  color: var(--rental-red-dark);
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mcr-rentals .mcr-rental-title {
  margin: 0 0 5px;
  color: var(--rental-ink);
  font-size: 1.1875rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.025em;
  overflow-wrap: break-word;
}

.mcr-rentals .mcr-rental-title a {
  color: inherit;
  text-decoration: none;
}

.mcr-rentals .mcr-rental-title a:hover {
  color: var(--rental-red);
}

.mcr-rentals .mcr-rental-similar {
  margin: 0;
  color: #758090;
  font-size: 0.75rem;
  line-height: 1.5;
}

/* Caractéristiques */

.mcr-rentals .mcr-rental-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 10px;
  margin: 20px 0;
  padding: 18px 0;
  border-top: 1px solid #edf0f4;
  border-bottom: 1px solid #edf0f4;
  list-style: none;
}

.mcr-rentals .mcr-rental-specs li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
  color: #566170;
  font-size: 0.75rem;
  line-height: 1.5;
}

.mcr-rentals .mcr-rental-specs i {
  flex-shrink: 0;
  color: #303b4a;
  font-size: 0.9375rem;
}

.mcr-rentals .mcr-rental-specs span {
  min-width: 0;
  overflow-wrap: break-word;
}

.mcr-rentals .mcr-rental-spec-wide {
  grid-column: 1 / -1;
}

/* Tarif */

.mcr-rentals .mcr-rental-bottom {
  margin-top: auto;
}

.mcr-rentals .mcr-rental-rate {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
}

.mcr-rentals .mcr-rental-price {
  color: var(--rental-ink);
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.mcr-rentals .mcr-rental-unit {
  color: var(--rental-ink);
  font-size: 0.75rem;
  font-weight: 700;
}

.mcr-rentals .mcr-rental-unit small {
  color: var(--rental-text);
  font-size: inherit;
  font-weight: 400;
}

.mcr-rentals .mcr-rental-on-request {
  color: var(--rental-ink);
  font-size: 1.125rem;
  font-weight: 700;
}

.mcr-rentals .mcr-rental-deposit {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 12px 0 20px;
  color: #727d8b;
  font-size: 0.6875rem;
  line-height: 1.65;
}

.mcr-rentals .mcr-rental-deposit i {
  flex-shrink: 0;
}

/* Boutons */

.mcr-rentals .mcr-rental-book,
.mcr-rentals .mcr-rental-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 46px;
  padding: 12px;
  border: 1px solid transparent;
  border-radius: 9px;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.mcr-rentals a.mcr-rental-book {
  border-color: var(--rental-ink);
  background: var(--rental-ink);
  color: #fff;
}

.mcr-rentals .mcr-rental-book > span {
  margin-left: auto;
}

.mcr-rentals a.mcr-rental-book:hover {
  border-color: var(--rental-red);
  background: var(--rental-red);
  color: #fff;
}

.mcr-rentals a.mcr-rental-whatsapp {
  margin-top: 10px;
  border-color: #dce9e1;
  background: #f4faf6;
  color: #176b3a;
}

.mcr-rentals a.mcr-rental-whatsapp:hover {
  border-color: #176b3a;
  background: #176b3a;
  color: #fff;
}

/* Lien vers la flotte */

.mcr-rentals .mcr-rentals-footer {
  margin-top: 32px;
  text-align: center;
}

.mcr-rentals a.mcr-rentals-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid #d5dae2;
  border-radius: 10px;
  background: #fff;
  color: var(--rental-ink);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

.mcr-rentals a.mcr-rentals-more:hover {
  border-color: var(--rental-red);
  color: var(--rental-red);
}

/* Navigation clavier */

.mcr-rentals a:focus-visible {
  outline: 3px solid var(--rental-red);
  outline-offset: 3px;
}

.mcr-rentals .mcr-rental-photo:focus-visible {
  outline-offset: -4px;
}

/* Deux cartes sur tablette */

@media (max-width: 1199.98px) {
  .mcr-rentals .mcr-rentals-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Une carte sur mobile */

@media (max-width: 575.98px) {
  .mcr-rentals .mcr-rentals-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .mcr-rentals .mcr-rentals-header {
    margin-bottom: 28px;
  }

  .mcr-rentals .mcr-rental-specs li {
    font-size: 0.8125rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mcr-rentals *,
  .mcr-rentals *::before,
  .mcr-rentals *::after {
    transition: none !important;
  }
}

/* =====================================================
   PAGE VOITURES — FILTRES ET PRÉSENTATION
   Complément au CSS commun .mcr-rentals
   ===================================================== */

.mcr-catalog .mcr-catalog-breadcrumb {
  margin-bottom: 30px;
}

.mcr-catalog .mcr-catalog-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #697483;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.mcr-catalog .mcr-catalog-breadcrumb li + li::before {
  content: "/";
  margin-right: 10px;
  color: #a0a8b4;
}

.mcr-catalog .mcr-catalog-breadcrumb a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #566170;
  text-decoration: none;
}

.mcr-catalog .mcr-catalog-breadcrumb a:hover {
  color: #d9232e;
}

.mcr-catalog .mcr-catalog-title {
  margin: 0 0 20px;
  color: #171c24;
  font-size: clamp(2rem, 1.3rem + 2.3vw, 3.375rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

/* Bloc filtres */

.mcr-catalog .mcr-catalog-filters {
  margin: 0 0 34px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid #e4e8ee;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(23, 28, 36, 0.035);
}

.mcr-catalog .mcr-catalog-filters-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}

.mcr-catalog .mcr-catalog-filters-heading h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #171c24;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: -0.015em;
}

.mcr-catalog .mcr-catalog-filters-heading h2 i {
  color: #d9232e;
}

.mcr-catalog .mcr-catalog-filter-form {
  display: grid;
  grid-template-columns:
    minmax(0, 1.4fr)
    repeat(2, minmax(0, 1fr))
    minmax(130px, auto);
  align-items: end;
  gap: 18px;
  margin: 0;
}

.mcr-catalog .mcr-catalog-field {
  min-width: 0;
}

.mcr-catalog .mcr-catalog-field label {
  display: block;
  margin: 0 0 9px;
  color: #414b59;
  font-size: 0.8125rem;
  font-weight: 650;
  line-height: 1.5;
}

.mcr-catalog .mcr-catalog-field .form-control,
.mcr-catalog .mcr-catalog-field .form-select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid #dce1e8;
  border-radius: 10px;
  background-color: #f8f9fb;
  color: #171c24;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: none;
}

.mcr-catalog .mcr-catalog-field .form-select {
  padding-right: 38px;
}

.mcr-catalog .mcr-catalog-field .form-control::placeholder {
  color: #7b8593;
  font-size: 0.875rem;
}

.mcr-catalog .mcr-catalog-field .form-control:focus,
.mcr-catalog .mcr-catalog-field .form-select:focus {
  outline: none;
  border-color: #d9232e;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(217, 35, 46, 0.09);
}

/* Suffixe MAD */

.mcr-catalog .mcr-catalog-price-field {
  position: relative;
}

.mcr-catalog .mcr-catalog-price-field .form-control {
  padding-right: 66px;
}

.mcr-catalog .mcr-catalog-price-field > span {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: #727d8b;
  font-size: 0.6875rem;
  font-weight: 700;
  pointer-events: none;
}

/* Bouton filtrer */

.mcr-catalog .mcr-catalog-filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid #d9232e;
  border-radius: 10px;
  background: #d9232e;
  color: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.5;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease;
}

.mcr-catalog .mcr-catalog-filter-button:hover {
  border-color: #b51b25;
  background: #b51b25;
}

.mcr-catalog a.mcr-catalog-reset {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  color: #b51b25;
  font-size: 0.8125rem;
  font-weight: 650;
  text-decoration: none;
}

.mcr-catalog a.mcr-catalog-reset:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mcr-catalog .mcr-catalog-filter-note {
  margin: 16px 0 0;
  color: #727d8b;
  font-size: 0.75rem;
  line-height: 1.7;
}

.mcr-catalog .mcr-catalog-error {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid #f0c8cc;
  border-radius: 9px;
  background: #fff3f4;
  color: #a61d28;
  font-size: 0.8125rem;
  line-height: 1.7;
}

/* Résultats */

.mcr-catalog .mcr-catalog-results {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.mcr-catalog .mcr-catalog-results h2 {
  margin: 0;
  color: #171c24;
  font-size: 1.125rem;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: -0.02em;
}

.mcr-catalog .mcr-catalog-results > span {
  padding: 7px 12px;
  border: 1px solid #e0e4ea;
  border-radius: 30px;
  background: #fff;
  color: #596373;
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.5;
}

.mcr-catalog .mcr-rentals-empty p {
  margin: 0 0 12px;
}

/* Focus clavier */

.mcr-catalog .mcr-catalog-filter-button:focus-visible {
  outline: 3px solid #d9232e;
  outline-offset: 4px;
}

/* Tablette */

@media (max-width: 991.98px) {
  .mcr-catalog .mcr-catalog-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */

@media (max-width: 575.98px) {
  .mcr-catalog .mcr-catalog-breadcrumb {
    margin-bottom: 22px;
  }

  .mcr-catalog .mcr-catalog-filter-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .mcr-catalog .mcr-catalog-filters {
    padding: 20px;
    border-radius: 14px;
  }

  .mcr-catalog .mcr-catalog-filter-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mcr-catalog .mcr-catalog-filter-button {
    transition: none;
  }
}

/* =====================================================
   MAROC CAR RENTAL — PAGE RÉSERVATION
   ===================================================== */

main.mcr-booking {
  --booking-red: #d9232e;
  --booking-red-dark: #b51b25;
  --booking-ink: #171c24;
  --booking-text: #596373;
  --booking-border: #e3e7ed;
  --booking-soft: #f6f7f9;

  width: 100%;
  max-width: 1120px;
  margin: clamp(32px, 5vw, 64px) auto !important;
  padding-inline: clamp(20px, 4vw, 40px);

  color: var(--booking-text);
  font-family: var(
    --mcr-font,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif
  );
}

.mcr-booking *,
.mcr-booking *::before,
.mcr-booking *::after {
  box-sizing: border-box;
}

/* =====================================================
   FIL D’ARIANE ET TITRE
   ===================================================== */

.mcr-booking .breadcrumb-custom {
  margin-bottom: 26px;
}

.mcr-booking .breadcrumb {
  flex-wrap: wrap;
  gap: 6px 0;
  margin: 0;
  padding: 0;
  background: transparent;

  color: #727d8b;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.mcr-booking .breadcrumb a {
  color: #596373;
  text-decoration: none;
}

.mcr-booking .breadcrumb a:hover {
  color: var(--booking-red);
}

.mcr-booking .breadcrumb-item.active {
  color: #727d8b;
}

.mcr-booking .breadcrumb-item + .breadcrumb-item::before {
  color: #a0a8b4;
}

.mcr-booking > h1 {
  margin: 0 0 24px !important;
  color: var(--booking-ink);
  font-size: clamp(1.875rem, 1.2rem + 2vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

.mcr-booking > h1 > i {
  color: var(--booking-red);
  font-size: 0.8em;
}

/* =====================================================
   PÉRIODE DE LOCATION
   ===================================================== */

.mcr-booking > .alert-light {
  padding: 20px 24px;
  border: 1px solid var(--booking-border) !important;
  border-radius: 14px;
  background: #fff;
  color: var(--booking-text);

  font-size: 0.9375rem;
  line-height: 1.9;
  box-shadow: 0 5px 18px rgba(23, 28, 36, 0.025);
}

.mcr-booking > .alert-light strong {
  color: var(--booking-ink);
}

.mcr-booking .badge.text-bg-success {
  padding: 8px 12px;
  border-radius: 7px;
  background: #fff0f1 !important;
  color: var(--booking-red-dark) !important;
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: middle;
}

/* =====================================================
   CONTENEUR DU FORMULAIRE
   ===================================================== */

.mcr-booking .res {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(22px, 4vw, 44px);

  border: 1px solid var(--booking-border);
  border-radius: 22px;
  background: #fff;
  color: var(--booking-text);
  box-shadow: 0 14px 40px rgba(23, 28, 36, 0.045);
}

.mcr-booking .res > form {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.mcr-booking .res h2 {
  margin: 0 0 22px !important;
  color: var(--booking-ink);
  font-size: clamp(1.1875rem, 1rem + 0.5vw, 1.5rem);
  font-weight: 750;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.mcr-booking .res > form > h2:first-of-type {
  padding-bottom: 18px;
  border-bottom: 1px solid #edf0f4;
}

.mcr-booking .res > form > p.text-muted {
  margin: -8px 0 22px;
  color: var(--booking-text) !important;
  font-size: 0.875rem;
  line-height: 1.75;
}

.mcr-booking .res hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid var(--booking-border);
  opacity: 1;
}

/* =====================================================
   INFORMATIONS CLIENT
   ===================================================== */

.mcr-booking .det-container {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mcr-booking .det-container .row {
  --bs-gutter-x: 24px;
}

.mcr-booking .det-container .row > div {
  min-width: 0;
  margin-bottom: 20px !important;
}

.mcr-booking .form-label {
  display: block;
  margin-bottom: 9px;
  color: #3e4856;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.5;
}

.mcr-booking .form-control {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 54px;
  padding: 14px 15px;

  border: 1px solid #dce1e8;
  border-radius: 10px;
  background: #f8f9fb;
  color: var(--booking-ink);

  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;

  box-shadow: none;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.mcr-booking .form-control::placeholder {
  color: #7b8593;
  font-size: 0.875rem;
  opacity: 1;
}

.mcr-booking .form-control:hover {
  border-color: #b5beca;
}

.mcr-booking .form-control:focus {
  outline: none;
  border-color: var(--booking-red);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(217, 35, 46, 0.09);
}

.mcr-booking input[type="date"] {
  color-scheme: light;
}

.mcr-booking input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}

.mcr-booking textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* =====================================================
   EXTRAS
   ===================================================== */

.mcr-booking .extras-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;

  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mcr-booking .extras-container > p {
  grid-column: 1 / -1;
}

.mcr-booking .extras-container .form-check {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  margin: 0 !important;
  padding: 18px;

  border: 1px solid var(--booking-border);
  border-radius: 12px;
  background: #fafbfc;

  transition:
    border-color 180ms ease,
    background-color 180ms ease;
}

.mcr-booking .extras-container .form-check:hover {
  border-color: #b9c2ce;
}

.mcr-booking .extras-container .form-check:has(input:checked) {
  border-color: #e8a8ae;
  background: #fff4f5;
}

.mcr-booking .form-check-input {
  float: none;
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin: 3px 0 0;

  border: 1px solid #adb7c4;
  border-radius: 5px;
  box-shadow: none;
  cursor: pointer;
  accent-color: var(--booking-red);
}

.mcr-booking .form-check-input:checked {
  border-color: var(--booking-red);
  background-color: var(--booking-red);
}

.mcr-booking .form-check-input:focus-visible {
  outline: 2px solid var(--booking-red);
  outline-offset: 3px;
  box-shadow: none;
}

.mcr-booking .form-check-label {
  min-width: 0;
  color: #45505f;
  font-size: 0.875rem;
  line-height: 1.75;
  cursor: pointer;
  overflow-wrap: break-word;
}

.mcr-booking .extras-container .form-check-label strong {
  color: var(--booking-ink);
  font-weight: 750;
}

.mcr-booking .extras-container .form-check-label .text-muted {
  color: #727d8b !important;
  font-size: 0.75rem;
}

/* =====================================================
   TOTAL
   ===================================================== */

.mcr-booking .det-total {
  margin: 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid #29323f;
  border-radius: 16px;
  background: #141b25;
  color: #d4dce7;
  box-shadow: none;
}

.mcr-booking .det-total h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 24px;

  margin: 0 0 24px !important;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);

  color: #fff;
  font-size: 1rem;
  line-height: 1.5;
}

.mcr-booking #total_affiche {
  color: #fff;
  font-size: clamp(1.625rem, 1.15rem + 1.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.mcr-booking .det-total ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mcr-booking .det-total li {
  margin: 0;
  color: #d4dce7;
  font-size: 0.875rem;
  line-height: 1.8;
}

.mcr-booking #extras_total,
.mcr-booking #frais_lieux_total {
  color: #fff;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

/* =====================================================
   CAUTION
   ===================================================== */

.mcr-booking .det-caution {
  margin: 0;
  padding: 24px;
  border: 1px solid var(--booking-border);
  border-left: 4px solid var(--booking-red);
  border-radius: 12px;
  background: var(--booking-soft);
  box-shadow: none;
}

.mcr-booking .det-caution h2 {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px !important;
  font-size: 1.0625rem;
}

.mcr-booking .det-caution h2 span {
  color: var(--booking-red-dark);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.mcr-booking .det-caution .caution {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--booking-text);
  font-size: 0.875rem;
  line-height: 1.85;
  box-shadow: none;
}

.mcr-booking .det-caution .caution strong {
  color: var(--booking-ink);
}

/* =====================================================
   CONDITIONS ET ENVOI
   ===================================================== */

.mcr-booking .res > form > .form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 26px !important;
  padding-left: 0;
}

.mcr-booking a.terms-link {
  color: var(--booking-red-dark);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mcr-booking a.terms-link:hover {
  color: var(--booking-red);
}

.mcr-booking .res button[type="submit"].btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 56px;
  margin-top: 24px !important;
  padding: 15px 28px;

  border: 1px solid var(--booking-red);
  border-radius: 11px;
  background: var(--booking-red);
  color: #fff;

  font-family: inherit;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.5;
  white-space: normal;

  box-shadow: 0 8px 20px rgba(217, 35, 46, 0.15);
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.mcr-booking .res button[type="submit"].btn i {
  margin-right: 0 !important;
}

.mcr-booking .res button[type="submit"].btn:hover,
.mcr-booking .res button[type="submit"].btn:active {
  border-color: var(--booking-red-dark);
  background: var(--booking-red-dark);
  color: #fff;
  box-shadow: 0 10px 24px rgba(217, 35, 46, 0.22);
}

.mcr-booking .res button[type="submit"].btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  box-shadow: none;
}

/* =====================================================
   ERREURS ET CONFIRMATION
   ===================================================== */

.mcr-booking > .alert-danger {
  padding: 22px 24px;
  border: 1px solid #edc4c9;
  border-radius: 14px;
  background: #fff2f3;
  color: #a61d28;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.mcr-booking > .alert-success {
  margin: 0;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid #cce2d4;
  border-top: 4px solid #257347;
  border-radius: 18px;
  background: #f3faf5;
  color: #345743;
  box-shadow: 0 12px 30px rgba(23, 28, 36, 0.04);
}

.mcr-booking > .alert-success h1 {
  margin: 0 0 20px;
  color: #175c34;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 2rem);
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.mcr-booking > .alert-success p {
  font-size: 1rem;
  line-height: 1.8;
}

/* Focus clavier */

.mcr-booking a:focus-visible,
.mcr-booking button:focus-visible {
  outline: 3px solid var(--booking-red);
  outline-offset: 4px;
}

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

@media (max-width: 767.98px) {
  .mcr-booking .extras-container {
    grid-template-columns: minmax(0, 1fr);
  }

  .mcr-booking .res {
    border-radius: 16px;
  }

  .mcr-booking .det-total h2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 575.98px) {
  main.mcr-booking {
    margin-block: 28px !important;
    padding-inline: 16px;
  }

  .mcr-booking > .alert-light {
    padding: 18px;
    font-size: 0.875rem;
  }

  .mcr-booking > .alert-light .badge {
    display: inline-block;
    margin-top: 8px;
  }

  .mcr-booking .res {
    padding: 22px 18px;
  }

  .mcr-booking .det-container .row {
    --bs-gutter-x: 18px;
  }

  .mcr-booking .extras-container .form-check {
    padding: 16px;
  }

  .mcr-booking .det-total,
  .mcr-booking .det-caution {
    padding: 22px 18px;
  }

  .mcr-booking .res hr {
    margin-block: 26px;
  }

  .mcr-booking .res button[type="submit"].btn {
    width: 100%;
    padding-inline: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mcr-booking *,
  .mcr-booking *::before,
  .mcr-booking *::after {
    transition: none !important;
  }
}

/* =====================================================
   RÉSERVATION DIRECTE — COMPLÉMENT AU CSS .mcr-booking
   ===================================================== */

/* Véhicule sélectionné */

.mcr-direct-booking .mcr-selected-car {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: stretch;
  overflow: hidden;
  margin: 28px 0 32px;
  border: 1px solid #e3e7ed;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(23, 28, 36, 0.04);
}

.mcr-direct-booking .mcr-selected-car-media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 24px;
  background: linear-gradient(145deg, #fafbfc, #edf0f4);
}

.mcr-direct-booking .mcr-selected-car-media img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 300px;
  aspect-ratio: 3 / 2;
  object-fit: contain;
}

.mcr-direct-booking .mcr-selected-car-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 220px;
  color: #727d8b;
  font-size: 0.875rem;
}

.mcr-direct-booking .mcr-selected-car-placeholder i {
  font-size: 3rem;
}

.mcr-direct-booking .mcr-selected-car-info {
  min-width: 0;
  padding: clamp(24px, 3vw, 36px);
}

.mcr-direct-booking .mcr-selected-car-label {
  display: block;
  margin-bottom: 10px;
  color: #b51b25;
  font-size: 0.6875rem;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.mcr-direct-booking .mcr-selected-car-info h2 {
  margin: 0 0 6px;
  color: #171c24;
  font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  overflow-wrap: break-word;
}

.mcr-direct-booking .mcr-selected-car-similar {
  margin: 0;
  color: #727d8b;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.mcr-direct-booking .mcr-selected-car-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid #e9edf2;
  list-style: none;
}

.mcr-direct-booking .mcr-selected-car-specs li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  color: #596373;
  font-size: 0.8125rem;
  line-height: 1.6;
}

.mcr-direct-booking .mcr-selected-car-specs i {
  flex-shrink: 0;
  color: #d9232e;
  font-size: 1rem;
}

.mcr-direct-booking .mcr-selected-car-specs span {
  min-width: 0;
  overflow-wrap: break-word;
}

/* Sélecteurs de lieux */

.mcr-direct-booking .form-select {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 54px;
  padding: 14px 40px 14px 15px;
  border: 1px solid #dce1e8;
  border-radius: 10px;
  background-color: #f8f9fb;
  color: #171c24;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: none;
}

.mcr-direct-booking .form-select:hover {
  border-color: #b5beca;
}

.mcr-direct-booking .form-select:focus {
  outline: none;
  border-color: #d9232e;
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(217, 35, 46, 0.09);
}

.mcr-direct-booking input[type="datetime-local"] {
  color-scheme: light;
}

.mcr-direct-booking
input[type="datetime-local"]::-webkit-date-and-time-value {
  min-width: 0;
  text-align: left;
}

/* Informations client */

.mcr-direct-booking .client-container {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.mcr-direct-booking .client-container .row {
  --bs-gutter-x: 24px;
}

.mcr-direct-booking .client-container .row > div {
  min-width: 0;
  margin-bottom: 20px !important;
}

/* Récapitulatif dynamique */

.mcr-direct-booking #recapitulatif {
  margin-top: 28px !important;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid #29323f;
  border-radius: 16px;
  background: #141b25;
  color: #d4dce7;
}

.mcr-direct-booking #recapitulatif h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px !important;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
}

.mcr-direct-booking #recap-content {
  color: #d4dce7;
  font-size: 0.9375rem;
  line-height: 2;
  overflow-wrap: anywhere;
}

.mcr-direct-booking #recap-content strong {
  color: #fff;
}

.mcr-direct-booking #recap-content i {
  margin-right: 5px;
  color: #f17a83;
}

.mcr-direct-booking #recap-content hr {
  margin: 20px 0;
  border-color: rgba(255, 255, 255, 0.16);
}

/* Remplace uniquement la couleur verte inline du total
   généré par votre script actuel. */
.mcr-direct-booking #recap-content > span {
  color: #fff !important;
  font-size: 1.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.mcr-direct-booking #recap-content .text-danger {
  color: #ffb7bd !important;
}

/* Conditions */

.mcr-direct-booking .terms-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 26px;
  color: #45505f;
  font-size: 0.875rem;
  line-height: 1.8;
  cursor: pointer;
}

.mcr-direct-booking .terms-label input {
  flex: 0 0 19px;
  width: 19px;
  height: 19px;
  margin-top: 4px;
  accent-color: #d9232e;
}

.mcr-direct-booking .terms-label input:focus-visible {
  outline: 2px solid #d9232e;
  outline-offset: 3px;
}

@media (max-width: 767.98px) {
  .mcr-direct-booking .mcr-selected-car {
    grid-template-columns: minmax(0, 1fr);
  }

  .mcr-direct-booking .mcr-selected-car-media img {
    max-height: 250px;
  }
}

@media (max-width: 575.98px) {
  .mcr-direct-booking .mcr-selected-car {
    border-radius: 16px;
  }

  .mcr-direct-booking .mcr-selected-car-media,
  .mcr-direct-booking .mcr-selected-car-info {
    padding: 22px;
  }

  .mcr-direct-booking .mcr-selected-car-specs {
    gap: 14px 12px;
  }

  .mcr-direct-booking #recapitulatif {
    padding: 22px 18px;
  }
}