/* ==========================================================================
   Media Pluriel — feuille de style du site (v1.0)
   S'appuie sur tokens.css (variables --mp-*). Mobile d'abord.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
html.menu-ouvert { overflow: hidden; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
a { text-decoration-thickness: 1px; }
.ico { flex: none; display: block; }
[hidden] { display: none !important; }

.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lien-evitement { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 16px; background: var(--mp-noir); color: var(--mp-blanc); font-weight: 600; }
.lien-evitement:focus { top: 16px; color: var(--mp-blanc); }

.conteneur { width: 100%; max-width: calc(var(--mp-conteneur) + 2 * var(--mp-marge)); margin: 0 auto; padding: 0 var(--mp-marge); }

/* ---- Typographie de section ------------------------------------------- */
.surtitre { margin-bottom: var(--mp-espace-3); font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-display); font-weight: 700; font-size: var(--mp-taille-14); line-height: 1.25rem; letter-spacing: var(--mp-surtitre-approche); text-transform: uppercase; color: var(--mp-orange-texte); }
.titre-section { font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-titre); font-weight: 700; font-size: var(--mp-h2-taille); line-height: var(--mp-h2-interligne); color: var(--mp-noir); text-wrap: balance; }
.texte-intro { margin-top: var(--mp-espace-4); font-size: var(--mp-intro-taille); line-height: var(--mp-intro-interligne); max-width: 38em; text-wrap: pretty; }
.texte-intro--large { max-width: 46em; }
.petit-titre { font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-display); font-weight: 700; font-size: var(--mp-taille-14); line-height: 1.25rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mp-ardoise); }
.petit-titre--grand { display: flex; align-items: center; gap: var(--mp-espace-3); font-size: var(--mp-taille-16); color: var(--mp-noir); }
.note { font-size: var(--mp-taille-14); line-height: 1.25rem; color: var(--mp-ardoise); }
.facultatif { font-weight: 400; color: var(--mp-ardoise); }

.liste-carree { display: flex; flex-direction: column; gap: var(--mp-espace-2); }
.liste-carree li { position: relative; padding-left: 20px; }
.liste-carree li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--mp-orange); }
.liste-carree--ligne { flex-direction: row; flex-wrap: wrap; column-gap: var(--mp-espace-5); }

.lien-action { display: inline-flex; align-items: center; gap: var(--mp-espace-2); min-height: 44px; font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-titre); font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; color: var(--mp-bleu); }
.lien-action:hover { color: var(--mp-bleu-profond); }

/* ---- Boutons ----------------------------------------------------------- */
.groupe-boutons { display: flex; flex-wrap: wrap; gap: var(--mp-espace-3); }
.groupe-boutons--centre { justify-content: center; }
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: var(--mp-espace-2); min-height: 48px; padding: 0 var(--mp-espace-5); border: 2px solid transparent; border-radius: var(--mp-rayon-1); background: var(--mp-bleu); color: var(--mp-blanc); font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-titre); font-weight: 700; font-size: var(--mp-taille-16); line-height: 1.2; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer; transition: background-color var(--mp-duree) var(--mp-courbe), color var(--mp-duree) var(--mp-courbe); }
.bouton:hover { background: var(--mp-action-primaire-survol); color: var(--mp-blanc); }
.bouton--accent { background: var(--mp-action-accent); }
.bouton--accent:hover { background: var(--mp-action-accent-survol); }
.bouton--accent:focus-visible { outline-color: var(--mp-bleu); }
.bouton--secondaire { background: var(--mp-blanc); color: var(--mp-bleu); border-color: var(--mp-bleu); }
.bouton--secondaire:hover { background: var(--mp-bleu-pale); color: var(--mp-bleu); }
.bouton--inverse { background: var(--mp-blanc); color: var(--mp-bleu); }
.bouton--inverse:hover { background: var(--mp-bleu-pale); color: var(--mp-bleu-profond); }
.bouton--contour-inverse { background: transparent; color: var(--mp-blanc); border-color: var(--mp-blanc); }
.bouton--contour-inverse:hover { background: rgba(255, 255, 255, .12); }
.bande-cta :focus-visible, .pied :focus-visible, .bandeau-info :focus-visible { outline-color: var(--mp-blanc); }

.compteur { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; background: var(--mp-blanc); color: var(--mp-orange-texte); font-family: var(--mp-police-titre); font-weight: 800; font-size: 14px; letter-spacing: 0; }
.compteur[hidden] { display: none; }
.compteur--clair { background: var(--mp-bleu); color: var(--mp-blanc); }

