/* Sillage Propre — univers « le sol, vu de près ».
   Tête de page : lames de parquet sous une lumière d'ardoise, avec la trace de passage d'un balai (bande plus claire) ; puis une plinthe en bois clair graduée.
   Fond : lin. Accueil et rubriques : plan d'une pièce à l'échelle, le « sillage » (zone couverte par une charge) se dessine.
   Titres Bricolage Grotesque, texte Public Sans, chiffres IBM Plex Mono (Bunny Fonts). Boutons jaunes « acheter ».
   Fiches produit en étiquette énergie ; « L'avis d'Octave » en étiquette d'entretien cousue. */
:root {
  --lin: #f3efe6;
  --lin-2: #e6dfd0;
  --papier: #fcfaf5;
  --encre: #1f2a31;
  --gris: #4e5960;
  --ardoise: #2f4858;
  --ardoise-2: #3c5869;
  --ardoise-nuit: #22343f;
  --bois: #dcc29b;
  --bois-2: #c9a878;
  --bois-fonce: #8a6239;
  --eucalyptus: #6f9e89;
  --eucalyptus-texte: #2f6650;
  --jaune: #ffd23f;
  --titre: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
  --fibres: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cg fill='none' stroke='%232f4858' stroke-opacity='.06' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M12 30l9 4M60 14l7-5M118 40l10 2M170 22l6 6M30 96l8-6M90 80l10 3M150 104l7-6M200 90l6 5M20 160l9 3M76 150l6 7M130 176l9-3M186 160l7 4M48 206l8-4M110 210l9 2M170 200l6-6'/%3E%3C/g%3E%3C/svg%3E");
  --balayage: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='300' viewBox='0 0 600 300' preserveAspectRatio='none'%3E%3Cpath d='M-20 250C120 230 160 90 300 80S520 40 640 10' fill='none' stroke='%23fff' stroke-opacity='.10' stroke-width='90' stroke-linecap='round'/%3E%3Cpath d='M-20 250C120 230 160 90 300 80S520 40 640 10' fill='none' stroke='%23fff' stroke-opacity='.18' stroke-width='1.5' stroke-dasharray='3 9'/%3E%3C/svg%3E");
}

body { font-size: 18px; line-height: 1.65; font-family: 'Public Sans', 'Segoe UI', system-ui, sans-serif; background-color: var(--lin); background-image: var(--fibres); color: var(--encre); }
a { color: var(--ardoise); text-underline-offset: 3px; text-decoration-color: var(--bois-2); }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3, .logo, .produit-nom, .choix-nom, .quiz-titre, .quiz-verdict, .carte-nom, .proches h2, .groupe h2, .faq summary, .cartes a { font-family: var(--titre); font-weight: 700; letter-spacing: -.015em; }
h2 { font-size: 30px; line-height: 1.15; }
h3 { font-weight: 600; }
.meta, .ariane, .produit-cat, .produit-choix, .choix-label, .produit-specs dt, .quiz legend, .carte-label, .sommaire-lateral p,
.avertissement, .produit-source, .barre-choix span, .filtres button, thead th, .volumes-legende, .jauge > span:first-child, .jauge strong, .cote { font-family: var(--mono); }
.cartes p, .produit-source { color: var(--gris); }

/* En-tête : bande d'ardoise, logo = tête de balai vue de dessus */
.entete { background: var(--ardoise-nuit); border: 0; padding: 14px 0; }
.entete .conteneur, main.conteneur, .pied .conteneur { max-width: 1120px; }
.entete .logo { color: var(--papier); font-size: 23px; }
.logo::before { content: ""; display: inline-block; width: 22px; height: 9px; margin-right: 10px; vertical-align: 2px; border-radius: 5px 5px 2px 2px;
  background: repeating-linear-gradient(90deg, var(--jaune) 0 2px, var(--ardoise-nuit) 2px 4px); box-shadow: 0 0 0 1.5px var(--papier); }
