/* ==========================================================================
   Distributeur de Plaisir — feuille de style unique
   Charte reprise du Catalogue 2026 : marine / magenta / vert acide.
   Tout se règle ici. Les couleurs sont regroupées dans :root ci-dessous.
   ========================================================================== */

:root{
  /* Couleurs de marque */
  --navy-900:#060C3C;
  --navy-800:#0B1156;
  --navy-700:#131C74;
  --navy-500:#1E2CA6;
  --magenta:#E5007E;
  /* Couleurs du partenaire Distributout, pour ses blocs */
  --dt-turquoise:#017A8D;   /* relevé sur le logo fourni */
  --dt-turquoise-fonce:#015563;
  --dt-turquoise-nuit:#013D47;
  --dt-jaune:#FDDB1A;
  --dt-encre:#10100E;
  --magenta-deep:#B8006A;
  --lime:#D6F034;

  /* Neutres */
  --paper:#FFFFFF;
  --mist:#F3F4F8;
  --line:#E2E4EE;
  --ink:#0B1156;
  --muted:#5C6689;

  /* Mesures */
  --wrap:1180px;
  --wrap-texte:720px;     /* colonne de lecture d'un texte suivi */
  --mesure:58ch;          /* longueur de ligne maximale d'un paragraphe */
  --wrap-etroit:640px;    /* bloc d'appel à l'action */

  /* Rythme vertical — une seule échelle pour tout le site */
  --esp-xs:.6rem;         /* titre de niveau 3 → son texte */
  --esp-s:1.1rem;         /* entre deux paragraphes */
  --esp-m:1.6rem;         /* sur-titre → titre, texte → liste */
  --esp-l:2.4rem;         /* titre de niveau 3 suivant → nouveau sujet */
  --esp-xl:3.2rem;        /* titre de niveau 2 suivant, blocs de cartes */
  --radius:14px;
  --radius-lg:22px;
  --header-h:76px;
}

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

html{scroll-behavior:smooth;scroll-padding-top:calc(var(--header-h) + 14px)}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{animation:none!important;transition:none!important}
}

body{
  margin:0;
  font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:1.0625rem;
  line-height:1.7;
  color:var(--muted);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
}

img{max-width:100%;height:auto;display:block}
.media img{max-height:620px;width:auto;max-width:100%;margin:0 auto}

a{color:var(--magenta);text-decoration:none}
a:hover{text-decoration:underline}

:focus-visible{outline:3px solid var(--lime);outline-offset:3px;border-radius:4px}

/* --------------------------------------------------------------------------
   Typographie
   -------------------------------------------------------------------------- */

h1,h2,h3,h4,.display{
  font-family:"Outfit",system-ui,sans-serif;
  color:var(--ink);
  line-height:1.1;
  letter-spacing:-.02em;
  font-weight:800;
  margin:0;
  text-wrap:balance;      /* évite le mot seul sur la dernière ligne */
}

h1{font-size:clamp(2.15rem,5vw,3.5rem);line-height:1.06;margin-bottom:var(--esp-m)}
h2{font-size:clamp(1.7rem,3.4vw,2.5rem);line-height:1.12;margin-bottom:var(--esp-m)}
h3{font-size:1.2rem;line-height:1.3;letter-spacing:-.01em;font-weight:700;
   margin-bottom:var(--esp-xs)}
h4{font-size:1rem;letter-spacing:0;font-weight:700;margin-bottom:var(--esp-xs)}

/* Un titre qui suit quelque chose respire toujours : c'est cette règle,
   et elle seule, qui empêche un intertitre de coller au texte précédent.
   Un titre en tête de bloc n'a pas de voisin, donc pas de marge ajoutée. */
* + h2{margin-top:var(--esp-xl)}
* + h3,* + h4{margin-top:var(--esp-l)}
.eyebrow + h1,.eyebrow + h2,.eyebrow + h3,
.tag + h1,.tag + h2,.tag + h3,
h1 + h2,h2 + h3{margin-top:0}

p{margin:0 0 var(--esp-s);text-wrap:pretty}
p:last-child{margin-bottom:0}

.lead{font-size:1.15rem;line-height:1.65;color:var(--muted);max-width:56ch;
      margin-bottom:var(--esp-m)}
.lead:last-child{margin-bottom:0}
.slab .lead{color:rgba(255,255,255,.78)}

