/* Positif Car, location de voitures a Rabat
   Kit: or #F4C81A (mesure sur les supports), noir #111111, gris #3A3A3A, blanc #F8F8F8
   Playfair Display (titres) + Plus Jakarta Sans (corps et micro-typo) */

:root{
  /* Le jaune reellement pose par le graphiste sur TOUS les supports du kit (logo, pastille,
     panneau noir-sur-jaune, pictogrammes) mesure H48 S91 L52, soit un or chaud, pas le citron
     #F7D400 annonce dans la pastille de texte. On aligne le site sur l'or reel du logo. */
  --jaune:      #F4C81A;   /* signes: filets, puces, lien actif, survols */
  --jaune-sobre:#E8C030;   /* meme or, une cran plus calme, pour les grandes surfaces */
  --jaune-2:    #E0C000;
  --jaune-3:    #FFF0A0;
  --noir:       #111111;
  --noir-2:     #1C1C1C;
  --noir-3:     #262626;
  --gris:       #3A3A3A;
  --gris-doux:  #6D6D6D;
  --blanc:      #F8F8F8;
  --papier:     #FFFFFF;
  --ligne:      #E3E3DF;
  --ligne-noir: rgba(255,255,255,.16);
  --creme:      #F6F4EE;

  --titre: "Playfair Display", Georgia, serif;
  --corps: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --pad: 26px;
  --entete: 78px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--blanc);
  color: var(--noir);
  font-family: var(--corps);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; height: auto; display: block; }

a{ color: inherit; }

h1,h2,h3,h4{
  font-family: var(--titre);
  font-weight: 700;
  line-height: 1.16;
  margin: 0;
  letter-spacing: -.005em;
}

p{ margin: 0 0 1em; }

.wrap{ max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.sr{
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* micro-typo: la sous-ligne espacee du logo, reprise partout */
.micro{
  font-family: var(--corps);
  font-weight: 600;
  font-size: .70rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* ---------- boutons ---------- */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: 0;
  background: transparent;
  font-family: var(--corps);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .10em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, border-color .22s ease;
}

/* Le jaune du kit ne remplit jamais un bouton au repos, il n'arrive qu'au survol. */
.btn--primaire{ background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.btn--primaire:hover{ background: var(--jaune); color: var(--noir); border-color: var(--jaune); }

/* sur fond sombre: bouton clair au repos, jaune au survol */
.btn--inverse{ background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.btn--inverse:hover{ background: var(--jaune); color: var(--noir); border-color: var(--jaune); }

.btn--noir{ background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.btn--noir:hover{ background: var(--jaune); color: var(--noir); border-color: var(--jaune); }

.btn--fantome{ background: transparent; color: var(--noir); border-color: var(--noir); }
.btn--fantome:hover{ background: var(--noir); color: var(--jaune); }

.btn--clair{ background: transparent; color: var(--blanc); border-color: rgba(255,255,255,.55); }
.btn--clair:hover{ background: var(--jaune); color: var(--noir); border-color: var(--jaune); }

.btn--petit{ padding: 10px 18px; font-size: .72rem; }

/* ---------- entete ---------- */

.site-header{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .28s ease, border-color .28s ease, padding .28s ease;
  padding: 12px 0;
}

.site-header::before{
  content: "";
  position: absolute;
  inset: 0 0 -46px 0;
  background: linear-gradient(180deg, rgba(10,10,10,.72), rgba(10,10,10,0));
  pointer-events: none;
  transition: opacity .28s ease;
}

.site-header.scrolled{ background: var(--noir); padding: 7px 0; border-bottom-color: rgba(255,255,255,.14); }
.site-header.scrolled::before{ opacity: 0; }

.nav{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  position: relative;
}

.nav__brand{ display: inline-flex; align-items: center; justify-self: start; }
.nav__brand img{ height: 46px; width: auto; transition: height .28s ease; }
.site-header.scrolled .nav__brand img{ height: 38px; }

.nav__links{
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-self: center;
}

.nav__links a{
  font-family: var(--corps);
  font-weight: 600;
  font-size: .74rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--blanc);
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  transition: color .2s ease;
}

.nav__links a::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--blanc);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .24s ease;
}

.nav__links a:hover{ color: var(--jaune); }
.nav__links a:hover::after,
.nav__links a.actif::after{ transform: scaleX(1); }
.nav__links a.actif{ color: var(--blanc); }

.nav__end{ display: flex; align-items: center; gap: 12px; justify-self: end; }

.burger{
  display: none;
  width: 44px; height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.burger span{
  display: block;
  width: 24px; height: 2px;
  background: var(--blanc);
  position: relative;
}
.burger span::before,
.burger span::after{
  content: ""; position: absolute; left: 0;
  width: 24px; height: 2px; background: var(--blanc);
}
.burger span::before{ top: -7px; }
.burger span::after{ top: 7px; }

/* menu mobile, frere de l'entete pour ne jamais dependre de son contexte d'empilement */
.menu{
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--noir);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .26s ease, visibility .26s ease;
}
body.nav-open .menu{ opacity: 1; visibility: visible; }
body.nav-open{ overflow: hidden; }
body.nav-open .site-header{ z-index: 110; background: var(--noir); }

.menu a{
  font-family: var(--titre);
  font-size: 1.9rem;
  color: var(--blanc);
  text-decoration: none;
  padding: 12px 0;
}
.menu a.actif{ text-decoration: underline; text-underline-offset: 9px; text-decoration-thickness: 2px; }
.menu .btn{ margin-top: 22px; }

.burger.ouvert span{ background: transparent; }
.burger.ouvert span::before{ transform: rotate(45deg); top: 0; }
.burger.ouvert span::after{ transform: rotate(-45deg); top: 0; }

/* ---------- hero ---------- */

.hero{
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--entete) + 40px) 0 54px;
  overflow: hidden;
}

