/* Dina Car, location de voitures, Agdal Rabat.
   Kit panneau 01 verbatim : navy #0D1B2A, rouge #D62828, gris #333333, clair #F1F1F1, blanc #FFFFFF.
   Kit panneau 02 : Montserrat Bold principale, Montserrat Regular secondaire.
   Exo 2 porte la micro-typo (nav, boutons, sur-titres, categories, filtres, labels de pied).
   Systeme de formes : le swoosh du kit (habillage vehicule, papeterie, enseigne, roll-up). */

:root {
  --navy:      #0D1B2A;
  --rouge:     #D62828;
  --gris:      #333333;
  --clair:     #F1F1F1;
  --blanc:     #FFFFFF;

  /* derives */
  --navy-2:    #122435;
  --navy-3:    #1B3550;
  --rouge-2:   #B01F1F;
  --clair-2:   #E4E7EA;
  --ligne:     #D8DCE1;
  --encre:     #0D1B2A;
  --encre-doux:#5A6472;

  --sur-navy:       #FFFFFF;
  --sur-navy-doux:  rgba(255,255,255,.74);
  --sur-navy-faible:rgba(255,255,255,.50);
  --ligne-navy:     rgba(255,255,255,.15);

  --police:       "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --police-micro: "Exo 2", "Montserrat", sans-serif;

  --wrap: 1220px;
  --pad: clamp(20px, 5vw, 56px);
  --nav-h: 84px;
  --r: 3px;
  --r-carte: 10px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --ombre: 0 2px 12px rgba(13,27,42,.07);
  --ombre-2: 0 18px 44px -20px rgba(13,27,42,.34);
}

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

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

body {
  margin: 0;
  background: var(--clair);
  color: var(--encre);
  font-family: var(--police);
  font-size: 16.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ------------------------------------------------------------------ typo */

.h1, .h2, .h3 { font-family: var(--police); font-weight: 800; letter-spacing: -.015em; margin: 0; }
.h1 { font-size: clamp(34px, 5.6vw, 60px); line-height: 1.08; }
.h2 { font-size: clamp(27px, 3.5vw, 40px); line-height: 1.14; }
.h3 { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.25; font-weight: 700; }

.sur-titre {
  font-family: var(--police-micro);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rouge);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sur-titre::before { content: ""; width: 26px; height: 2px; background: var(--rouge); flex: none; }
.sec--navy .sur-titre { color: #FF6B6B; }
.sec--navy .sur-titre::before { background: #FF6B6B; }

.lead { font-size: clamp(16px, 1.35vw, 18px); color: var(--encre-doux); margin: 14px 0 0; max-width: 56ch; }
.sec--navy .lead { color: var(--sur-navy-doux); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--police-micro);
  font-weight: 700; font-size: 13.5px; letter-spacing: .09em; text-transform: uppercase;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--r);
  background: transparent;            /* jamais le gris par defaut du navigateur */
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .22s var(--ease), color .22s var(--ease), border-color .22s var(--ease);
}
.btn--primaire { background: var(--rouge); border-color: var(--rouge); color: #fff; }
.btn--primaire:hover { background: var(--rouge-2); border-color: var(--rouge-2); }
.btn--contour { border-color: var(--navy); color: var(--navy); }
.btn--contour:hover { background: var(--navy); color: #fff; }
.btn--clair { border-color: rgba(255,255,255,.55); color: #fff; }
.btn--clair:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 12px; }
.btn:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; }

/* ------------------------------------------------------------------- nav */

.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--nav-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--pad);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.nav.scrolled { background: var(--blanc); box-shadow: 0 1px 0 var(--ligne), 0 6px 22px -18px rgba(13,27,42,.5); }

.nav__brand { position: relative; z-index: 120; display: inline-flex; align-items: center; justify-self: start; }
.nav__logo { height: 46px; width: auto; }
.nav__logo--clair { display: block; }
.nav__logo--couleur { display: none; }
.nav.scrolled .nav__logo--clair { display: none; }
.nav.scrolled .nav__logo--couleur { display: block; }

.nav__links { display: flex; align-items: center; gap: 30px; justify-self: center; }
.nav__links a {
  font-family: var(--police-micro);
  font-weight: 600; font-size: 13.5px; letter-spacing: .11em; text-transform: uppercase;
  color: #fff; text-decoration: none; position: relative; padding: 6px 0;
  transition: color .2s var(--ease);
}
.nav.scrolled .nav__links a { color: var(--navy); }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--rouge); transform: scaleX(0); transform-origin: left; transition: transform .24s var(--ease);
}
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }

.nav__fin { display: flex; align-items: center; gap: 12px; justify-self: end; position: relative; z-index: 120; }
.nav__links .nav__cta--menu { display: none; }   /* jamais deux boutons devis en desktop */

.nav__burger {
  display: none; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 0; cursor: pointer;
}
.nav__burger span {
  display: block; width: 24px; height: 2px; margin: 5px auto; background: #fff;
  transition: transform .26s var(--ease), opacity .2s var(--ease);
}
.nav.scrolled .nav__burger span, .nav.menu-open .nav__burger span { background: var(--navy); }
body.nav-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav__burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 40px) 0 76px; 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; }
.hero__voile {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(13,27,42,.80) 0%, rgba(13,27,42,.32) 34%, rgba(13,27,42,.58) 66%, rgba(13,27,42,.90) 100%),
    linear-gradient(90deg, rgba(13,27,42,.62) 0%, rgba(13,27,42,.10) 62%);
}
.hero__inner { position: relative; width: 100%; }
.hero .h1 { color: #fff; max-width: 17ch; text-shadow: 0 2px 26px rgba(13,27,42,.45); }
.hero__sous { color: rgba(255,255,255,.90); font-size: clamp(16px, 1.5vw, 19px); margin: 18px 0 0; max-width: 36ch; }

/* widget de devis du hero */
.widget {
  margin-top: 30px;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr auto; gap: 12px; align-items: end;
  background: rgba(255,255,255,.96);
  border-radius: var(--r-carte);
  padding: 18px;
  box-shadow: var(--ombre-2);
  max-width: 940px;
}
.champ { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.champ label {
  font-family: var(--police-micro); font-weight: 700; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--encre-doux);
}
.champ select, .champ input {
  font-family: var(--police); font-size: 15px; color: var(--encre);
  background: var(--clair); border: 1.5px solid var(--ligne); border-radius: var(--r);
  padding: 12px 13px; width: 100%; min-width: 0; height: 48px;
  appearance: none; -webkit-appearance: none;
}
.champ select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%230D1B2A' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 12px;
  padding-right: 34px;
}
.champ select:focus, .champ input:focus { outline: none; border-color: var(--rouge); }
.widget .btn { height: 48px; }

