/* ============================================================
   J. LAVOIE FINANCE · Direction « L'Échéancier »
   La rigueur du tableau de paiements : papier blanc, encre marine,
   filets fins, chiffres alignés. L'orange est le surligneur du relevé :
   il marque seulement les totaux et l'action.
   ============================================================ */

@font-face {
  font-family: 'Archivo';
  src: url('/assets/polices/archivo-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --papier: #FFFFFF;
  --papier-2: #F3F4F4;
  --bureau: #ECEDEC;          /* le béton : surface de travail, neutre */
  --beton: #ECEDEC;
  --graphite: #1E2328;        /* l'asphalte : les sections sombres */
  --graphite-2: #2A3036;
  --graphite-profond: #15191D;
  --debord: clamp(48px, 6vw, 96px);
  --encre: #0F2D4A;           /* marine de l'ancien site, que les clients connaissent */
  --encre-profonde: #0A1F34;
  --encre-texte: #28425E;     /* paragraphes longs */
  --encre-2: #4A5E73;
  --encre-3: #5C6E82;
  --filet: rgba(15, 45, 74, .13);
  --filet-fort: rgba(15, 45, 74, .30);
  --orange: #FFA200;          /* orange de l'ancien site */
  --orange-profond: #D98600;
  --surligne: linear-gradient(transparent 56%, rgba(255, 162, 0, .62) 56%, rgba(255, 162, 0, .62) 92%, transparent 92%);
  --ombre-feuille: 0 1px 1px rgba(10, 31, 52, .06), 0 2px 4px rgba(10, 31, 52, .04), 0 30px 56px -30px rgba(10, 31, 52, .45);
  --r: 5px;
  --enveloppe: 1240px;
  --marge: clamp(20px, 4.2vw, 48px);
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  color: var(--encre);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-stretch: 116%; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 4.1vw, 4rem); line-height: 1.02; font-weight: 780; }
h2 { font-size: clamp(1.75rem, 2.9vw, 2.65rem); line-height: 1.08; font-weight: 740; }
.chiffres, .ech, .tab, .faits dd, .releve__etape { font-variant-numeric: tabular-nums lining-nums; }
mark { background: var(--surligne); color: inherit; padding: 0 .08em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 2px; }

.enveloppe { max-width: calc(var(--enveloppe) + var(--marge) * 2); margin: 0 auto; padding: 0 var(--marge); }
.etroit { max-width: 760px; }
.evitement { position: absolute; left: -9999px; top: 8px; z-index: 200; background: var(--encre); color: #fff; padding: 10px 16px; }
.evitement:focus { left: 8px; }
.cache { display: none; }

/* ------------------------------------------------------------
   Boutons et liens
   ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 20px; border-radius: 4px; border: 0;
  font: inherit; font-size: 16px; font-weight: 650; font-stretch: 108%; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s cubic-bezier(.16, 1, .3, 1), box-shadow .2s ease, background .2s ease;
}
.btn .fl { transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.btn:hover .fl { transform: translateX(3px); }
.btn--orange {
  background: linear-gradient(180deg, #FFB532 0%, #FFA200 55%, #F59800 100%);
  color: var(--encre-profonde);
  box-shadow: 0 1px 0 #C98000, 0 10px 20px -10px rgba(217, 134, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.btn--orange:hover { transform: translateY(-1px); box-shadow: 0 2px 0 #C98000, 0 14px 26px -10px rgba(217, 134, 0, .75), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn--trait { background: transparent; color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--encre); }
.btn--trait:hover { background: var(--papier-2); }
.btn--grand { padding: 16px 24px; font-size: 17px; }

/* Le lien d'action : le texte, puis une pastille orange qui porte la
   flèche. Aucun soulignement; la pastille avance au survol. */
.lien {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700; font-stretch: 108%; text-decoration: none; color: var(--encre);
}
.lien .fl {
  width: 30px; height: 30px; padding: 7px; border-radius: 50%; flex-shrink: 0;
  background: var(--orange); color: var(--encre);
  box-shadow: 0 6px 14px -6px rgba(217, 134, 0, .7);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), background .2s;
}
.lien:hover .fl { transform: translateX(4px); background: #FFB532; }
.lien--clair { color: #fff; }

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */
/* La nav est blanche partout : sur l'accueil, elle se pose sur le béton
   clair du hero, dans la continuité. */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--filet), 0 12px 28px -22px rgba(10, 31, 52, .5); color: var(--encre); }
.nav__in { max-width: calc(var(--enveloppe) + var(--marge) * 2); margin: 0 auto; padding: 0 var(--marge); height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.marque { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--encre); flex-shrink: 0; }
.marque__sym { width: auto; height: 34px; flex-shrink: 0; }
.marque__nom { font-size: 21px; font-weight: 780; font-stretch: 118%; letter-spacing: -.01em; line-height: 1; }
.nav__liens { display: flex; gap: 20px; list-style: none; margin: 0 0 0 auto; padding: 0; }
.nav__liens a { white-space: nowrap; }
.nav__liens a { font-size: 15px; font-weight: 560; color: var(--encre-2); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav__liens a:hover { color: var(--encre); border-bottom-color: var(--filet-fort); }
.nav__liens a[aria-current] { color: var(--encre); border-bottom-color: var(--orange); }
.nav__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; font-variant-numeric: tabular-nums; text-decoration: none; font-size: 15.5px; color: var(--encre); white-space: nowrap; }
.nav__tel svg { color: var(--orange-profond); }
.nav__demande { padding: 11px 16px; font-size: 15px; }
.nav__tel-mob, .burger { display: none; }

@media (max-width: 1320px) {
  .nav__liens { gap: 16px; }
  .nav__liens a { font-size: 14.5px; }
  .nav__tel { display: none; }
}
@media (max-width: 1120px) {
  .nav__in { gap: 20px; }
  .nav__liens { gap: 13px; }
  .nav__liens a { font-size: 14px; }
  .nav__demande { padding: 10px 13px; font-size: 14px; }
}
@media (max-width: 1080px) {
  .nav__liens, .nav__demande { display: none; }
  .nav__tel { display: inline-flex; margin-left: auto; }
  .burger { display: flex; }
}
@media (max-width: 760px) {
  :root { --nav-h: 64px; }
  .nav__in { gap: 10px; }
  .nav__tel { display: none; }
  .marque__nom { font-size: 18px; }
  .marque__sym { height: 30px; }
  .marque { gap: 9px; }
  .nav__tel-mob {
    display: inline-flex; margin-left: auto; width: 42px; height: 42px; align-items: center; justify-content: center;
    border-radius: 6px; color: var(--encre-profonde);
    background: linear-gradient(180deg, #FFB532, #FFA200 55%, #F59800);
    box-shadow: 0 1px 0 #C98000, inset 0 1px 0 rgba(255, 255, 255, .45);
  }
}

/* Burger « bandes de tape » : trois bandes inégales qui se croisent */
.burger {
  position: relative; z-index: 101; width: 42px; height: 42px; padding: 0;
  border: 1px solid var(--filet-fort); border-radius: 6px; background: var(--papier);
  flex-direction: column; align-items: center; justify-content: center; gap: 4.5px; cursor: pointer;
}
.burger span { display: block; height: 2.5px; border-radius: 2px; background: var(--encre); transition: transform .35s cubic-bezier(.22, 1, .36, 1), opacity .2s, width .35s; }
.burger span:nth-child(1) { width: 18px; }
.burger span:nth-child(2) { width: 12px; transform: translateX(-3px); background: var(--orange-profond); }
.burger span:nth-child(3) { width: 16px; transform: translateX(2px); }
.burger.ouvert span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 19px; }
.burger.ouvert span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.burger.ouvert span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 19px; }

/* Menu plein écran : enfants directs de l'overlay, centrés */
.voile {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(255, 255, 255, .985); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 20px) 7vw 36px;
  opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .3s ease, visibility .3s;
}
.voile.ouvert { opacity: 1; visibility: visible; pointer-events: auto; }
.voile__lien {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: clamp(1.3rem, 6vw, 1.9rem); font-weight: 740; font-stretch: 114%; line-height: 1.15;
  color: var(--encre); text-decoration: none; padding: .62rem 0; border-bottom: 1px solid var(--filet);
  transform: translateY(14px); opacity: 0; transition: transform .45s cubic-bezier(.22, 1, .36, 1), opacity .35s;
}
.voile__lien .fl { color: var(--orange-profond); flex-shrink: 0; width: 22px; height: 22px; }
.voile__tel { margin-top: 26px; font-size: 17px; padding: 16px; transform: translateY(14px); opacity: 0; transition: transform .45s cubic-bezier(.22, 1, .36, 1) .42s, opacity .35s .42s; }
.voile__h { margin-top: 16px; text-align: center; font-size: 13.5px; color: var(--encre-3); opacity: 0; transition: opacity .4s .5s; }
.voile.ouvert .voile__lien, .voile.ouvert .voile__tel { transform: none; opacity: 1; }
.voile.ouvert .voile__h { opacity: 1; }
.voile.ouvert .voile__lien:nth-child(1) { transition-delay: .05s; }
.voile.ouvert .voile__lien:nth-child(2) { transition-delay: .1s; }
.voile.ouvert .voile__lien:nth-child(3) { transition-delay: .15s; }
.voile.ouvert .voile__lien:nth-child(4) { transition-delay: .2s; }
.voile.ouvert .voile__lien:nth-child(5) { transition-delay: .25s; }
.voile.ouvert .voile__lien:nth-child(6) { transition-delay: .3s; }
body.menu-ouvert { overflow: hidden; }

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
/* ------------------------------------------------------------
   Le hero « Le quai » : clair. Le titre et le dossier sur le béton, à
   gauche; à droite, une vraie photographie encadrée qui déborde du bord
   de l'écran. Le dossier chevauche le coin de la photo : la profondeur
   vient de l'empilement. Le bas du béton tombe sur le bas de l'écran.
   ------------------------------------------------------------ */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  background: var(--beton); color: var(--encre);
  display: flex; align-items: center;
  min-height: calc(100vh - var(--nav-h)); min-height: calc(100dvh - var(--nav-h));
  padding: clamp(40px, 7vh, 110px) 0;
  --cadre-g: 49vw;
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(15, 45, 74, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 45, 74, .05) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 60%);
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .35) 45%, transparent 60%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

.hero__grille { position: relative; z-index: 2; width: 100%; }
.hero__texte { max-width: min(660px, calc(var(--cadre-g) - var(--marge) + 48px)); }
.hero h1 {
  color: var(--encre); max-width: 12.5ch;
  font-size: clamp(2.4rem, min(4.4vw, 8.6vh), 4.4rem); font-weight: 860; font-stretch: 120%; line-height: .98; letter-spacing: -.02em;
}
.hero__ligne { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.5; color: var(--encre-texte); max-width: 36ch; margin: clamp(18px, 2.4vh, 30px) 0 clamp(26px, 3.6vh, 44px); }

/* La photo encadrée : du milieu de l'écran jusqu'au bord droit. */
.hero__cadre {
  position: absolute; z-index: 1; margin: 0;
  top: clamp(28px, 6vh, 80px); bottom: clamp(28px, 6vh, 80px); left: var(--cadre-g); right: 0;
  border-radius: 10px 0 0 10px; overflow: hidden;
  background: var(--graphite);
  box-shadow: 0 2px 4px rgba(15, 45, 74, .08), 0 40px 80px -40px rgba(15, 45, 74, .5);
}
.hero__cadre img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
.hero__cadre::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(21, 25, 29, 0) 55%, rgba(21, 25, 29, .45) 100%);
}
.hero__attente {
  position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: 18px 22px;
  font-size: 12.5px; color: rgba(255, 255, 255, .45);
  background: var(--graphite) linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 30px 30px,
              linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 30px 30px;
}