/* ---- Bandeau d'information --------------------------------------------- */
.bandeau-info { background: var(--mp-bleu-nuit); color: var(--mp-bleu-pale); font-size: 13px; line-height: 20px; }
.bandeau-info__in { display: flex; justify-content: space-between; align-items: center; gap: var(--mp-espace-4); min-height: 36px; }
.bandeau-info a { display: inline-flex; align-items: center; gap: 6px; color: var(--mp-blanc); text-decoration: none; font-weight: 500; white-space: nowrap; }
.bandeau-info a:hover { color: var(--mp-bleu-ciel); }
@media (max-width: 767px) { .bandeau-info span { display: none; } .bandeau-info__in { justify-content: center; } }

/* ---- En-tête ----------------------------------------------------------- */
.entete { position: sticky; top: 0; z-index: 50; background: var(--mp-blanc); border-bottom: 1px solid var(--mp-beton); }
.entete__in { position: relative; display: flex; align-items: center; gap: var(--mp-espace-5); min-height: 80px; }
.entete__logo { flex: none; display: block; }
.entete__logo img { width: 112px; }
.entete__actions { margin-left: auto; display: flex; align-items: center; gap: var(--mp-espace-2); }
.entete__devis { padding: 0 var(--mp-espace-4); }
.bouton-menu { display: inline-flex; align-items: center; gap: var(--mp-espace-2); min-height: 48px; padding: 0 14px; border: 2px solid var(--mp-bleu); border-radius: var(--mp-rayon-1); background: var(--mp-blanc); color: var(--mp-bleu); font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-titre); font-weight: 700; font-size: 14px; text-transform: uppercase; cursor: pointer; }
.bouton-menu .ico-fermer { display: none; }
.bouton-menu[aria-expanded="true"] { background: var(--mp-bleu); color: var(--mp-blanc); }
.bouton-menu[aria-expanded="true"] .ico-ouvrir { display: none; }
.bouton-menu[aria-expanded="true"] .ico-fermer { display: block; }

/* Navigation — mobile */
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 80px); overflow-y: auto; padding: var(--mp-espace-2) var(--mp-marge) var(--mp-espace-6); background: var(--mp-blanc); border-bottom: 2px solid var(--mp-bleu); }
.nav.ouvert { display: block; }
.nav__liste { display: flex; flex-direction: column; }
.nav__item { position: relative; display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--mp-beton); }
.nav__lien { flex: 1; display: flex; align-items: center; min-height: 56px; font-size: 18px; font-weight: 500; color: var(--mp-noir); text-decoration: none; }
.nav__lien[aria-current="page"] { color: var(--mp-bleu); font-weight: 600; box-shadow: inset 4px 0 0 var(--mp-orange); padding-left: 12px; }
.nav__ouvrir { display: grid; place-items: center; width: 48px; height: 48px; border: 0; background: none; color: var(--mp-bleu); cursor: pointer; }
.nav__ouvrir[aria-expanded="true"] svg { transform: rotate(180deg); }
.sous-menu { display: none; width: 100%; padding: 0 0 var(--mp-espace-4) var(--mp-espace-4); }
.nav__item.ouvert .sous-menu { display: block; }
.sous-menu__liste li a { display: flex; flex-direction: column; padding: 10px 0; text-decoration: none; color: var(--mp-noir); }
.sous-menu__liste strong { font-weight: 600; font-size: 16px; }
.sous-menu__liste span { font-size: 14px; color: var(--mp-ardoise); }
.sous-menu__liste a:hover strong { color: var(--mp-bleu); text-decoration: underline; text-underline-offset: 3px; }
.nav__whatsapp { margin-top: var(--mp-espace-5); width: 100%; }

@media (max-width: 479px) { .entete__devis span:not(.compteur) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .entete__devis { padding: 0 12px; } }

/* Navigation — bureau */
@media (min-width: 1120px) {
  .entete__in { min-height: 96px; }
  .entete__logo img { width: 128px; }
  .bouton-menu { display: none; }
  .nav { display: block; position: static; max-height: none; overflow: visible; padding: 0; border: 0; background: none; }
  .nav__liste { flex-direction: row; align-items: center; gap: var(--mp-espace-1); }
  .nav__item { border: 0; flex-wrap: nowrap; }
  .nav__lien { min-height: 48px; padding: 0 10px; font-size: 15px; }
  .nav__item--sous .nav__lien { padding-right: 2px; }
  .nav__lien:hover { color: var(--mp-bleu); }
  .nav__lien[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--mp-orange); padding-left: 10px; }
  .nav__ouvrir { width: 28px; height: 40px; }
  .nav__whatsapp { display: none; }
  .sous-menu { position: absolute; top: 100%; left: 0; z-index: 60; width: 600px; padding: var(--mp-espace-5); background: var(--mp-blanc); border: 1px solid var(--mp-beton); border-top: 3px solid var(--mp-bleu); box-shadow: var(--mp-ombre-1); }
  .nav__item--sous:hover .sous-menu, .nav__item.ouvert .sous-menu { display: block; }
  .nav__item--sous:last-of-type .sous-menu { left: auto; }
  .sous-menu__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--mp-espace-5); margin-bottom: var(--mp-espace-3); }
  .sous-menu__liste li a { padding: 10px 0; border-bottom: 1px solid var(--mp-beton); }
  .sous-menu__liste strong { font-size: 15px; }
  .sous-menu__liste span { font-size: 13px; line-height: 18px; }
}

