/* ============================================================
   Leker — site HTML autonome
   Identité validée le 16.09.2026 (proposition « C7 + C1 ») :
   Poppins, beige #EDE2D1, rouge #F41200, encre cacao, photos de Xavier.
   ============================================================ */

:root {
  --papier: #FFFFFF;          /* sections claires */
  --beige: #EDE2D1;           /* le beige du site actuel */
  --beige-2: #E4D6C1;         /* filets sur beige */
  --encre: #241512;           /* brun cacao très sombre : texte */
  --encre-2: #6E5D52;         /* texte secondaire */
  --filet: #E3DACE;
  --rouge: #F41200;           /* rouge Leker : surfaces et accents */
  --rouge-texte: #B50E00;     /* rouge lisible pour le texte sur fond clair */
  --lait: #C98B57;            /* chocolat au lait, accent des titres sombres */
  --or: #C48D5A;              /* accent des maquettes de Xavier (18.09.2026) : bandeau, boutons, titres */
  --creme: #F6EFE4;           /* texte sur fond sombre */
  --sombre-h: #1E0201;        /* champ rouge-noir, relevé sur la photo du Flocon */
  --sombre-m: #3A0203;
  --sombre-b: #2C0202;
  --pied: #1C110E;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --papier: #1C1714; --beige: #251E18; --beige-2: #362C23; --encre: #EFE7DC; --encre-2: #B4A698;
    --filet: #352C24; --rouge-texte: #FF7A66; --creme: #F6EFE4; --pied: #120C0A; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --papier: #1C1714; --beige: #251E18; --beige-2: #362C23; --encre: #EFE7DC; --encre-2: #B4A698;
  --filet: #352C24; --rouge-texte: #FF7A66; --creme: #F6EFE4; --pied: #120C0A; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--papier); color: var(--encre);
  font: 16px/1.6 Poppins, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--rouge); outline-offset: 3px; }
[id] { scroll-margin-top: 24px; }
.cadre { width: min(1360px, 100%); margin-inline: auto; padding-inline: clamp(20px, 4vw, 56px); }
.evite { position: absolute; left: 8px; top: 8px; z-index: 50; padding: 10px 16px; background: var(--papier); color: var(--encre);
  border-radius: 2px; transform: translateY(-200%); transition: transform 150ms ease; }
.evite:focus { transform: none; }

/* ===== Petits rôles ===== */
.sur-titre { display: flex; align-items: center; gap: 10px; margin: 0 0 14px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--rouge-texte); }
.sur-titre::before { content: ""; width: 8px; height: 8px; background: var(--rouge); flex: none; }
h1, h2, h3 { margin: 0; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 600; line-height: 1.12;
  letter-spacing: -0.015em; text-wrap: balance; }