/* La preuve, posée sur la photo : une carte d'encre avec son filet orange. */
.hero__preuve {
  position: absolute; z-index: 2; left: clamp(28px, 3vw, 48px); top: clamp(28px, 3vw, 48px);
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(255, 255, 255, .96); color: var(--encre);
  border-left: 4px solid var(--orange); border-radius: 0 6px 6px 0;
  padding: 14px 20px 14px 16px; max-width: 250px;
  box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .5);
}
.hero__preuve b { font-size: 22px; font-weight: 800; font-stretch: 112%; line-height: 1.1; }
.hero__preuve span { font-size: 14px; color: var(--encre-2); line-height: 1.35; }

/* Le dossier chevauche le coin de la photo. */
.hero .dossier { position: relative; z-index: 3; }

/* Écran bas : tout se resserre pour tenir dans l'écran. */
@media (max-height: 800px) and (min-width: 1081px) {
  .hero { padding: 26px 0; }
  .hero h1 { font-size: clamp(2.3rem, min(4.2vw, 8vh), 4rem); }
  .hero__ligne { margin: 14px 0 22px; font-size: 17.5px; }
  .hero .dossier { padding: 14px 20px 12px; }
  .hero .dossier__tete { margin-bottom: 8px; }
  .hero .dossier__err { min-height: 0; margin: 4px 0 0; }
  .hero .dossier__pied { padding-top: 8px; }
}

/* Mobile et tablette portrait : le titre, le dossier, puis la photo. */
@media (max-width: 1080px) {
  .hero { min-height: 0; flex-direction: column; align-items: stretch; padding: 40px 0 0; }
  .hero::before { -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); mask-image: linear-gradient(180deg, #000, transparent 70%); }
  .hero__texte { max-width: none; }
  .hero h1 { max-width: 14ch; }
  .hero__cadre { position: relative; top: auto; bottom: auto; left: auto; right: auto; margin: 32px 0 0 var(--marge); aspect-ratio: 4 / 3; border-radius: 10px 0 0 0; }
  .hero__preuve { left: 18px; top: 18px; padding: 10px 16px 10px 12px; }
  .hero__preuve b { font-size: 19px; }
}

/* ------------------------------------------------------------
   Le dossier de financement : une barre. Le montant et le bouton sur
   une même ligne; la feuille ne cache plus rien et tient en trois fois
   moins de hauteur.
   ------------------------------------------------------------ */
.dossier {
  position: relative; color: var(--encre);
  background: var(--papier); border-radius: 8px; border-top: 4px solid var(--orange);
  padding: 18px 22px 16px;
  border: 1px solid var(--filet); border-top: 4px solid var(--orange);
  box-shadow: 0 2px 4px rgba(15, 45, 74, .06), 0 24px 48px -20px rgba(15, 45, 74, .35), 0 60px 100px -50px rgba(15, 45, 74, .3);
}
.dossier__tete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.dossier__t { font-size: 15px; font-weight: 740; font-stretch: 112%; }
.dossier__tag { font-size: 12px; font-weight: 600; color: var(--encre-2); border: 1px solid var(--filet-fort); border-radius: 3px; padding: 2px 8px; white-space: nowrap; }
.dossier__ligne { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: end; }
.champ--montant > span:first-child { display: block; font-size: 13px; font-weight: 560; color: var(--encre-2); margin-bottom: 2px; }
.champ--montant .champ__boite { display: flex; align-items: baseline; gap: 6px; border-bottom: 2px solid var(--encre); }
.champ--montant .champ__boite:focus-within { border-bottom-color: var(--orange-profond); box-shadow: 0 2px 0 var(--orange); }
.champ--montant input {
  width: 100%; min-width: 0; border: 0; background: transparent; padding: 2px 0 6px;
  font: inherit; font-size: clamp(26px, 2.2vw, 32px); font-weight: 760; font-stretch: 108%;
  color: var(--encre); font-variant-numeric: tabular-nums; outline: none; border-radius: 0;
}
.champ--montant input::placeholder { color: var(--encre-3); opacity: .45; font-weight: 640; }
.champ--montant i { font-style: normal; font-size: 22px; font-weight: 640; color: var(--encre-2); }
.dossier__btn { padding: 16px 22px; font-size: 16.5px; white-space: nowrap; }
.dossier__err { font-size: 13px; color: #B3261E; margin: 6px 0 0; min-height: 1.1em; }
.dossier__pied { display: flex; justify-content: space-between; align-items: center; gap: 8px 18px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--filet); }
.dossier__sauter { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--encre-2); text-decoration: none; transition: color .2s; }
.dossier__sauter::after { content: '→'; color: var(--orange-profond); transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.dossier__sauter:hover { color: var(--encre); }
.dossier__sauter:hover::after { transform: translateX(3px); }
.dossier__pieds { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; font-size: 13.5px; color: var(--encre-2); }
.dossier__pieds li { display: flex; align-items: center; gap: 7px; }
.dossier__pieds li::before { content: ''; width: 7px; height: 7px; background: var(--orange); border-radius: 1px; flex-shrink: 0; }

@media (max-width: 560px) {
  .dossier { padding: 16px 16px 14px; }
  .dossier__ligne { grid-template-columns: minmax(0, 1fr); }
  .dossier__btn { width: 100%; }
}

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */
.sect { padding: clamp(64px, 8vw, 118px) 0; }
.sect--gris { background: var(--papier-2); }
.bureau { position: relative; background: var(--bureau); isolation: isolate; }
.bureau::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}
.bureau--grille::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(15, 45, 74, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 45, 74, .06) 1px, transparent 1px);
  background-size: 24px 24px; background-position: -1px -1px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 60%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .55) 60%, transparent 100%);
}
.faits-bloc { padding-top: 4px; }
.sect--encre { background: var(--graphite); color: #fff; position: relative; isolation: isolate; }
/* Les surfaces d'encre ont leur propre matière : un quadrillage blanc de plan,
   à peine visible, et une lumière douce qui vient d'en haut à gauche. */
.sect--encre::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 85% 30%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 90% at 85% 30%, #000 0%, transparent 75%);
}
.sect--encre::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 60% 80% at 10% 0%, rgba(255, 255, 255, .07), transparent 70%), radial-gradient(ellipse 50% 70% at 100% 100%, rgba(255, 162, 0, .07), transparent 70%);
}
.sect__tete h2 { margin-bottom: 18px; }
.sect__tete p { font-size: 18px; color: var(--encre-texte); max-width: 50ch; }
.sect__tete--large { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 64px; align-items: end; margin-bottom: 40px; }
.sect__tete--large h2 { margin: 0; }
.sect__tete--large p { margin: 0; }
.duo { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) {
  .sect__tete--large, .duo { grid-template-columns: minmax(0, 1fr); }
}

/* Le relevé des services */
.releve { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--encre); }
.releve li { border-bottom: 1px solid var(--filet); }
.releve__ligne {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.25fr) 24px; gap: 28px; align-items: baseline;
  padding: 26px 14px; text-decoration: none; color: var(--encre);
  transition: background .25s ease, box-shadow .25s ease;
}
.releve__etape { font-size: 14px; font-weight: 550; color: var(--encre-3); }
.releve__nom { font-size: clamp(20px, 1.9vw, 25px); font-weight: 740; font-stretch: 112%; line-height: 1.2; }
.releve__sit { font-size: 16.5px; color: var(--encre-texte); }
.releve__ligne .fl { align-self: center; color: var(--encre-3); transition: transform .25s cubic-bezier(.16, 1, .3, 1), color .2s; }
.releve__ligne:hover { background: linear-gradient(90deg, rgba(255, 162, 0, .13), rgba(255, 255, 255, 0) 75%), var(--papier); box-shadow: inset 4px 0 0 var(--orange), 0 14px 30px -20px rgba(10, 31, 52, .45); transform: translateY(-2px); position: relative; z-index: 1; }
.releve__ligne { transition: background .25s ease, box-shadow .25s ease, transform .3s cubic-bezier(.16, 1, .3, 1); }
.releve__ligne:hover .fl { transform: translateX(4px); color: var(--encre); }
@media (max-width: 820px) {
  .releve__ligne { grid-template-columns: minmax(0, 1fr) 22px; gap: 4px 14px; padding: 20px 6px; }
  .releve__etape { grid-column: 1; }
  .releve__nom { grid-column: 1; }
  .releve__sit { grid-column: 1; font-size: 15.5px; }
  .releve__ligne .fl { grid-column: 2; grid-row: 1 / span 3; }
}
.renvoi { font-size: 15.5px; color: var(--encre-2); margin: 28px 0 0; max-width: 72ch; }
.renvoi a { color: var(--encre); font-weight: 650; }

/* Le pitch flotte : bande photo qui se fond dans l'encre */
/* Le pitch flotte : bande d'encre pleine largeur. La photo, quand elle
   arrive, se pose derrière; sans elle, la matière de .sect--encre suffit. */