.hero__fond{ position: absolute; inset: 0; }
.hero__fond picture{ position: absolute; inset: 0; display: block; }
.hero__fond img{
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 58% 60%;
  animation: derive 26s ease-in-out infinite alternate;
}

@keyframes derive{ from{ transform: scale(1); } to{ transform: scale(1.07); } }

.hero__voile{
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,.52) 0%, rgba(10,10,10,.18) 34%, rgba(10,10,10,.80) 100%);
}

.hero__contenu{ position: relative; z-index: 2; width: 100%; }

.hero h1{
  color: var(--blanc);
  font-size: clamp(2.35rem, 6.2vw, 4.1rem);
  max-width: 15ch;
  text-shadow: 0 2px 30px rgba(0,0,0,.42);
}

.hero__sous{
  color: rgba(255,255,255,.90);
  font-size: 1.06rem;
  margin: 16px 0 30px;
  max-width: 44ch;
}

/* widget de devis du hero */
.widget{
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 1px;
  background: rgba(17,17,17,.14);
  border: 1px solid rgba(17,17,17,.14);
  max-width: 940px;
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}

.champ{
  background: var(--papier);
  padding: 12px 16px 11px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.champ label{
  font-family: var(--corps);
  font-weight: 700;
  font-size: .62rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gris-doux);
}

.champ select,
.champ input{
  border: 0;
  background: transparent;
  font-family: var(--corps);
  font-size: .95rem;
  font-weight: 500;
  color: var(--noir);
  padding: 2px 0;
  width: 100%;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
}
.champ select:focus,
.champ input:focus{ outline: 2px solid var(--noir); outline-offset: 3px; }

.champ--select{ position: relative; }
.champ--select::after{
  content: "";
  position: absolute;
  right: 16px; bottom: 20px;
  width: 8px; height: 8px;
  border-right: 2px solid var(--noir);
  border-bottom: 2px solid var(--noir);
  transform: rotate(45deg);
  pointer-events: none;
}

.widget .btn{ height: 100%; }

/* ---------- bandeau de faits ---------- */