strong,b{color:var(--ink);font-weight:700}
.slab strong,.slab b{color:#fff}

/* Sur-titre à filet — repris des intercalaires du catalogue */
.eyebrow{
  display:flex;align-items:center;gap:.85rem;
  font-family:"Inter",sans-serif;
  font-size:.7rem;font-weight:800;
  letter-spacing:.3em;text-transform:uppercase;
  color:var(--magenta);
  margin:0 0 var(--esp-m);
}
.eyebrow::before{
  content:"";width:34px;height:4px;border-radius:2px;
  background:var(--magenta);flex:none;
}
.eyebrow-suite{margin-top:var(--esp-l)}
.slab .eyebrow{color:var(--lime)}
.slab .eyebrow::before{background:var(--lime)}

.text-lime{color:var(--lime)}
.text-magenta{color:var(--magenta)}

/* --------------------------------------------------------------------------
   Gabarit
   -------------------------------------------------------------------------- */

.wrap{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 24px}
/* Deux mesures de lecture, et deux seulement, pour tout le site. */
.wrap.texte{max-width:calc(var(--wrap-texte) + 48px)}
/* Aucune ligne de texte courant ne dépasse la mesure confortable, même si
   le titre, lui, occupe toute la colonne. */
.wrap.texte > p,.wrap.texte > ul > li,.wrap.texte .answer{max-width:var(--mesure)}
/* Une grille de cartes n'est pas du texte courant : dans une colonne de
   lecture, elle reprend la largeur normale du site dès qu'il y a la place. */
@media (min-width:1180px){
  .wrap.texte > .grid{
    width:calc(var(--wrap) - 96px);
    margin-left:calc((var(--wrap-texte) - var(--wrap) + 96px) / 2);
  }
}
.wrap.etroit{max-width:calc(var(--wrap-etroit) + 48px)}

section{padding:clamp(56px,7vw,96px) 0}
section.tight{padding:clamp(38px,4.5vw,60px) 0}
.bg-mist{background:var(--mist)}

.grid{display:grid;gap:26px}
/* Tout bloc de composants précédé de texte prend le même écart. */
* + .grid,* + .table-wrap,* + .faq,* + .gallery,* + .partenaire{
  margin-top:var(--esp-xl);
}
.eyebrow + .grid,.lead + .grid{margin-top:var(--esp-l)}
.g-2{grid-template-columns:repeat(2,1fr)}
.g-3{grid-template-columns:repeat(3,1fr)}
.g-4{grid-template-columns:repeat(4,1fr)}
/* cinq machines : trois puis deux, plutôt qu'une colonne trop étroite */
.g-5{grid-template-columns:repeat(3,1fr)}
@media (min-width:1180px){.g-5{grid-template-columns:repeat(5,1fr)}}

.split{
  display:grid;grid-template-columns:1.05fr .95fr;
  gap:clamp(32px,5vw,68px);align-items:center;
}
.split.narrow-media{grid-template-columns:1.25fr .75fr}
.split.haut{align-items:start}

@media (max-width:900px){
  .g-3,.g-4,.g-5{grid-template-columns:repeat(2,1fr)}
  /* Cinq machines sur deux colonnes laisseraient une demi-rangée. La
     première prend toute la largeur : 1 + 2 + 2, aucune case vide. Sa
     vignette s'élargit en conséquence, sinon la carte ferait le double
     de hauteur des autres. */
  .g-5 > :first-child{grid-column:1 / -1}
  .g-5 > :first-child .shot{aspect-ratio:3/2}
  .split,.split.narrow-media{grid-template-columns:1fr}
  .split .media{order:-1}
}
@media (max-width:560px){
  .g-2,.g-3,.g-4{grid-template-columns:1fr}
  /* Les machines font exception : deux par ligne, pour qu'on embrasse la
     gamme d'un coup d'œil au lieu de dérouler dix vignettes pleine
     largeur. La carte s'y adapte, texte et image compris. */
  .grid:has(.prod){grid-template-columns:1fr 1fr;gap:12px}
  .prod .body{padding:14px 14px 16px}
  .prod :is(h2,h3){font-size:1rem}
  .prod .body p{font-size:.86rem;line-height:1.45}
  /* la flèche passait à la ligne toute seule dans une colonne étroite */
  .prod .more{font-size:.82rem;white-space:nowrap}
  /* trois lignes suffisent pour situer la machine ; le détail est sur sa page */
  .prod .body p{
    display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;
    overflow:hidden;
  }
}

/* --------------------------------------------------------------------------
   Blocs marine à diagonales — signature graphique du catalogue
   -------------------------------------------------------------------------- */

.slab{
  position:relative;overflow:hidden;isolation:isolate;
  background:linear-gradient(118deg,var(--navy-700) 0%,var(--navy-800) 46%,var(--navy-900) 100%);
  color:#fff;
}
.slab h1,.slab h2,.slab h3,.slab h4{color:#fff}
.slab p{color:rgba(255,255,255,.76)}

.slab > .wrap{position:relative;z-index:2}

/* Coin magenta haut-gauche */
.slab::before{
  content:"";position:absolute;z-index:0;
  top:-2px;left:-2px;width:46%;height:100%;
  background:linear-gradient(135deg,var(--magenta-deep),var(--magenta));
  clip-path:polygon(0 0,72% 0,0 78%);
  pointer-events:none;
}
/* Filet vert acide en diagonale */

/* Sur un bloc d'appel à l'action, le filet vert se cale à distance fixe du
   bas : en pourcentage il venait barrer les boutons sur petit écran. */

/* Grand coin magenta bas-droite : uniquement sur l'accueil */
.slab.full::before{clip-path:polygon(0 0,40% 0,0 46%)}
.slab.full .corner{
  content:"";position:absolute;z-index:0;inset:0;
  background:linear-gradient(135deg,var(--magenta),var(--magenta-deep));
  clip-path:polygon(100% 34%,100% 100%,14% 100%);
  pointer-events:none;
}

/* En-tête de page compact */
.pagehead{padding:clamp(58px,8vw,104px) 0 clamp(64px,9vw,116px)}
.pagehead .lead{margin-top:var(--esp-m)}

/* Bandeau marine de bas de page produit (bandeau tarif du catalogue) */
.pricebar{padding:clamp(34px,4vw,52px) 0}
.pricebar::before{clip-path:polygon(0 0,40% 0,0 100%)}

.pricebar-grid{
  display:grid;grid-template-columns:auto auto auto 1fr;
  gap:clamp(20px,4vw,46px);align-items:end;
}
.pricebar-grid .cell{border-left:2px solid rgba(255,255,255,.22);padding-left:clamp(16px,2.5vw,28px)}
.pricebar-grid .cell:first-child{border-left:0;padding-left:0}
.pricebar-label{
  font-size:.66rem;font-weight:800;letter-spacing:.26em;
  text-transform:uppercase;color:var(--lime);margin:0 0 .35rem;
}
.pricebar-big{
  font-family:"Outfit",sans-serif;font-weight:800;
  font-size:clamp(2.4rem,5.5vw,3.9rem);line-height:.9;color:#fff;
  letter-spacing:-.03em;
}
.pricebar-big em{font-style:normal;font-size:.42em;color:var(--lime);margin-left:.15em}
.pricebar-note .btn{margin-bottom:var(--esp-xs);padding:.7rem 1.3rem;font-size:.95rem}
.pricebar-val{font-family:"Outfit",sans-serif;font-weight:700;font-size:1.35rem;color:#fff;line-height:1.2}
.pricebar-note{
  font-size:.82rem;line-height:1.5;color:rgba(255,255,255,.62);
  text-align:right;align-self:end;margin:0;
}
@media (max-width:820px){
  .pricebar-grid{grid-template-columns:1fr 1fr;gap:22px}
  .pricebar-grid .cell:nth-child(3){border-left:0;padding-left:0}
  .pricebar-note{grid-column:1/-1;text-align:left}
}

/* --------------------------------------------------------------------------
   Accueil — héros
   -------------------------------------------------------------------------- */

.hero{padding:clamp(64px,8vw,112px) 0 clamp(78px,9.5vw,128px)}
.hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center}
.hero h1{font-size:clamp(2.5rem,6.4vw,4.6rem);margin-bottom:var(--esp-m)}
.hero .lead{max-width:44ch}
.hero-logo{width:min(300px,74%);margin-left:auto;filter:drop-shadow(0 18px 40px rgba(0,0,0,.35))}
@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr}
  .hero-logo{width:180px;margin:0 0 8px}
}

/* Mentions discrètes sous les boutons du héros */
.hero-notes{
  margin-top:var(--esp-l);max-width:46ch;
  font-size:.82rem;font-weight:600;letter-spacing:.05em;
  color:rgba(255,255,255,.75);
}

/* Pastilles « LIVRAISON & INSTALLATION INCLUSES » */
.pills{display:flex;flex-wrap:wrap;gap:12px;margin-top:2rem;list-style:none;padding:0}
.pills li{
  border:2px solid rgba(255,255,255,.35);border-radius:999px;
  padding:.6rem 1.15rem;
  font-size:.7rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#fff;
}
.pills li.solid{background:var(--lime);border-color:var(--lime);color:var(--navy-900)}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */

.actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:var(--esp-l)}
.actions:first-child{margin-top:0}