.pitch { position: relative; overflow: hidden; }
.pitch__photo { position: absolute; inset: 0; z-index: -1; }
.pitch__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; opacity: .26; filter: grayscale(1) contrast(1.06); mix-blend-mode: luminosity; }
.pitch__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(21, 25, 29, .92) 20%, rgba(21, 25, 29, .55) 60%, rgba(21, 25, 29, .82) 100%); }
.pitch__in { position: relative; }
.pitch__texte { max-width: 760px; }
.pitch__texte h2 { color: #fff; margin-bottom: 20px; }
.pitch__texte p { font-size: 18.5px; color: rgba(255, 255, 255, .8); max-width: 58ch; }
.pitch__parties { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 40px 0 36px; }
.pitch__parties div {
  border-top: 3px solid var(--orange); border-radius: 0 0 6px 6px; padding: 18px 20px 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 18px 36px -22px rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.pitch__parties dt { font-size: 18px; font-weight: 720; font-stretch: 110%; margin-bottom: 6px; }
.pitch__parties dd { margin: 0; font-size: 16px; color: rgba(255, 255, 255, .76); }
@media (max-width: 760px) { .pitch__parties { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* Bloc d'attente pour les photos à fournir */
.attente {
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
  padding: 28px var(--marge) 90px;
  background: #143556 linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 24px 24px,
              linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 24px 24px;
  color: rgba(255, 255, 255, .82); font-size: 14px; line-height: 1.45;
}
.attente__f { font-weight: 700; color: var(--orange); font-size: 15px; }
.attente__d { max-width: 60ch; }
.attente__r { color: rgba(255, 255, 255, .6); }

/* La feuille : surface blanche qui se détache, ombre marine (jamais noire) */
.feuille { background: var(--papier); border: 1px solid var(--filet); border-top: 4px solid var(--encre); border-radius: 6px; padding: 26px 28px; box-shadow: var(--ombre-feuille); }
.feuille__note { font-size: 14.5px; color: var(--encre-2); margin: 16px 0 0; }

.tab { width: 100%; border-collapse: collapse; }
.tab caption { text-align: left; font-size: 14.5px; color: var(--encre-2); padding-bottom: 14px; }
.tab th, .tab td { padding: 14px 0; border-bottom: 1px solid var(--filet); }
.tab thead th { font-size: 14.5px; font-weight: 700; text-align: right; border-bottom: 2px solid var(--encre); padding-top: 0; }
.tab tbody th { text-align: left; font-size: 15.5px; font-weight: 500; color: var(--encre-texte); padding-right: 16px; }
.tab td { text-align: right; font-size: 17px; font-weight: 640; padding-left: 16px; white-space: nowrap; }
.tab td.tab__cle { font-size: 20px; font-weight: 780; }
@media (max-width: 520px) { .tab td { white-space: normal; font-size: 15.5px; } .feuille { padding: 20px 18px; } }

.faits { margin: 0; }
.faits div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--filet); }
.faits div:first-child { border-top: 2px solid var(--encre); }
.feuille .faits div:first-child, .fiche .faits div:first-child { border-top: 1px solid var(--filet); }
.faits dt { font-size: 14.5px; color: var(--encre-3); }
.faits dd { margin: 0; font-size: 16.5px; font-weight: 560; }
.faits dd a { text-decoration: none; }
.faits dd a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.faits--serre div { grid-template-columns: 120px minmax(0, 1fr); padding: 10px 0; }
@media (max-width: 520px) { .faits div, .faits--serre div { grid-template-columns: minmax(0, 1fr); gap: 0; } }

.personne { margin-top: 26px; }
.personne__nom { font-size: 21px; font-weight: 760; font-stretch: 112%; margin: 0; }
.personne__role { font-size: 14.5px; color: var(--encre-2); margin: 2px 0 8px; }
.personne a { text-decoration: none; font-weight: 600; }

/* FAQ */
.faq-grille { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq-grille .sect__tete p a { font-weight: 650; text-decoration: none; font-variant-numeric: tabular-nums; }
.faq { border-top: 2px solid var(--encre); }
.faq.feuille { padding: 6px 28px 10px; border-top-width: 4px; }
.faq.feuille details:last-child { border-bottom: 0; }
@media (max-width: 520px) { .faq.feuille { padding: 4px 18px 8px; } }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 44px 20px 0; font-size: 18px; font-weight: 640; font-stretch: 104%; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 16px; height: 2px; background: var(--encre); transition: transform .3s ease; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq__r p { font-size: 16.5px; color: var(--encre-texte); max-width: 64ch; padding-bottom: 8px; }
.faq__r a { font-weight: 600; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 900px) { .faq-grille { grid-template-columns: minmax(0, 1fr); } }

/* Bande d'appel */
.appel { padding: clamp(56px, 7vw, 96px) 0; }
.appel__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 48px; align-items: end; }
.appel__t { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.4rem); grid-column: 1; }
.appel__tel { grid-column: 1; font-size: clamp(2.2rem, 4.4vw, 3.9rem); font-weight: 780; font-stretch: 110%; color: var(--orange); text-decoration: none; line-height: 1.1; margin-top: 10px; text-shadow: 0 2px 0 rgba(140, 90, 0, .35), 0 6px 18px rgba(0, 0, 0, .3); }
.appel__h { grid-column: 1; color: rgba(255, 255, 255, .72); font-size: 15.5px; margin: 6px 0 0; }
.appel__h a { color: #fff; }
.appel .btn { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
@media (max-width: 760px) { .appel__in { grid-template-columns: minmax(0, 1fr); } .appel .btn { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 22px; } }

/* ------------------------------------------------------------
   Pages intérieures
   ------------------------------------------------------------ */
.tete-page { padding: 28px 0 clamp(56px, 7vw, 96px); }
.tete-page--demande, .tete-page--seule { padding-bottom: clamp(72px, 9vw, 128px); }
.tete-page--seule { padding-top: clamp(48px, 7vw, 96px); }
.fil { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--encre-3); margin-bottom: clamp(28px, 4vw, 48px); }
.fil a { color: var(--encre-2); text-decoration: none; }
.fil a:hover { text-decoration: underline; }
.tete-page__grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.tete-page__ligne { font-size: clamp(18px, 1.5vw, 20.5px); color: var(--encre-texte); max-width: 40ch; margin: 22px 0 32px; }
.fiche__t { font-size: 14.5px; font-weight: 700; margin: 0 0 12px; }
@media (max-width: 900px) { .tete-page__grille { grid-template-columns: minmax(0, 1fr); } }

.texte-page { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.texte-page__corps { max-width: 64ch; }
.texte-page__corps h2 { margin: 48px 0 18px; font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.texte-page__corps h2:first-child { margin-top: 0; }
.texte-page__corps p { color: var(--encre-texte); font-size: 17.5px; }
@media (max-width: 900px) { .texte-page { grid-template-columns: minmax(0, 1fr); } }
.texte-page--ech { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; }
@media (max-width: 1000px) { .texte-page--ech { grid-template-columns: minmax(0, 1fr); } }

.liste-equip { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--encre); }
.liste-equip li { padding: 16px 0; border-bottom: 1px solid var(--filet); display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 16px; align-items: baseline; }
.liste-equip b { font-size: 18px; font-weight: 720; font-stretch: 110%; }
.liste-equip span { font-size: 16px; color: var(--encre-texte); }
@media (max-width: 520px) { .liste-equip li { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

.etapes { margin: 0; border-top: 2px solid var(--encre); }
.etapes div { padding: 18px 0; border-bottom: 1px solid var(--filet); }
.etapes dt { font-size: 18px; font-weight: 720; font-stretch: 110%; margin-bottom: 4px; }
.etapes dd { margin: 0; font-size: 16.5px; color: var(--encre-texte); }

/* Demande */
.demande { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.demande__coord { margin-top: 8px; }
.scenario { border-left: 4px solid var(--orange); background: var(--papier-2); padding: 14px 18px; margin: 0 0 24px; }
.scenario__t { font-size: 14px; font-weight: 700; margin: 0 0 4px; }
.scenario__d { margin: 0; font-size: 15.5px; color: var(--encre-texte); }
@media (max-width: 900px) { .demande { grid-template-columns: minmax(0, 1fr); } .demande__intro .demande__coord, .demande__intro .renvoi { display: none; } }

.form fieldset { border: 0; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.form legend { font-size: 20px; font-weight: 760; font-stretch: 112%; padding: 0 0 12px; margin-bottom: 4px; border-bottom: 2px solid var(--encre); width: 100%; }
.form .champ > span:first-child { display: block; font-size: 14px; font-weight: 560; color: var(--encre-2); margin-bottom: 6px; }
.form .champ em { font-style: normal; color: var(--encre-3); font-weight: 400; }
.form .champ--plein { grid-column: 1 / -1; }
.form .champ__boite { display: block; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--encre); background: var(--papier);
  border: 1px solid var(--filet-fort); border-radius: 4px; padding: 12px 14px; appearance: none; -webkit-appearance: none;
}
.form select { background: var(--papier) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230F2D4A' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--encre); box-shadow: 0 0 0 3px rgba(255, 162, 0, .45); }
.form__envoi { width: 100%; margin-top: 6px; }
.form__avis { font-size: 13.5px; color: var(--encre-3); margin: 14px 0 0; }
@media (max-width: 560px) { .form fieldset { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------
   Pied de page
   ------------------------------------------------------------ */
.pied { background: var(--graphite-profond); color: rgba(255, 255, 255, .72); font-size: 15px; padding-top: clamp(56px, 6vw, 80px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); }
.pied__grille { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-bottom: 48px; }
.pied__logo { display: inline-block; margin-bottom: 20px; }
.pied__logo img { width: 92px; height: auto; }
.pied p { margin: 0 0 14px; line-height: 1.55; }
.pied a { color: rgba(255, 255, 255, .88); text-decoration: none; }
.pied a:hover { color: var(--orange); }
.pied__t { font-size: 14.5px; font-weight: 700; font-stretch: 108%; color: #fff; margin-bottom: 14px; letter-spacing: 0; }
.pied ul { list-style: none; margin: 0; padding: 0; }
.pied li { margin-bottom: 9px; }
.pied__h { margin-top: 18px !important; color: rgba(255, 255, 255, .6); }
.pied__bas { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; padding-top: 20px; padding-bottom: 24px; font-size: 13.5px; color: rgba(255, 255, 255, .55); }
.pied__bas::before { content: ''; position: absolute; top: 0; left: var(--marge); right: var(--marge); height: 1px; background: rgba(255, 255, 255, .12); }
@media (max-width: 900px) { .pied__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pied__id { grid-column: 1 / -1; } }
@media (max-width: 520px) { .pied__grille { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------------
   Barre d'action mobile
   ------------------------------------------------------------ */
.barre-mob { display: none; }
@media (max-width: 760px) {
  .barre-mob {
    display: flex; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--filet); box-shadow: 0 -10px 30px -12px rgba(15, 45, 74, .25);
    transform: translateY(110%); transition: transform .4s cubic-bezier(.22, 1, .36, 1);
  }
  .barre-mob.visible, .barre-mob[data-immediat] { transform: none; }
  .barre-mob .btn { flex: 1; padding: 14px 10px; font-size: 15.5px; }
  body:has(.barre-mob) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

/* ------------------------------------------------------------
   Palier grand écran (iMac 27 po, 2560 px logiques)
   ------------------------------------------------------------ */
@media (min-width: 2000px) {
  :root { --enveloppe: 1560px; --nav-h: 84px; }
  body { font-size: 18.5px; }
  .marque__nom { font-size: 24px; }
  .nav__liens a, .nav__tel { font-size: 17px; }
  .hero__texte { max-width: 820px; }
  .hero h1 { font-size: 5.3rem; max-width: 12ch; }
  .hero__ligne { font-size: 24px; }
  .btn--grand { font-size: 20px; padding: 19px 30px; }
  .dossier { padding: 24px 30px 20px; }
  .dossier__t { font-size: 18px; }
  .champ--montant input { font-size: 40px; }
  .champ--montant > span:first-child { font-size: 15px; }
  .dossier__btn { font-size: 19px; padding: 19px 28px; }
  .dossier__pieds, .dossier__sauter { font-size: 15.5px; }
}

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

/* ------------------------------------------------------------
   Pages v2
   ------------------------------------------------------------ */
/* Les trois parties d'une vente d'accommodation, sur papier */
.parties { margin: 0; display: grid; gap: 14px; }
.parties div { background: var(--papier); border: 1px solid var(--filet); border-left: 4px solid var(--orange); border-radius: 0 6px 6px 0; padding: 16px 20px; box-shadow: 0 14px 30px -24px rgba(10, 31, 52, .45); }
.parties dt { font-size: 18px; font-weight: 720; font-stretch: 110%; margin-bottom: 4px; }
.parties dd { margin: 0; font-size: 16px; color: var(--encre-texte); }

.tab--ex tbody th { width: 58%; }
.tab--ex td { font-size: 17.5px; }

.tete-page--faq { padding-bottom: clamp(72px, 9vw, 128px); }
.faq-groupes { display: grid; gap: clamp(36px, 5vw, 56px); margin-top: clamp(28px, 4vw, 48px); max-width: 980px; }
.faq-groupe { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 16px clamp(24px, 4vw, 56px); align-items: start; }
.faq-groupe h2 { font-size: clamp(1.35rem, 2vw, 1.75rem); padding-top: 12px; }
@media (max-width: 820px) { .faq-groupe { grid-template-columns: minmax(0, 1fr); } }

.texte-long { max-width: 780px; }
.texte-long h2 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); margin: 40px 0 12px; }
.texte-long h2:first-child { margin-top: 0; }
.texte-long p { font-size: 17px; color: var(--encre-texte); }
.texte-long a { font-weight: 650; }
.tete-page .tete-page__ligne a { font-weight: 650; text-decoration: none; }
@media (max-width: 420px) { h1 { font-size: clamp(1.85rem, 8.6vw, 2.25rem); font-stretch: 106%; } }

/* ============================================================
   PROFONDEUR, ASYMÉTRIE ET RÉACTIONS
   ============================================================ */

/* ------------------------------------------------------------
   Le moment fort : une bande d'encre par page, avec le chiffre
   qui définit le service. Le chiffre déborde volontairement de
   la colonne de texte.
   ------------------------------------------------------------ */
.moment { padding: clamp(64px, 8vw, 116px) 0 clamp(56px, 7vw, 96px); }
.moment__in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.moment__cle { display: flex; flex-direction: column; }
.moment__chiffre {
  display: block; font-size: clamp(4.2rem, 9vw, 8.5rem); line-height: .88; font-weight: 800; font-stretch: 118%;
  letter-spacing: -.035em; color: var(--orange);
  text-shadow: 0 2px 0 rgba(140, 90, 0, .4), 0 14px 40px rgba(0, 0, 0, .35);
}
.moment__chiffre i { font-style: normal; font-size: .42em; font-weight: 700; letter-spacing: -.01em; margin-left: .12em; vertical-align: .32em; }
.moment__legende { display: block; margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .74); max-width: 34ch; }
.moment__texte h2 { color: #fff; margin-bottom: 20px; }
.moment__texte p { font-size: 18px; color: rgba(255, 255, 255, .78); max-width: 52ch; }
.moment__texte p:last-child { margin-bottom: 0; }
.moment__cotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: clamp(40px, 5vw, 64px) 0 0; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .14); border-radius: 6px; overflow: hidden; }
.moment__cotes div { background: rgba(255, 255, 255, .05); padding: 20px 22px; transition: background .3s ease; }
.moment__cotes div:hover { background: rgba(255, 255, 255, .1); }
.moment__cotes dt { font-size: 14px; color: rgba(255, 255, 255, .62); margin-bottom: 5px; }
.moment__cotes dd { margin: 0; font-size: 17px; font-weight: 640; font-stretch: 106%; color: #fff; }
@media (max-width: 900px) {
  .moment__in { grid-template-columns: minmax(0, 1fr); }
  .moment__cotes { grid-template-columns: minmax(0, 1fr); }
}

/* ------------------------------------------------------------
   Formes de section : le rythme change d'une section à l'autre
   ------------------------------------------------------------ */
.texte-page--inverse { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.texte-page--inverse .texte-page__corps { order: 2; }
.texte-page--large { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: start; }
.texte-page--large .texte-page__corps { max-width: 72ch; }
@media (max-width: 900px) {
  .texte-page--inverse, .texte-page--large { grid-template-columns: minmax(0, 1fr); }
  .texte-page--inverse .texte-page__corps { order: 0; }
}

/* ------------------------------------------------------------
   Étapes numérotées : le numéro sort dans la marge
   ------------------------------------------------------------ */
.etapes div { position: relative; transition: border-color .3s ease; }
.etapes dt { display: flex; align-items: baseline; gap: 14px; }
.etapes__n {
  font-size: 15px; font-weight: 740; color: var(--encre-3); letter-spacing: .02em;
  flex-shrink: 0; width: 26px; transition: color .3s ease, transform .3s cubic-bezier(.16, 1, .3, 1);
}
.etapes dd { padding-left: 40px; }
.etapes div:hover .etapes__n { color: var(--orange-profond); transform: translateX(-2px); }
.etapes div:hover { border-color: var(--filet-fort); }

/* ------------------------------------------------------------
   Réactions : survol à la souris, retour tactile au doigt
   ------------------------------------------------------------ */
.liste-equip li { transition: background .25s ease, padding-left .3s cubic-bezier(.16, 1, .3, 1); border-radius: 3px; }
.liste-equip li:hover { background: linear-gradient(90deg, rgba(255, 162, 0, .1), transparent 70%); padding-left: 12px; }

.parties div { transition: transform .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s ease; }
.parties div:hover { transform: translateX(3px); box-shadow: 0 18px 36px -24px rgba(10, 31, 52, .55); }

.pitch__parties div { transition: transform .3s cubic-bezier(.16, 1, .3, 1), background .3s ease; }
.pitch__parties div:hover { transform: translateY(-3px); background: linear-gradient(180deg, rgba(255, 255, 255, .11), rgba(255, 255, 255, .04)); }

.feuille { transition: box-shadow .35s ease, transform .35s cubic-bezier(.16, 1, .3, 1); }
.fiche:hover, .faq.feuille:hover { box-shadow: 0 1px 1px rgba(10, 31, 52, .06), 0 4px 8px rgba(10, 31, 52, .05), 0 40px 70px -34px rgba(10, 31, 52, .5); }

.faq summary { transition: color .2s ease, padding-left .3s cubic-bezier(.16, 1, .3, 1); }
.faq summary:hover { padding-left: 6px; }
.faq summary::before, .faq summary::after { transition: transform .3s ease, background .2s ease; }
.faq summary:hover::before, .faq summary:hover::after { background: var(--orange-profond); }
.faq details[open] summary { color: var(--encre); }

.tab tbody tr { transition: background .25s ease; }
.tab tbody tr:hover { background: rgba(255, 162, 0, .07); }

.faits div { transition: background .25s ease; }
.feuille .faits div:hover, .fiche .faits div:hover { background: rgba(15, 45, 74, .035); }

.pied a { transition: color .2s ease, padding-left .25s cubic-bezier(.16, 1, .3, 1); }
.pied li a:hover { padding-left: 4px; }

/* Au doigt : chaque élément cliquable s'enfonce légèrement */
@media (hover: none) {
  .btn:active, .puce:active, .releve__ligne:active, .voile__lien:active,
  .faq summary:active, .nav__tel-mob:active, .dossier__sauter:active {
    transform: scale(.985); transition: transform .08s ease;
  }
  .releve__ligne:active { background: linear-gradient(90deg, rgba(255, 162, 0, .16), transparent 75%); box-shadow: inset 4px 0 0 var(--orange); }
  .liste-equip li:active, .parties div:active { background: rgba(255, 162, 0, .09); }
  /* Les effets de survol ne restent pas collés après un toucher */
  .liste-equip li:hover, .faq summary:hover, .pied li a:hover { padding-left: 0; background: none; }
  .parties div:hover, .pitch__parties div:hover, .releve__ligne:hover { transform: none; }
}

/* Palier grand écran : le moment fort grandit avec la page */
@media (min-width: 2000px) {
  .moment__chiffre { font-size: 10rem; }
  .moment__legende { font-size: 18px; }
  .moment__texte p { font-size: 21px; }
  .moment__cotes dd { font-size: 19px; }
  .etapes__n { font-size: 17px; width: 30px; }
}

/* ------------------------------------------------------------
   Apparition au défilement (classe posée par site.js)
   ------------------------------------------------------------ */
.anim .sect__tete, .anim .texte-page__corps, .anim .feuille, .anim .releve li,
.anim .moment__cle, .anim .moment__texte, .anim .moment__cotes div,
.anim .liste-equip li, .anim .etapes div, .anim .parties div,
.anim .pitch__parties div, .anim .faq-groupe, .anim .carte-type, .anim .carte-guide, .anim .raccourci, .anim .panneau-faits {
  opacity: 0; transform: translateY(12px);
  transition: opacity .6s ease, transform .7s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--r, 0) * 55ms);
}
/* .vu doit battre les sélecteurs d'éléments ci-dessus (.anim .etapes div),
   d'où la classe répétée : sans elle, les div sans classe restent invisibles. */
.anim .vu.vu { opacity: 1; transform: none; }
/* Le hero reste immobile : il est déjà là quand la page s'ouvre. */
.anim .hero .feuille, .anim .hero__feuille .feuille, .anim .tete-page .feuille { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  .anim .sect__tete, .anim .texte-page__corps, .anim .feuille, .anim .releve li,
  .anim .moment__cle, .anim .moment__texte, .anim .moment__cotes div,
  .anim .liste-equip li, .anim .etapes div, .anim .parties div,
  .anim .pitch__parties div, .anim .faq-groupe, .anim .carte-type, .anim .carte-guide, .anim .raccourci, .anim .panneau-faits { opacity: 1; transform: none; }
}




/* ------------------------------------------------------------
   Blogue
   ------------------------------------------------------------ */
.etroit-article h1 { max-width: 18ch; }
.etroit-article .tete-page__ligne { max-width: 52ch; }
.article__meta { font-size: 14.5px; color: var(--encre-2); margin: -14px 0 0; }
.article__grille { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 80px); align-items: start; }
.article__corps { max-width: 720px; }
.article__corps > p:first-child { font-size: 19px; color: var(--encre); line-height: 1.6; }
.article__corps ul, .article__corps ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.article__corps li { font-size: 17px; color: var(--encre-texte); margin-bottom: .55em; line-height: 1.55; }
.article__corps li::marker { color: var(--orange-profond); font-weight: 700; }
.article__corps strong { color: var(--encre); }
.article__aside { position: sticky; top: calc(var(--nav-h) + 24px); }
.article__aside .feuille p { font-size: 15px; margin: 0 0 14px; }
.article__aside-t { font-weight: 700; color: var(--encre); margin-top: 18px !important; padding-top: 16px; border-top: 1px solid var(--filet); }
.article__aside .btn { width: 100%; }
.article__aside-tel { color: var(--encre-2); margin: 12px 0 0 !important; text-align: center; }
.article__aside-tel a { font-weight: 700; text-decoration: none; }
@media (max-width: 960px) { .article__grille { grid-template-columns: minmax(0, 1fr); } .article__aside { position: static; } }
.sect__tete--large p .lien { margin-left: 4px; }

/* ------------------------------------------------------------
   Nav : menu déroulant « Financement » et bouton de langue
   ------------------------------------------------------------ */
.nav__deroul { position: relative; }
.nav__declencheur {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 560; color: var(--encre-2);
  background: none; border: 0; padding: 6px 0; border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav__declencheur svg { transition: transform .25s ease; }
.nav__declencheur:hover, .nav__deroul.ouvert .nav__declencheur { color: var(--encre); }
.nav__declencheur[data-courant] { color: var(--encre); border-bottom-color: var(--orange); }
.nav__deroul.ouvert .nav__declencheur svg { transform: rotate(180deg); }
.nav__panneau {
  position: absolute; top: calc(100% + 16px); left: -24px; z-index: 110;
  display: grid; grid-template-columns: repeat(2, minmax(200px, auto)); gap: 8px 36px;
  background: var(--papier); border: 1px solid var(--filet); border-top: 3px solid var(--orange); border-radius: 0 0 8px 8px;
  padding: 20px 26px 22px; box-shadow: 0 30px 60px -28px rgba(15, 45, 74, .45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .25s cubic-bezier(.16, 1, .3, 1), visibility .2s;
}
.nav__panneau::before { content: ''; position: absolute; left: 0; right: 0; top: -19px; height: 16px; }
.nav__deroul.ouvert .nav__panneau { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1001px) {
  .nav__deroul:hover .nav__panneau { opacity: 1; visibility: visible; transform: none; }
  .nav__deroul:hover .nav__declencheur svg { transform: rotate(180deg); }
}
.panneau__t { font-size: 12.5px; font-weight: 700; color: var(--encre-3); letter-spacing: .02em; margin: 0 0 8px; }
.panneau__col ul { list-style: none; margin: 0; padding: 0; }
.panneau__col li a {
  display: block; padding: 7px 10px; margin: 0 -10px; border-radius: 4px;
  font-size: 15.5px; font-weight: 580; color: var(--encre); text-decoration: none; white-space: nowrap;
  transition: background .2s, padding-left .25s cubic-bezier(.16, 1, .3, 1);
}
.panneau__col li a:hover { background: rgba(255, 162, 0, .12); padding-left: 14px; }
.panneau__col li a[aria-current] { box-shadow: inset 3px 0 0 var(--orange); background: rgba(255, 162, 0, .08); }

.nav__langue {
  display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 32px; padding: 0 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--encre); text-decoration: none;
  border: 1px solid var(--filet-fort); border-radius: 4px; transition: border-color .2s, background .2s;
}
.nav__langue:hover { border-color: var(--encre); background: var(--papier-2); }
@media (max-width: 1080px) { .nav__langue { display: none; } }

/* Menu mobile : plus de liens, donc plus compact et défilable */
.voile { justify-content: flex-start; overflow-y: auto; padding-top: calc(var(--nav-h) + 16px); }
.voile__lien { font-size: clamp(1.05rem, 4.6vw, 1.4rem); padding: .52rem 0; }
.voile__langue {
  align-self: flex-start; margin-top: 18px; font-size: 15px; font-weight: 700; color: var(--encre);
  border: 1px solid var(--filet-fort); border-radius: 4px; padding: 8px 14px; text-decoration: none;
  opacity: 0; transition: opacity .4s .4s;
}
.voile.ouvert .voile__langue { opacity: 1; }
.voile.ouvert .voile__lien:nth-child(n+7) { transition-delay: .33s; }

/* Le chiffre du moment fort tient sur un petit écran, même sans espace où se couper (« $550,000 ») */
@media (max-width: 520px) { .moment__chiffre { font-size: min(4.2rem, 15vw); } }
.nav__liens { align-items: center; }
.nav__liens > li > a { display: inline-block; line-height: 1.2; }
.nav__declencheur { line-height: 1.2; }


/* ============================================================
   PASSE DE DESIGN (v16)
   ============================================================ */

/* Liens dans le texte : le surligneur orange, motif du site, à la place
   du soulignement. Il se remplit au survol. */
.renvoi a, .texte-long a:not(.btn):not(.lien), .texte-page__corps p a:not(.btn):not(.lien),
.faq__r a, .sect__tete p a:not(.lien), .form__avis a, .article__corps a:not(.btn):not(.lien), .etapes dd a {
  text-decoration: none; color: var(--encre); font-weight: 650;
  background: linear-gradient(transparent 62%, rgba(255, 162, 0, .38) 62%) no-repeat 0 0 / 100% 100%;
  transition: background-size .25s ease, background-image .25s ease;
}
.renvoi a:hover, .texte-long a:not(.btn):not(.lien):hover, .texte-page__corps p a:not(.btn):not(.lien):hover,
.faq__r a:hover, .sect__tete p a:not(.lien):hover, .form__avis a:hover, .article__corps a:not(.btn):not(.lien):hover, .etapes dd a:hover {
  background-image: linear-gradient(transparent 18%, rgba(255, 162, 0, .38) 18%);
}
.sect--encre .sect__tete p a:not(.lien), .sect--encre .renvoi a { color: #fff; }

/* « Ou appelez » à côté du bouton principal : une étiquette et un numéro,
   jamais un lien souligné. */
.hero__actions { display: flex; align-items: center; gap: 22px 28px; flex-wrap: wrap; }
.hero__tel { display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1.25; color: var(--encre); padding-left: 22px; border-left: 2px solid var(--filet-fort); }
.hero__tel span { font-size: 13.5px; color: var(--encre-2); }
.hero__tel b { font-size: 20px; font-weight: 740; }
.hero__tel:hover b { color: var(--orange-profond); }
.hero__tel--seul { padding-left: 0; border-left: 0; }

/* Le relevé numéroté : 01 à 04 au-dessus de l'étape */
.releve { counter-reset: r; }
.releve li { counter-increment: r; }
.releve__etape::before { content: counter(r, decimal-leading-zero); display: block; font-size: 13px; font-weight: 760; color: var(--orange-profond); letter-spacing: .04em; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.releve__ligne { padding-top: 26px; padding-bottom: 26px; }

/* ---------- Cartes par type d'équipement ---------- */
.cartes-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.carte-type {
  position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 250px;
  padding: 26px 26px 24px; border-radius: 10px; text-decoration: none; color: var(--encre);
  background: var(--papier); border: 1px solid var(--filet); overflow: hidden; isolation: isolate;
  box-shadow: 0 1px 2px rgba(15, 45, 74, .05), 0 18px 36px -26px rgba(15, 45, 74, .35);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease, border-color .25s;
}
.carte-type::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.carte-type::after {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(15, 45, 74, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(15, 45, 74, .05) 1px, transparent 1px);
  background-size: 22px 22px; -webkit-mask-image: linear-gradient(200deg, #000, transparent 55%); mask-image: linear-gradient(200deg, #000, transparent 55%);
}
.carte-type__n { font-size: 15px; font-weight: 760; color: var(--orange-profond); }
.carte-type__nom { font-size: clamp(26px, 2.3vw, 34px); font-weight: 820; font-stretch: 116%; line-height: 1.05; letter-spacing: -.01em; margin-top: auto; }
.carte-type__desc { font-size: 16px; color: var(--encre-texte); line-height: 1.45; }
.carte-type__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 15px; font-weight: 700; color: var(--encre-2); transition: color .2s; }
.carte-type__go .fl { transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.carte-type:hover { transform: translateY(-6px); border-color: var(--filet-fort); box-shadow: 0 2px 4px rgba(15, 45, 74, .06), 0 34px 60px -30px rgba(15, 45, 74, .5); }
.carte-type:hover::before { transform: scaleX(1); }
.carte-type:hover .carte-type__go { color: var(--encre); }
.carte-type:hover .carte-type__go .fl { transform: translateX(5px); }

.raccourcis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.raccourci {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 12px;
  padding: 16px 20px; border-radius: 8px; text-decoration: none; color: var(--encre);
  background: rgba(255, 255, 255, .55); border: 1px solid var(--filet);
  transition: background .25s, border-color .25s, transform .3s cubic-bezier(.16, 1, .3, 1);
}
.raccourci b { font-size: 16px; font-weight: 760; }
.raccourci span { grid-column: 1; font-size: 14px; color: var(--encre-2); }
.raccourci .fl { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--encre-3); transition: transform .3s cubic-bezier(.16, 1, .3, 1), color .2s; }
.raccourci:hover { background: var(--papier); border-color: var(--filet-fort); transform: translateY(-2px); }
.raccourci:hover .fl { transform: translateX(4px); color: var(--orange-profond); }
.raccourci--ext { background: transparent; border-style: dashed; }

/* ---------- L'entreprise : filigrane et panneau ---------- */
.entreprise .sect__tete { position: relative; }
.filigrane {
  position: absolute; z-index: -1; left: -.06em; top: -.42em; pointer-events: none;
  font-size: clamp(9rem, 17vw, 16rem); font-weight: 860; font-stretch: 120%; line-height: 1; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 162, 0, .38);
}
.entreprise { isolation: isolate; }
.panneau-faits {
  background: var(--beton); border-radius: 12px; padding: clamp(22px, 3vw, 34px);
  box-shadow: inset 0 0 0 1px var(--filet);
}
.panneau-faits .faits { margin: 0; }
.carte-personne {
  display: flex; align-items: center; gap: 18px; margin-top: 22px;
  background: var(--papier); border-radius: 10px; padding: 18px 20px; border-left: 4px solid var(--orange);
  box-shadow: 0 1px 2px rgba(15, 45, 74, .06), 0 20px 40px -28px rgba(15, 45, 74, .45);
}
.carte-personne .personne__nom { margin: 0; }
.carte-personne .personne__role { margin: 2px 0 6px; }
.carte-personne p { margin: 0; }
.carte-personne a { text-decoration: none; font-weight: 650; }
.monogramme {
  flex-shrink: 0; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%;
  background: var(--graphite); color: var(--orange); font-size: 20px; font-weight: 800; font-stretch: 118%; letter-spacing: .02em;
  box-shadow: 0 0 0 4px var(--papier), 0 0 0 5px var(--filet);
}

/* ---------- Cartes de guides ---------- */
.cartes-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cartes-guides--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.carte-guide {
  position: relative; display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 22px;
  border-radius: 10px; text-decoration: none; color: var(--encre); background: var(--papier);
  border: 1px solid var(--filet); overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 45, 74, .05), 0 18px 36px -26px rgba(15, 45, 74, .35);
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease;
}
.carte-guide::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--orange); transform: scaleY(0); transform-origin: top; transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.carte-guide__haut { display: flex; justify-content: space-between; align-items: baseline; }
.carte-guide__n { font-size: 34px; font-weight: 820; font-stretch: 118%; color: var(--beton); -webkit-text-stroke: 1.2px var(--filet-fort); line-height: 1; }
.carte-guide__tag { font-size: 13px; font-weight: 650; color: var(--encre-2); background: var(--beton); border-radius: 20px; padding: 4px 10px; }
.carte-guide__titre { font-size: clamp(20px, 1.6vw, 23px); font-weight: 780; font-stretch: 112%; line-height: 1.18; margin-top: 8px; }
.carte-guide__resume { font-size: 15.5px; color: var(--encre-texte); line-height: 1.5; }
.carte-guide__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 700; color: var(--encre-2); }
.carte-guide__go .fl { transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.carte-guide:hover { transform: translateY(-5px); box-shadow: 0 2px 4px rgba(15, 45, 74, .06), 0 32px 56px -30px rgba(15, 45, 74, .5); }
.carte-guide:hover::before { transform: scaleY(1); }
.carte-guide:hover .carte-guide__go { color: var(--encre); }
.carte-guide:hover .carte-guide__go .fl { transform: translateX(5px); }
.carte-guide--vedette { padding: 30px 30px 26px; border: 0; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .6); }
.carte-guide--vedette .carte-guide__titre { font-size: clamp(24px, 2.2vw, 32px); }
.carte-guide--vedette .carte-guide__n { color: rgba(255, 162, 0, .18); -webkit-text-stroke: 1.2px var(--orange-profond); font-size: 44px; }
.section__suite { margin: 28px 0 0; }

/* ---------- Tête du blogue et des guides : graphite ---------- */
.blogue-tete {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--graphite);
  padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 96px);
}
.blogue-tete::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 80% at 100% 100%, rgba(255, 162, 0, .14), transparent 70%),
    radial-gradient(ellipse 70% 90% at 0% 0%, rgba(255, 255, 255, .07), transparent 60%),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 30px 30px;
}
.blogue-tete .fil, .blogue-tete .fil a { color: rgba(255, 255, 255, .6); }
.blogue-tete .fil span[aria-current] { color: rgba(255, 255, 255, .85); }
.blogue-tete__grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 80px); align-items: end; margin-top: clamp(24px, 3vw, 44px); }
.blogue-tete__sur { display: inline-block; font-size: 13.5px; font-weight: 700; letter-spacing: .06em; color: var(--orange); margin: 0 0 16px; }
.blogue-tete h1 { color: #fff; font-size: clamp(2.4rem, 4.2vw, 4.2rem); font-weight: 860; font-stretch: 120%; line-height: .98; letter-spacing: -.02em; max-width: 17ch; }
.blogue-tete__ligne { font-size: clamp(17px, 1.4vw, 20px); color: rgba(255, 255, 255, .78); max-width: 44ch; margin: 22px 0 26px; }
.sujets { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.sujets li { font-size: 13.5px; font-weight: 650; color: rgba(255, 255, 255, .82); border: 1px solid rgba(255, 255, 255, .22); border-radius: 20px; padding: 6px 14px; }
.blogue-tete__etiquette { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .6); margin: 0 0 10px; letter-spacing: .04em; }
.blogue-tete__vedette { position: relative; }
.blogue-tete--article { padding-bottom: clamp(44px, 5vw, 72px); }
.blogue-tete--article h1 { max-width: 20ch; font-size: clamp(2.3rem, 4.2vw, 4rem); margin-top: 0; }
.blogue-tete--article .article__meta { color: rgba(255, 255, 255, .6); margin: 0; }
.blogue-tete--article .fil { margin-bottom: clamp(20px, 3vw, 40px); }

/* La barre de lecture : un filet orange sous la nav, qui avance */
.lecture { position: fixed; left: 0; right: 0; top: var(--nav-h); z-index: 99; height: 3px; pointer-events: none; }
.lecture span { display: block; height: 100%; background: linear-gradient(90deg, var(--orange-profond), var(--orange)); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 10px rgba(255, 162, 0, .6); }

/* Le corps d'un guide : lettrine de marque sur le premier paragraphe */
.article__corps > p:first-child::first-letter { float: left; font-size: 3.4em; line-height: .9; font-weight: 860; font-stretch: 120%; color: var(--orange-profond); margin: 6px 10px 0 0; }
.article__corps h2 { padding-top: 12px; border-top: 1px solid var(--filet); }
.article__aside .feuille { border-top: 4px solid var(--orange); }

@media (max-width: 960px) {
  .cartes-types, .cartes-guides, .cartes-guides--2, .raccourcis { grid-template-columns: minmax(0, 1fr); }
  .carte-type { min-height: 0; }
  .carte-type__nom { margin-top: 18px; }
  .blogue-tete__grille { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .pied__grille > div:nth-child(2) ul { columns: 2; column-gap: 18px; }
  .filigrane { font-size: 8rem; top: -.3em; }
  .hero__tel { padding-left: 0; border-left: 0; }
  .hero__actions { gap: 14px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
}
@media (hover: none) {
  .carte-type:active, .carte-guide:active, .raccourci:active { transform: scale(.985); }
}
.carte-personne > div { min-width: 0; }
.carte-personne .chiffres { overflow-wrap: anywhere; }
@media (max-width: 520px) { .carte-personne { align-items: flex-start; padding: 16px; gap: 14px; } .monogramme { width: 48px; height: 48px; font-size: 17px; } }

/* ============================================================
   PHOTOS (v19)
   Un traitement commun unifie les photos de sources différentes.
   ============================================================ */
.photo { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.04); }

/* Bloc d'attente : présentable tant que la photo manque */
.img-ph {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  width: 100%; height: 100%; min-height: 160px; padding: 24px; text-align: center;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, .035) 0 12px, transparent 12px 24px), var(--graphite-2);
  color: rgba(255, 255, 255, .78); font-size: 14px; line-height: 1.45;
}
.img-ph::before { content: attr(data-format); position: absolute; top: 12px; left: 14px; font-size: 11px; font-weight: 700; letter-spacing: .1em; opacity: .55; }
.img-ph .ph-f { font-weight: 800; color: var(--orange); font-size: 14px; }
.img-ph .ph-desc { max-width: 36ch; }
.img-ph .ph-search { font: 600 11.5px/1.4 ui-monospace, monospace; padding: 5px 10px; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); }
.hero__cadre .img-ph { position: absolute; inset: 0; }

