/* Edkhil Car, Rabat. Light cool-grey ground, petrol fleet band, ocean accent.
   Kit panel 01 verbatim. Montserrat carries the titles (kit font), Figtree the
   body, the nav and the whole micro-typography layer.
   Note: the kit prints "#2D2DDD" for Anthracite while the swatch is charcoal.
   Read as #2D2D2D, the obvious intent. */

:root {
  /* Kit, panneau 01 */
  --ocean:      #2F9AA3;   /* Bleu Ocean, principal */
  --petrole:    #0F3D46;   /* Bleu Fonce, elegance */
  --gris:       #E8F0F1;   /* Gris Clair, neutre, the page ground */
  --anthracite: #2D2D2D;   /* Texte */

  /* Derives */
  --blanc:       #FFFFFF;
  --petrole-2:   #0B2E35;   /* deeper, for the footer and veils */
  --petrole-3:   #14505C;   /* lifted, for plates on the dark band */
  --ocean-clair: #4FB3BC;
  --ocean-sombre:#25808A;
  --gris-2:      #DCE7E9;   /* hairline on the light ground */
  --gris-3:      #F4F8F9;

  --encre:        #1D2A2C;
  --encre-doux:   #566468;
  --encre-faible: #7E8C90;

  --sur-petrole:        #E8F0F1;
  --sur-petrole-doux:   rgba(232, 240, 241, .74);
  --sur-petrole-faible: rgba(232, 240, 241, .52);
  --ligne-petrole:      rgba(232, 240, 241, .16);

  --titre: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --corps: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 52px);
  --r: 14px;          /* the curve system, echoing the logo swoosh */
  --r-s: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ombre: 0 14px 40px rgba(15, 61, 70, .10);
  --ombre-forte: 0 22px 60px rgba(15, 61, 70, .18);
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--gris);
  color: var(--encre);
  font-family: var(--corps);
  font-size: 17px;
  line-height: 1.66;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 700;
  color: var(--petrole);
  margin: 0 0 .5em;
  line-height: 1.18;
  letter-spacing: -.012em;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: clamp(1.08rem, 1.8vw, 1.3rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ocean-sombre); }

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  background: transparent;          /* a bare <button> otherwise inherits browser grey */
  border: 1px solid transparent;
  border-radius: 999px;
  padding: .82em 1.6em;
  font-family: var(--corps);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
}
.btn:hover { transform: translateY(-1px); }