.hero__faits {
  margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 30px;
  color: rgba(255,255,255,.88); font-size: 14.5px;
}
.hero__faits span { display: inline-flex; align-items: center; gap: 9px; }
.hero__faits svg { width: 17px; height: 17px; flex: none; fill: none; stroke: var(--rouge); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hero__faits a { text-decoration: none; }
.hero__faits a:hover { text-decoration: underline; }

/* ---------------------------------------------------------- le swoosh */
/* Motif du kit : la vague rouge et navy de l'habillage vehicule et de la papeterie.
   Fait la transition entre une section claire et une section navy. */

.swoosh {
  height: clamp(46px, 6vw, 96px);
  background-color: var(--clair);          /* la zone transparente prolonge la section du dessus */
  background-repeat: no-repeat; background-position: center bottom; background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 110' preserveAspectRatio='none'%3E%3Cpath d='M0 110V70C240 20 560 4 860 26c260 19 440 50 580 62v22z' fill='%230D1B2A'/%3E%3Cpath d='M0 62C240 12 560-4 860 18c260 19 440 50 580 62v14c-140-12-320-43-580-62C560 10 240 26 0 76z' fill='%23D62828'/%3E%3C/svg%3E");
  margin-bottom: -1px;
}
.swoosh--blanc { background-color: var(--blanc); }
.swoosh--inverse { transform: rotate(180deg); margin: -1px 0 0; }

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

.sec { padding: clamp(64px, 8vw, 104px) 0; }
.sec--blanc { background: var(--blanc); }
.sec--navy { background: var(--navy); color: var(--sur-navy); }
.sec--serre { padding: clamp(48px, 6vw, 76px) 0; }

.tete-sec { margin-bottom: clamp(34px, 4vw, 52px); max-width: 62ch; }
.sec--navy .h2 { color: #fff; }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-d="1"] { transition-delay: .09s; }
[data-reveal][data-d="2"] { transition-delay: .18s; }
[data-reveal][data-d="3"] { transition-delay: .27s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* --------------------------------------------------------- trois tuiles */

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat {
  display: flex; flex-direction: column;
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r-carte);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cat:hover { transform: translateY(-4px); box-shadow: var(--ombre-2); border-color: transparent; }
.cat__media { background: linear-gradient(178deg, var(--clair) 0%, var(--clair-2) 100%); padding: 22px 20px 14px; }
.cat__media img { width: 100%; height: auto; }
.cat__corps { padding: 20px 24px 26px; }
.cat__corps p { margin: 8px 0 16px; color: var(--encre-doux); font-size: 15.5px; }
.lien-fleche { display: inline-flex; align-items: center; gap: 9px; font-family: var(--police-micro); font-weight: 700; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--rouge); }
.lien-fleche svg { width: 20px; height: 9px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.cat:hover .lien-fleche svg { transform: translateX(4px); transition: transform .25s var(--ease); }

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

.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filtre {
  font-family: var(--police-micro); font-weight: 700; font-size: 12.5px;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 20px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1.5px solid var(--ligne-navy); color: var(--sur-navy-doux);
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.filtre[aria-pressed="true"] { background: var(--rouge); border-color: var(--rouge); color: #fff; }
.filtre:hover { border-color: rgba(255,255,255,.45); color: #fff; }

.flotte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.vehicule {
  display: flex; flex-direction: column;
  background: var(--blanc); color: var(--encre); border-radius: var(--r-carte); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.vehicule:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -22px rgba(0,0,0,.6); }
.vehicule.is-hidden { display: none; }
.vehicule.is-entering { animation: monte .42s var(--ease) both; }
@keyframes monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .vehicule.is-entering { animation: none; } }

.vehicule__media {
  position: relative;
  background: linear-gradient(178deg, var(--clair) 0%, var(--clair-2) 100%);
  padding: 20px 18px 10px;
}
/* le swoosh du kit repris sous la voiture, comme sur l'habillage vehicule */
.vehicule__media::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26px; pointer-events: none;
  background: no-repeat center bottom / 100% 100%
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 26' preserveAspectRatio='none'%3E%3Cpath d='M0 26V17C90 5 240 2 400 9v17z' fill='%230D1B2A' opacity='.09'/%3E%3Cpath d='M0 16C90 4 240 1 400 8v5C240 6 90 9 0 21z' fill='%23D62828' opacity='.45'/%3E%3C/svg%3E");
}
.vehicule__media img { width: 100%; height: auto; position: relative; z-index: 1; }
.vehicule__cat {
  position: absolute; top: 14px; left: 16px; z-index: 2;
  font-family: var(--police-micro); font-weight: 700; font-size: 10.5px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--rouge);
}
.vehicule__corps { padding: 18px 22px 0; }
.vehicule__specs {
  display: flex; flex-wrap: wrap; gap: 6px 14px;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ligne);
  font-size: 13px; color: var(--encre-doux);
}
.vehicule__specs span { display: inline-flex; align-items: center; gap: 6px; }
.vehicule__specs span::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--rouge); flex: none; }
.vehicule__pied {
  margin-top: auto; padding: 16px 22px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.vehicule__prix { font-size: 13.5px; color: var(--encre-doux); margin: 0; }
.vehicule__prix b { font-family: var(--police); font-weight: 800; font-size: 17px; color: var(--rouge); }

.note-tarifs { margin: 30px 0 0; font-size: 14px; color: var(--sur-navy-faible); }
.sec--blanc .note-tarifs, .sec:not(.sec--navy) .note-tarifs { color: var(--encre-doux); }

/* ------------------------------------------------------------- formules */

.formules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 34px; }
.formule { display: flex; gap: 16px; }
.formule__ico {
  flex: none; width: 46px; height: 46px; border-radius: var(--r);
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(214,40,40,.30); background: rgba(214,40,40,.06);
}
.formule__ico svg { width: 24px; height: 24px; fill: none; stroke: var(--rouge); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.formule p { margin: 6px 0 0; color: var(--encre-doux); font-size: 15.5px; }
.sec--navy .formule p { color: var(--sur-navy-doux); }
.sec--navy .formule__ico { border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.05); }
.sec--navy .formule__ico svg { stroke: #FF6B6B; }

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

.avis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.avis__carte {
  background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--r-carte);
  padding: 26px 24px; display: flex; flex-direction: column;
}
.avis__carte::before {
  content: ""; width: 30px; height: 3px; background: var(--rouge); margin-bottom: 18px; flex: none;
}
.avis__carte p { margin: 0 0 18px; font-size: 16px; }
/* la specificite doit battre `.avis__carte p`, sinon le margin-top:auto est ignore
   et les prenoms ne s'alignent plus en bas des cartes */
.avis__carte .avis__nom {
  margin: auto 0 0; font-family: var(--police-micro); font-weight: 700; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--encre-doux);
}

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