.faits{ background: var(--noir); color: var(--blanc); }
.faits .wrap{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--ligne-noir);
  padding: 0;
  max-width: var(--wrap);
}
.fait{
  background: var(--noir);
  padding: 30px var(--pad);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.fait dt{ color: rgba(255,255,255,.55); font-size: .66rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.fait dd{ margin: 0; font-size: 1.02rem; font-weight: 500; }
.fait dd a{ text-decoration: none; }
.fait dd a:hover{ color: var(--jaune); }

/* ---------- sections ---------- */

.sec{ padding: 96px 0; }
.sec--papier{ background: var(--papier); }
.sec--creme{ background: var(--creme); }
.sec--noir{ background: var(--noir); color: var(--blanc); }
/* pas de bande de couleur: la flotte est blanche, les cartes se detachent par leur filet */
.sec--sable{ background: var(--papier); color: var(--noir); }

.tete-sec{ margin-bottom: 46px; max-width: 62ch; }
.tete-sec h2{ font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
.tete-sec p{ margin: 14px 0 0; color: var(--gris); font-size: 1.02rem; }
.sec--noir .tete-sec p{ color: rgba(255,255,255,.72); }
.sec--sable .tete-sec p{ color: var(--gris); }

/* span inline: sans display:block la largeur et la hauteur sont ignorees */
.filet{ display: block; width: 54px; height: 3px; background: var(--noir); margin: 0 0 20px; }
.tete .filet, .bande .filet, .sec--noir .filet{ background: var(--blanc); }

.sec-pied{ margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; }
.note{ font-size: .84rem; color: var(--gris-doux); margin: 0; }
.sec--sable .note{ color: var(--gris-doux); }

.lien-fleche{
  font-family: var(--corps);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--noir);
  padding-bottom: 3px;
  background: transparent;
  transition: color .2s ease, border-color .2s ease;
}
.lien-fleche:hover{ color: var(--gris); border-color: var(--jaune); }
.sec--noir .lien-fleche{ border-color: var(--blanc); color: var(--blanc); }
.sec--noir .lien-fleche:hover{ color: var(--jaune); }


/* ---------- flotte ---------- */

.flotte{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.voiture{
  background: var(--papier);
  border: 1px solid rgba(17,17,17,.16);
  display: flex;
  flex-direction: column;
}

.voiture__plaque{
  position: relative;
  background: linear-gradient(180deg, #FAFAF8 0%, #EDEDEA 100%);
  padding: 14px 16px 4px;
  border-bottom: 1px solid rgba(17,17,17,.10);
}
.voiture__cat{
  font-family: var(--corps);
  font-weight: 700;
  font-size: .62rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gris-doux);
}
.voiture__plaque img{
  width: 100%;
  max-width: 320px;
  height: 168px;
  object-fit: contain;
  margin: 0 auto;
}

.voiture__corps{ padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.voiture h3{ font-size: 1.25rem; }

.specs{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 14px;
  margin: 0;
  padding: 13px 0 0;
  border-top: 1px solid var(--ligne);
  list-style: none;
  font-size: .80rem;
  color: var(--gris);
}
.specs li{ display: flex; align-items: center; gap: 7px; }
.specs li::before{ content: ""; width: 4px; height: 4px; background: var(--gris-doux); flex: none; }

.voiture__pied{
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--ligne);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.prix{ font-size: .82rem; color: var(--gris-doux); }
.prix b{ font-family: var(--titre); font-size: 1.22rem; color: var(--noir); font-weight: 700; }

/* filtres de la page voitures */
.filtres{ display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filtre{
  font-family: var(--corps);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1.5px solid rgba(17,17,17,.28);
  background: transparent;
  color: var(--noir);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filtre:hover{ border-color: var(--noir); }
.filtre.actif{ background: var(--noir); color: var(--blanc); border-color: var(--noir); }

/* ---------- cartes en pratique ---------- */

.grille-3{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.pcarte{
  background: var(--papier);
  border: 1px solid var(--ligne);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pcarte h3{ font-size: 1.3rem; }
.pcarte p{ margin: 0; color: var(--gris); font-size: .97rem; }

/* pictogramme du kit, mais disque noir et glyphe jaune: la forme reste, la masse de jaune part */
.ico{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex: none;
  background: var(--noir);
  border-radius: 50%;
}
.ico svg{ display: block; width: 21px; height: 21px; }

/* ---------- l'agence ---------- */

.duo{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.duo__texte p{ color: var(--gris); }
.duo__media img{ width: 100%; max-width: 520px; height: 380px; object-fit: cover; }

/* ---------- avis ---------- */

.avis{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.avis__item{
  background: var(--papier);
  border-top: 3px solid var(--noir);
  padding: 28px 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sec--noir .avis__item{ background: var(--noir-2); }
.avis__item blockquote{
  margin: 0;
  font-family: var(--titre);
  font-size: 1.06rem;
  line-height: 1.55;
}
.avis__nom{
  margin: 0;
  font-size: .70rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gris-doux);
}
.sec--noir .avis__nom{ color: rgba(255,255,255,.55); }

/* ---------- bande photo ---------- */

.bande{
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.bande__fond{ position: absolute; inset: 0; }
.bande__fond img{ width: 100%; height: 100%; object-fit: cover; }
.bande__voile{ position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.86), rgba(10,10,10,.42)); }
.bande__contenu{ position: relative; z-index: 2; color: var(--blanc); padding: 74px 0; width: 100%; }
.bande__contenu h2{ font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 20ch; }
.bande__contenu p{ margin: 16px 0 26px; max-width: 48ch; color: rgba(255,255,255,.84); }
.bande__actions{ display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- tete de page interieure ---------- */

.tete{
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--entete) + 56px) 0 52px;
  overflow: hidden;
}
.tete__fond{ position: absolute; inset: 0; }
.tete__fond img{ width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.tete__voile{ position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.62), rgba(10,10,10,.80)); }
.tete__contenu{ position: relative; z-index: 2; color: var(--blanc); }
.tete h1{ font-size: clamp(2.1rem, 5vw, 3.3rem); }
.tete p{ margin: 14px 0 0; color: rgba(255,255,255,.86); max-width: 46ch; }

/* ---------- contact ---------- */

.contact-grille{ display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: stretch; }
.coord{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 26px; }
.coord li{ display: flex; gap: 16px; align-items: flex-start; }
.coord dt, .coord .etiq{
  font-size: .66rem; font-weight: 700; letter-spacing: .17em;
  text-transform: uppercase; color: var(--gris-doux); margin: 0 0 4px;
}
.coord .val{ margin: 0; font-size: 1.02rem; font-weight: 500; }
.coord a{ text-decoration: none; }
.coord a:hover{ color: var(--gris); }

.carte{ position: relative; min-height: 420px; background: var(--creme); }
.carte iframe{ position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.actions-contact{ display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* ---------- pied de page ---------- */

.pied{ background: var(--noir); color: rgba(255,255,255,.74); padding: 68px 0 0; }
.pied__haut{ display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 44px; padding-bottom: 46px; }
.pied__logo img{ width: 100%; max-width: 250px; height: auto; }
.pied__logo p{ margin: 18px 0 0; font-size: .93rem; max-width: 34ch; }
.pied h3{
  font-family: var(--corps); font-weight: 700; font-size: .68rem;
  letter-spacing: .17em; text-transform: uppercase; color: rgba(255,255,255,.55); margin: 0 0 16px;
}
.pied ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pied a{ text-decoration: none; transition: color .2s ease; }
.pied a:hover{ color: var(--jaune); }
.pied__bas{
  border-top: 1px solid var(--ligne-noir);
  padding: 22px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
}
.credit{ text-transform: uppercase; text-decoration: none; letter-spacing: .1em; font-weight: 600; font-size: .70rem; }

/* ---------- modale de devis ---------- */

.modale{
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modale.ouverte{ display: flex; }
.modale__fond{ position: absolute; inset: 0; background: rgba(8,8,8,.72); }
.modale__boite{
  position: relative;
  background: var(--papier);
  width: 100%; max-width: 560px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 34px 32px 30px;
}
.modale__fermer{
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px;
  border: 0; background: transparent; cursor: pointer;
  font-size: 1.5rem; line-height: 1; color: var(--gris);
}
.modale__fermer:hover{ color: var(--noir); }
.jauge{ height: 3px; background: var(--ligne); margin-bottom: 24px; }
.jauge span{ display: block; height: 100%; background: var(--noir); width: 33%; transition: width .3s ease; }
.modale h3{ font-size: 1.5rem; margin-bottom: 6px; }
.modale__soutitre{ color: var(--gris-doux); font-size: .92rem; margin-bottom: 22px; }
.etape{ display: none; }
.etape.active{ display: block; }
.puces{ display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 8px; }
.puce{
  font-family: var(--corps); font-weight: 600; font-size: .82rem;
  padding: 9px 16px;
  border: 1.5px solid var(--ligne);
  background: transparent;
  color: var(--noir);
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.puce:hover{ border-color: var(--noir); }
.puce.choisie{ background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.champs-dates{ display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.champ-modale label{
  display: block;
  font-size: .64rem; font-weight: 700; letter-spacing: .15em;
  text-transform: uppercase; color: var(--gris-doux); margin-bottom: 6px;
}
.champ-modale input{
  width: 100%; padding: 11px 12px;
  border: 1.5px solid var(--ligne);
  font-family: var(--corps); font-size: .95rem; color: var(--noir);
  background: var(--papier);
}
.champ-modale input:focus{ outline: none; border-color: var(--noir); }
.recap{ background: var(--creme); padding: 18px 20px; margin-bottom: 22px; }
.recap dl{ margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .92rem; }
.recap dt{ font-weight: 700; font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; color: var(--gris-doux); align-self: center; }
.recap dd{ margin: 0; }
.reveal-contact{ display: flex; flex-direction: column; gap: 10px; }
.modale__actions{ display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
body.devis-open{ overflow: hidden; }

/* ---------- reveal ---------- */

.reveal{ opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.vu{ opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
  .hero__fond img{ animation: none; }
  html{ scroll-behavior: auto; }
}

/* ---------- responsive ---------- */

@media (max-width: 1040px){
  .flotte{ grid-template-columns: repeat(2, 1fr); }
  .avis{ grid-template-columns: repeat(2, 1fr); }
  .duo{ grid-template-columns: 1fr; gap: 36px; }
  .duo__media img{ max-width: 100%; height: 320px; }
  .pied__haut{ grid-template-columns: 1fr 1fr; }
  .pied__logo{ grid-column: 1 / -1; }
}

@media (max-width: 900px){
  .widget{ grid-template-columns: 1fr 1fr; }
  .champ--vehicule{ grid-column: 1 / -1; }
  .widget .btn{ grid-column: 1 / -1; padding: 16px 26px; }
  .contact-grille{ grid-template-columns: 1fr; }
  .grille-3{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  /* la colonne des liens dispara&icirc;t du flux: sans cela .nav__end retombe
     dans la colonne du milieu et le burger se retrouve au centre de la barre */
  .nav{ grid-template-columns: 1fr auto; }
  .nav__links{ display: none; }
  .burger{ display: inline-flex; }
  .sec{ padding: 70px 0; }
  .faits .wrap{ grid-template-columns: 1fr; }
  .fait{ padding: 22px var(--pad); }
  .bande__voile{ background: linear-gradient(180deg, rgba(10,10,10,.62), rgba(10,10,10,.84)); }
}

@media (max-width: 720px){
  .flotte{ grid-template-columns: 1fr; }
  .avis{ grid-template-columns: 1fr; }
  .voiture__plaque img{ height: 190px; }
  .pied__haut{ grid-template-columns: 1fr; gap: 34px; }
}

@media (max-width: 620px){
  /* le CTA du menu porte deja l'action, sinon le wordmark casse en trois lignes */
  .nav__end .btn{ display: none; }
  :root{ --pad: 20px; }
  .hero{ padding-bottom: 40px; }
  .widget{ grid-template-columns: 1fr; }
  .champs-dates{ grid-template-columns: 1fr; }
  .modale__boite{ padding: 30px 22px 26px; }
  .voiture__pied{ flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px){
  .nav__brand img{ height: 38px; }
  .site-header.scrolled .nav__brand img{ height: 34px; }
  .menu a{ font-size: 1.6rem; }
}