/* ---- Héros ------------------------------------------------------------- */
.heros { padding: var(--mp-espace-7) 0 var(--mp-espace-8); overflow: hidden; }
.heros__in { display: grid; gap: var(--mp-espace-7); align-items: center; }
.heros__titre { font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-display); font-weight: 800; font-size: clamp(2.5rem, 4.4vw + 1rem, 4.5rem); line-height: 1.04; text-transform: uppercase; color: var(--mp-bleu); }
.heros__intro { margin-top: var(--mp-espace-5); font-size: var(--mp-intro-taille); line-height: var(--mp-intro-interligne); max-width: 34em; }
.heros .groupe-boutons { margin-top: var(--mp-espace-6); }
.heros__preuves { margin-top: var(--mp-espace-6); padding-top: var(--mp-espace-5); border-top: 1px solid var(--mp-beton); display: grid; gap: var(--mp-espace-3); font-size: 15px; line-height: 22px; }
.heros__preuves li { display: flex; align-items: center; gap: var(--mp-espace-3); }
.heros__preuves .ico { color: var(--mp-bleu); }
.heros__bande { display: none; }
.heros__img { width: 100%; }
@media (min-width: 960px) {
  .heros { padding: var(--mp-espace-8) 0 var(--mp-espace-9); }
  .heros__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: var(--mp-espace-8); }
}

/* ---- Sections ---------------------------------------------------------- */
.section { padding: var(--mp-espace-8) 0; }
.section--serre { padding: var(--mp-espace-7) 0; }
.section--papier { background: var(--mp-papier); }
.section--bleu-pale { background: var(--mp-bleu-pale); }
.section__entete { max-width: 760px; margin-bottom: var(--mp-espace-7); }
.section__entete--ligne { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--mp-espace-4) var(--mp-espace-7); }
.section__note { max-width: 420px; font-size: 15px; line-height: 22px; color: var(--mp-ardoise); }
@media (min-width: 1024px) { .section { padding: var(--mp-espace-9) 0; } }

.deux-colonnes { display: grid; gap: var(--mp-espace-7); align-items: start; }
@media (min-width: 960px) {
  .deux-colonnes { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--mp-espace-8); }
  .deux-colonnes > :first-child { position: sticky; top: 128px; }
  .deux-colonnes--guide { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
}

/* ---- Univers (catégories) ---------------------------------------------- */
.grille-univers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: var(--mp-espace-5); }
.univers__lien { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--mp-beton); text-decoration: none; color: var(--mp-noir); transition: box-shadow var(--mp-duree) var(--mp-courbe), border-color var(--mp-duree) var(--mp-courbe); }
.univers__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 97px, 100% 100%, 0 100%); }
.univers__corps { flex: 1; display: flex; flex-direction: column; gap: var(--mp-espace-3); padding: var(--mp-espace-5); }
.univers__titre { font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-display); font-weight: 800; font-size: 26px; line-height: 32px; text-transform: uppercase; color: var(--mp-bleu); }
.univers__liste { flex: 1; font-size: 15px; line-height: 24px; color: var(--mp-ardoise); }
.univers__lien:hover { border-color: var(--mp-bleu); box-shadow: inset 0 0 0 1px var(--mp-bleu); }
.univers__lien:hover .univers__titre { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--mp-orange); }