.cta { text-align: center; }
.cta .h2 { color: #fff; }
.cta p { color: var(--sur-navy-doux); margin: 14px auto 30px; max-width: 52ch; }
.cta__boutons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* --------------------------------------------------- bandeau de tete */

.page-tete { position: relative; min-height: clamp(280px, 34vw, 400px); display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 44px) 0 46px; overflow: hidden; }
.page-tete__fond { position: absolute; inset: 0; }
.page-tete__fond img { width: 100%; height: 100%; object-fit: cover; }
.page-tete::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,27,42,.84) 0%, rgba(13,27,42,.46) 45%, rgba(13,27,42,.84) 100%);
}
.page-tete .wrap { position: relative; z-index: 2; }
.page-tete .h1 { color: #fff; font-size: clamp(30px, 4.4vw, 48px); }
.page-tete p { color: rgba(255,255,255,.86); margin: 14px 0 0; max-width: 54ch; }

/* --------------------------------------------------------------- contenu */

.duo { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 66px); align-items: center; }
.duo__texte p { color: var(--encre-doux); }
.duo__texte p + p { margin-top: 14px; }
.duo__media { border-radius: var(--r-carte); overflow: hidden; align-self: center; }
.duo__media img { width: 100%; height: auto; }

.faits-bande { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ligne-navy); border: 1px solid var(--ligne-navy); border-radius: var(--r-carte); overflow: hidden; }
.fait { background: var(--navy); padding: 26px 24px; }
.fait__label { font-family: var(--police-micro); font-weight: 700; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: #FF6B6B; margin: 0 0 8px; }
.fait p { margin: 0; color: #fff; font-size: 16px; }
.fait a { text-decoration: none; }
.fait a:hover { text-decoration: underline; }

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

.contact-grille { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 4vw, 48px); align-items: stretch; }
.contact-liste { list-style: none; margin: 26px 0 0; padding: 0; }
.contact-liste li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--ligne); }
.contact-liste li:first-child { padding-top: 0; }
.contact-liste svg { width: 22px; height: 22px; flex: none; margin-top: 3px; fill: none; stroke: var(--rouge); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-liste dt, .contact-liste .cl-label {
  font-family: var(--police-micro); font-weight: 700; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--encre-doux); margin: 0 0 4px;
}
.contact-liste p { margin: 0; font-size: 16.5px; }
.contact-liste a { text-decoration: none; }
.contact-liste a:hover { color: var(--rouge); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

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

.horaires { list-style: none; margin: 0; padding: 0; }
.horaires li { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--ligne); font-size: 15.5px; }
.horaires li:last-child { border-bottom: 0; }
.horaires b { font-weight: 600; }

/* ------------------------------------------------------------------ pied */

.pied { background: var(--navy); color: var(--sur-navy-doux); padding: 0; }
/* la bande CTA est navy elle aussi : un filet marque la separation sans casser l'aplat */
.pied__haut {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px;
  padding-top: clamp(48px, 6vw, 72px); border-top: 1px solid var(--ligne-navy);
}
main > .sec--navy:last-child { padding-bottom: clamp(30px, 4vw, 48px); }
.pied__logo { height: 72px; width: auto; }
.pied__blurb { margin: 20px 0 0; font-size: 15px; max-width: 34ch; }
.pied h2 {
  font-family: var(--police-micro); font-weight: 700; font-size: 11.5px;
  letter-spacing: .16em; text-transform: uppercase; color: #fff; margin: 0 0 16px;
}
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 10px; font-size: 15px; }
.pied a { text-decoration: none; transition: color .2s var(--ease); }
.pied a:hover { color: #fff; }
.pied__bas {
  margin-top: clamp(40px, 5vw, 60px); padding: 22px 0;
  border-top: 1px solid var(--ligne-navy);
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--sur-navy-faible);
}
.pied__credit {
  font-family: var(--police-micro); font-weight: 600; font-size: 11px;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
}

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