.btn{
  display:inline-flex;align-items:center;gap:.6rem;
  font-family:"Outfit",sans-serif;font-weight:700;font-size:1rem;
  padding:.92rem 1.6rem;border-radius:999px;border:2px solid transparent;
  text-decoration:none;cursor:pointer;
  transition:transform .16s ease,background-color .16s ease,color .16s ease;
}
.btn:hover{text-decoration:none;transform:translateY(-2px)}
.btn-primary{background:var(--magenta);color:#fff}
.btn-primary:hover{background:#c8006e;color:#fff}
.btn-lime{background:var(--lime);color:var(--navy-900)}
.btn-lime:hover{background:#c6e024}
.btn-ghost{border-color:rgba(255,255,255,.4);color:#fff}
.btn-ghost:hover{border-color:#fff;background:rgba(255,255,255,.08);color:#fff}
.btn-outline{border-color:var(--ink);color:var(--ink)}
.btn-outline:hover{background:var(--ink);color:#fff}

/* --------------------------------------------------------------------------
   Cartes
   -------------------------------------------------------------------------- */

.card{
  background:var(--mist);border-radius:var(--radius);padding:26px;
  border:1px solid transparent;
  transition:transform .18s ease,box-shadow .18s ease;
}
/* Les titres de carte sont des h2 quand la carte suit directement le h1
   de la page — c'est la hiérarchie correcte —, mais ils gardent la
   taille d'un titre de carte. */
.card :is(h2,h3),.prod :is(h2,h3){
  font-size:1.2rem;line-height:1.3;letter-spacing:-.01em;font-weight:700;
}
.card :is(h2,h3){color:var(--magenta);margin:0 0 var(--esp-xs)}
/* Dans une carte, .card p remet les marges à zéro : le sur-titre doit
   donc reprendre explicitement l'écart commun, sinon il colle à sa liste. */
.card .eyebrow{margin-bottom:var(--esp-m)}
.card .lead{margin-bottom:var(--esp-m)}
/* Mention de fin de carte (« Sur devis · … ») : séparée du texte. */
.card .apres{
  margin-top:var(--esp-s);padding-top:var(--esp-xs);
  border-top:1px solid var(--line);
  font-size:.85rem;font-weight:700;color:var(--ink);
}
.bg-mist .card .apres{border-top-color:var(--mist)}
/* Carte servant de colonne à côté d'un texte : un seul rembourrage. */
.media .card{padding:clamp(24px,3vw,32px)}
.card.blanc{background:#fff;border:1px solid var(--line)}
.card p{font-size:.95rem;line-height:1.6;margin:0}

/* Carte cliquable : même bloc, avec une flèche et un relief au survol */
a.card{display:block;text-decoration:none;color:inherit}
a.card::after{
  content:"Voir la page →";display:block;margin-top:14px;
  font-weight:700;font-size:.82rem;letter-spacing:.04em;color:var(--magenta);
}
a.card:hover,a.card:focus-visible{
  transform:translateY(-3px);border-color:var(--magenta);
  box-shadow:0 14px 30px rgba(11,17,86,.10);
}
.bg-mist .card{background:#fff;border-color:var(--line)}
.bg-mist .card.accent{background:var(--magenta);border-color:var(--magenta)}
.card.accent{background:var(--magenta);color:#fff;display:flex;flex-direction:column;justify-content:center;text-align:center}
.card.accent h3,.card.accent .big{color:#fff}
.card.accent .big{font-family:"Outfit",sans-serif;font-size:3.2rem;font-weight:800;line-height:1}
.card.accent .cap{color:var(--lime);font-size:.7rem;font-weight:800;letter-spacing:.2em;text-transform:uppercase;margin:.4rem 0 .8rem}
.card.accent p{color:rgba(255,255,255,.9)}

/* Carte produit cliquable */
.prod{
  display:flex;flex-direction:column;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;
  text-decoration:none;color:inherit;height:100%;
  transition:transform .18s ease,box-shadow .18s ease;
}
.prod:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(11,17,86,.14);text-decoration:none}
.prod .shot{
  position:relative;aspect-ratio:4/5;
  background:radial-gradient(circle at 50% 42%,#fff 0%,var(--mist) 74%);
}
.prod .shot img{
  position:absolute;inset:22px;
  width:calc(100% - 44px);height:calc(100% - 44px);
  object-fit:contain;object-position:center;
}
/* La carte est une colonne : le lien est poussé en pied, pas collé au
   texte. Sans cela il remontait dès qu'un titre tenait sur une ligne
   plutôt que deux, et les cartes d'une même rangée ne s'alignaient pas. */
.prod{display:flex;flex-direction:column}
.prod .body{padding:20px 24px 26px;flex:1;display:flex;flex-direction:column}
.prod :is(h2,h3){color:var(--ink);margin:0 0 var(--esp-xs)}
.prod p{font-size:.92rem;line-height:1.55;margin:0}
.prod .more{
  display:inline-block;margin-top:auto;padding-top:.9rem;
  font-family:"Outfit",sans-serif;font-weight:700;font-size:.9rem;color:var(--magenta);
}

/* Étiquette de catégorie */
.tag{
  display:inline-block;background:var(--magenta);color:#fff;
  border-radius:999px;padding:.45rem 1.05rem;margin:0 0 var(--esp-m);
  font-size:.68rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase;
}

/* --------------------------------------------------------------------------
   Bandeau partenaire — logiciel Distributout
   -------------------------------------------------------------------------- */

.partenaire{
  background:var(--mist);border:1px solid transparent;
  border-radius:var(--radius-lg);padding:clamp(26px,4vw,44px);
}
.bg-mist .partenaire{background:#fff;border-color:var(--line)}

.partenaire-intro{
  display:flex;align-items:center;gap:clamp(22px,3.4vw,38px);flex-wrap:wrap;
  padding-bottom:var(--esp-m);border-bottom:1px solid var(--line);
}
.partenaire-logo{width:clamp(140px,16vw,196px);height:auto;flex:none}
.partenaire-intro > div{flex:1 1 320px;min-width:0}

.partenaire-intro h2{margin:0;font-size:clamp(1.5rem,2.7vw,2.05rem)}

.partenaire-innov{
  margin:var(--esp-s) 0 0;font-size:1.05rem;line-height:1.55;
  padding-left:14px;border-left:4px solid var(--dt-jaune);
}

.partenaire-corps{
  display:grid;grid-template-columns:1.2fr .8fr;
  gap:clamp(26px,4vw,48px);align-items:start;margin-top:var(--esp-l);
}
@media (max-width:900px){.partenaire-corps{grid-template-columns:1fr}}


/* Ce que fait l'application, en colonne à côté du texte */
.partenaire-app{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:clamp(20px,2.6vw,28px);
}
.bg-mist .partenaire-app{background:var(--mist);border-color:transparent}
.partenaire-app .dots{margin-top:0}
.partenaire-app .dots li{font-size:.95rem}
.partenaire-app .dots li:last-child{margin-bottom:0}

/* Les deux paliers d'abonnement */
.paliers{
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(18px,2.4vw,26px);
  margin-top:var(--esp-l);
}
@media (max-width:760px){.paliers{grid-template-columns:1fr}}

.palier{
  background:var(--navy-800);color:rgba(255,255,255,.78);
  border-radius:var(--radius);padding:clamp(22px,3vw,30px);
  border:2px solid var(--navy-800);
}
.palier-phare{border-color:var(--lime)}
.palier-nom{
  margin:0 0 var(--esp-s);
  font-size:.7rem;font-weight:800;letter-spacing:.26em;text-transform:uppercase;
  color:var(--lime);
}
.palier .offre-prix{margin-bottom:var(--esp-m)}
.palier .offre-prix strong{color:#fff}
.palier .dots{margin-top:0}
.palier .dots li{font-size:.95rem}
.palier .dots li::before{background:var(--lime)}
.palier .dots li:last-child{margin-bottom:0}
/* L'exclusion se lit du premier coup d'œil : puce barrée, texte atténué. */
.palier-sans{color:rgba(255,255,255,.55)}
.palier-sans strong{color:rgba(255,255,255,.8)}
.palier-sans::before{background:rgba(255,255,255,.35)!important;width:11px!important;height:3px!important;border-radius:2px!important;top:.78em!important}
.palier strong{color:#fff}

.partenaire .offre-note{
  margin-top:var(--esp-l);padding-top:var(--esp-s);
  border-top:1px solid var(--line);color:var(--muted);
}
.partenaire .actions{margin-top:var(--esp-m)}

.offre-prix{
  display:flex;align-items:baseline;gap:.55rem;flex-wrap:wrap;
  margin:0 0 var(--esp-m);
}
.offre-prix strong{
  font-family:"Outfit",sans-serif;font-weight:800;letter-spacing:-.03em;
  font-size:clamp(2rem,3.6vw,2.6rem);line-height:1;color:#fff;
}
.offre-prix span{font-size:.9rem;color:rgba(255,255,255,.7)}
.offre-note{
  margin:var(--esp-m) 0 0;
  font-size:.9rem;line-height:1.6;
}

/* Logo du partenaire en tête d'une section ordinaire */
.marque-partenaire{
  display:flex;align-items:center;gap:1.1rem;flex-wrap:wrap;
  margin:0 0 var(--esp-m);
}
.marque-partenaire img{width:124px;height:auto}
.marque-partenaire span{
  font-size:.7rem;font-weight:800;letter-spacing:.3em;text-transform:uppercase;
  color:var(--magenta);
}

/* --------------------------------------------------------------------------
   Déroulé d'une vente Distributout — reprise des stickers de machine
   -------------------------------------------------------------------------- */

.deroule{
  background:var(--dt-turquoise);
  background-image:radial-gradient(circle at 50% 50%,rgba(0,0,0,.09) 24%,transparent 25%);
  background-size:14px 14px;
  border-radius:var(--radius-lg);
  padding:clamp(22px,3.4vw,38px);
  color:var(--dt-encre);
}

.deroule-marque{
  margin:0 0 clamp(16px,2.2vw,22px);
  display:flex;align-items:center;gap:1rem;flex-wrap:wrap;
}
.deroule-marque img{width:clamp(130px,15vw,176px);height:auto}
.deroule-marque span{
  font-size:.7rem;font-weight:800;letter-spacing:.26em;text-transform:uppercase;
  color:var(--dt-jaune);
}

.deroule-site{
  background:var(--dt-jaune);border:3px solid var(--dt-encre);
  border-radius:12px;box-shadow:7px 7px 0 rgba(0,0,0,.26);
  padding:clamp(16px,2.4vw,24px);text-align:center;margin:0;
}
.deroule-lab{
  display:block;font-size:.7rem;font-weight:800;letter-spacing:.24em;
  text-transform:uppercase;color:var(--dt-encre);
}
a.deroule-url{
  display:block;margin:.2em 0 .1em;
  font-family:"Outfit",sans-serif;font-weight:800;letter-spacing:-.02em;
  font-size:clamp(1.8rem,4.4vw,3rem);line-height:1.05;color:var(--dt-encre);
}
a.deroule-url:hover{color:var(--dt-turquoise);text-decoration:none}
.deroule-sous{display:block;font-size:.92rem;font-weight:700}

.deroule-cols{
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(18px,2.4vw,26px);
  margin-top:clamp(18px,2.4vw,26px);align-items:start;
}
@media (max-width:760px){.deroule-cols{grid-template-columns:1fr}}

.dcard{
  background:#fff;border:3px solid var(--dt-encre);border-radius:12px;
  box-shadow:7px 7px 0 rgba(0,0,0,.26);overflow:hidden;
}
.dcard h3{
  margin:0;background:var(--dt-encre);color:var(--dt-jaune);
  font-size:1.05rem;letter-spacing:.05em;text-transform:uppercase;
  padding:.7rem 1.1rem .78rem;
}
.dsteps{list-style:none;margin:0;padding:clamp(16px,2.2vw,22px);
        display:flex;flex-direction:column;gap:1.05rem}
.dsteps li{display:flex;align-items:flex-start;gap:.9rem}
.dn{
  flex:none;width:34px;height:34px;border-radius:50%;
  background:var(--dt-jaune);border:2.5px solid var(--dt-encre);
  display:flex;align-items:center;justify-content:center;
  font-family:"Outfit",sans-serif;font-weight:800;font-size:1rem;
  color:var(--dt-encre);line-height:1;
}
.dtx{font-size:1rem;line-height:1.45;font-weight:600;color:var(--dt-encre);
     padding-top:.22rem}
.ecran{
  display:inline-block;background:var(--dt-encre);color:var(--dt-jaune);
  border-radius:6px;padding:.12em .5em;
  font-size:.82em;font-weight:800;letter-spacing:.08em;white-space:nowrap;
}

.deroule-note{
  margin:clamp(18px,2.4vw,26px) 0 0;
  background:var(--dt-jaune);border:3px solid var(--dt-encre);
  border-radius:12px;box-shadow:7px 7px 0 rgba(0,0,0,.26);
  padding:clamp(14px,2vw,20px) clamp(16px,2.4vw,24px);
  font-size:.98rem;line-height:1.5;font-weight:600;color:var(--dt-encre);
}
.deroule-note strong{color:var(--dt-encre);text-transform:uppercase;
                     letter-spacing:.04em}

/* Lien discret sous le bouton d'un bandeau partenaire */
.offre-lien{
  display:block;margin-top:var(--esp-s);text-align:center;
  font-size:.88rem;font-weight:700;color:var(--lime);
}
.offre-lien:hover{color:#fff}

/* --------------------------------------------------------------------------
   Listes à puces cochées
   -------------------------------------------------------------------------- */

.checks{list-style:none;margin:var(--esp-m) 0 0;padding:0}
.checks li{
  position:relative;padding:0 0 0 46px;margin-bottom:var(--esp-s);
  font-size:1.05rem;line-height:1.5;
}
.checks li::before{
  content:"";position:absolute;left:0;top:1px;
  width:28px;height:28px;border-radius:50%;
  border:2.5px solid var(--navy-800);
}
.checks li::after{
  content:"";position:absolute;left:10px;top:7px;
  width:7px;height:13px;
  border-right:3px solid var(--magenta);
  border-bottom:3px solid var(--magenta);
  transform:rotate(42deg);
}
.slab .checks li::before{border-color:rgba(255,255,255,.55)}
.slab .checks li::after{border-color:var(--lime)}
.checks li strong{color:var(--ink)}

.dots{list-style:none;margin:var(--esp-m) 0 0;padding:0}
.dots li{position:relative;padding-left:24px;margin-bottom:.8rem;line-height:1.6}
.dots li::before{
  content:"";position:absolute;left:0;top:.62em;
  width:9px;height:9px;border-radius:50%;background:var(--magenta);
}
.slab .dots li::before{background:var(--lime)}

/* Le sur-titre porte déjà sa marge : la liste qui le suit n'en rajoute pas. */
.eyebrow + .checks,.eyebrow + .dots,
h2 + .checks,h2 + .dots,h3 + .checks,h3 + .dots{margin-top:0}

/* --------------------------------------------------------------------------
   Tableau comparatif
   -------------------------------------------------------------------------- */

.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
table.compare{width:100%;border-collapse:collapse;min-width:560px;font-size:.98rem}
table.compare th,table.compare td{padding:.95rem 1rem;text-align:left;border-bottom:1px solid var(--line)}
table.compare thead th{
  font-family:"Inter",sans-serif;font-size:.68rem;font-weight:800;
  letter-spacing:.2em;text-transform:uppercase;color:var(--magenta);
  border-bottom:2px solid var(--magenta);
}
table.compare thead th:not(:first-child){color:var(--ink);font-family:"Outfit",sans-serif;font-size:1.15rem;letter-spacing:-.01em;text-transform:none}
table.compare td:first-child{color:var(--ink);font-weight:600}
table.compare tr:last-child td{border-bottom:0}
table.compare tr.total td{background:var(--navy-800);color:#fff;font-weight:700}
table.compare tr.total td:first-child{color:var(--lime);font-size:.7rem;letter-spacing:.2em;text-transform:uppercase}

/* --------------------------------------------------------------------------
   FAQ (accordéon natif)
   -------------------------------------------------------------------------- */

.faq{border-top:1px solid var(--line)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{
  cursor:pointer;list-style:none;padding:1.25rem 46px 1.25rem 0;position:relative;
  font-family:"Outfit",sans-serif;font-weight:700;font-size:1.08rem;color:var(--ink);
}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{
  content:"";position:absolute;right:8px;top:50%;
  width:12px;height:12px;margin-top:-8px;
  border-right:3px solid var(--magenta);border-bottom:3px solid var(--magenta);
  transform:rotate(45deg);transition:transform .2s ease;
}
.faq details[open] summary::after{transform:rotate(-135deg);margin-top:-3px}
.faq .answer{padding:0 0 1.4rem;font-size:1rem}

/* --------------------------------------------------------------------------
   Galerie
   -------------------------------------------------------------------------- */

/* La galerie compte dix habillages : deux colonnes jusqu'à 1 000 px, cinq
   au-delà. Deux diviseurs de dix : aucune rangée ne reste incomplète. En flex plutôt
   qu'en grille, pour qu'une rangée incomplète se centre au lieu de laisser
   un trou à droite le jour où l'on ajoute ou retire une machine. */
.gallery{display:flex;flex-wrap:wrap;justify-content:center;gap:18px}
.gallery > figure{flex:0 0 calc((100% - 18px) / 2)}
@media (min-width:1000px){.gallery > figure{flex-basis:calc((100% - 72px) / 5)}}
.gallery .texte{margin-bottom:var(--esp-xl)}
.gallery figure{margin:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.gallery img{aspect-ratio:4/5;object-fit:contain;width:100%;padding:14px;background:#fff}
.gallery figcaption{padding:.85rem 1.1rem;font-size:.88rem;color:var(--muted)}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(30px,5vw,60px)}
@media (max-width:860px){.contact-grid{grid-template-columns:1fr}}

.contact-line{margin-bottom:1.6rem}
.contact-line .k{
  font-size:.66rem;font-weight:800;letter-spacing:.24em;text-transform:uppercase;
  color:var(--magenta);margin-bottom:.35rem;
}
.contact-line .v{font-family:"Outfit",sans-serif;font-weight:700;font-size:1.25rem;color:var(--ink)}
.contact-line .v a{color:var(--ink)}

form.quote{background:var(--mist);border-radius:var(--radius-lg);padding:clamp(22px,3.5vw,34px)}
form.quote .row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
@media (max-width:560px){form.quote .row{grid-template-columns:1fr}}
form.quote label{display:block;margin-bottom:16px}
form.quote .lab{
  display:block;font-size:.68rem;font-weight:800;letter-spacing:.16em;
  text-transform:uppercase;color:var(--ink);margin-bottom:.45rem;
}
form.quote input,form.quote select,form.quote textarea{
  width:100%;font-family:inherit;font-size:1rem;color:var(--ink);
  background:#fff;border:2px solid var(--line);border-radius:10px;
  padding:.75rem .9rem;
}
form.quote input:focus,form.quote select:focus,form.quote textarea:focus{border-color:var(--magenta);outline:none}
form.quote textarea{min-height:130px;resize:vertical}
form.quote .hint{font-size:.85rem;margin-top:1rem}


/* Haut de page compact sur téléphone : les écarts dessinés pour un
   grand écran se lisent comme du vide sur 390 px de large. */
@media (max-width:640px){
  .pagehead{padding:30px 0 34px}
  .hero{padding:34px 0 40px}
  section{padding:40px 0}
  section.tight{padding:28px 0}

  .pagehead .crumbs,.pagehead .eyebrow,.hero .eyebrow{margin-bottom:.7rem}
  .pagehead h1,.hero h1{margin-bottom:.7rem}
  .pagehead .lead,.hero .lead{margin-top:.7rem;font-size:1.05rem;line-height:1.5}
  .pagehead h1{font-size:2rem}
  .hero h1{font-size:2.3rem}
  .hero .actions,.hero-notes{margin-top:1.25rem}


  /* sans le grand logo, le coin magenta traversait la colonne de texte :
     on le replie dans l'angle, et la ligne de notes passe en blanc franc */
  .slab.full .corner{clip-path:polygon(100% 60%,100% 100%,56% 100%)}
  .hero-notes{color:#fff}

  /* le grand logo répète la pastille de la barre du haut, 180 px plus bas */
  .hero-grid{gap:0}
  .hero-grid > :last-child{display:none}
}


/* --------------------------------------------------------------------------
   La carte du partenaire, aux couleurs de Distributout
   -------------------------------------------------------------------------- */

.partenaire,.bg-mist .partenaire{
  background:var(--dt-turquoise);border-color:transparent;color:#fff;
}
.partenaire h2,.partenaire h3,.partenaire strong,.partenaire b{color:#fff}
.partenaire p,.partenaire li{color:#fff}
.partenaire .eyebrow{color:#fff}
.partenaire .eyebrow::before{background:var(--dt-jaune)}
.partenaire-intro{border-bottom-color:rgba(255,255,255,.28)}

/* le panneau « ce que fait l'application » : un cran plus sombre */
.partenaire-app,.bg-mist .partenaire-app{
  background:var(--dt-turquoise-fonce);border-color:rgba(255,255,255,.16);
}
.partenaire .dots li::before{background:var(--dt-jaune)}
.partenaire .checks li::before{border-color:rgba(255,255,255,.5)}
.partenaire .checks li::after{border-color:var(--dt-jaune)}
.partenaire .checks li strong{color:#fff}

/* les paliers : turquoise nuit, et le jaune de la marque en accent */
.partenaire .palier{
  background:var(--dt-turquoise-nuit);border-color:var(--dt-turquoise-nuit);
}
.partenaire .palier-phare{border-color:var(--dt-jaune)}
.partenaire .palier-nom{color:var(--dt-jaune)}
.partenaire .palier .dots li::before{background:var(--dt-jaune)}
.partenaire .palier-sans::before{background:rgba(255,255,255,.35)!important}

.partenaire .offre-note{
  border-top-color:rgba(255,255,255,.28);color:rgba(255,255,255,.94);
}

/* le bouton secondaire était cerclé de marine : illisible sur turquoise */
.partenaire .btn-outline{
  border-color:rgba(255,255,255,.65);color:#fff;background:transparent;
}
.partenaire .btn-outline:hover{background:#fff;color:var(--dt-turquoise)}

/* Bande de rappel « Demander un devis », au milieu des pages produit.
   Volontairement sobre : le grand bloc marine de fin de page reste
   l'appel principal, celle-ci ne fait que rattraper les lecteurs
   convaincus à mi-parcours. */
.rappel-devis{
  display:flex;align-items:center;justify-content:space-between;
  gap:clamp(16px,2.4vw,32px);flex-wrap:wrap;
  background:var(--mist);border-left:5px solid var(--magenta);
  border-radius:var(--radius);padding:clamp(20px,2.6vw,26px) clamp(20px,3vw,30px);
}
.bg-mist .rappel-devis{background:#fff}
.rappel-devis p{margin:0;flex:1 1 320px;min-width:0;font-size:1.02rem}
.rappel-devis .btn{flex:none}
@media (max-width:560px){
  .rappel-devis{flex-direction:column;align-items:stretch;text-align:left}
  .rappel-devis .btn{text-align:center}
}

/* Liste de suggestions du champ « Ville ou département » */
.quote label{position:relative}
.suggestions{
  position:absolute;z-index:40;left:0;right:0;top:100%;margin:4px 0 0;padding:6px;
  list-style:none;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius);box-shadow:0 18px 40px rgba(11,17,86,.16);
  max-height:272px;overflow-y:auto;
}
.suggestions[hidden]{display:none}
.suggestions li{
  display:flex;align-items:baseline;justify-content:space-between;gap:12px;
  padding:.5rem .6rem;border-radius:8px;cursor:pointer;font-size:.95rem;
}
.suggestions li em{font-style:normal;font-size:.82rem;color:var(--muted);flex:none}
.suggestions li:hover,.suggestions li.actif{background:var(--mist)}
.suggestions li.actif{outline:2px solid var(--magenta);outline-offset:-2px}

/* --------------------------------------------------------------------------
   En-tête de navigation
   -------------------------------------------------------------------------- */

.site-header{
  position:sticky;top:0;z-index:60;background:#fff;
  border-bottom:1px solid var(--line);
}
.site-header .bar{
  display:flex;align-items:center;gap:20px;
  height:var(--header-h);
  max-width:var(--wrap);margin:0 auto;padding:0 24px;
}
.brand{display:flex;align-items:center;gap:12px;flex:none}
.brand img{width:46px;height:46px;border-radius:50%}
.brand .name{
  font-family:"Outfit",sans-serif;font-weight:800;font-size:.95rem;
  line-height:1.1;color:var(--ink);letter-spacing:-.01em;
}
.brand .name span{display:block;font-size:.62rem;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--magenta)}
.brand:hover{text-decoration:none}

.nav{margin-left:auto}
.nav ul{display:flex;align-items:center;gap:4px;list-style:none;margin:0;padding:0}
.nav a{
  display:block;padding:.5rem .6rem;border-radius:8px;white-space:nowrap;
  font-family:"Outfit",sans-serif;font-weight:600;font-size:.94rem;color:var(--ink);
}
.nav a:hover{background:var(--mist);text-decoration:none}
.nav a[aria-current="page"]{color:var(--magenta)}

.has-sub{position:relative}
.has-sub > a::after{content:"";display:inline-block;margin-left:.4rem;width:6px;height:6px;border-right:2px solid var(--magenta);border-bottom:2px solid var(--magenta);transform:translateY(-2px) rotate(45deg)}
.nav .sub{
  position:absolute;top:calc(100% + 8px);left:0;min-width:272px;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  box-shadow:0 22px 46px rgba(11,17,86,.16);
  padding:8px;display:none;
}
.nav .sub li{width:100%}
.nav .sub a{font-size:.92rem;font-weight:500;padding:.55rem .7rem;white-space:normal}
.nav .has-sub:hover .sub,.nav .has-sub:focus-within .sub{display:block}

.nav li.only-mobile{display:none}
.header-cta{flex:none;margin-left:8px}
.header-cta .btn{padding:.62rem 1.15rem;font-size:.92rem}

.burger{
  display:none;margin-left:auto;flex:none;
  width:46px;height:46px;border:2px solid var(--line);border-radius:10px;
  background:#fff;cursor:pointer;padding:0;
}
.burger span{display:block;width:20px;height:2px;background:var(--ink);margin:4px auto;border-radius:2px}


/* Entre l'apparition du menu complet (1141 px) et les grands écrans, la
   barre est à l'étroit : sept entrées, le nom du logiciel et un bouton.
   Elle se resserre plutôt que de renvoyer les portables au menu burger.
   Sans cela le bouton « Demander un devis » sort de l'écran — ce qui est
   arrivé le jour où « Distributout » a gagné une apostrophe. */
@media (min-width:1141px) and (max-width:1399px){
  .site-header .bar{gap:12px}
  .nav ul{gap:0}
  .nav a{padding:.5rem .42rem;font-size:.88rem}
  .brand .name span{display:none}
  .header-cta .btn{padding:.55rem .95rem;font-size:.88rem}
}

@media (max-width:1140px){
  .nav,.header-cta{display:none}
  .burger{display:block}
  .nav.open{
    display:block;position:fixed;inset:var(--header-h) 0 0;
    background:#fff;overflow-y:auto;padding:18px 24px 60px;
  }
  .nav.open ul{flex-direction:column;align-items:stretch;gap:0}
  .nav.open a{padding:.85rem 0;border-bottom:1px solid var(--line);border-radius:0;font-size:1.05rem}
  .nav.open .sub{
    display:block;position:static;border:0;box-shadow:none;padding:0 0 0 16px;min-width:0;
  }
  .nav.open .has-sub:hover .sub{display:block}
  .nav.open .sub a{font-size:.98rem;color:var(--muted)}
  .nav.open .has-sub > a::after{display:none}
  .nav.open li.only-mobile{display:block}
  .nav.open .nav-cta{border-bottom:0;margin-top:22px}
  .nav.open .nav-cta a{display:inline-flex;border-bottom:0;color:#fff;padding:.85rem 1.6rem;border-radius:999px;font-size:1rem}
}


/* En-tête compacte sur téléphone : l'en-tête est collante, chaque pixel
   qu'elle prend est pris à chaque écran. */
@media (max-width:640px){
  :root{--header-h:54px}
  .site-header .bar{gap:10px;padding:0 16px}
  .brand{gap:9px}
  .brand img{width:30px;height:30px}
  .brand .name{font-size:.9rem;line-height:1.15}
  .brand .name span{display:none}
  .burger{width:38px;height:38px;border-radius:9px}
  .burger span{width:17px;margin:3.5px auto}
  .nav.open{padding:14px 16px 56px}
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.site-footer{background:var(--navy-900);color:rgba(255,255,255,.68);position:relative;overflow:hidden}
.site-footer::before{
  content:"";position:absolute;left:-6%;right:-6%;top:0;height:10px;
  background:var(--lime);transform:rotate(-1.6deg);transform-origin:left;
}
/* La pastille WhatsApp flotte au-dessus du bas de page : on lui réserve
   la place, sinon elle recouvrirait la ligne SIRET. */
.site-footer .wrap{position:relative;z-index:2;padding-top:70px;
  padding-bottom:calc(44px + 56px)}
.foot-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:34px}
@media (max-width:900px){.foot-grid{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.foot-grid{grid-template-columns:1fr}}
.site-footer .foot-h{
  color:var(--lime);font-family:"Inter",sans-serif;
  font-size:.68rem;font-weight:800;letter-spacing:.22em;text-transform:uppercase;
  margin-bottom:1.1rem;
}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin-bottom:.55rem}
.site-footer a{color:rgba(255,255,255,.72);font-size:.95rem}
.site-footer a:hover{color:#fff}
.site-footer .brand .name{color:#fff}
.foot-legal{
  margin-top:46px;padding-top:22px;border-top:1px solid rgba(255,255,255,.16);
  display:flex;flex-wrap:wrap;gap:8px 22px;justify-content:space-between;
  font-size:.82rem;color:rgba(255,255,255,.5);
}

/* --------------------------------------------------------------------------
   Fil d'ariane
   -------------------------------------------------------------------------- */

.crumbs{font-size:.8rem;margin:0 0 var(--esp-m);color:rgba(255,255,255,.6)}
.crumbs a{color:rgba(255,255,255,.75)}
.crumbs span{margin:0 .45rem;opacity:.5}

/* --------------------------------------------------------------------------
   Contenu long (mentions légales)
   -------------------------------------------------------------------------- */

.note{margin:var(--esp-m) 0 0;font-size:.9rem;line-height:1.6}
.apres{margin-top:var(--esp-m)}
.intro-courte{font-size:1.05rem}
.foot-mot{margin-top:18px;font-size:.95rem}
.foot-contact{font-size:.95rem}
.contact-line .v.adresse{font-size:1.05rem;line-height:1.5}

.prose{max-width:74ch}
.prose h2{font-size:clamp(1.35rem,2.4vw,1.8rem);margin-top:var(--esp-xl)}
.prose h2:first-child{margin-top:0}
.prose ul{padding-left:1.2rem;margin:var(--esp-s) 0}
.prose li{margin-bottom:.5rem}

/* --------------------------------------------------------------------------
   Apparition au défilement
   -------------------------------------------------------------------------- */

.reveal{opacity:0;transform:translateY(18px);transition:opacity .55s ease,transform .55s ease}
.reveal.seen{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none}}

/* Lien d'évitement */
.skip{
  position:absolute;left:-9999px;top:0;z-index:100;
  background:var(--lime);color:var(--navy-900);padding:.8rem 1.2rem;font-weight:700;
}
.skip:focus{left:0}

/* La mesure de lecture s'applique aussi aux mentions et aux notes, où
   qu'elles soient : en petits caractères, une ligne longue est encore
   plus pénible à suivre qu'en corps de texte. */
.note,.offre-note,.apres,.deroule-note p,.deroule-note{
  max-width:var(--mesure)
}
.offre-note{margin-inline:auto;text-align:center}

/* Capture d'interface : pleine largeur, posée comme une fenêtre */
.capture{margin:var(--esp-l) 0 0}
.capture img{
  display:block;width:100%;height:auto;border-radius:14px;
  border:1px solid var(--line);box-shadow:0 18px 46px rgba(11,17,86,.13)
}
.capture figcaption{
  margin-top:var(--esp-s);font-size:.88rem;color:var(--muted);
  text-align:center;max-width:var(--mesure);margin-inline:auto
}

/* Formulaire de devis : champs obligatoires, piège à robots, réponse */
.quote .lab i{color:var(--magenta);font-style:normal;margin-left:.2em}
.quote .aide-champ{display:block;margin-top:.35rem;font-size:.82rem;color:var(--muted)}
.quote .piege{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.reponse-devis{
  margin-top:var(--esp-m);padding:var(--esp-m);border-radius:12px;
  background:var(--mist);border:1px solid var(--line)
}
.reponse-devis.ok{background:#F2FBF4;border-color:#BFE6C8}
.reponse-devis.ko{background:#FDF2F2;border-color:#F2C9C6}
.reponse-devis p{margin:0 0 var(--esp-s)}
.reponse-devis p:last-child{margin-bottom:0}

/* --------------------------------------------------------------------------
   WhatsApp — un seul numéro, réglage « whatsapp », et trois habillages :
   le bouton de page, le lien discret du pied et de la page Contact, et la
   pastille flottante. Le pictogramme est un masque, donc il prend la
   couleur du texte et reste net à toutes les tailles.
   -------------------------------------------------------------------------- */

.btn-wa{background:#25D366;color:#07301d;border-color:#25D366}
.btn-wa:hover{background:#1FBF5A;border-color:#1FBF5A;color:#07301d}
.btn-wa::before,.lien-wa::before,.bulle-wa::before{
  content:"";flex:0 0 auto;width:1.15em;height:1.15em;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill-rule='evenodd' d='M5.5 3.5h13a4 4 0 0 1 4 4v6a4 4 0 0 1-4 4h-7.1l-4.2 3.3A.75.75 0 0 1 6 20.2v-2.7h-.5a4 4 0 0 1-4-4v-6a4 4 0 0 1 4-4ZM8.4 9.4a1.1 1.1 0 1 0 0 2.2 1.1 1.1 0 0 0 0-2.2ZM12 9.4a1.1 1.1 0 1 0 0 2.2 1.1 1.1 0 0 0 0-2.2ZM15.6 9.4a1.1 1.1 0 1 0 0 2.2 1.1 1.1 0 0 0 0-2.2Z'/></svg>") center/contain no-repeat;
  mask:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill-rule='evenodd' d='M5.5 3.5h13a4 4 0 0 1 4 4v6a4 4 0 0 1-4 4h-7.1l-4.2 3.3A.75.75 0 0 1 6 20.2v-2.7h-.5a4 4 0 0 1-4-4v-6a4 4 0 0 1 4-4ZM8.4 9.4a1.1 1.1 0 1 0 0 2.2 1.1 1.1 0 0 0 0-2.2ZM12 9.4a1.1 1.1 0 1 0 0 2.2 1.1 1.1 0 0 0 0-2.2ZM15.6 9.4a1.1 1.1 0 1 0 0 2.2 1.1 1.1 0 0 0 0-2.2Z'/></svg>") center/contain no-repeat;
}
.lien-wa{display:inline-flex;align-items:center;gap:.45rem;font-weight:700}
.site-footer .lien-wa{color:#7BE8A4}
.site-footer .lien-wa:hover{color:#A8F3C4}

.bulle-wa{
  position:fixed;right:18px;bottom:18px;z-index:60;
  display:inline-flex;align-items:center;gap:.5rem;
  padding:.8rem 1.1rem;border-radius:999px;
  background:#25D366;color:#07301d;text-decoration:none;
  font-family:"Outfit",sans-serif;font-weight:700;font-size:.95rem;
  box-shadow:0 8px 24px rgba(0,0,0,.26);
  transition:transform .16s ease,background-color .16s ease;
}
.bulle-wa::before{width:1.3em;height:1.3em}
.bulle-wa:hover{background:#1FBF5A;color:#07301d;transform:translateY(-2px);
  text-decoration:none}
.bulle-wa:focus-visible{outline:3px solid #fff;outline-offset:3px}

@media (max-width:640px){
  .bulle-wa{right:14px;bottom:calc(14px + env(safe-area-inset-bottom));
    padding:.8rem;border-radius:50%}
  .bulle-wa span{position:absolute;width:1px;height:1px;overflow:hidden;
    clip-path:inset(50%);white-space:nowrap}
  .bulle-wa::before{width:1.5em;height:1.5em}
}

@media print{.bulle-wa{display:none}}

/* Tableau comparatif : l'ombre dit de quel côté il reste à lire. */
.table-wrap{transition:box-shadow .18s ease}
.table-wrap.defile-g{box-shadow:inset 26px 0 20px -20px rgba(11,17,86,.38)}
.table-wrap.defile-d{box-shadow:inset -26px 0 20px -20px rgba(11,17,86,.38)}
.table-wrap.defile-g.defile-d{
  box-shadow:inset 26px 0 20px -20px rgba(11,17,86,.38),
             inset -26px 0 20px -20px rgba(11,17,86,.38);
}
@media (prefers-reduced-motion:reduce){.table-wrap{transition:none}}

/* La colonne des intitulés reste visible pendant le défilement. */
section{--fond-section:#fff}
section.bg-mist{--fond-section:var(--mist)}
@media (max-width:760px){
  table.compare :is(th,td):first-child{
    position:sticky;left:0;z-index:1;
    background:var(--fond-section,#fff);
    box-shadow:1px 0 0 var(--line);
  }
}

/* Les fiches techniques forment un second groupe dans le sous-menu
   « Distributeurs » : un filet les sépare des pages par usage. */
.nav .sub li.sous-groupe{
  border-top:1px solid rgba(255,255,255,.16);margin-top:.4rem;padding-top:.4rem;
}
@media (max-width:1140px){
  .nav .sub li.sous-groupe{border-top-color:rgba(11,17,86,.14)}
}

/* Un tableau à deux colonnes n'a pas besoin de la largeur minimale d'un
   comparatif à trois machines : il tient dans un téléphone. */
table.compare.duo{min-width:0}
@media (max-width:560px){
  table.compare.duo :is(th,td){padding:.8rem .6rem;font-size:.92rem}
  table.compare.duo :is(th,td):first-child{position:static;box-shadow:none}
}

/* Le sous-menu « Distributeurs » compte treize entrées : sur un écran
   d'ordinateur portable peu haut, il défile au lieu d'être coupé. */
@media (min-width:1141px){
  .nav .sub{max-height:calc(100vh - var(--header-h) - 24px);overflow-y:auto}
}

/* --------------------------------------------------------------------------
   Plans cotés des machines
   -------------------------------------------------------------------------- */

figure.plan{
  /* la carte épouse le dessin : un plan de 482 px n'a pas à flotter au
     milieu d'un cadre de 1 100 */
  width:fit-content;max-width:100%;
  margin:var(--esp-l) auto 0;padding:26px 18px 20px;
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
}
figure.plan + figure.plan{margin-top:var(--esp-m)}
figure.plan img{display:block;width:auto;max-width:100%;height:auto;margin:0 auto}
figure.plan figcaption{
  margin-top:18px;padding-top:14px;border-top:1px solid var(--line);
  font-size:.9rem;line-height:1.6;color:var(--encre-doux,#555b7a);text-align:center;
}
.bg-mist figure.plan{background:#fff}
@media (max-width:560px){
  figure.plan{padding:16px 10px 14px}
  figure.plan figcaption{font-size:.85rem;text-align:left}
}

/* Numéro d'étape : une pastille, pas un chiffre perdu en haut de carte. */
.card .etape{
  display:inline-flex;align-items:center;justify-content:center;
  width:34px;height:34px;border-radius:50%;
  background:var(--lime);color:var(--navy-900);
  font-family:"Outfit",sans-serif;font-weight:800;font-size:1.05rem;
  margin-bottom:var(--esp-s,.7rem);
}

/* --------------------------------------------------------------------------
   Comparatif en fiches, sur téléphone
   -------------------------------------------------------------------------- */

.comparo-fiches{display:none}

@media (max-width:700px){
  .table-wrap.a-fiches{display:none}
  .comparo-fiches{display:block;margin-top:var(--esp-l)}
  .comparo-fiche{
    background:#fff;border:1px solid var(--line);border-radius:var(--radius);
    padding:20px 18px;margin-bottom:var(--esp-m);
  }
  .bg-mist .comparo-fiche{background:#fff}
  .comparo-fiche h3{
    margin:0 0 14px;padding-bottom:12px;
    border-bottom:2px solid var(--magenta);color:var(--ink);
    font-size:1.15rem;
  }
  .comparo-fiche dl{margin:0}
  .comparo-fiche dl > div{
    display:grid;grid-template-columns:1fr auto;gap:10px 16px;
    align-items:baseline;padding:9px 0;border-bottom:1px solid var(--line);
  }
  .comparo-fiche dl > div:last-child{border-bottom:0;padding-bottom:0}
  .comparo-fiche dt{
    margin:0;font-size:.88rem;line-height:1.4;color:var(--encre-doux,#555b7a);
  }
  .comparo-fiche dd{
    margin:0;text-align:right;font-weight:700;color:var(--ink);
    font-size:.94rem;line-height:1.4;
  }
  .comparo-fiche dd .nb{display:block;font-weight:500;font-size:.84rem}
}

/* Les deux formats du frigo, à la même hauteur : c'est la seule façon de
   voir d'un coup d'œil ce que « deux portes » veut dire en façade. */
.duo-formats{
  display:flex;align-items:flex-end;justify-content:center;
  gap:clamp(18px,4vw,48px);margin:var(--esp-l) 0 var(--esp-m);
}
.duo-formats figure{margin:0;text-align:center}
.duo-formats img{display:block;height:clamp(190px,26vw,300px);width:auto}
.duo-formats figcaption{
  margin-top:12px;font-size:.86rem;font-weight:700;color:var(--ink);
}

/* --------------------------------------------------------------------------
   Recherche
   -------------------------------------------------------------------------- */

.loupe{
  display:none;appearance:none;background:none;border:0;cursor:pointer;
  width:40px;height:40px;border-radius:50%;margin-left:6px;flex:0 0 auto;
  color:var(--ink);
}
.loupe svg{width:21px;height:21px;fill:none;stroke:currentColor;
  stroke-width:2.1;stroke-linecap:round}
.loupe:hover{background:var(--mist)}
.loupe:focus-visible{outline:3px solid var(--lime);outline-offset:2px}
html.js .loupe{display:inline-flex;align-items:center;justify-content:center}

.recherche{
  position:fixed;inset:0;z-index:120;background:rgba(6,12,60,.55);
  backdrop-filter:blur(3px);padding:14vh 16px 16px;
}
.recherche[hidden]{display:none}
.recherche-boite{
  position:relative;max-width:640px;margin:0 auto;background:#fff;
  border-radius:var(--radius-lg);box-shadow:0 30px 80px rgba(6,12,60,.34);
  padding:16px 16px 8px;
}
.recherche input[type="search"]{
  width:100%;font:inherit;font-size:1.08rem;padding:.9rem 2.6rem .9rem 1rem;
  border:2px solid var(--line);border-radius:12px;background:#fff;
  color:var(--ink);-webkit-appearance:none;
}
.recherche input[type="search"]:focus{outline:0;border-color:var(--magenta)}
.recherche-fermer{
  position:absolute;top:22px;right:26px;appearance:none;background:none;
  border:0;font-size:1.7rem;line-height:1;color:var(--muted);cursor:pointer;
  padding:0 .3rem;
}
.recherche-sortie{max-height:52vh;overflow:auto;margin-top:10px}
.recherche-sortie ul{list-style:none;margin:0;padding:0}
.recherche-sortie a{
  display:block;padding:.75rem .9rem;border-radius:10px;color:var(--ink);
  text-decoration:none;border:1px solid transparent;
}
.recherche-sortie a:hover,.recherche-sortie a:focus,
.recherche-sortie li.vise a{background:var(--mist);border-color:var(--line)}
.recherche-sortie .t{display:block;font-weight:700;font-size:.98rem}
.recherche-sortie .x{
  display:block;margin-top:.2rem;font-size:.85rem;line-height:1.45;
  color:var(--muted);
}
.recherche-sortie mark{background:#FFF0A8;color:inherit;padding:0 .1em;
  border-radius:3px}
.recherche-rien{padding:.9rem;color:var(--muted);font-size:.92rem}
.recherche-pied{
  padding:.55rem .9rem .8rem;font-size:.78rem;color:var(--muted);
}
.recherche-pied kbd{
  font:inherit;background:var(--mist);border:1px solid var(--line);
  border-radius:4px;padding:0 .3em;
}

@media (max-width:760px){
  .recherche{padding:0}
  .recherche-boite{max-width:none;min-height:100%;border-radius:0;
    padding:14px 14px 8px}
  .recherche-sortie{max-height:none}
  .recherche-fermer{top:20px;right:22px}
}

/* --------------------------------------------------------------------------
   Menu : les cinq machines d'abord, les activités ensuite
   -------------------------------------------------------------------------- */

.nav .sub li.groupe{
  font-size:.68rem;font-weight:800;letter-spacing:.17em;text-transform:uppercase;
  color:var(--magenta);padding:.55rem .7rem .3rem;pointer-events:none;
}
.nav .sub a .det{
  display:block;font-size:.76rem;font-weight:500;color:var(--muted);
  margin-top:.1rem;
}
.nav .sub a[aria-current="page"] .det{color:var(--magenta)}
.nav .sub li.compare a{font-weight:700;color:var(--magenta)}

@media (min-width:981px){
  /* la règle d'ouverture (.has-sub:hover .sub) est plus spécifique :
     il faut la rejoindre pour que la grille prenne le pas sur son block */
  .nav .has-sub:hover .sub.deux-colonnes,
  .nav .has-sub:focus-within .sub.deux-colonnes{
    display:grid;grid-template-columns:252px 236px;column-gap:10px;
    align-content:start;min-width:0;
  }
  .nav .sub.deux-colonnes > li{align-self:start}
  .nav .sub.deux-colonnes > li:nth-child(-n+7){grid-column:1}
  .nav .sub.deux-colonnes > li:nth-child(n+8){grid-column:2}
  .nav .sub.deux-colonnes > li:nth-child(8){grid-row:1}
  .nav .sub.deux-colonnes > li:nth-child(9){grid-row:2}
  .nav .sub.deux-colonnes > li:nth-child(10){grid-row:3}
  .nav .sub.deux-colonnes > li:nth-child(11){grid-row:4}
  .nav .sub.deux-colonnes > li:nth-child(12){grid-row:5}
  .nav .sub.deux-colonnes > li:nth-child(13){grid-row:6}
  .nav .sub.deux-colonnes > li:nth-child(14){grid-row:7}
  .nav .sub.deux-colonnes > li:nth-child(15){grid-row:8}
  .nav .sub.deux-colonnes > li:nth-child(16){grid-row:9}
  .nav .sub.deux-colonnes > li:nth-child(17){grid-row:10}
  .nav .sub.deux-colonnes > li:nth-child(18){grid-row:11}
  /* le menu des machines est le plus large : il s'ouvre vers la droite
     depuis son onglet, jamais vers la gauche où il sortirait de l'écran */
  .nav .has-sub:first-child .sub{left:0;right:auto}
  .nav .sub.deux-colonnes a{padding:.42rem .7rem}
  .nav .sub.deux-colonnes li.groupe{padding:.45rem .7rem .2rem}
}

/* Texte réservé aux lecteurs d'écran */
.sr-only{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

/* La pastille s'efface pendant le défilement, au pied de page et menu ouvert */
.bulle-wa{transition:opacity .22s ease,transform .22s ease}
.bulle-wa.en-retrait{opacity:0;transform:translateY(14px) scale(.92);
  pointer-events:none}
.bulle-wa.au-pied,.bulle-wa.menu-ouvert{opacity:0;transform:scale(.9);
  pointer-events:none}

/* Pied de page : les machines d'abord, puis les activités */
.foot-machines{margin-bottom:1.1rem}
.foot-machines a{font-weight:600}
.foot-grid > div > .foot-h + ul + .foot-h{margin-top:1.2rem}

/* --------------------------------------------------------------------------
   Diaporama des réalisations
   -------------------------------------------------------------------------- */

.diapo{position:relative;margin-top:var(--esp-l)}
.diapo-piste{
  display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;
  scroll-behavior:smooth;padding-bottom:6px;
  scrollbar-width:none;-ms-overflow-style:none;
}
.diapo-piste::-webkit-scrollbar{display:none}
.diapo-piste:focus-visible{outline:3px solid var(--lime);outline-offset:4px;
  border-radius:var(--radius-lg)}
.diapo-vue{
  flex:0 0 100%;scroll-snap-align:center;margin:0;position:relative;
  border-radius:var(--radius-lg);overflow:hidden;background:#fff;
  box-shadow:0 18px 44px rgba(6,12,60,.14);
}
.diapo-vue img{
  display:block;width:100%;height:clamp(240px,48vw,520px);object-fit:cover;
}
.diapo-vue figcaption{
  position:absolute;left:0;right:0;bottom:0;padding:38px 22px 16px;
  color:#fff;font-size:.95rem;line-height:1.45;
  background:linear-gradient(to top,rgba(6,12,60,.86),rgba(6,12,60,0));
}
.diapo-f{
  position:absolute;top:50%;transform:translateY(-50%);z-index:3;
  width:48px;height:48px;border-radius:50%;border:0;cursor:pointer;
  background:#fff;box-shadow:0 8px 24px rgba(6,12,60,.26);
  display:none;align-items:center;justify-content:center;
}
html.js .diapo-f{display:flex}
.diapo-f::before{
  content:"";width:12px;height:12px;border-left:2.5px solid var(--ink);
  border-bottom:2.5px solid var(--ink);
}
.diapo-prec{left:-14px}
.diapo-prec::before{transform:rotate(45deg);margin-left:4px}
.diapo-suiv{right:-14px}
.diapo-suiv::before{transform:rotate(-135deg);margin-right:4px}
.diapo-f:disabled{opacity:.32;cursor:default}
.diapo-f:focus-visible{outline:3px solid var(--lime);outline-offset:3px}
.diapo-puces{display:flex;gap:9px;justify-content:center;margin-top:18px}
.diapo-puces button{
  width:9px;height:9px;padding:0;border:0;border-radius:50%;cursor:pointer;
  background:var(--line);transition:transform .18s ease,background .18s ease;
}
.diapo-puces button[aria-current="true"]{background:var(--magenta);
  transform:scale(1.5)}
.diapo-puces button:focus-visible{outline:3px solid var(--lime);
  outline-offset:3px}

@media (min-width:860px){
  .diapo-vue{flex-basis:calc(50% - 9px)}
}
@media (max-width:900px){
  .diapo-prec{left:8px}
  .diapo-suiv{right:8px}
}

/* Le texte d'introduction garde sa largeur de lecture au-dessus de la galerie */
/* Le titre garde sa largeur de lecture ; les paragraphes se répartissent
   sur deux colonnes au-delà de 1 000 px, pour ne pas laisser la moitié
   droite de l'écran vide au-dessus de la galerie. */
#habillages .texte{margin:0 0 var(--esp-xl)}
#habillages .texte h2{max-width:22ch}
#habillages .texte p{margin:0 0 var(--esp-s)}
#habillages .deux-col{max-width:var(--wrap-texte)}
@media (min-width:1000px){
  #habillages .deux-col{max-width:none;columns:2;column-gap:clamp(30px,4vw,56px)}
  #habillages .deux-col p{break-inside:avoid}
}