.btn--primaire { background: var(--ocean); color: #fff; border-color: var(--ocean); }
.btn--primaire:hover { background: var(--ocean-sombre); border-color: var(--ocean-sombre); }

.btn--petrole { background: var(--petrole); color: var(--sur-petrole); border-color: var(--petrole); }
.btn--petrole:hover { background: var(--petrole-2); border-color: var(--petrole-2); }

.btn--contour { border-color: var(--gris-2); color: var(--petrole); background: var(--blanc); }
.btn--contour:hover { border-color: var(--ocean); color: var(--ocean-sombre); }

.btn--clair { border-color: var(--ligne-petrole); color: var(--sur-petrole); }
.btn--clair:hover { background: var(--sur-petrole); color: var(--petrole); border-color: var(--sur-petrole); }

.btn--fantome { color: #fff; border-color: rgba(255,255,255,.5); }
.btn--fantome:hover { background: #fff; color: var(--petrole); border-color: #fff; }

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

.site-entete {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  padding: 16px 0;
  transition: background .28s var(--ease), box-shadow .28s var(--ease), padding .28s var(--ease);
}
.site-entete.defile {
  background: var(--blanc);         /* opaque: at .95 the page text read through the bar */
  box-shadow: 0 1px 0 var(--gris-2), 0 10px 30px rgba(15, 61, 70, .06);
  padding: 10px 0;
}
body.menu-ouvert .site-entete { z-index: 130; }   /* burger stays tappable over the overlay */

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

.marque { display: inline-flex; align-items: center; justify-self: start; }
.marque img { height: 46px; width: auto; transition: height .28s var(--ease); }
.site-entete.defile .marque img { height: 40px; }
.marque__clair { display: block; }
.marque__couleur { display: none; }
.site-entete.defile .marque__clair { display: none; }
.site-entete.defile .marque__couleur { display: block; }
.page-solide .marque__clair { display: none; }
.page-solide .marque__couleur { display: block; }

.nav { justify-self: center; }
.nav ul {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  font-family: var(--corps);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  padding: 6px 0;
  position: relative;
  transition: color .2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--ocean-clair);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .26s var(--ease);
}
.nav a:hover::after, .nav a.actif::after { transform: scaleX(1); }
.site-entete.defile .nav a, .page-solide .nav a { color: var(--petrole); }
.site-entete.defile .nav a:hover, .page-solide .nav a:hover { color: var(--ocean-sombre); }

.entete__fin { justify-self: end; display: flex; align-items: center; gap: 12px; }
.entete__cta { border-color: rgba(255,255,255,.55); color: #fff; }
.entete__cta:hover { background: #fff; color: var(--petrole); border-color: #fff; }
.site-entete.defile .entete__cta, .page-solide .entete__cta {
  background: var(--ocean); border-color: var(--ocean); color: #fff;
}
.site-entete.defile .entete__cta:hover, .page-solide .entete__cta:hover {
  background: var(--ocean-sombre); border-color: var(--ocean-sombre);
}

.burger {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  width: 42px;
  height: 42px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
  border-radius: 2px;
  transition: transform .26s var(--ease), opacity .2s var(--ease), background .26s var(--ease);
}
.site-entete.defile .burger span, .page-solide .burger span { background: var(--petrole); }
body.menu-ouvert .burger span { background: var(--sur-petrole); }
body.menu-ouvert .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-ouvert .burger span:nth-child(2) { opacity: 0; }
body.menu-ouvert .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Menu overlay is a SIBLING of the header, opaque, full viewport. */
.menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 110;
  background: var(--petrole);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 96px var(--pad) 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .26s var(--ease), visibility .26s var(--ease);
}
body.menu-ouvert .menu { opacity: 1; visibility: visible; }
.menu a {
  font-family: var(--titre);
  font-weight: 700;
  font-size: clamp(1.5rem, 7vw, 2.1rem);
  color: var(--sur-petrole);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--ligne-petrole);
}
.menu a.actif { color: var(--ocean-clair); }
.menu .menu__cta {
  margin-top: 26px;
  border: 0;
  align-self: flex-start;
  font-family: var(--corps);
  font-size: .95rem;
  background: var(--ocean);
  color: #fff;
  padding: .9em 1.8em;
  border-radius: 999px;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 150px 0 0;
  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: 50% 52%; }
.hero__voile {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,46,53,.62) 0%, rgba(11,46,53,.18) 34%, rgba(11,46,53,.30) 66%, rgba(11,46,53,.72) 100%);
}
.hero__contenu { position: relative; z-index: 2; width: 100%; padding-bottom: 40px; }
.hero h1 { color: #fff; max-width: 15ch; text-shadow: 0 2px 30px rgba(11,46,53,.4); }
.hero__sous {
  color: #fff;
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  font-weight: 500;
  max-width: 46ch;
  margin: 0 0 30px;
  text-shadow: 0 1px 22px rgba(11,46,53,.6);
}

/* Quote widget, floating white card that overlaps the hero foot */
.widget {
  background: var(--blanc);
  border-radius: var(--r);
  box-shadow: var(--ombre-forte);
  padding: 18px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 14px;
  align-items: end;
  max-width: 940px;
}
.widget .champ label {
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--encre-faible);
  margin-bottom: 6px;
}
.widget .champ select,
.widget .champ input {
  width: 100%;
  border: 1px solid var(--gris-2);
  border-radius: var(--r-s);
  background: var(--gris-3);
  padding: .72em .8em;
  font-family: var(--corps);
  font-size: .95rem;
  color: var(--encre);
  min-width: 0;
}
.widget .champ select:focus,
.widget .champ input:focus { outline: 2px solid var(--ocean); outline-offset: 1px; }
.widget .btn { width: 100%; padding-top: .95em; padding-bottom: .95em; }

/* -------------------------------------------------------------- bandeaux */