.entete nav a { color: #d6e2ea; font-family: var(--mono); font-size: 14px; }
.entete nav a:hover { color: var(--jaune); }

/* Tête de page : parquet en lumière d'ardoise + trace de balayage */
.hero { color: #fff; background-color: var(--ardoise);
  background-image: var(--balayage),
    repeating-linear-gradient(90deg, transparent 0 118px, rgba(0,0,0,.28) 118px 120px),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(0,0,0,.16) 46px 47px),
    repeating-linear-gradient(90deg, var(--ardoise) 0 60px, var(--ardoise-2) 60px 120px);
  background-size: 100% 100%, auto, auto, auto; background-repeat: no-repeat, repeat, repeat, repeat; }
.hero-in { max-width: 1120px; margin: 0 auto; padding: 20px 16px 32px; }
.hero h1 { font-size: clamp(32px, 5.4vw, 54px); line-height: 1.06; max-width: 20ch; margin: 18px 0; }
.hero .ariane ol { margin: 0; color: #e3ebf0; }
.hero .ariane a, .hero .meta a { color: inherit; }
.hero .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; color: #e3ebf0; }
.auteur { display: inline-flex; align-items: center; gap: 8px; }
.auteur img { border-radius: 50%; box-shadow: 0 0 0 1.5px var(--papier); }
.hero-intro p { font-size: 19px; max-width: 46ch; }
.hero-intro a { color: var(--jaune); }

/* Plinthe en bois clair graduée sous la tête de page */
.cote { --x: max(16px, calc(50% - 544px)); position: relative; height: 36px; color: var(--encre); font-size: 12px;
  background: linear-gradient(to bottom, var(--bois-2) 0 3px, var(--bois) 3px); border-bottom: 2px solid var(--bois-fonce); }
.cote .echelle { position: absolute; left: var(--x); top: 9px; width: 120px; height: 6px; border: 1.5px solid var(--encre);
  background: repeating-linear-gradient(90deg, var(--encre) 0 30px, var(--papier) 30px 60px); }
.cote span:not(.echelle) { position: absolute; top: 17px; transform: translateX(-50%); }
.cote span:nth-child(2) { left: calc(var(--x) + 1px); }
.cote span:nth-child(3) { left: calc(var(--x) + 61px); }
.cote span:nth-child(4) { left: calc(var(--x) + 128px); }

/* Accueil et rubriques : le plan de la pièce, le sillage se dessine */
.hero-grille { display: grid; gap: 24px; align-items: center; }
.plan { width: 100%; max-width: 340px; justify-self: center; filter: drop-shadow(4px 5px 0 rgba(0,0,0,.25)); }
.pl-feuille { fill: var(--papier); stroke: var(--encre); stroke-width: 1.5; }
.pl-sol { fill: url(#lames); }
.pl-lame-a { fill: var(--bois); }
.pl-lame-b { fill: #e3cda9; }
.pl-joint { stroke: var(--bois-2); stroke-width: 1; }
.pl-mur { fill: none; stroke: var(--encre); stroke-width: 6; stroke-linejoin: miter; }
.pl-porte { fill: none; stroke: var(--encre); stroke-width: 1.2; stroke-dasharray: 3 3; }
.pl-meuble { fill: var(--lin-2); stroke: var(--encre); stroke-width: 1.2; }
.pl-tapis { fill: var(--eucalyptus); fill-opacity: .55; stroke: var(--eucalyptus-texte); stroke-width: 1.2; }
.pl-sillage { fill: none; stroke: var(--ardoise); stroke-opacity: .32; stroke-width: 22; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1000; stroke-dashoffset: 0; animation: sillage 24s linear infinite; }
.pl-trace { fill: none; stroke: var(--ardoise); stroke-width: 1.4; stroke-dasharray: 2 4; }
.pl-balai { offset-path: path("M70 90H250V122H70V154H250V186H70V218H170"); offset-rotate: auto; offset-distance: 100%; animation: balai 24s linear infinite; }
.pl-balai rect { fill: var(--jaune); stroke: var(--encre); stroke-width: 1.5; }
.pl-base { fill: var(--encre); }
.pl-cote { font-family: var(--mono); font-size: 10px; fill: var(--gris); }
.pl-charge { font-family: var(--mono); font-size: 11px; fill: var(--encre); }
.pl-batterie rect { fill: none; stroke: var(--encre); stroke-width: 1.2; }
.pl-batterie .pl-niveau { fill: var(--eucalyptus-texte); stroke: none; transform-box: fill-box; transform-origin: left; animation: batterie 24s linear infinite; }
@keyframes sillage { from { stroke-dashoffset: 1000; } 85%, to { stroke-dashoffset: 0; } }
@keyframes balai { from { offset-distance: 0%; } 85%, to { offset-distance: 100%; } }
@keyframes batterie { from { transform: scaleX(1); } 85%, to { transform: scaleX(.08); } }
@media (prefers-reduced-motion: reduce) { .pl-sillage, .pl-balai, .pl-batterie .pl-niveau { animation: none; } }
@media (min-width: 900px) { .hero-grille { grid-template-columns: 1fr 340px; } }

/* Mise en page : lecture + colonne collante sur grand écran */
.mise-en-page { display: grid; gap: 48px; margin-top: 8px; }
.mise-en-page > article { min-width: 0; }
.colonne { display: none; }
@media (min-width: 1040px) {
  .mise-en-page { grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; }
  .colonne { display: block; }
  .colonne-in { position: sticky; top: 24px; display: grid; gap: 24px; padding-top: 24px; }
  .mobile-seul { display: none; }
}
.carte-choix { background: var(--papier); border: 1.5px solid var(--encre); border-radius: 6px; padding: 16px; box-shadow: 5px 5px 0 var(--ardoise); }
.carte-choix p { margin: 0 0 8px; }
.carte-label { display: inline-block; color: var(--eucalyptus-texte); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.carte-nom { font-size: 24px; line-height: 1.12; }
.carte-pourqui { font-size: 16px; color: var(--gris); }
.carte-choix .bouton { display: block; text-align: center; }
.sommaire-lateral p { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--gris); margin: 0 0 8px; }
.sommaire-lateral ol { margin: 0; padding-left: 18px; font-size: 15px; line-height: 1.5; }
.sommaire-lateral li { margin-bottom: 6px; }

/* Boutons jaunes : bordure d'encre, ombre décalée qui s'enfonce au clic */
.bouton { background: var(--jaune); color: var(--encre); border: 2px solid var(--encre); border-radius: 6px; box-shadow: 3px 3px 0 var(--encre);
  font-family: var(--titre); font-weight: 700; transition: transform .08s, box-shadow .08s; }
.bouton:hover { filter: none; transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--encre); }
.bouton:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--encre); }
@media (prefers-reduced-motion: reduce) { .bouton { transition: none; } }

.avertissement { font-size: 13px; background: transparent; border: 1px dashed var(--bois-fonce); border-radius: 4px; color: var(--gris); }
.sommaire { background: var(--papier); border: 1.5px solid var(--encre); border-radius: 6px; }

/* Choix rapide : des carreaux de sol */
.choix { gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.choix-carte { background: var(--papier); border: 1.5px solid var(--encre); border-radius: 6px; padding: 14px; }
.choix-label { color: var(--eucalyptus-texte); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.choix-nom { font-size: 19px; line-height: 1.15; }
.choix-nom a { color: var(--encre); }
.choix-pourqui { font-size: 15px; color: var(--gris); }

/* Fiches produit : étiquette énergie (numéro dans la flèche de classe) */
.produit { background: var(--papier); border: 1.5px solid var(--encre); border-radius: 6px; padding: 30px 20px 18px; margin: 48px 0;
  box-shadow: 6px 6px 0 var(--lin-2); border-top: 10px solid var(--ardoise); }
.produit-rang { top: -24px; left: 18px; height: 34px; min-width: 52px; padding: 0 18px 0 12px; box-sizing: border-box; display: grid; place-items: center start;
  background: var(--eucalyptus-texte); color: #fff; border: 0; border-radius: 0; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
  font-family: var(--mono); font-weight: 500; font-size: 16px; }
.produit-choix { color: var(--eucalyptus-texte); font-size: 12px; letter-spacing: .1em; }
.produit-nom { font-size: 28px; line-height: 1.1; }
.produit-cat { background: var(--lin-2); color: var(--encre); font-size: 11px; padding: 3px 9px; border-radius: 3px; letter-spacing: .06em; }
.jauge > span:first-child { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); }
.jauge-barre { background: var(--lin-2); border: 1px solid var(--encre); }
.jauge-barre span { background: linear-gradient(90deg, #2f6650, #6f9e89 60%, #c9b24a); }
.produit-specs { gap: 0; background: transparent; margin: 14px 0; border-top: 1.5px solid var(--encre); }
.produit-specs div { padding: 8px 10px; border-bottom: 1px solid var(--lin-2); }
.produit-specs dt { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); }
.produit-specs dd { font-family: var(--mono); }
.plus li::marker { color: var(--eucalyptus-texte); }
.moins li::marker { color: var(--bois-fonce); }

/* L'avis d'Octave : étiquette d'entretien cousue (bord piqué, symboles) */
blockquote { position: relative; background: #fff; border: 1.5px solid var(--encre); border-radius: 3px; outline: 1px dashed var(--gris); outline-offset: -7px;
  padding: 20px 22px 16px 22px; margin: 32px 0; font-size: 18px; box-shadow: 3px 3px 0 var(--lin-2); }
blockquote::before { content: "◯ △ ⊠ ◻"; display: block; font-family: var(--mono); font-size: 13px; letter-spacing: .4em; color: var(--gris); margin-bottom: 6px; }
blockquote strong:first-child { font-family: var(--titre); color: var(--ardoise); }

/* Quiz : sur l'ardoise, une question à la fois */
.quiz { color: #fff; border: 1.5px solid var(--encre); border-radius: 6px; padding: 22px; background-color: var(--ardoise);
  background-image: repeating-linear-gradient(90deg, var(--ardoise) 0 48px, var(--ardoise-2) 48px 96px); }
.quiz-titre { font-size: 24px; }
.quiz-progres { background: rgba(255,255,255,.25); height: 6px; }
.quiz-progres span { background: var(--jaune); }
.quiz legend { color: var(--jaune); font-size: 13px; margin-bottom: 10px; }
.quiz label { display: flex; gap: 12px; align-items: center; background: rgba(0,0,0,.2); border: 1.5px solid rgba(255,255,255,.45); border-radius: 6px;
  padding: 10px 14px; margin-bottom: 10px; font-size: 17px; }
.quiz label:hover { border-color: var(--jaune); }
.quiz input { accent-color: var(--jaune); width: 18px; height: 18px; flex-shrink: 0; }
.quiz-resultat { border-top: 0; margin-top: 0; padding-top: 0; }
.quiz-verdict { font-size: 22px; }
.quiz-resultat a:not(.bouton) { color: var(--jaune); }

/* Tableau et filtres */
.tableau { border: 1.5px solid var(--encre); border-radius: 6px; background: var(--papier); }
thead th { background: var(--ardoise-nuit); color: #e3ebf0; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
tbody tr { border-color: var(--lin-2); }
tbody tr:hover { background: var(--lin); }
tbody th a { color: var(--encre); font-family: var(--titre); font-weight: 600; }
tbody td { font-family: var(--mono); font-size: 15px; }
.filtres button { background: var(--papier); border: 1.5px solid var(--encre); color: var(--encre); font-size: 13px; }
.filtres button[aria-pressed="true"] { background: var(--jaune); color: var(--encre); }

/* Schémas à l'échelle : sur carrelage clair */
.volumes { background-color: var(--papier); border: 1.5px solid var(--encre); border-radius: 6px; padding: 16px;
  background-image: linear-gradient(rgba(47,72,88,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(47,72,88,.08) 1px, transparent 1px);
  background-size: 24px 24px; }

.faq details { border-bottom: 1px solid var(--bois-2); }
.proches, .cartes li { background: var(--papier); border: 1.5px solid var(--encre); border-radius: 6px; }
.cartes li { box-shadow: 4px 4px 0 var(--bois); }
.cartes a { color: var(--encre); }
.groupe h2 a { color: var(--encre); text-decoration-color: var(--jaune); text-decoration-thickness: 3px; }
.barre-choix { background: var(--ardoise-nuit); color: #fff; border: 0; }
.pied { background: var(--ardoise-nuit); color: #ccd8e0; border: 0; }
.pied .mention { color: #fff; }
.pied a { color: #fff; }