/* ---- Cartes produit ---------------------------------------------------- */
.grille-produits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: var(--mp-espace-5); }
@media (max-width: 767px) {
  .grille-produits, .grille-produits.grille-produits--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--mp-espace-3); }
  .carte-produit__visuel { clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 42px, 100% 100%, 0 100%); }
  .carte-produit__corps { padding: var(--mp-espace-3) var(--mp-espace-3) 0; gap: 4px; }
  .carte-produit__cat { font-size: 11px; letter-spacing: .08em; }
  .carte-produit__nom { font-size: 16px; line-height: 21px; }
  .carte-produit__court { font-size: 13px; line-height: 18px; }
  .carte-produit__action { font-size: 12px; }
}
.grille-produits--3 { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.carte-produit__lien { display: flex; flex-direction: column; height: 100%; background: var(--mp-blanc); border: 1px solid var(--mp-beton); color: var(--mp-noir); text-decoration: none; transition: box-shadow var(--mp-duree) var(--mp-courbe), border-color var(--mp-duree) var(--mp-courbe); }
.carte-produit__visuel { display: block; clip-path: polygon(0 0, calc(100% - 40px) 0, 100% 69px, 100% 100%, 0 100%); }
.carte-produit__visuel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 240ms var(--mp-courbe); }
.carte-produit__corps { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: var(--mp-espace-4) var(--mp-espace-4) var(--mp-espace-2); }
.carte-produit__cat { font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-display); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mp-orange-texte); }
.carte-produit__nom { font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-titre); font-weight: 700; font-size: 20px; line-height: 26px; color: var(--mp-bleu); }
.carte-produit__court { flex: 1; font-size: 15px; line-height: 22px; color: var(--mp-ardoise); }
.carte-produit__action { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-titre); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--mp-bleu); }
.carte-produit__lien:hover { border-color: var(--mp-bleu); box-shadow: inset 0 0 0 1px var(--mp-bleu); }
.carte-produit__lien:hover .carte-produit__nom { text-decoration: underline; text-underline-offset: 4px; }
.carte-produit__lien:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .carte-produit__lien:hover img { transform: none; } }

/* ---- Étapes ------------------------------------------------------------ */
.etapes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: var(--mp-espace-6) var(--mp-espace-5); counter-reset: none; }
.etape { display: flex; flex-direction: column; gap: var(--mp-espace-2); padding-top: var(--mp-espace-4); border-top: 2px solid var(--mp-noir); }
.etape__num { font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-display); font-weight: 800; font-size: 48px; line-height: 52px; color: var(--mp-orange); }
.etape h3 { font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-titre); font-weight: 700; font-size: 20px; line-height: 28px; }
.etape p { font-size: 16px; line-height: 24px; color: #3A3536; }

/* ---- Publics ----------------------------------------------------------- */
.publics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); gap: var(--mp-espace-6) var(--mp-espace-5); }
.publics li { padding-top: var(--mp-espace-4); border-top: 4px solid var(--mp-bleu); }
.publics li:last-child { border-top-color: var(--mp-orange); }
.publics h3, .valeurs h3 { font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-titre); font-weight: 700; font-size: 20px; line-height: 28px; color: var(--mp-bleu); margin-bottom: var(--mp-espace-2); }
.publics p, .valeurs p { font-size: 16px; line-height: 24px; }

/* ---- Packs ------------------------------------------------------------- */
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: var(--mp-espace-5); }
.pack { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: var(--mp-espace-4); padding: var(--mp-espace-6) var(--mp-espace-5) var(--mp-espace-5); border: 1px solid var(--mp-beton); }
.pack::after { content: ""; position: absolute; top: 0; right: 0; width: 90px; height: 56px; background: var(--mp-bleu); clip-path: polygon(32px 0, 100% 0, 100% 100%, 0 100%); opacity: 1; }
.pack::before { content: ""; position: absolute; top: 0; right: 92px; width: 42px; height: 56px; background: var(--mp-orange); clip-path: polygon(32px 0, 42px 0, 10px 100%, 0 100%); }
.pack__nom { font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-display); font-weight: 800; font-size: 24px; line-height: 30px; text-transform: uppercase; color: var(--mp-bleu); padding-right: 120px; }
.pack__pour { font-size: 15px; line-height: 22px; color: var(--mp-ardoise); }
.pack .liste-carree { flex: 1; font-size: 16px; }
.pack .bouton { align-self: flex-start; }

/* ---- Comparatif & FAQ & guides ----------------------------------------- */
.comparatif { display: grid; border-top: 2px solid var(--mp-noir); }
.comparatif div { display: grid; grid-template-columns: minmax(0, 160px) minmax(0, 1fr); gap: var(--mp-espace-5); padding: var(--mp-espace-5) 0; border-bottom: 1px solid var(--mp-beton); }
.comparatif dt { font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-titre); font-weight: 700; font-size: 18px; line-height: 26px; color: var(--mp-bleu); }
.comparatif dd { font-size: 17px; line-height: 26px; }
@media (max-width: 559px) { .comparatif div { grid-template-columns: 1fr; gap: var(--mp-espace-1); } }