.faits { background: var(--blanc); border-bottom: 1px solid var(--gris-2); }
.faits__grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gris-2);
}
.fait {
  background: var(--blanc);
  padding: 30px clamp(14px, 2.4vw, 30px);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.fait__ico { display: block; width: 30px; height: 30px; flex: 0 0 30px; color: var(--ocean); }
.fait__ico svg { display: block; width: 30px; height: 30px; }
.fait__t {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--encre-faible);
  margin: 0 0 3px;
}
.fait__v { margin: 0; font-weight: 600; color: var(--petrole); line-height: 1.4; }
.fait__v a { color: inherit; text-decoration: none; }
.fait__v a:hover { color: var(--ocean-sombre); }

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

.sec { padding: clamp(60px, 8vw, 104px) 0; }
.sec--blanc { background: var(--blanc); }
.sec--petrole { background: var(--petrole); color: var(--sur-petrole); }
.sec--petrole h2, .sec--petrole h3 { color: var(--sur-petrole); }

.sec__tete { max-width: 62ch; margin-bottom: clamp(30px, 4vw, 48px); }
.sec__tete p { color: var(--encre-doux); margin-bottom: 0; }
.sec--petrole .sec__tete p { color: var(--sur-petrole-doux); }

/* The swoosh rule, the site's own motif, drawn from the logo curve */
.filet { display: block; width: 148px; height: 12px; margin: 0 0 18px; color: var(--ocean); }
.filet svg { display: block; width: 148px; height: 12px; }
.sec--petrole .filet { color: var(--ocean-clair); }

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

.flotte {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.voiture {
  background: var(--petrole-3);
  border: 1px solid var(--ligne-petrole);
  border-radius: var(--r);
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
}
.voiture__media {
  background: linear-gradient(160deg, rgba(232,240,241,.10), rgba(232,240,241,.03));
  border-radius: var(--r-s);
  padding: 10px;
  margin-bottom: 16px;
}
.voiture__media img { width: 100%; height: auto; }
.voiture__cat {
  font-family: var(--corps);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ocean-clair);
  margin: 0 0 4px;
}
.voiture h3 { margin: 0 0 12px; font-size: 1.16rem; }
.voiture__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  list-style: none;
  margin: 0 0 16px;
  padding: 14px 0 0;
  border-top: 1px solid var(--ligne-petrole);
  font-size: .84rem;
  color: var(--sur-petrole-doux);
}
.voiture__pied {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.voiture__prix { font-size: .86rem; color: var(--sur-petrole-doux); }
.voiture__prix b { display: block; font-family: var(--titre); font-weight: 700; font-size: 1.02rem; color: var(--sur-petrole); }
.note-tarifs { margin: 26px 0 0; font-size: .86rem; color: var(--sur-petrole-faible); }

.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filtre {
  background: var(--blanc);
  border: 1px solid var(--gris-2);
  border-radius: 999px;
  padding: .6em 1.25em;
  font-family: var(--corps);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--encre-doux);
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.filtre:hover { border-color: var(--ocean); color: var(--ocean-sombre); }
.filtre.actif { background: var(--petrole); border-color: var(--petrole); color: var(--sur-petrole); }
.sec--petrole .filtre { background: transparent; border-color: var(--ligne-petrole); color: var(--sur-petrole-doux); }
.sec--petrole .filtre:hover { border-color: var(--ocean-clair); color: var(--ocean-clair); }
.sec--petrole .filtre.actif { background: var(--sur-petrole); border-color: var(--sur-petrole); color: var(--petrole); }

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

.pratique { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.carte {
  background: var(--blanc);
  border: 1px solid var(--gris-2);
  border-radius: var(--r);
  padding: 28px 26px;
}
.carte__ico { display: block; width: 34px; height: 34px; color: var(--ocean); margin-bottom: 14px; }
.carte__ico svg { display: block; width: 34px; height: 34px; }
.carte h3 { margin-bottom: .4em; }
.carte p { color: var(--encre-doux); margin: 0; font-size: .96rem; }

/* --------------------------------------------------------------- deux cols */

.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.duo__media { border-radius: var(--r); overflow: hidden; box-shadow: var(--ombre); }
.duo__media img { width: 100%; max-width: 520px; height: 380px; object-fit: cover; }
.duo__texte p { color: var(--encre-doux); }

.citation {
  margin: 0;
  padding: 26px 28px;
  background: var(--gris-3);
  border-left: 3px solid var(--ocean);
  border-radius: 0 var(--r-s) var(--r-s) 0;
}
.citation p { font-size: 1.06rem; color: var(--petrole); margin-bottom: .6em; }
.citation footer { font-size: .82rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--encre-faible); }

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

.bande { background: var(--petrole); color: var(--sur-petrole); padding: clamp(52px, 7vw, 82px) 0; }
.bande__grille { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.bande h2 { color: var(--sur-petrole); margin-bottom: .3em; }
.bande p { color: var(--sur-petrole-doux); margin: 0; }
.bande__actions { display: flex; gap: 12px; flex-wrap: wrap; }

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

.tete {
  position: relative;
  padding: clamp(150px, 20vw, 210px) 0 clamp(52px, 7vw, 78px);
  overflow: hidden;
}
.tete__fond { position: absolute; inset: 0; }
.tete__fond img { width: 100%; height: 100%; object-fit: cover; }
.tete__voile {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,46,53,.78) 0%, rgba(11,46,53,.52) 55%, rgba(11,46,53,.70) 100%);
}
.tete__contenu { position: relative; z-index: 2; }
.tete h1 { color: #fff; margin-bottom: .25em; }
.tete p { color: rgba(255,255,255,.9); max-width: 52ch; margin: 0; }

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

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 52px); align-items: stretch; }
.coord { list-style: none; margin: 0; padding: 0; }
.coord li { padding: 18px 0; border-bottom: 1px solid var(--gris-2); display: flex; gap: 16px; align-items: flex-start; }
.coord li:first-child { padding-top: 0; }
.coord__ico { display: block; width: 26px; height: 26px; flex: 0 0 26px; color: var(--ocean); margin-top: 3px; }
.coord__ico svg { display: block; width: 26px; height: 26px; }
.coord__t { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--encre-faible); margin: 0 0 3px; }
.coord__v { margin: 0; font-weight: 600; color: var(--petrole); }
.coord__v a { color: inherit; text-decoration: none; }
.coord__v a:hover { color: var(--ocean-sombre); }
.coord__v span { display: block; font-weight: 400; color: var(--encre-doux); font-size: .95rem; }