/* ---------- Tête des pages : photo encadrée qui déborde à droite,
   la fiche posée par-dessus son coin inférieur gauche ---------- */
.tete-page--photo { overflow-x: clip; }
.tete-page--photo .tete-page__grille { align-items: center; }
.tete__visuel { position: relative; }
.tete__cadre {
  position: relative; margin: 0; aspect-ratio: 16 / 10; overflow: hidden;
  margin-right: calc(-1 * max(var(--marge), (100vw - var(--enveloppe)) / 2));
  border-radius: 10px 0 0 10px; background: var(--graphite);
  box-shadow: 0 2px 4px rgba(15, 45, 74, .08), 0 40px 80px -40px rgba(15, 45, 74, .5);
}
.tete__cadre::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(200deg, transparent 55%, rgba(21, 25, 29, .35)); }
.tete__visuel .fiche { position: relative; z-index: 2; margin: -64px 0 0 -44px; max-width: 460px; }
@media (max-width: 1080px) {
  .tete__visuel .fiche { margin: -80px 0 0 18px; max-width: none; }
}
@media (max-width: 760px) {
  .tete__cadre { aspect-ratio: 4 / 3; }
  .tete__visuel { margin-top: 8px; }
  .tete__visuel .fiche { margin: -60px 12px 0 12px; }
}