.faq { border-top: 2px solid var(--mp-noir); }
.faq details { border-bottom: 1px solid var(--mp-beton); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--mp-espace-4); min-height: 64px; padding: var(--mp-espace-4) 0; font-weight: 600; font-size: 17px; line-height: 24px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--mp-bleu), var(--mp-bleu)) center / 14px 2px no-repeat, linear-gradient(var(--mp-bleu), var(--mp-bleu)) center / 2px 14px no-repeat; }
.faq details[open] summary::after { background: linear-gradient(var(--mp-orange-texte), var(--mp-orange-texte)) center / 14px 2px no-repeat; }
.faq summary:hover { color: var(--mp-bleu); }
.faq details p { padding: 0 0 var(--mp-espace-5); font-size: 16px; line-height: 26px; max-width: 62ch; }

.guide { display: grid; border-top: 2px solid var(--mp-noir); }
.guide div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: var(--mp-espace-5); padding: var(--mp-espace-4) 0; border-bottom: 1px solid #D6D2CB; }
.guide dt { font-weight: 600; font-size: 16px; line-height: 24px; color: var(--mp-bleu); }
.guide dd { font-size: 16px; line-height: 24px; }
@media (max-width: 559px) { .guide div { grid-template-columns: 1fr; gap: 2px; } }

.tableau-defilant { overflow-x: auto; border-top: 2px solid var(--mp-noir); }
.tableau-defilant:focus-visible { outline: var(--mp-trait-focus) solid var(--mp-focus); }
.tableau { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; line-height: 22px; }
.tableau th, .tableau td { padding: var(--mp-espace-3) var(--mp-espace-3) var(--mp-espace-3) 0; text-align: left; vertical-align: top; border-bottom: 1px solid #D6D2CB; }
.tableau thead th { font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-titre); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--mp-ardoise); }
.tableau tbody th { font-weight: 600; color: var(--mp-bleu); }

/* ---- Bande d'appel ----------------------------------------------------- */
.bande-cta { position: relative; overflow: hidden; background: var(--mp-bleu); color: var(--mp-blanc); }
.bande-cta::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(120deg, transparent 0 18px, rgba(17, 71, 129, .9) 18px 36px); }
.bande-cta__in { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--mp-espace-6); padding-top: var(--mp-espace-8); padding-bottom: var(--mp-espace-8); }
.bande-cta__titre { font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-display); font-weight: 800; font-size: clamp(2rem, 2vw + 1.25rem, 2.75rem); line-height: 1.1; text-transform: uppercase; margin-bottom: var(--mp-espace-3); }
.bande-cta p { font-size: 18px; line-height: 28px; max-width: 36em; }

/* ---- Pied de page ------------------------------------------------------ */
.pied { background: var(--mp-bleu-nuit); color: var(--mp-blanc); font-size: 15px; line-height: 24px; }
.pied a { color: var(--mp-bleu-ciel); text-decoration: none; }
.pied a:hover { color: var(--mp-blanc); text-decoration: underline; }
.pied__in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: var(--mp-espace-6); padding-top: var(--mp-espace-8); padding-bottom: var(--mp-espace-7); }
.pied__marque { display: flex; flex-direction: column; align-items: flex-start; gap: var(--mp-espace-4); color: var(--mp-bleu-pale); }
.pied__marque img { width: 180px; }
.pied__marque .bouton { color: var(--mp-bleu); }
.pied__titre { margin-bottom: var(--mp-espace-3); font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-display); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.pied__titre a { color: var(--mp-blanc); }
.pied__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.pied__col li { color: var(--mp-bleu-pale); }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--mp-espace-3); padding-top: var(--mp-espace-4); padding-bottom: var(--mp-espace-5); border-top: 1px solid rgba(255, 255, 255, .22); font-size: 13px; line-height: 20px; color: var(--mp-bleu-pale); }
@media (min-width: 1120px) { .pied__in { grid-template-columns: 1.5fr repeat(4, 1fr); } }

/* ---- En-tête de page --------------------------------------------------- */
.entete-page { padding: var(--mp-espace-6) 0 var(--mp-espace-7); border-bottom: 1px solid var(--mp-beton); }
.entete-page__in { display: grid; gap: var(--mp-espace-6); align-items: center; }
.entete-page__titre { font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-display); font-weight: 800; font-size: clamp(1.75rem, 8vw, 3.75rem); line-height: 1.08; overflow-wrap: break-word; text-transform: uppercase; color: var(--mp-bleu); text-wrap: balance; }
.entete-page__img { width: 100%; max-width: 480px; justify-self: end; clip-path: polygon(0 0, calc(100% - 48px) 0, 100% 83px, 100% 100%, 0 100%); }
@media (min-width: 900px) { .entete-page__in { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
@media (max-width: 899px) { .entete-page__img { display: none; } }

.fil { margin-bottom: var(--mp-espace-5); font-size: 14px; line-height: 20px; }
.fil ol { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; list-style: none; }
.fil li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--mp-gris-trait); }
.fil a { color: var(--mp-ardoise); }
.fil a:hover { color: var(--mp-bleu); }
.fil [aria-current] { color: var(--mp-noir); font-weight: 500; }
main > .conteneur > .fil { margin-top: var(--mp-espace-5); }