.devis { position: fixed; inset: 0; z-index: 200; display: none; }
.devis.open { display: block; }
.devis__voile { position: absolute; inset: 0; background: rgba(13,27,42,.72); }
.devis__panel {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%);
  width: min(560px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto;
  background: var(--blanc); border-radius: var(--r-carte); box-shadow: var(--ombre-2);
}
.devis__tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 26px 26px 0; }
.devis__tete .h3 { margin: 0; }
.devis__fermer { width: 38px; height: 38px; flex: none; border: 0; background: transparent; cursor: pointer; border-radius: var(--r); }
.devis__fermer svg { width: 18px; height: 18px; fill: none; stroke: var(--navy); stroke-width: 1.8; stroke-linecap: round; }
.devis__fermer:hover { background: var(--clair); }
.devis__jauge { height: 3px; background: var(--clair-2); margin: 20px 26px 0; border-radius: 999px; overflow: hidden; }
.devis__jauge span { display: block; height: 100%; background: var(--rouge); width: 33%; transition: width .3s var(--ease); }
.devis__corps { padding: 24px 26px 26px; }
.devis__step { display: none; }
.devis__step.active { display: block; }
.devis__q { font-family: var(--police-micro); font-weight: 700; font-size: 11.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--encre-doux); margin: 0 0 14px; }
.devis__opts { display: flex; flex-wrap: wrap; gap: 9px; }
.devis__opt {
  font-family: var(--police); font-size: 14px; padding: 10px 16px; cursor: pointer;
  border: 1.5px solid var(--ligne); border-radius: 999px; background: transparent; color: var(--encre);
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.devis__opt:hover { border-color: var(--navy); }
.devis__opt[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.devis__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.devis__err { color: var(--rouge); font-size: 13.5px; margin: 14px 0 0; min-height: 20px; }
.devis__actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 22px; }

.devis__recap { list-style: none; margin: 0 0 22px; padding: 0; border: 1px solid var(--ligne); border-radius: var(--r); }
.devis__recap li { display: flex; justify-content: space-between; gap: 18px; padding: 12px 16px; border-bottom: 1px solid var(--ligne); font-size: 14.5px; }
.devis__recap li:last-child { border-bottom: 0; }
.devis__recap li span:first-child { color: var(--encre-doux); }
.devis__recap li span:last-child { font-weight: 600; text-align: right; }

.devis__contacts { list-style: none; margin: 0 0 20px; padding: 0; }
.devis__contacts li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--ligne); }
.devis__contacts li:last-child { border-bottom: 0; }
.devis__contacts svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--rouge); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.devis__contacts a { text-decoration: none; font-size: 16px; }
.devis__contacts a:hover { color: var(--rouge); }
.devis__contacts small { display: block; font-family: var(--police-micro); font-weight: 700; font-size: 10.5px; letter-spacing: .15em; text-transform: uppercase; color: var(--encre-doux); }

.wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  background: #128C7E; border-color: #128C7E; color: #fff;
}
.wa:hover { background: #0f7a6d; border-color: #0f7a6d; }
.wa svg { width: 19px; height: 19px; fill: currentColor; stroke: none; }

body.devis-open { overflow: hidden; }

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

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

@media (max-width: 980px) {
  .widget { grid-template-columns: 1fr 1fr; }
  .widget .btn { grid-column: 1 / -1; }
  .cats, .flotte, .formules { grid-template-columns: repeat(2, 1fr); }
  .duo, .contact-grille { grid-template-columns: 1fr; }
  .faits-bande { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --nav-h: 68px; }
  /* .nav__links passe en position:fixed, la 3e colonne de la grille disparait :
     sans ca le burger se retrouve au milieu du header. */
  .nav { grid-template-columns: 1fr auto; }
  .nav__burger { display: block; }
  .nav__fin .btn { display: none; }
  .nav__logo { height: 38px; }

  .nav__links {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100dvh;
    background: var(--blanc); z-index: 100;
    flex-direction: column; justify-content: center; gap: 26px;
    transform: translateY(-100%); transition: transform .34s var(--ease);
    padding: var(--nav-h) 24px 40px;
  }
  body.nav-open .nav__links { transform: none; }
  body.nav-open .nav { background: transparent; box-shadow: none; }
  body.nav-open .nav__brand, body.nav-open .nav__fin { z-index: 120; }
  .nav__links a { color: var(--navy); font-size: 17px; letter-spacing: .12em; }
  .nav.scrolled .nav__links a { color: var(--navy); }
  body.nav-open .nav__logo--clair { display: none; }
  body.nav-open .nav__logo--couleur { display: block; }
  body.nav-open .nav__burger span { background: var(--navy); }
  .nav__links .nav__cta--menu { display: inline-flex; margin-top: 8px; background: var(--rouge); border-color: var(--rouge); color: #fff; }

  .hero { min-height: 92svh; padding-bottom: 56px; }
  .hero .h1 { max-width: 14ch; }
  .widget { grid-template-columns: 1fr; padding: 16px; }
  .hero__faits { gap: 10px 22px; font-size: 13.5px; }
}

@media (max-width: 720px) {
  .cats, .flotte, .formules, .avis { grid-template-columns: 1fr; }
  .formules { gap: 26px; }
  .devis__dates { grid-template-columns: 1fr; }
  .pied__haut { grid-template-columns: 1fr; gap: 30px; }
  .pied__bas { justify-content: flex-start; }
}