/* ---------- Cartes par type : photo en tête de carte ---------- */
.carte-type__photo { display: block; height: 190px; margin: -26px -26px 10px; overflow: hidden; position: relative; background: var(--graphite); }
.carte-type__photo .photo, .carte-type__photo .img-ph { transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.carte-type__photo .img-ph { min-height: 0; padding: 16px; gap: 6px; font-size: 12.5px; }
.carte-type__photo .img-ph .ph-desc { display: none; }
.carte-type:hover .carte-type__photo .photo { transform: scale(1.05); }
.carte-type__nom { margin-top: 4px; }
.carte-type::after { display: none; }

/* ---------- La bande du chauffeur : photo sous le graphite ---------- */
.pitch .pitch__photo { position: absolute; inset: 0; z-index: -1; }
.pitch .pitch__photo .photo { opacity: .55; filter: saturate(1.05) contrast(1.05); }
.pitch .pitch__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(21, 25, 29, .93) 22%, rgba(21, 25, 29, .6) 55%, rgba(21, 25, 29, .25) 100%), linear-gradient(0deg, rgba(21, 25, 29, .7), transparent 45%); }
.pitch .pitch__photo .img-ph { background: transparent; align-items: flex-end; justify-content: flex-end; text-align: right; padding: 22px 28px; color: rgba(255, 255, 255, .5); }
.pitch .pitch__photo .img-ph .ph-desc { max-width: 30ch; }
.pitch { isolation: isolate; }