/* ---- Fiche produit ----------------------------------------------------- */
.fiche { padding: var(--mp-espace-3) 0 var(--mp-espace-8); }
.fiche__in { display: grid; gap: var(--mp-espace-7); align-items: start; }
.fiche__visuel img { width: 100%; clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 97px, 100% 100%, 0 100%); }
.fiche__conseils { margin-top: var(--mp-espace-5); padding: var(--mp-espace-5); background: var(--mp-papier); font-size: 15px; line-height: 22px; }
.fiche__conseils .petit-titre { margin-bottom: var(--mp-espace-3); }
.fiche__titre { font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-display); font-weight: 800; font-size: clamp(1.75rem, 2.2vw + 1.4rem, 3.25rem); overflow-wrap: break-word; line-height: 1.08; text-transform: uppercase; color: var(--mp-bleu); text-wrap: balance; }
.fiche__ideal { margin-top: var(--mp-espace-5); display: flex; flex-direction: column; gap: var(--mp-espace-2); font-size: 15px; }
@media (min-width: 960px) {
  .fiche__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--mp-espace-8); }
  .fiche__visuel { position: sticky; top: 128px; }
}

.configurateur { margin-top: var(--mp-espace-6); display: flex; flex-direction: column; gap: var(--mp-espace-5); padding-top: var(--mp-espace-5); border-top: 2px solid var(--mp-noir); }
.options { margin: 0; padding: 0; border: 0; min-width: 0; }
.options legend { padding: 0; margin-bottom: var(--mp-espace-3); font-weight: 600; font-size: 16px; line-height: 24px; }
.choix-groupe { display: flex; flex-wrap: wrap; gap: var(--mp-espace-2); }
.choix { position: relative; display: inline-flex; cursor: pointer; }
.choix input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choix span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid var(--mp-gris-trait); border-radius: var(--mp-rayon-1); background: var(--mp-blanc); font-size: 15px; line-height: 20px; transition: background-color var(--mp-duree) var(--mp-courbe); }
.choix:hover span { border-color: var(--mp-bleu); }
.choix input:checked + span { border-color: var(--mp-bleu); box-shadow: inset 0 0 0 1px var(--mp-bleu); background: var(--mp-bleu-pale); color: var(--mp-bleu); font-weight: 600; }
.choix input:focus-visible + span { outline: var(--mp-trait-focus) solid var(--mp-focus); outline-offset: 2px; }
.champ--autre { margin-top: var(--mp-espace-3); max-width: 240px; }
.confirmation { padding: var(--mp-espace-4) var(--mp-espace-5); background: var(--mp-bleu-pale); border-left: 0; border-top: 3px solid var(--mp-bleu); font-size: 16px; line-height: 24px; }
.confirmation strong { color: var(--mp-bleu); }
.confirmation .groupe-boutons { margin-top: var(--mp-espace-3); }
.confirmation:focus { outline: none; }