.carte-map { position: relative; min-height: 380px; border-radius: var(--r); overflow: hidden; box-shadow: var(--ombre); }
.carte-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ----------------------------------------------------------------- footer */

.pied { background: var(--petrole-2); color: var(--sur-petrole-doux); padding: clamp(48px, 6vw, 72px) 0 0; }
.pied__haut { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 42px; }
.pied__logo img { height: 78px; width: auto; margin-bottom: 18px; }
.pied__blurb { max-width: 40ch; font-size: .95rem; margin: 0; }
.pied h4 {
  font-family: var(--corps);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sur-petrole-faible);
  margin: 0 0 16px;
}
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 9px; font-size: .95rem; }
.pied a { color: var(--sur-petrole-doux); text-decoration: none; }
.pied a:hover { color: var(--sur-petrole); }
.pied__bas {
  border-top: 1px solid var(--ligne-petrole);
  padding: 22px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--sur-petrole-faible);
}
.credit { text-transform: uppercase; text-decoration: none; letter-spacing: .1em; }
.credit:hover { text-decoration: none; color: var(--sur-petrole); }

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

.devis { position: fixed; inset: 0; z-index: 200; display: none; }
.devis.ouverte { display: block; }
.devis__fond { position: absolute; inset: 0; background: rgba(11,46,53,.66); backdrop-filter: blur(3px); }
.devis__panneau {
  position: relative;
  width: min(560px, calc(100vw - 32px));
  margin: clamp(20px, 8vh, 90px) auto 20px;
  background: var(--blanc);
  border-radius: var(--r);
  box-shadow: var(--ombre-forte);
  padding: 32px clamp(20px, 4vw, 38px) 26px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
}
.devis__fermer {
  position: absolute; top: 12px; right: 14px;
  background: transparent; border: 0;
  font-size: 1.9rem; line-height: 1;
  color: var(--encre-faible);
  cursor: pointer; padding: 4px 8px;
}
.devis__fermer:hover { color: var(--petrole); }
.devis__barre { height: 3px; background: var(--gris-2); border-radius: 3px; margin-bottom: 26px; overflow: hidden; }
.devis__barre i { display: block; height: 100%; width: 33%; background: var(--ocean); transition: width .3s var(--ease); }
.devis__etape { display: none; }
.devis__etape.est-active { display: block; }
.devis__etape h3 { margin-bottom: .3em; }
.devis__etape > p { color: var(--encre-doux); font-size: .95rem; }
.devis__champs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.champ--large { grid-column: 1 / -1; }
.devis__champs label {
  display: block;
  font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--encre-faible); margin-bottom: 6px;
}
.devis__champs select, .devis__champs input {
  width: 100%;
  border: 1px solid var(--gris-2);
  border-radius: var(--r-s);
  background: var(--gris-3);
  padding: .74em .8em;
  font-family: var(--corps);
  font-size: .95rem;
  color: var(--encre);
  min-width: 0;
}
.devis__champs select:focus, .devis__champs input:focus { outline: 2px solid var(--ocean); outline-offset: 1px; }
.devis__recap { margin: 18px 0 22px; background: var(--gris-3); border-radius: var(--r-s); padding: 18px 20px; }
.devis__recap dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; }
.devis__recap dt { font-size: .68rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--encre-faible); align-self: center; }
.devis__recap dd { margin: 0; font-weight: 600; color: var(--petrole); }
.devis__joindre { display: flex; gap: 12px; flex-wrap: wrap; }
.devis__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }

body.devis-ouvert, body.menu-ouvert { overflow: hidden; }

/* ---------------------------------------------------------------- reveals */

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].vu { opacity: 1; transform: none; }
[data-stagger] > * { opacity: 0; transform: translateY(16px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
[data-stagger].vu > * { opacity: 1; transform: none; }
[data-stagger].vu > *:nth-child(2) { transition-delay: .07s; }
[data-stagger].vu > *:nth-child(3) { transition-delay: .14s; }
[data-stagger].vu > *:nth-child(4) { transition-delay: .21s; }
[data-stagger].vu > *:nth-child(5) { transition-delay: .28s; }
[data-stagger].vu > *:nth-child(6) { transition-delay: .35s; }
[data-stagger].vu > *:nth-child(7) { transition-delay: .42s; }
[data-stagger].vu > *:nth-child(8) { transition-delay: .49s; }
[data-stagger].vu > *:nth-child(9) { transition-delay: .56s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn:hover { transform: none; }
}

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

@media (max-width: 1080px) {
  .flotte { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .widget { grid-template-columns: 1fr 1fr; }
  .widget .champ--vehicule { grid-column: 1 / -1; }
  .widget .btn { grid-column: 1 / -1; }
  .duo { grid-template-columns: 1fr; }
  .duo__media img { max-width: 100%; height: 300px; }
  .contact { grid-template-columns: 1fr; }
  .pratique { grid-template-columns: 1fr; }
  .pied__haut { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
  .nav, .entete__fin .entete__cta { display: none; }
  .burger { display: block; }
  .entete__grille { grid-template-columns: 1fr auto; }
  .marque { justify-self: start; }
  .entete__fin { justify-self: end; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { min-height: 92svh; padding-top: 120px; }
  .hero__contenu { padding-bottom: 28px; }
  .faits__grille { grid-template-columns: 1fr; }
  .flotte { grid-template-columns: 1fr; }
  .bande__grille { flex-direction: column; align-items: flex-start; }
  .pied__haut { grid-template-columns: 1fr; gap: 30px; }
  .devis__champs { grid-template-columns: 1fr; }
  .devis__nav { flex-direction: column-reverse; }
  .devis__nav .btn { width: 100%; }
}

@media (max-width: 620px) {
  .marque img { height: 38px; }
  .site-entete.defile .marque img { height: 34px; }
  .widget { grid-template-columns: 1fr; padding: 16px; }
  .voiture__pied { flex-direction: column; align-items: flex-start; }
  .voiture__pied .btn { width: 100%; }
}