/* ---------- Portrait de Caroline (quand la photo existe) ---------- */
.monogramme--photo { object-fit: cover; padding: 0; }

/* ---------- Diaporama du hero : fondu lent et léger zoom ---------- */
.hero__diapo { position: absolute; inset: 0; }
.hero__diapo .diapo { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero__diapo .diapo.actif { opacity: 1; animation: diapo-zoom 9s ease-out both; }
.hero__diapo .img-ph { position: absolute; inset: 0; opacity: 1; }
@keyframes diapo-zoom { from { transform: scale(1.06); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero__diapo .diapo.actif { animation: none; } }

/* Portrait de Caroline sur la page À propos */
.personne__photo { width: 132px; height: 132px; border-radius: 50%; object-fit: cover; margin: 0 0 16px; box-shadow: 0 0 0 5px var(--papier), 0 0 0 6px var(--filet), 0 18px 36px -20px rgba(15, 45, 74, .45); }
.monogramme--photo { width: 58px; height: 58px; border-radius: 50%; }

/* Quatre familles d'équipement : quatre cartes, deux par rangée sur tablette */
.cartes-types { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.carte-type { padding: 22px 22px 20px; min-height: 0; }
.carte-type__photo { height: 160px; margin: -22px -22px 8px; }
.carte-type__nom { font-size: clamp(22px, 1.9vw, 28px); }
@media (max-width: 1180px) { .cartes-types { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cartes-types { grid-template-columns: minmax(0, 1fr); } }

/* ============================================================
   CONVERSION (v23)
   ============================================================ */

/* La carte « Depuis plus de 35 ans » tient sur une ligne */
.hero__preuve { max-width: none; white-space: nowrap; padding: 14px 22px 14px 18px; }
.hero__preuve b { font-size: clamp(18px, 1.5vw, 22px); }

/* Sous le dossier du hero : la porte d'entrée de ceux qui magasinent encore */
.hero__magasine { margin: 18px 0 0 4px; font-size: 15.5px; color: var(--encre-2); }
.hero__magasine a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--encre); text-decoration: none; }
.hero__magasine a .fl { width: 16px; height: 16px; color: var(--orange-profond); transition: transform .3s cubic-bezier(.16, 1, .3, 1); }
.hero__magasine a:hover .fl { transform: translateX(4px); }

/* Le visage dans la bande d'appel */
.appel__in { position: relative; }
.appel__visage { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.appel__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--graphite), 0 0 0 5px var(--orange); }
.appel__visage p { margin: 0; display: flex; flex-direction: column; line-height: 1.3; }
.appel__visage b { color: #fff; font-size: 16px; }
.appel__visage span { color: rgba(255, 255, 255, .66); font-size: 14px; }

/* La relance au milieu des pages de service */
.bande-dossier { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(40px, 5vw, 72px); }
.bande-dossier__panneau {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  background: var(--graphite); color: #fff; border-radius: 14px; padding: clamp(26px, 4vw, 48px);
  position: relative; overflow: hidden; isolation: isolate;
  box-shadow: 0 40px 80px -40px rgba(15, 45, 74, .55);
}
.bande-dossier__panneau::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse 60% 90% at 100% 100%, rgba(255, 162, 0, .16), transparent 70%),
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 30px 30px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 30px 30px;
}
.bande-dossier__texte h2 { color: #fff; margin: 0 0 12px; }
.bande-dossier__texte p { color: rgba(255, 255, 255, .78); margin: 0 0 10px; max-width: 42ch; }
.bande-dossier__tel a { color: var(--orange); font-weight: 750; text-decoration: none; }
.bande-dossier .dossier { box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
@media (max-width: 960px) { .bande-dossier__panneau { grid-template-columns: minmax(0, 1fr); } }

/* Ce qui se passe ensuite (demande et remerciement) */
.suite { margin: 26px 0 22px; }
.suite__t { font-size: 13px; font-weight: 750; letter-spacing: .04em; color: var(--orange-profond); margin: 0 0 12px; }
.suite__etapes { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 12px; }
.suite__etapes li { counter-increment: s; position: relative; padding-left: 42px; font-size: 15.5px; line-height: 1.45; color: var(--encre-texte); }
.suite__etapes li::before {
  content: counter(s); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13.5px; font-weight: 800; color: var(--encre);
  background: var(--papier); box-shadow: inset 0 0 0 1.5px var(--orange);
}
.suite__etapes b { color: var(--encre); }
.suite__personne { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px; background: var(--papier); border-radius: 10px; border-left: 4px solid var(--orange); box-shadow: 0 16px 34px -24px rgba(15, 45, 74, .45); }
.suite__photo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.suite__personne p { margin: 0; display: flex; flex-direction: column; line-height: 1.3; }
.suite__personne b { font-size: 15px; color: var(--encre); }
.suite__personne span { font-size: 13.5px; color: var(--encre-2); }

/* Champs facultatifs repliés : le formulaire raccourcit, surtout sur mobile */
.form__plus { grid-column: 1 / -1; border: 1px dashed var(--filet-fort); border-radius: 8px; padding: 0; }
.form__plus summary { cursor: pointer; list-style: none; padding: 12px 16px; font-size: 15px; font-weight: 700; color: var(--encre); display: flex; align-items: center; justify-content: space-between; }
.form__plus summary::-webkit-details-marker { display: none; }
.form__plus summary::after { content: '+'; font-size: 20px; font-weight: 500; color: var(--orange-profond); transition: transform .25s; }
.form__plus[open] summary::after { transform: rotate(45deg); }
.form__plus summary em { font-style: normal; font-weight: 500; color: var(--encre-2); }
.form__plus-corps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; padding: 4px 16px 16px; }
@media (max-width: 560px) { .form__plus-corps { grid-template-columns: minmax(0, 1fr); } }

/* Remerciement */
.merci__in { text-align: left; }
.merci__photo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; margin-bottom: 18px; box-shadow: 0 0 0 4px var(--papier), 0 0 0 5px var(--orange); }
.suite__etapes--merci { margin: 24px 0; }
.form__plus summary { justify-content: flex-start; gap: 6px; }
.form__plus summary::after { margin-left: auto; }