/* ---- Formulaires ------------------------------------------------------- */
.champ { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.champ label { font-weight: 600; font-size: 15px; line-height: 20px; }
.champ__saisie { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--mp-gris-trait); border-radius: var(--mp-rayon-1); background: var(--mp-blanc); font-size: 16px; line-height: 24px; color: var(--mp-noir); }
textarea.champ__saisie { resize: vertical; }
.champ__saisie:hover { border-color: var(--mp-ardoise); }
.champ__saisie:focus-visible { border-color: var(--mp-bleu); }
.champ__saisie[aria-invalid="true"] { border: 2px solid var(--mp-erreur); }
.champ__saisie::placeholder { color: #767273; }
.champ__fichier { width: 100%; padding: 12px; border: 1px dashed var(--mp-gris-trait); background: var(--mp-blanc); font-size: 15px; }
.champ__erreur { font-size: 14px; line-height: 20px; color: var(--mp-erreur); font-weight: 500; }
.champ__erreur[hidden] { display: none; }
.case { display: flex; gap: var(--mp-espace-3); align-items: flex-start; font-size: 15px; line-height: 22px; cursor: pointer; }
.case input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--mp-bleu); }
.pot-de-miel { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.devis { display: grid; gap: var(--mp-espace-7); align-items: start; }
@media (min-width: 1024px) { .devis { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--mp-espace-8); } .devis__articles { position: sticky; top: 128px; } }
.devis__articles { padding: var(--mp-espace-5); background: var(--mp-papier); }
.devis__articles .petit-titre { margin-bottom: var(--mp-espace-4); }
.articles { display: flex; flex-direction: column; }
.article { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: var(--mp-espace-3); align-items: start; padding: var(--mp-espace-4) 0; border-top: 1px solid #D6D2CB; }
.article img { width: 64px; height: 48px; object-fit: cover; }
.article__nom { font-weight: 600; font-size: 16px; line-height: 22px; color: var(--mp-bleu); }
.article__details { margin-top: 4px; font-size: 14px; line-height: 20px; color: #3A3536; }
.article__retirer { min-height: 44px; padding: 0 4px; border: 0; background: none; color: var(--mp-orange-texte); font-size: 14px; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.articles-vide p { font-size: 15px; line-height: 22px; margin-bottom: var(--mp-espace-3); }
.articles-vide[hidden] { display: none; }
.liens-categories { display: flex; flex-wrap: wrap; gap: var(--mp-espace-2) var(--mp-espace-5); }
.liens-categories a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; }
.liens-categories--centre { justify-content: center; margin: var(--mp-espace-4) 0 var(--mp-espace-5); }

.formulaire { display: flex; flex-direction: column; gap: var(--mp-espace-5); }
.formulaire .note { margin-top: calc(-1 * var(--mp-espace-3)); }
.formulaire__grille { display: grid; gap: var(--mp-espace-5); }
@media (min-width: 640px) { .formulaire__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } .champ--large { grid-column: 1 / -1; } }

.alerte { margin-top: var(--mp-espace-5); padding: var(--mp-espace-4) var(--mp-espace-5); font-size: 16px; line-height: 24px; }
.alerte--erreur { background: #FCEBEA; border-top: 3px solid var(--mp-erreur); color: var(--mp-noir); }
.alerte[hidden] { display: none; }

/* ---- Pages de contenu -------------------------------------------------- */
.entete-page--simple .texte-intro { margin-top: var(--mp-espace-4); }
.prose p { margin-top: var(--mp-espace-4); font-size: 17px; line-height: 28px; max-width: 62ch; }
.prose h2 { margin-top: var(--mp-espace-6); font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-titre); font-weight: 700; font-size: var(--mp-h3-taille); line-height: var(--mp-h3-interligne); color: var(--mp-bleu); }
.prose .titre-section { margin-top: 0; font-size: var(--mp-h2-taille); line-height: var(--mp-h2-interligne); color: var(--mp-noir); }
.prose--etroite { max-width: 760px; }
.prose--etroite h2:first-child { margin-top: 0; }
.encart-img { width: 100%; clip-path: polygon(0 0, calc(100% - 56px) 0, 100% 97px, 100% 100%, 0 100%); }
.deux-colonnes .encart-img { position: static; }

.valeurs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: var(--mp-espace-6) var(--mp-espace-5); }
.valeurs li { padding-top: var(--mp-espace-4); border-top: 4px solid var(--mp-bleu); }
.valeurs li:last-child { border-top-color: var(--mp-orange); }

.coordonnees { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: var(--mp-espace-5); }
.coordonnees > li { display: flex; flex-direction: column; gap: var(--mp-espace-2); padding: var(--mp-espace-5); border: 1px solid var(--mp-beton); font-size: 17px; line-height: 26px; }
.coordonnees .ico { color: var(--mp-bleu); margin-bottom: var(--mp-espace-2); }
.coordonnees h2 { font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-display); font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--mp-ardoise); }
.coordonnees a { font-weight: 600; }

.page-message { min-height: 50vh; display: flex; align-items: center; }
.page-message__in { max-width: 720px; text-align: center; }
.page-message .texte-intro { margin-left: auto; margin-right: auto; margin-bottom: var(--mp-espace-6); }
.page-message__ico { display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: var(--mp-espace-5); background: var(--mp-bleu); color: var(--mp-blanc); }