h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0; }
.chapeau { color: var(--encre-2); font-size: 1.0625rem; line-height: 1.6; text-wrap: pretty; }
.petit { font-size: 0.875rem; color: var(--encre-2); }
.chiffres { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.lien { color: var(--encre); font-weight: 500; text-decoration: underline; text-decoration-color: var(--rouge);
  text-decoration-thickness: 2px; text-underline-offset: 0.28em; transition: color 150ms ease; }
.lien:hover { color: var(--rouge-texte); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 12px 30px;
  border: 1px solid transparent; border-radius: 2px; font: 600 15px/1.2 Poppins, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.02em; text-decoration: none; cursor: pointer; text-align: center;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease; }
/* Maquettes de Xavier (18.09.2026) : le bouton principal est doré, sur fond clair comme sur fond sombre. */
.btn-or, .btn-encre, .btn-blanc { background: var(--or); color: #FFFFFF; }
.btn-or:hover, .btn-encre:hover, .btn-blanc:hover { background: #241512; color: #FFFFFF; }
.btn-contour { border-color: var(--encre); color: var(--encre); background: none; }
.btn-contour:hover { background: var(--encre); color: var(--papier); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }

/* ===== Bandeau doré à la croix suisse, puis en-tête blanc (maquettes de Xavier, 18.09.2026) ===== */
.bandeau-suisse { height: 34px; padding-top: env(safe-area-inset-top, 0px); background: var(--or); display: grid; place-items: center; }
.drapeau { position: relative; width: 26px; height: 26px; background: var(--rouge); }
.drapeau::before, .drapeau::after { content: ""; position: absolute; background: #FFFFFF; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.drapeau::before { width: 5px; height: 16px; }
.drapeau::after { width: 16px; height: 5px; }
.entete { position: relative; z-index: 20; background: #FFFFFF; color: #241512; }
.entete .cadre { display: flex; align-items: center; justify-content: space-between; gap: clamp(16px, 2vw, 32px);
  padding-top: 22px; padding-bottom: 22px; }
.logo { flex: none; }
.logo img { width: clamp(140px, 12.5vw, 200px); height: auto; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 28px); margin-left: auto; }
.nav a { color: #241512; font-size: 15px; font-weight: 500; text-decoration: none; }
.nav a:hover { text-decoration: underline; text-decoration-color: var(--rouge);
  text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--rouge);
  text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.nav .nav-btn { border: 1px solid #241512; border-radius: 2px; padding: 9px 16px; }
.nav .nav-btn:hover { background: #241512; color: #FFFFFF; text-decoration: none; }

/* Sélecteur de langue (FR seul pour l'instant) */
.langue > button { appearance: none; border: 0; border-radius: 2px; background: #F1F1F1; color: #241512; cursor: pointer;
  height: 38px; padding: 0 14px 0 16px; display: inline-flex; align-items: center; gap: 9px;
  font: 600 13px/1 Poppins, "Segoe UI", Arial, sans-serif; letter-spacing: 0.04em; }
.langue > button:hover, .langue > button[aria-expanded="true"] { background: #E6E6E6; }
.langue > button svg { width: 8px; height: 5px; flex: none; }
.langue .nav-panneau { left: auto; right: 0; transform: none; min-width: 190px; }
.langue-courante { display: block; padding: 9px 22px; white-space: nowrap; color: var(--creme); font-size: 14px; font-weight: 600; opacity: 0.7; }

/* Menu déroulant « Professionnels » */
.nav-groupe { position: relative; }
.nav-groupe > button { appearance: none; background: none; border: 0; padding: 8px 0; cursor: pointer;
  font: 500 15px Poppins, "Segoe UI", Arial, sans-serif; color: #241512;
  display: inline-flex; align-items: center; gap: 7px; }
.nav-groupe > button svg { width: 9px; height: 6px; flex: none; transition: transform 0.18s ease; }
#nav-pro > button:hover, #nav-pro > button[aria-expanded="true"],
.nav-groupe:has(a[aria-current="page"]) > button { text-decoration: underline;
  text-decoration-color: var(--rouge); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
#nav-pro > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-panneau { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); z-index: 5;
  min-width: 240px; padding: 12px 0; background: var(--sombre-b); border: 1px solid rgba(246, 239, 228, 0.18);
  border-radius: 2px; box-shadow: 0 24px 48px rgba(20, 2, 1, 0.45); }
.nav-groupe > button[aria-expanded="true"] + .nav-panneau { display: block; }
.nav-panneau a { display: block; padding: 9px 22px; white-space: nowrap; color: var(--creme); font-size: 14px; font-weight: 500; text-decoration: none; }
.nav-panneau a:hover { text-decoration: underline; text-decoration-color: var(--rouge); text-decoration-thickness: 2px; text-underline-offset: 0.35em; }

/* Menu mobile */
.burger { display: none; appearance: none; background: none; border: 1px solid #241512; border-radius: 2px;
  color: #241512; min-width: 48px; min-height: 44px; padding: 8px 14px; font: 600 14px Poppins, "Segoe UI", Arial, sans-serif;
  letter-spacing: 0.04em; cursor: pointer; }
.volet { display: none; }
.volet .volet-langue { margin-top: 26px; font-size: 0.9375rem; }
@media (max-width: 980px) {
  .nav, .langue { display: none; }
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .volet { position: fixed; inset: 0; z-index: 40; background: color-mix(in srgb, var(--sombre-h) 92%, #000);
    color: var(--creme); overflow: auto; padding: 24px clamp(20px, 6vw, 40px) 48px; }
  .volet.ouvert { display: block; }
  .volet-tete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
  .volet-tete img { width: 120px; }
  .fermer { appearance: none; background: none; border: 1px solid rgba(246, 239, 228, 0.55); border-radius: 2px;
    color: var(--creme); min-width: 48px; min-height: 44px; font: 600 14px Poppins, sans-serif; cursor: pointer; }
  .volet nav { display: grid; gap: 4px; }
  .volet a { color: var(--creme); text-decoration: none; font-size: 1.25rem; font-weight: 500; padding: 10px 0; }
  .volet a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--rouge); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
  .volet .volet-groupe { margin-top: 22px; font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.6; }
  .volet .volet-sous a { font-size: 1.0625rem; padding: 8px 0; display: block; }
  .volet .btn { margin-top: 28px; width: 100%; }
  .volet .lien-clair { font-size: 1rem; text-decoration: underline; text-decoration-color: var(--rouge); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
}

/* ===== Bandeau de tête des pages intérieures ===== */
.page-tete { position: relative; overflow: clip; color: var(--creme);
  background: linear-gradient(180deg, var(--sombre-h), var(--sombre-m) 62%, var(--sombre-b)); }
.page-tete .cadre { position: relative; z-index: 1; padding-top: clamp(56px, 8vh, 96px); padding-bottom: clamp(48px, 7vh, 80px); }
.page-tete .sur-titre { color: var(--creme); opacity: 0.85; }
.page-tete .sur-titre::before { background: var(--rouge); }
.page-tete h1 { font-size: clamp(2.1rem, 1.1rem + 3.1vw, 3.7rem); font-weight: 600; line-height: 1.06;
  letter-spacing: -0.02em; text-wrap: balance; color: #FFFFFF; max-width: 22ch; }
/* La maison : la crête du Mont Blanc en chocolat noir, posée à droite (maquette de Xavier) */
.tete-maison { background: linear-gradient(180deg, #1A0101, #4A0203 62%, #2C0202); }
.tete-maison .cadre { min-height: clamp(440px, 41vw, 620px); display: grid; align-content: center; }
.tete-maison .chapeau { max-width: 27rem; }
.tete-crete { position: absolute; right: -7%; bottom: 0; width: 66%; max-width: 1180px; height: auto; pointer-events: none; }
.page-tete h1 .lait { color: var(--lait); }
.page-tete .chapeau { margin-top: 20px; color: var(--creme); opacity: 0.88; max-width: 34rem; font-size: 1.0625rem; }
.page-tete .actions { margin-top: 30px; }
.page-tete .lien-clair { color: var(--creme); font-size: 15px; font-weight: 500; text-decoration: underline;
  text-decoration-color: var(--rouge); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.page-tete .lien-clair:hover { color: #FFFFFF; }
.fil { margin: 0 0 18px; font-size: 0.8125rem; color: var(--creme); opacity: 0.65; }
.fil a { color: inherit; text-decoration: none; }
.fil a:hover { text-decoration: underline; }

/* ===== Ouverture de l'accueil : le Flocon sur rouge, en plein cadre (maquette de Xavier, 18.09.2026) ===== */
.haut { position: relative; overflow: clip; color: var(--creme); background: #110101; }
.haut-fond { position: absolute; inset: 0; z-index: 0; display: block; }
.haut-fond img { width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.haut .cadre { position: relative; z-index: 1; display: grid; align-content: center;
  min-height: clamp(460px, 39.4vw, 760px); padding-top: 48px; padding-bottom: 48px; }
.haut-texte { max-width: 34rem; animation: lever 700ms cubic-bezier(0.33, 0, 0.2, 1) both; }
.haut h1 { font-size: clamp(2rem, 1rem + 2.9vw, 3.7rem); font-weight: 600; line-height: 1.06;
  letter-spacing: -0.02em; text-wrap: balance; color: #FFFFFF; max-width: 15ch; }
.haut h1 .lait { color: var(--or); }
.haut-chapeau { margin: 18px 0 0; font-size: 0.9375rem; line-height: 1.6; color: var(--creme); opacity: 0.92; max-width: 34rem; }
.haut-actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.haut .lien-clair { color: var(--creme); font-size: 15px; font-weight: 500; text-decoration: underline;
  text-decoration-color: var(--rouge); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.haut .lien-clair:hover { color: #FFFFFF; }
@keyframes lever { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .haut-texte { animation: none; } }
.statique .haut-texte { animation: none; }

/* ===== Sections ===== */
.section { padding-block: clamp(60px, 7.5vw, 104px); }
.s-blanche { background: var(--papier); }
.s-beige { background: var(--beige); }
.tete-section { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px 64px;
  align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.tete-section .chapeau { max-width: 34rem; justify-self: end; text-align: right; }
/* En-tête de section sur une colonne : titre puis chapeau, à gauche (maquettes de Xavier) */
.tete-section.tete-simple { grid-template-columns: minmax(0, 1fr); }
.tete-simple .chapeau { margin-top: 16px; max-width: 62rem; justify-self: start; text-align: left; }
/* Filet de séparation entre deux sections blanches */
.s-trait { padding-top: 0; }
.s-trait > .cadre::before { content: ""; display: block; grid-column: 1 / -1; border-top: 1px solid var(--encre); margin-bottom: clamp(48px, 6vw, 88px); }
.s-trait > .cadre.duo::before { margin-bottom: 0; }

/* Tuiles de créations */
.tuiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.tuile { display: flex; flex-direction: column; min-width: 0; }
.tuile .tuile-image { display: block; overflow: hidden; background: #FFFFFF; border: 1px solid var(--filet); }
.tuile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 500ms cubic-bezier(0.2, 0, 0.2, 1); }
.tuile a.tuile-image:hover img { transform: scale(1.025); }
.t-suisse img { object-position: 50% 46%; }
/* Tuiles d'étuis : carte blanche carrée, l'étui posé au centre (accueil, maquette de Xavier) */
.tuiles-etuis .tuile-image { aspect-ratio: 1; display: grid; place-items: center; padding: 12%; border-color: #CFCFCF; }
.tuiles-etuis .tuile img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: contain; }
.tuile h3 { margin: 20px 0 0; }
.tuile .idee { margin: 6px 0 0; color: var(--encre-2); font-size: 0.9375rem; line-height: 1.55; max-width: 30rem; }
.tuile .lien { margin-top: 14px; align-self: flex-start; font-size: 0.9375rem; }
.credit { margin: clamp(36px, 5vw, 56px) 0 0; padding-top: 20px; border-top: 1px solid var(--filet);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  color: var(--encre-2); font-size: 0.875rem; }

/* La forme d'abord : le trait devient chocolat (curseur) */
.scene { --coupe: 50%; width: min(620px, 100%); margin-inline: auto; }
.scene-etiquettes { position: relative; height: 26px; font-size: 13px; font-weight: 500; color: var(--encre-2); }
.etiquette { position: absolute; top: 0; white-space: nowrap; }
.et-trait { right: clamp(0px, calc(100% - var(--coupe) + 12px), calc(100% - 4.2em)); }
.et-choc { left: clamp(0px, calc(var(--coupe) + 12px), calc(100% - 5.8em)); }
.scene-boite { position: relative; aspect-ratio: 211.72 / 213.83; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.trace { position: absolute; inset: 0; color: var(--encre); }
.trace svg { display: block; width: 100%; height: 100%; overflow: visible; }
.trace path { vector-effect: non-scaling-stroke; }
.trace .contour { stroke-width: 1.25px; }
.trace .arete { stroke-width: 0.75px; }
.matiere { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--coupe)); }
.matiere img { position: absolute; left: -0.983%; top: -0.917%; width: 101.71%; height: 101.776%; max-width: none; }
.poignee-ligne { position: relative; height: 56px; touch-action: pan-y; }
.tige { position: absolute; top: 0; left: var(--coupe); width: 1px; height: 16px; transform: translateX(-0.5px);
  background: color-mix(in srgb, var(--encre) 40%, transparent); }
.disque { position: absolute; top: 16px; left: var(--coupe); width: 40px; height: 40px; margin-left: -20px; border-radius: 50%;
  background: var(--papier); border: 1px solid var(--encre); color: var(--encre); display: grid; place-items: center;
  cursor: ew-resize; transition: box-shadow 150ms ease; }
.disque:hover { box-shadow: inset 0 0 0 1px var(--encre); }
.disque svg { width: 22px; height: 22px; }
.scene-legende { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; margin: 10px 0 0;
  font-size: 13px; line-height: 1.5; color: var(--encre-2); }
.scene-legende .lien { font-size: 13px; }

/* Nuancier des éditions */
.nuancier { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px);
  margin: 0; padding: 0; list-style: none; }
.nuancier img { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--beige-2); }
.s-blanche .nuancier img { border-color: var(--filet); }
.nuancier .ed { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 14px; }
.nuancier .ed-nom { font-weight: 600; font-size: 1.0625rem; }
.nuancier .ed-fait { color: var(--encre-2); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.nuancier.nuancier-coffrets img { border: 0; background: none; object-fit: contain; }

/* Rituel (Offrir) : trois photos à hauteur naturelle, calées en bas, légendes alignées */
.rituel .tuile { justify-content: flex-end; }
.rituel .tuile img { aspect-ratio: auto; object-fit: contain; }

/* Choix création + chocolat (Offrir) */
.choix-groupe { margin: 26px 0 0; padding: 0; border: 0; }
.choix-groupe legend { padding: 0; margin-bottom: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--encre-2); }
.choix-groupe .opt { display: inline-flex; align-items: center; gap: 8px; margin: 0 22px 0 0; min-height: 44px; font-size: 0.9825rem; font-weight: 500; cursor: pointer; }
.choix-groupe input[type="radio"] { appearance: none; width: 18px; height: 18px; margin: 0; border: 1px solid var(--encre-2); border-radius: 50%; background: var(--papier); cursor: pointer; display: grid; place-items: center; }
.choix-groupe input[type="radio"]::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--rouge); transform: scale(0); transition: transform 120ms ease; }
.choix-groupe input[type="radio"]:checked { border-color: var(--encre); }
.choix-groupe input[type="radio"]:checked::after { transform: scale(1); }
.choix-groupe input[type="radio"]:focus-visible { outline: 2px solid var(--rouge); outline-offset: 2px; }

/* Blocs en deux colonnes (texte + image) */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.duo > img, .duo > figure img { width: 100%; }
/* Les images hautes ne dépassent pas l'écran : on plafonne leur hauteur. */
.duo > img, .duo > figure img { width: auto; max-width: 100%; max-height: 540px; display: block; margin-inline: auto; }
.duo figure { margin: 0; }
.duo .legende { margin-top: 10px; font-size: 0.8125rem; color: var(--encre-2); }
.duo-texte .chapeau { margin-top: 16px; max-width: 30rem; }
.duo-texte .actions { margin-top: 30px; }
.duo-texte .h2 + p { margin-top: 16px; }

/* Encadré honnête */
.honnete { margin: 26px 0 0; padding: 18px 22px; border-left: 3px solid var(--rouge); background: var(--beige); max-width: 30rem; }
.s-beige .honnete { background: var(--papier); }
.honnete p { font-size: 0.9375rem; line-height: 1.55; color: var(--encre-2); }
.honnete p strong { color: var(--encre); font-weight: 600; }

/* Profils professionnels (accueil) */
.profils { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.profil { border-top: 2px solid var(--encre); padding-top: 18px; min-width: 0; }
.profil h3 { font-size: 1.0625rem; }
.profil p { margin: 8px 0 0; color: var(--encre-2); font-size: 0.9075rem; line-height: 1.55; }
.profil .lien { display: inline-block; margin-top: 14px; font-size: 0.9075rem; }

/* Conditions (listes dt/dd) */
.conditions { margin: 28px 0 0; display: grid; gap: 0; border-top: 1px solid var(--filet); }
.s-beige .conditions { border-color: var(--beige-2); }
.conditions > div { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 8px 24px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--filet); }
.s-beige .conditions > div { border-color: var(--beige-2); }
.conditions.deux > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.conditions dt { font-weight: 600; font-size: 0.9825rem; }
.conditions dd { margin: 0; color: var(--encre-2); font-size: 0.9375rem; }
.note { margin-top: 16px; font-size: 0.875rem; color: var(--encre-2); }

/* Étapes de la méthode */
.etapes { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px); counter-reset: etape; }
.etape { min-width: 0; }
.etape-media { aspect-ratio: 1; display: grid; place-items: center; background: var(--papier); border: 1px solid var(--filet); padding: 12px; }
.s-beige .etape-media { border-color: var(--beige-2); }
.etape-media img { width: 100%; height: 100%; object-fit: contain; }
.etape-media svg { width: 88%; height: 88%; color: var(--encre); }
.etape-media svg path { vector-effect: non-scaling-stroke; stroke-width: 1px; }
.etape-mot { padding: 16px; text-align: center; }
.etape-mot p { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  line-height: 2.1; color: var(--encre-2); }
.etape h3 { margin-top: 14px; font-size: 1rem; }
.etape h3::before { counter-increment: etape; content: counter(etape) " · "; color: var(--rouge-texte); font-variant-numeric: tabular-nums; }
.etape p { margin-top: 4px; font-size: 0.875rem; line-height: 1.5; color: var(--encre-2); }

/* ===== La maison, d'après les maquettes de Xavier (18.09.2026) ===== */
/* « La forme est l'affaire de la maison » : titre + rendu à gauche, les deux blocs à droite */
.metier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 96px); align-items: start; }
.metier-gauche img { width: min(100%, 520px); height: auto; margin-top: clamp(20px, 3vw, 40px); }
.metier-droite { display: grid; gap: clamp(28px, 3vw, 44px); padding-top: 6px; }
.metier-droite h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); line-height: 1.2; }
.metier-droite p { margin-top: 12px; max-width: 40ch; color: var(--encre-2); }

/* Méthode en six photos carrées */
.etapes.etapes-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 56px) clamp(20px, 3vw, 48px); }
.etapes-photos .etape img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.etapes-photos .etape h3 { margin-top: 16px; font-size: 1.0625rem; }
.etapes-photos .etape h3::before { content: counter(etape) ". "; color: var(--rouge); }
.etapes-photos .etape-sous { margin-top: 4px; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--encre); }
.etapes-photos .etape p { font-size: 0.9375rem; }

/* Le dessin de dépôt seul, à côté d'un texte */
.trace-seule { position: static; width: min(440px, 100%); margin-inline: auto; aspect-ratio: 211.72 / 213.83; }
.suisse-icone { display: inline-block; width: 1.55em; height: auto; vertical-align: -0.12em; margin-left: 0.35em; }

/* Ce qui est protégé : la marque et les trois étuis en quatre cartes */
.proteges { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.proteges li { aspect-ratio: 1; display: grid; place-items: center; padding: 13%; background: #FFFFFF; border: 1px solid #CFCFCF; }
.proteges img { width: 100%; height: 100%; object-fit: contain; }

/* Une jeune maison : Genève et le Jet d'eau en plein cadre, texte sur un voile blanc */
.jeune { position: relative; overflow: clip; display: grid; align-items: center; min-height: clamp(520px, 52vw, 780px); color: #241512; }
.jeune-fond { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.jeune::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.86) 30%, rgba(255, 255, 255, 0.55) 46%, rgba(255, 255, 255, 0) 60%); }
.jeune .cadre { position: relative; z-index: 2; }
.jeune-texte { max-width: 30rem; }
.jeune-texte > p { color: #3A2B25; }
.jeune h2 { color: #241512; }
.badge-or { display: grid; place-items: center; width: 66px; height: 66px; margin: 34px auto 0; border-radius: 50%; background: #FFFFFF;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.14); }
.badge-or img { width: 50px; height: 50px; }

/* Jalons du parcours (Sur mesure) */
.jalons { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px); counter-reset: jalon; }
.jalons li { border-top: 2px solid var(--encre); padding-top: 14px; min-width: 0; }
.jalons strong { display: block; font-size: 1rem; font-weight: 600; }
.jalons strong::before { counter-increment: jalon; content: counter(jalon) " · "; color: var(--rouge-texte); }
.jalons p { margin-top: 6px; font-size: 0.875rem; line-height: 1.5; color: var(--encre-2); }
.jalons.jalons-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.jalons.jalons-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1060px) { .jalons, .jalons.jalons-4, .jalons.jalons-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .jalons, .jalons.jalons-4, .jalons.jalons-6 { grid-template-columns: minmax(0, 1fr); } }

/* Grande image posée seule — jamais plus large que 900 px, centrée */
.planche-seule { margin: 0; max-width: 900px; margin-inline: auto; }
.planche-seule img { width: 100%; }

/* Image cinéma, bord à bord de l'écran */
.pleine-image { margin: clamp(8px, 1.5vw, 20px) 0 0; width: 100vw; margin-left: calc(50% - 50vw); }
.pleine-image img { display: block; width: 100%; height: auto; aspect-ratio: 2.35 / 1; object-fit: cover; }
.pleine-image figcaption { max-width: 1360px; margin: 12px auto 0; padding-inline: clamp(20px, 4vw, 56px);
  font-size: 0.8125rem; color: var(--encre-2); }
@media (max-width: 760px) {
  .pleine-image img { aspect-ratio: 16 / 10; object-position: 32% 50%; }
}

/* Cotes en grande typographie */
.cotes-typo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px);
  margin: clamp(32px, 5vw, 56px) 0 0; }
.cote-typo { border-top: 1px solid var(--filet); padding-top: 14px; }
.cote-typo dt { font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--encre-2); }
.cote-typo dd { margin: 8px 0 0; font-size: clamp(2.1rem, 1.1rem + 3vw, 3.6rem); font-weight: 600;
  letter-spacing: -0.02em; line-height: 1; color: var(--encre); }
.cote-typo dd span { font-size: 0.44em; font-weight: 500; letter-spacing: 0; color: var(--encre-2); margin-left: 5px; }
.planche-seule figcaption { margin-top: 10px; font-size: 0.8125rem; color: var(--encre-2); }

/* Étagère de coffrets détourés */
.etagere { margin: 32px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; align-items: flex-end; gap: clamp(20px, 4vw, 48px); }
.etagere li { flex: 1 1 200px; max-width: 300px; }
.etagere img { width: 100%; }

/* Gamme : une création, ses trois chocolats */
.gamme { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr); gap: clamp(20px, 3vw, 48px);
  align-items: center; padding: 30px 0; border-top: 1px solid var(--filet); }
.s-beige .gamme { border-color: var(--beige-2); }
.gamme:last-of-type { border-bottom: 1px solid var(--filet); }
.s-beige .gamme:last-of-type { border-color: var(--beige-2); }
.gamme h3 a { text-decoration: none; }
.gamme h3 a:hover { color: var(--rouge-texte); }
.gamme .idee { margin-top: 6px; color: var(--encre-2); font-size: 0.9375rem; }
.gamme .faits { margin-top: 10px; }
.gamme .lien { display: inline-block; margin-top: 12px; font-size: 0.9075rem; }
.gamme-coffrets { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px); align-items: end; }
.gamme-coffrets figure { margin: 0; }
.gamme-coffrets img { width: 100%; height: auto; }
.gamme-coffrets figcaption { margin-top: 8px; font-size: 0.8125rem; color: var(--encre-2); }
@media (max-width: 760px) {
  .gamme { grid-template-columns: minmax(0, 1fr); }
}

/* Questions (FAQ) */
.questions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.question { border-top: 1px solid var(--filet); padding-top: 16px; }
.s-beige .question { border-color: var(--beige-2); }
.question h3 { font-size: 1.0625rem; }
.question p { margin-top: 8px; color: var(--encre-2); font-size: 0.9375rem; line-height: 1.6; }
@media (max-width: 760px) { .questions { grid-template-columns: minmax(0, 1fr); } }

/* Texte courant (pages longues, pages légales) */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem); margin-top: clamp(40px, 5vw, 56px); }
.prose h3 { margin-top: 28px; }
.prose p, .prose li { margin-top: 14px; color: var(--encre-2); font-size: 0.9825rem; line-height: 1.65; }
.prose ul, .prose ol { margin: 14px 0 0; padding-left: 22px; }
.prose strong { color: var(--encre); }
.prose .lien { color: var(--encre); }
.a-completer { background: color-mix(in srgb, var(--rouge) 8%, transparent); border: 1px dashed var(--rouge-texte);
  border-radius: 2px; padding: 2px 6px; font-size: 0.875em; color: var(--rouge-texte); white-space: nowrap; }

/* Formulaire (contact) */
.champs { display: grid; gap: 18px; margin-top: 32px; max-width: 40rem; }
.champ { display: grid; gap: 6px; }
.champ label { font-weight: 600; font-size: 0.9375rem; }
.champ input, .champ select, .champ textarea { appearance: none; border: 1px solid var(--encre-2); border-radius: 2px;
  background: var(--papier); color: var(--encre); font: 400 16px/1.5 Poppins, "Segoe UI", Arial, sans-serif; padding: 12px 14px; }
.champ textarea { min-height: 140px; resize: vertical; }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: 2px solid var(--rouge); outline-offset: 1px; }
.champ .indice { font-size: 0.8125rem; color: var(--encre-2); }

/* Films */
.film { margin: clamp(36px, 5vw, 56px) auto 0; max-width: 960px; }
.film video { display: block; width: 100%; height: auto; background: #000; }
.bande-film { background: linear-gradient(180deg, var(--sombre-b), var(--sombre-h)); color: var(--creme); }
.bande-film .cadre { padding-block: clamp(64px, 8vw, 110px); }
.bande-film .sur-titre { color: var(--creme); opacity: 0.85; }
.bande-film h2 { color: #FFFFFF; }
.bande-film .tete-film { max-width: 960px; margin: 0 auto clamp(24px, 3vw, 36px); }
.bande-film .film { margin-top: 0; }
.bande-film .legende { color: var(--creme); opacity: 0.7; }

/* Bande finale « demande » */
.demande { background: linear-gradient(180deg, var(--sombre-m), var(--sombre-h)); color: var(--creme); }
.demande .cadre { display: grid; justify-items: center; text-align: center; padding-block: clamp(72px, 9vw, 120px); }
.demande .sur-titre { color: var(--creme); opacity: 0.8; justify-content: center; }
.demande h2 { color: #FFFFFF; max-width: 22ch; }
.demande p { margin: 18px 0 0; max-width: 36rem; color: var(--creme); opacity: 0.85; }
.demande .btn { margin-top: 32px; }
.demande .demande-liens { margin-top: 22px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.demande .lien-clair { color: var(--creme); font-size: 0.9375rem; font-weight: 500; text-decoration: underline;
  text-decoration-color: var(--rouge); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.demande .lien-clair:hover { color: #FFFFFF; }
.demande .demande-adresse { margin-top: 22px; font-size: 0.875rem; opacity: 0.6; }

/* ===== Pied de page clair, le relief de la Suisse en filigrane (maquettes de Xavier, 18.09.2026) ===== */
.pied { position: relative; overflow: clip; background: #FFFFFF; color: #241512; }
.pied::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background: url("assets/pied-relief.webp") center 40% / min(1600px, 112%) no-repeat; }
.pied .cadre { position: relative; padding-block: clamp(48px, 6vw, 72px) 32px; }
.pied-haut { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 64px); }
.pied-marque img { width: 120px; height: auto; }
/* champ invisible qui piege les robots : un humain ne le voit jamais */
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pied-marque p { margin-top: 18px; font-size: 0.875rem; line-height: 1.7; }
/* la signature de la marque, sous le logo (19.09.2026) */
.pied-marque .pied-signature { margin-top: 14px; font-size: 0.9375rem; font-weight: 500; line-height: 1.4; }
.pied a { color: #241512; text-decoration: none; }
.pied a:hover { text-decoration: underline; text-decoration-color: var(--rouge); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.pied-marque a { text-decoration: underline; text-decoration-color: var(--rouge); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.pied-colonne p { font-size: 12px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: #241512; margin-bottom: 14px; }
.pied-colonne ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pied-colonne a { font-size: 0.9375rem; }
.pied-bas { margin-top: clamp(36px, 5vw, 56px); padding-top: 20px; border-top: 1px solid #BFBFBF;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 0.8125rem; color: #241512;
  padding-bottom: env(safe-area-inset-bottom, 0px); }

/* ===== Fiches créations ===== */
.legende { margin-top: 10px; font-size: 0.8125rem; color: var(--encre-2); }
.faits { font-size: 0.9375rem; color: var(--encre-2); }
.desir { margin-top: 12px; font-size: 1.0625rem; font-weight: 500; font-style: italic; }
.texte-page p + p { margin-top: 16px; }
.texte-page > p { max-width: 44ch; text-wrap: pretty; color: var(--encre-2); }
.texte-page .h2 + p, .texte-page h2 + p { margin-top: 20px; }

/* Deux portes : offrir / professionnels */
.portes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.portes.portes-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3.5vw, 56px); }
.etapes.etapes-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1060px) {
  .portes.portes-3 { grid-template-columns: minmax(0, 1fr); }
  .etapes.etapes-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .etapes.etapes-3 { grid-template-columns: minmax(0, 1fr); }
}
.porte h3, .porte .h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.125rem); line-height: 1.1; }
.porte > p { margin-top: 16px; max-width: 46ch; color: var(--encre-2); }
.porte .actions { margin-top: 30px; }
.porte .petit { margin-top: 22px; }
.parcours { margin-top: 24px; font-size: 0.875rem; color: var(--encre-2); }

/* Liste fléchée d'offres professionnelles */
.liste-fleches { margin: 32px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--filet); }
.s-beige .liste-fleches { border-color: var(--beige-2); }
.liste-fleches a { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr) auto; align-items: center;
  column-gap: 20px; min-height: 60px; padding: 12px 0; border-bottom: 1px solid var(--filet); color: var(--encre); text-decoration: none; }
.s-beige .liste-fleches a { border-color: var(--beige-2); }
.lf-nom { font-size: 1.0625rem; font-weight: 500; line-height: 1.3; text-decoration: underline; text-decoration-color: transparent;
  text-decoration-thickness: 2px; text-underline-offset: 0.28em; transition: text-decoration-color 150ms ease; }
.lf-fait { font-size: 0.9375rem; line-height: 1.4; color: var(--encre-2); }
.liste-fleches svg { width: 16px; height: 16px; color: var(--encre-2); transition: transform 150ms ease, color 150ms ease; }
.liste-fleches a:hover .lf-nom, .liste-fleches a:focus-visible .lf-nom { text-decoration-color: var(--rouge); }
.liste-fleches a:hover svg { transform: translateX(3px); color: var(--encre); }

/* Deux autres créations, en pied de fiche */
.autres { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.autre-image { display: block; overflow: hidden; border: 1px solid var(--filet); background: #FFFFFF; }
.autre-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 500ms cubic-bezier(0.2, 0, 0.2, 1); }
.autre-image:hover img { transform: scale(1.025); }
.autre h3 { margin-top: 20px; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.autre h3 a { text-decoration: none; }
.autre h3 a:hover { color: var(--rouge-texte); }
.autre .idee { margin-top: 8px; color: var(--encre-2); font-size: 0.9825rem; }
.autre .lien { display: inline-block; margin-top: 14px; font-size: 0.9375rem; }

/* La pièce cotée (Le Flocon) */
.piece-cotee { width: min(560px, 100%); margin-inline: auto; padding: 52px 96px 0 0; }
.pc-cotes { position: relative; }
.pc-boite { position: relative; aspect-ratio: 211.72 / 213.83; }
.pc-boite img { position: absolute; left: -0.983%; top: -0.917%; width: 101.71%; height: 101.776%; max-width: none; }
.cote { position: absolute; display: flex; align-items: center; justify-content: center; color: var(--encre-2);
  font-size: 13px; line-height: 16px; pointer-events: none; }
.cote-trait { position: absolute; }
.cote-trait::before, .cote-trait::after { content: ""; position: absolute; }
.cote-mesure { position: relative; white-space: nowrap; color: var(--encre); background: var(--papier); }
.cote-h { left: 0; right: 0; top: -44px; height: 16px; }
.cote-h .cote-trait { left: 0; right: 0; top: 50%; border-top: 1px solid currentColor; }
.cote-h .cote-trait::before, .cote-h .cote-trait::after { top: -6px; height: 11px; border-left: 1px solid currentColor; }
.cote-h .cote-trait::before { left: 0; }
.cote-h .cote-trait::after { right: 0; }
.cote-h .cote-mesure { padding: 0 10px; }
.cote-v, .cote-p { top: 0; bottom: 0; right: -52px; width: 16px; }
.cote-v .cote-trait, .cote-p .cote-trait { top: 0; bottom: 0; left: 50%; border-left: 1px solid currentColor; }
.cote-v .cote-trait::before, .cote-v .cote-trait::after, .cote-p .cote-trait::before, .cote-p .cote-trait::after { left: -6px; width: 11px; border-top: 1px solid currentColor; }
.cote-v .cote-trait::before, .cote-p .cote-trait::before { top: 0; }
.cote-v .cote-trait::after, .cote-p .cote-trait::after { bottom: 0; }
.cote-v .cote-mesure { writing-mode: vertical-rl; transform: rotate(180deg); padding: 10px 0; }
.cote-p { justify-content: flex-start; }
.cote-p .cote-mesure { position: absolute; left: calc(100% + 6px); background: none; }
.pc-profil-ligne { position: relative; margin-top: 36px; }
.pc-profil { color: var(--encre); }
.pc-profil svg { display: block; width: 100%; height: auto; overflow: visible; }
.pc-profil path { vector-effect: non-scaling-stroke; stroke-width: 1px; }
.pc-profil .arete { stroke-width: 0.75px; }

/* La crête nommée (Le Massif du Mont Blanc) */
.crete-defile { overflow-x: auto; scrollbar-width: thin; }
.crete-in { min-width: 880px; padding-top: 216px; }
.crete-boite { position: relative; }
.crete-boite > img { width: 100%; }
.sommets { margin: 0; padding: 0; list-style: none; }
.sommets li { position: absolute; left: calc(var(--x) * 100%); top: -216px; bottom: calc((1 - var(--y)) * 100%); width: 1px; }
.sommets .filet { position: absolute; left: 0; top: 206px; bottom: -2px; width: 1px;
  background: color-mix(in srgb, var(--encre) 35%, transparent); }
.sommets .nom { position: absolute; left: 50%; top: 0; height: 200px; display: inline-block;
  writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg);
  font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; color: var(--encre-2); }
.sommets .culmen .nom { color: var(--encre); font-weight: 600; }
.crete-indice { display: none; }

/* Strates du Mont Blanc : trois étuis empilés */
.strates { margin: 40px 0 0; padding: 0; list-style: none; display: grid; gap: clamp(20px, 3vw, 32px); }
.strates figure { margin: 0; }
.strates img { width: 100%; }
.strates figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 10px; }
.strates .ed-nom { font-weight: 600; }
.strates .ed-fait { color: var(--encre-2); font-size: 0.875rem; }

/* ===== Tablette ===== */
@media (max-width: 1060px) {
  .tete-section { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .tete-section .chapeau { justify-self: start; text-align: left; }
  .profils { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .etapes, .etapes.etapes-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pied-haut { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tete-crete { width: 76%; right: -12%; }
}

/* ===== Mobile ===== */
@media (max-width: 760px) {
  .haut .cadre { min-height: 0; padding-top: 60vw; padding-bottom: 40px; }
  .haut-fond img { object-position: center top; }
  .haut::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(17, 1, 1, 0) 30%, rgba(17, 1, 1, 0.78) 55%, rgba(17, 1, 1, 0.96) 75%); }
  .haut h1 { max-width: none; }
  .haut-actions .btn { width: 100%; }
  .page-tete .cadre { padding-top: 48px; }
  .tete-maison .cadre { min-height: 0; padding-bottom: 0; }
  .tete-crete { position: static; width: 100%; max-width: none; margin-top: 8px; }
  .metier { grid-template-columns: minmax(0, 1fr); }
  .jeune { min-height: 0; }
  .jeune::before { background: rgba(255, 255, 255, 0.86); }
  .proteges { gap: 12px; }
  .portes, .autres, .duo { grid-template-columns: minmax(0, 1fr); }
  .piece-cotee { padding-right: 84px; }
  .cote-v, .cote-p { right: -46px; }
  .crete-indice { display: inline; }
  .tuiles, .nuancier, .profils, .etapes, .etapes.etapes-photos { grid-template-columns: minmax(0, 1fr); }
  .nuancier { gap: 28px; }
  .duo { grid-template-columns: minmax(0, 1fr); }
  .conditions > div, .conditions.deux > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 0; }
  .actions .btn, .demande .btn { width: 100%; }
  .pied-haut { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}

/* ---------- Bon de commande ---------- */
.bon-groupe { margin-top: 30px; }
.bon-groupe h3 { font-size: 1.125rem; }
.bon-refs { margin-top: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bon-ref { display: grid; grid-template-columns: 56px minmax(0, 1fr) 96px; align-items: center; gap: 12px;
  padding: 10px 12px; border: 1px solid var(--filet); border-radius: 3px; background: var(--papier); cursor: pointer; }
.bon-ref:focus-within { outline: 2px solid var(--rouge); outline-offset: 1px; }
.bon-ref img { width: 56px; height: auto; }
.bon-ref span { font-size: 0.9375rem; font-weight: 600; line-height: 1.35; }
.bon-ref input { width: 96px; min-height: 44px; text-align: center; font: inherit; font-variant-numeric: tabular-nums;
  border: 1px solid var(--encre-2); border-radius: 2px; background: var(--papier); color: var(--encre); padding: 8px 6px; }
.bon-ref input:focus-visible { outline: 2px solid var(--rouge); outline-offset: 1px; }
.bon-total { margin-top: 26px; padding: 16px 22px; background: var(--sombre-b); color: var(--creme); border-radius: 3px;
  display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: baseline; justify-content: space-between;
  position: sticky; bottom: 14px; z-index: 5; }
.bon-total p { margin: 0; font-size: 0.9375rem; }
.bon-total strong { font-size: 1.375rem; color: #FFFFFF; }
#bon-etat { color: var(--lait); }
.bon-total.ok #bon-etat { color: var(--creme); }
.bon-recap { padding: 18px 22px; border-left: 3px solid var(--rouge); background: var(--beige); max-width: 40rem; }
.bon-recap ul { margin: 0; padding: 0 0 0 18px; }
.bon-recap li { font-size: 0.9375rem; line-height: 1.6; }
.bon-recap .faits { color: var(--encre-2); }
@media (max-width: 900px) { .bon-refs { grid-template-columns: 1fr; } }