/* ============================================================
   HERO MOBILE (v24) : la photo ouvre la page, pleine largeur, avec
   un voile sombre dans le bas où se pose le titre en blanc. Le
   sous-titre, le dossier et le lien suivent sur le béton.
   La grille et le bloc de texte s'effacent (display: contents) pour
   que le titre et la photo partagent la même rangée.
   ============================================================ */
@media (max-width: 1080px) {
  .hero {
    display: grid; grid-template-columns: var(--marge) minmax(0, 1fr) var(--marge);
    align-items: start; padding: 0 0 40px; min-height: 0;
  }
  .hero__grille, .hero__texte { display: contents; }
  .hero__cadre {
    grid-column: 1 / -1; grid-row: 1; position: relative; inset: auto;
    margin: 0; aspect-ratio: auto; min-height: clamp(380px, 64vh, 620px);
    border-radius: 0; box-shadow: none;
  }
  .hero__cadre::after {
    background: linear-gradient(180deg, rgba(21, 25, 29, 0) 30%, rgba(21, 25, 29, .45) 58%, rgba(21, 25, 29, .88) 100%);
  }
  .hero h1 {
    grid-column: 2; grid-row: 1; align-self: end; position: relative; z-index: 2;
    color: #fff; margin: 0 0 26px; max-width: 14ch;
    text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
  }
  .hero__ligne { grid-column: 2; grid-row: 2; margin: 22px 0 22px; }
  .hero .dossier { grid-column: 2; grid-row: 3; }
  .hero__magasine { grid-column: 2; grid-row: 4; }

  /* Le badge, affiné */
  .hero__preuve {
    left: var(--marge); top: 16px; padding: 7px 12px 7px 10px;
    border-left-width: 3px; border-radius: 0 4px 4px 0;
    background: rgba(255, 255, 255, .92); box-shadow: 0 8px 20px -12px rgba(0, 0, 0, .5);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  }
  .hero__preuve b { font-size: 13.5px; font-weight: 750; letter-spacing: .01em; }
}

/* Hero mobile (v25) : voile plus haut et plus dense, titre plus bas */
@media (max-width: 1080px) {
  .hero__cadre::after {
    background: linear-gradient(180deg,
      rgba(21, 25, 29, 0) 12%,
      rgba(21, 25, 29, .38) 34%,
      rgba(21, 25, 29, .74) 56%,
      rgba(21, 25, 29, .9) 78%,
      rgba(21, 25, 29, .96) 100%);
  }
  .hero h1 { margin-bottom: 14px; }
  .hero__ligne { margin-top: 20px; }
}

/* Hero mobile (v26) : le camion reste lumineux, seul le bas fonce */
@media (max-width: 1080px) {
  .hero__cadre { min-height: clamp(420px, 78svh, 700px); }
  .hero__cadre .photo { object-position: 55% 40%; }
  .hero__cadre::after {
    background: linear-gradient(180deg,
      rgba(21, 25, 29, 0) 52%,
      rgba(21, 25, 29, .55) 70%,
      rgba(21, 25, 29, .88) 86%,
      rgba(21, 25, 29, .95) 100%);
  }
  .hero h1 { font-size: clamp(2rem, 8.6vw, 2.9rem); margin-bottom: 18px; max-width: 16ch; }
}

/* Hero mobile (v27) : tout rapetisse d'environ 15 % en gardant le même
   rapport entre le titre et le camion; le titre remonte à l'écran. */
@media (max-width: 1080px) {
  .hero__cadre { min-height: clamp(360px, 66svh, 600px); }
  .hero h1 { font-size: clamp(1.75rem, 7.6vw, 2.6rem); margin-bottom: 16px; }
}

/* ============================================================
   Hero mobile (v28) : la photo reste figée sous la nav pendant le
   défilement; le titre monte par-dessus, puis une feuille de béton
   (le pseudo-élément ::before, placé dans la grille sous la photo)
   glisse sur elle jusqu'à la recouvrir. Le zoom d'entrée de la photo
   reste réservé au bureau.
   ============================================================ */
@media (max-width: 1080px) {
  .hero__cadre { position: sticky; top: var(--nav-h); z-index: 0; align-self: start; }
  .hero h1 { z-index: 2; }
  .hero::before {
    content: ''; position: static; inset: auto; z-index: 1; pointer-events: none;
    grid-column: 1 / -1; grid-row: 2 / 6;
    -webkit-mask-image: none; mask-image: none;
    background: var(--beton);
    border-radius: 20px 20px 0 0; margin-top: -1px;
    box-shadow: 0 -18px 40px -16px rgba(0, 0, 0, .45);
  }
  .hero::after { display: none; }
  .hero__ligne, .hero .dossier, .hero__magasine { position: relative; z-index: 2; }
  .hero__ligne { padding-top: 6px; }
  .hero__diapo .diapo.actif { animation: none; }
}
@media (max-width: 1080px) and (prefers-reduced-motion: reduce) {
  .hero__cadre { position: relative; top: auto; }
}
@media (max-width: 1080px) { .hero::before { align-self: stretch; } }

/* Hero mobile (v29) : hauteur de photo figée en pixels au chargement
   (--hero-photo-h, posée par site.js) pour qu'elle ne grandisse pas quand
   la barre d'adresse se replie au défilement. 58svh sert de valeur de
   départ, identique à ce que le script calcule. Titre remonté. */
@media (max-width: 1080px) {
  .hero__cadre { min-height: 0; height: var(--hero-photo-h, clamp(340px, 58svh, 580px)); }
  .hero h1 { margin-bottom: 28px; }
}

/* Hero mobile (v31) : le titre transporte son propre voile. En montant
   sur la photo figée, il garde un fond sombre derrière lui. */
@media (max-width: 1080px) {
  .hero h1 { isolation: isolate; }
  .hero h1::before {
    content: ''; position: absolute; z-index: -1; pointer-events: none;
    left: calc(var(--marge) * -1); right: calc(var(--marge) * -1);
    top: -56px; bottom: -28px;
    background: linear-gradient(180deg,
      rgba(21, 25, 29, 0) 0%,
      rgba(21, 25, 29, .55) 30%,
      rgba(21, 25, 29, .72) 70%,
      rgba(21, 25, 29, 0) 100%);
  }
}

/* ============================================================
   Menu mobile regroupé (v32) : cinq entrées, « Financement » s'ouvre
   sur place. Centrage par marges automatiques sur le premier et le
   dernier enfant : centré quand tout tient, défilable depuis le haut
   quand « Financement » est ouvert et que ça déborde.
   ============================================================ */
.voile { justify-content: flex-start; overflow-y: auto; padding: calc(var(--nav-h) + 12px) 8vw 28px; }
.voile > :first-child { margin-top: auto; }
.voile > :last-child { margin-bottom: auto; }
.voile__lien { font-size: clamp(1.45rem, 6.4vw, 2rem); padding: .62rem 0; }
.voile__groupe { border-bottom: 1px solid var(--filet); }
.voile__groupe > summary { list-style: none; cursor: pointer; border-bottom: 0; }
.voile__groupe > summary::-webkit-details-marker { display: none; }
.voile__chev { color: var(--orange-profond); transition: transform .3s cubic-bezier(.16, 1, .3, 1); flex-shrink: 0; }
.voile__groupe[open] .voile__chev { transform: rotate(180deg); }
.voile.ouvert .voile__groupe > summary { transform: none; opacity: 1; transition-delay: .05s; }
.voile__sous { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 4px 0 18px 2px; }
@media (min-width: 480px) { .voile__sous { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.voile__sous-t { margin: 0 0 6px; font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-profond); }
.voile__sous ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.voile__sous a { display: block; padding: 7px 0 7px 12px; font-size: 16.5px; font-weight: 620; color: var(--encre); text-decoration: none; border-left: 2px solid var(--filet); }
.voile__sous a[aria-current] { border-left-color: var(--orange); font-weight: 750; }
.voile__demande, .voile__tel { width: 100%; justify-content: center; }
.voile__demande { margin-top: 26px; padding: 16px; font-size: 17px; transform: translateY(14px); opacity: 0; transition: transform .45s cubic-bezier(.22, 1, .36, 1) .36s, opacity .35s .36s; }
.voile.ouvert .voile__demande { transform: none; opacity: 1; }
.voile__tel { margin-top: 10px; }
.voile__h a.voile__langue { display: inline; margin: 0; padding: 0; border: 0; opacity: 1; font-weight: 700; color: var(--encre); text-decoration: underline; text-underline-offset: 3px; }

/* Menu rouvert après un changement de langue : aucune animation d'entrée */
.voile.sans-anim, .voile.sans-anim * { transition: none !important; }

/* Hero mobile (v33) : voiles plus doux et plus progressifs, titre plus bas */
@media (max-width: 1080px) {
  .hero__cadre::after {
    background: linear-gradient(180deg,
      rgba(21, 25, 29, 0) 42%,
      rgba(21, 25, 29, .18) 58%,
      rgba(21, 25, 29, .42) 74%,
      rgba(21, 25, 29, .62) 88%,
      rgba(21, 25, 29, .72) 100%);
  }
  .hero h1 { margin-bottom: 16px; text-shadow: 0 2px 18px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .35); }
  .hero h1::before {
    top: -44px; bottom: -16px;
    background: linear-gradient(180deg,
      rgba(21, 25, 29, 0) 0%,
      rgba(21, 25, 29, .3) 35%,
      rgba(21, 25, 29, .38) 70%,
      rgba(21, 25, 29, 0) 100%);
  }
}

/* ============================================================
   Langue visible sur mobile (v34)
   ============================================================ */
@media (max-width: 1080px) {
  .nav__langue { display: inline-flex; margin-left: auto; height: 40px; min-width: 40px; border-radius: 9px; font-size: 13px; }
  .nav__tel { margin-left: 0; }
}
@media (max-width: 760px) {
  .nav__tel-mob { margin-left: 0; }
}
/* Écrans étroits : le nom de la marque se resserre pour faire place au bouton */
@media (max-width: 400px) {
  .marque { gap: 8px; }
  .marque__nom { font-size: 16.5px; }
  .marque__sym { height: 27px; }
  .nav__in { gap: 8px; }
}