/* ---- Annonce (ajout au devis) ------------------------------------------ */
.annonce { position: fixed; left: 50%; bottom: 16px; z-index: 80; transform: translateX(-50%); display: flex; flex-wrap: wrap; align-items: center; gap: var(--mp-espace-3) var(--mp-espace-5); width: min(560px, calc(100% - 32px)); padding: var(--mp-espace-4) var(--mp-espace-5); background: var(--mp-noir); color: var(--mp-blanc); font-size: 15px; line-height: 22px; box-shadow: var(--mp-ombre-1); }
.annonce[hidden] { display: none; }
.annonce a { color: var(--mp-blanc); font-weight: 600; }
.annonce :focus-visible { outline-color: var(--mp-blanc); }

@media print {
  .bandeau-info, .entete, .pied, .bande-cta, .annonce, .configurateur .groupe-boutons { display: none !important; }
}

/* ---- Ajouts version PHP bilingue ----------------------------------------- */
address { font-style: normal; }
.langue { display: inline-grid; place-items: center; min-width: 48px; min-height: 48px; padding: 0 8px; border: 1px solid var(--mp-beton); border-radius: var(--mp-rayon-1); font-family: var(--mp-police-titre); font-stretch: var(--mp-largeur-display); font-weight: 700; font-size: 14px; letter-spacing: .08em; color: var(--mp-bleu); text-decoration: none; }
.langue:hover { border-color: var(--mp-bleu); background: var(--mp-bleu-pale); color: var(--mp-bleu); }
.pied__liens { display: flex; flex-wrap: wrap; gap: var(--mp-espace-5); }
.pied address ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.coordonnees__tels { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.coordonnees .note { font-weight: 400; }
.carte { margin-top: var(--mp-espace-6); border: 1px solid var(--mp-beton); }
.carte iframe { display: block; width: 100%; height: 420px; border: 0; }
@media (max-width: 767px) { .carte iframe { height: 300px; } }

/* ---- Fond « atelier » : toile tissée, filet tricolore, bandes M·X·P ----- */
body {
  background-color: var(--mp-papier);
  background-image:
    repeating-linear-gradient(45deg, rgba(20, 80, 146, .035) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(-45deg, rgba(20, 80, 146, .035) 0 1px, transparent 1px 7px);
}
body::before { content: ""; display: block; height: 6px; background: linear-gradient(90deg, var(--mp-bleu) 0 50%, var(--mp-orange) 50% 80%, var(--mp-noir) 80%); }
.section--papier, .univers__lien, .devis__articles, .fiche__conseils { background: var(--mp-blanc); }
/* Pages sans image : le texte s'arrête avant les bandes */
@media (min-width: 900px) { .entete-page--simple > .conteneur > div { max-width: 58%; } }

.heros, .entete-page { position: relative; isolation: isolate; overflow: hidden; }
.heros > .conteneur, .entete-page > .conteneur { position: relative; z-index: 1; }
.bandes { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bande { position: absolute; top: -10%; height: 120%; animation: bande-entree 1.1s cubic-bezier(.2, .8, .2, 1) both; }
.bande--bleu   { right: 15vw; width: clamp(70px, 11vw, 170px); background: var(--mp-bleu);   transform: skewX(-22deg); }
.bande--orange { right: 3vw;  width: clamp(70px, 11vw, 170px); background: var(--mp-orange); transform: skewX(22deg); animation-delay: .12s; }
.bande--noir   { right: -3vw; width: clamp(18px, 2.4vw, 38px); background: var(--mp-noir);   transform: skewX(-22deg); animation-delay: .24s; }
@keyframes bande-entree { from { opacity: 0; translate: 0 8vh; } to { opacity: 1; translate: 0 0; } }
/* Petits écrans : les bandes restent dans la marge droite, sous l'illustration */
@media (max-width: 959px) {
  .heros .bandes { top: auto; height: 30%; }
  .bande--bleu { right: -6vw; } .bande--orange { right: -18vw; } .bande--noir { display: none; }
}
@media (max-width: 899px) { .entete-page .bandes { display: none; } }
@media (prefers-reduced-motion: reduce) { .bande { animation: none; } }

/* ---- Accueil : bandeau vers l'atelier en ligne (v1.8) -------------------- */
.bandeau-atelier { border-top: 1px solid var(--mp-beton); }
.bandeau-atelier__in { display: grid; gap: var(--mp-espace-6); align-items: center; }
.bandeau-atelier__intro { margin: var(--mp-espace-4) 0 var(--mp-espace-5); max-width: 36em; font-size: var(--mp-intro-taille); line-height: var(--mp-intro-interligne); }
.bandeau-atelier__visuels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--mp-espace-3); }
.bandeau-atelier__visuels img { width: 100%; display: block; }
.bandeau-atelier__visuels li:nth-child(2) { transform: translateY(var(--mp-espace-5)); }
@media (min-width: 960px) { .bandeau-atelier__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--mp-espace-8); } }