/* Dans le menu : la langue en bouton, en haut */
.voile__langue {
  align-self: flex-end; display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 10px; padding: 8px 14px; border-radius: 20px;
  font-size: 14.5px; font-weight: 700; color: var(--encre); text-decoration: none;
  border: 1px solid var(--filet-fort); background: var(--papier);
  opacity: 0; transition: opacity .35s .05s, border-color .2s;
}
.voile__langue svg { color: var(--orange-profond); }
.voile.ouvert .voile__langue { opacity: 1; }
.voile__langue:active { transform: scale(.97); }
.nav__langue, .nav__tel-mob, .burger { flex-shrink: 0; }
.marque { min-width: 0; }
@media (max-width: 380px) {
  .marque__nom { font-size: 15px; }
  .marque__sym { height: 25px; }
  .marque { gap: 6px; }
  .nav__in { gap: 6px; }
  .nav__langue, .nav__tel-mob, .burger { width: 38px; height: 38px; min-width: 38px; }
}

/* Bannière de consentement (Loi 25) */
.temoins {
  position: fixed; z-index: 120; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto;
  display: grid; gap: 14px; padding: 18px 20px; border-radius: 12px;
  background: var(--papier); color: var(--encre); border-top: 4px solid var(--orange);
  box-shadow: 0 2px 6px rgba(15, 45, 74, .1), 0 30px 60px -24px rgba(15, 45, 74, .5);
}
.temoins[hidden] { display: none; }
.temoins p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--encre-texte); }
.temoins p a { color: var(--encre); font-weight: 650; }
.temoins__choix { display: flex; gap: 10px; justify-content: flex-end; }
.temoins__choix .btn { padding: 11px 18px; font-size: 15px; }
@media (max-width: 760px) { .temoins { bottom: 84px; left: 12px; right: 12px; } .temoins__choix .btn { flex: 1; justify-content: center; } }
.pied__temoins { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; opacity: .8; }

/* Logo de la nav : dimensions en pixels entiers (une largeur fractionnaire,
   41,7 px, étalait le symbole entre deux pixels et le rendait flou).
   Même dessin, mêmes proportions. */
.marque__sym { width: 42px; height: 34px; object-fit: contain; }
@media (max-width: 760px) { .marque__sym { width: 37px; height: 30px; } }
@media (max-width: 400px) { .marque__sym { width: 33px; height: 27px; } }
@media (max-width: 380px) { .marque__sym { width: 31px; height: 25px; } }


/* ============================================================
   PASSE ANTI-TICS (v39) : chaque élément porte une information
   ============================================================ */

/* v40 : cascade d'apparition, numéros du relevé, flèches en pastille et
   liens d'action rétablis tels qu'avant la passe v39 (choix de Seb). */
.dossier__note { margin: 0; font-size: 13.5px; color: var(--encre-2); }

/* Étapes du formulaire : vrai ordre, numéroté en texte simple */
.suite__etapes li { padding-left: 24px; }
.suite__etapes li::before {
  content: counter(s) "."; width: auto; height: auto; background: none; box-shadow: none; border-radius: 0;
  top: 0; display: inline; font-size: 15.5px; font-weight: 800; color: var(--orange-profond);
}


/* Voir aussi : deux ou trois pages liées */
.lies-sect { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.lies__t { font-size: clamp(22px, 2vw, 28px); margin: 0 0 18px; }
.lies { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.lies a {
  display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px 18px; border-radius: 8px;
  text-decoration: none; color: var(--encre); background: var(--papier); border: 1px solid var(--filet);
  transition: border-color .2s, box-shadow .25s;
}
.lies a b { font-size: 17px; font-weight: 760; }
.lies a span { font-size: 14.5px; color: var(--encre-texte); line-height: 1.45; }
.lies a:hover { border-color: var(--orange); box-shadow: 0 14px 30px -22px rgba(15, 45, 74, .45); }

/* Étapes : le numéro est un repère d'ordre, sans effet */
.etapes__n { font-size: 15px; min-width: 22px; transform: none !important; transition: none; color: var(--orange-profond); }

/* Cartes par équipement : « Voir le financement » aligné en bas de chaque carte */
.carte-type { display: flex; flex-direction: column; }
.carte-type__go { margin-top: auto; padding-top: 14px; }

/* Grand chiffre : toujours sur une ligne. Espace fine insécable entre les
   milliers (gabarit moment) et taille qui suit la largeur de l'écran. */
.moment__chiffre { white-space: nowrap; font-size: clamp(3.4rem, 9.5vw, 10rem); }
.moment__cle { min-width: 0; }
@media (max-width: 1080px) { .moment__chiffre { font-size: clamp(3.4rem, 15vw, 8rem); } }
@media (max-width: 520px) { .moment__chiffre { font-size: 15.5vw; } }

/* Grand chiffre : jamais coupé, taille ajustée à la largeur */
.moment__chiffre { white-space: nowrap; font-size: min(9rem, 10.5vw); }
@media (max-width: 960px) { .moment__chiffre { font-size: min(7rem, 17vw); } }

/* Bande du chauffeur, mobile (v43) : la photo passe en bandeau en haut de
   la section, cadrée sur la remorque et la route, avec un fondu vers le
   graphite sous lequel commence le titre. */
@media (max-width: 760px) {
  .pitch .pitch__photo { inset: 0 0 auto 0; height: 300px; }
  .pitch .pitch__photo .photo { opacity: 1; object-position: 82% 62%; filter: saturate(1.05) contrast(1.05); }
  .pitch .pitch__photo::after { background: linear-gradient(180deg, rgba(21, 25, 29, .05) 0%, rgba(21, 25, 29, .25) 45%, rgba(21, 25, 29, .85) 80%, var(--graphite) 100%); }
  .pitch .pitch__in { padding-top: 190px; }
}
@media (max-width: 760px) {
  .pitch .pitch__photo { height: 340px; }
  .pitch .pitch__photo .photo { object-position: 90% 64%; }
  .pitch .pitch__in { padding-top: 220px; }
}


/* ============================================================
   Tableau des taxes sur mobile (v44) : chaque ligne devient une
   rangée, l'étiquette en haut, achat et crédit-bail côte à côte,
   chacun nommé. La colonne crédit-bail est légèrement teintée.
   ============================================================ */
.tab td { white-space: normal; }
@media (max-width: 600px) {
  .feuille--taxes { padding: 20px 18px 18px; }
  .tab, .tab caption, .tab tbody, .tab tr { display: block; width: 100%; }
  .tab thead { display: none; }
  .tab caption { text-align: left; font-size: 13.5px; line-height: 1.45; color: var(--encre-2); padding: 0 0 12px; margin: 0; border-bottom: 2px solid var(--encre); }
  .tab tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px 10px; padding: 14px 0; border-bottom: 1px solid var(--filet); }
  .tab th[scope="row"] { grid-column: 1 / -1; padding: 0; text-align: left; font-size: 14px; font-weight: 700; color: var(--encre); border: 0; }
  .tab td {
    display: flex; flex-direction: column; gap: 3px; padding: 9px 11px; border: 0; border-radius: 6px;
    text-align: left; font-size: 15.5px; font-weight: 700; line-height: 1.3; color: var(--encre);
    background: var(--beton);
  }
  .tab td::before { content: attr(data-l); font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--encre-3); }
  .tab td + td { background: rgba(255, 162, 0, .12); box-shadow: inset 0 0 0 1px rgba(255, 162, 0, .35); }
  .tab td + td::before { color: var(--orange-profond); }
  .tab .tab__cle mark { font-size: 18px; }
  .feuille--taxes .feuille__note { margin-top: 14px; font-size: 13.5px; }
}
/* Courriel de Caroline : jamais coupé au milieu */
.carte-personne a[href^="mailto:"], .personne a[href^="mailto:"] { white-space: nowrap; }
@media (max-width: 420px) { .carte-personne a[href^="mailto:"] { font-size: 14px; } }
@media (max-width: 600px) { .tab td mark { align-self: flex-start; } }

/* Logo (v46) : cadre du fichier élargi au dessin complet (le socle et la
   pointe de la flèche étaient tranchés). Même échelle qu'avant, pixels entiers. */
.marque__sym { width: 42px; height: 43px; }
@media (max-width: 760px) { .marque__sym { width: 37px; height: 38px; } }
@media (max-width: 400px) { .marque__sym { width: 33px; height: 34px; } }
@media (max-width: 380px) { .marque__sym { width: 31px; height: 32px; } }

/* Hero mobile (v46) : le dossier monte juste sous la photo pour que son
   bouton soit visible dès l'arrivée; le sous-titre passe sous le dossier.
   Photo un peu plus courte, titre un peu plus petit pour libérer le camion. */
@media (max-width: 1080px) {
  .hero .dossier { grid-row: 2; margin-top: 18px; }
  .hero__ligne { grid-row: 3; margin: 20px 0 6px; padding-top: 0; }
  .hero__magasine { grid-row: 4; }
  .hero__cadre { height: var(--hero-photo-h, clamp(320px, 54svh, 560px)); }
  .hero h1 { font-size: clamp(1.6rem, 7vw, 2.4rem); margin-bottom: 14px; }
}
@media (max-width: 760px) {
  .hero .dossier__tag { display: none; }
  .hero .dossier__tete { margin-bottom: 10px; }
}

/* Formulaire : case libre du montant, avec le symbole de dollar */
.form .champ__boite--montant { display: flex; align-items: center; background: var(--papier); border: 1px solid var(--filet-fort); border-radius: 4px; }
.form .champ__boite--montant:focus-within { border-color: var(--encre); box-shadow: 0 0 0 3px rgba(255, 162, 0, .45); }
.form .champ__boite--montant input { border: 0; box-shadow: none !important; background: transparent; font-weight: 650; font-variant-numeric: tabular-nums; }
.form .champ__boite--montant i { font-style: normal; font-weight: 700; color: var(--encre-2); padding: 0 14px; }


/* ============================================================
   Paiement estimé dans le dossier (v49) : apparaît dès qu'un montant
   est saisi; grille de taux indicatifs selon le montant (Fincap).
   ============================================================ */
.dossier__estime { display: grid; grid-template-columns: minmax(0, 170px) minmax(0, 1fr); gap: 6px 18px; align-items: end; margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--filet-fort); }
.dossier__estime[hidden] { display: none; }
.dossier__terme span { display: block; font-size: 13px; font-weight: 600; color: var(--encre-2); margin-bottom: 5px; }
.dossier__terme select {
  width: 100%; font: inherit; font-size: 15px; font-weight: 650; color: var(--encre); padding: 9px 30px 9px 11px; border: 1px solid var(--filet-fort); border-radius: 4px; appearance: none; -webkit-appearance: none;
  background: var(--papier) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230F2D4A' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 11px center;
}
.dossier__paie { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.dossier__paie b { font-size: clamp(26px, 2.4vw, 32px); font-weight: 820; font-stretch: 112%; color: var(--encre); white-space: nowrap; }
.dossier__paie span { font-size: 14px; color: var(--encre-2); }
.dossier__paie small { flex-basis: 100%; font-size: 13px; font-weight: 650; color: var(--orange-profond); }
.dossier__avis { grid-column: 1 / -1; margin: 4px 0 0; font-size: 12px; line-height: 1.45; color: var(--encre-3); }
@media (max-width: 480px) { .dossier__estime { grid-template-columns: minmax(0, 1fr); } }
