:root {
  --papier: #f6efe1;
  --papier-2: #efe5d1;
  --encre: #1b2340;
  --bleu: #1e3f94;
  --bleu-fonce: #142b66;
  --flamme: #e0542a;
  --flamme-fonce: #b83d17;
  --cire: #f4c869;
  --gris: #5d5f6b;
  --ligne: #1b2340;
  --nuit: #0f1220;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Public Sans", system-ui, sans-serif;
  --ombre: 5px 5px 0 var(--encre);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--sans);
  color: var(--encre);
  background-color: var(--papier);
  background-image: radial-gradient(rgba(27,35,64,.07) 1px, transparent 1px);
  background-size: 22px 22px;
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  transition: background-color .8s, color .8s;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

.icon {
  width: 1em; height: 1em;
  display: inline-block;
  vertical-align: -0.15em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Bandeau + entête */
.bandeau {
  background: var(--bleu-fonce);
  color: #e9e4d6;
  font-size: 14px;
  text-align: center;
  padding: 7px 16px;
}
.bandeau a { color: var(--cire); font-weight: 600; text-decoration: none; }
.bandeau .sep { margin: 0 10px; opacity: .5; }

.entete {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 28px;
  padding: 10px clamp(16px, 4vw, 56px);
  background: rgba(246,239,225,.94);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--encre);
}
.logo img { height: 58px; width: auto; }
.menu { display: flex; gap: 26px; margin-left: auto; }
.menu a {
  text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.menu a:hover { border-color: var(--flamme); }
.entete-actions { display: flex; align-items: center; gap: 12px; }
.btn-panne {
  display: flex; align-items: center; gap: 6px;
  background: transparent; border: 2px solid var(--encre); color: var(--encre);
  padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 600;
}
.btn-panne:hover { background: var(--encre); color: var(--papier); }
.btn-panier {
  position: relative; background: var(--bleu); color: #fff; border: 2px solid var(--encre);
  width: 46px; height: 46px; border-radius: 50%; font-size: 20px;
  display: grid; place-items: center; box-shadow: 3px 3px 0 var(--encre);
}
.btn-panier .compte {
  position: absolute; top: -7px; right: -7px;
  background: var(--flamme); color: #fff; font-size: 12px; font-weight: 700;
  min-width: 22px; height: 22px; border-radius: 11px; display: grid; place-items: center;
  border: 2px solid var(--encre);
}
.btn-panier.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.18) rotate(-6deg); } }
.btn-menu { display: none; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; font-weight: 700; font-size: 16px;
  border: 2px solid var(--encre); border-radius: 6px; text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--encre); }
.btn:active { transform: translate(1px,1px); box-shadow: 1px 1px 0 var(--encre); }
.btn-flamme { background: var(--flamme); color: #fff; box-shadow: 4px 4px 0 var(--encre); }
.btn-bleu { background: var(--bleu); color: #fff; box-shadow: 4px 4px 0 var(--encre); }
.btn-ligne { background: var(--papier); color: var(--encre); box-shadow: 4px 4px 0 var(--encre); }
.btn.plein { width: 100%; justify-content: center; }

.surtitre {
  font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--flamme-fonce); margin-bottom: 12px;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 650; line-height: 1.08; letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 4.4vw, 52px); max-width: 18ch; }
h3 { font-size: 28px; }

section { padding: clamp(64px, 9vw, 120px) clamp(16px, 5vw, 72px); position: relative; }
.titre-section { margin-bottom: 48px; }

/* Héros */
.heros {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
  padding-top: clamp(48px, 7vw, 96px);
}
.heros h1 { font-size: clamp(44px, 6.6vw, 92px); font-weight: 700; }
.heros h1 em { font-style: italic; font-weight: 500; color: var(--bleu); }
.chapeau { font-size: 20px; max-width: 34ch; margin: 26px 0 34px; color: #343a52; }
.heros-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.heros-photo { position: relative; transform: rotate(1.5deg); }
.heros-photo img {
  border: 3px solid var(--encre); box-shadow: 10px 10px 0 var(--encre);
  aspect-ratio: 4/4.4; object-fit: cover; object-position: 50% 60%; width: 100%; max-height: 78vh;
}
.etiquette {
  position: absolute; left: -34px; bottom: 34px; transform: rotate(-7deg);
  background: var(--cire); border: 2px solid var(--encre); box-shadow: var(--ombre);
  padding: 18px 26px 16px 38px; display: flex; flex-direction: column;
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%);
}
.etiquette-trou { position: absolute; left: 14px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--papier); border: 2px solid var(--encre); }
.etiquette strong { font-family: var(--serif); font-size: 18px; }
.etiquette-prix { font-family: var(--serif); font-size: 44px; font-weight: 800; line-height: 1; color: var(--flamme-fonce); }
.etiquette-note { font-size: 13px; font-weight: 600; }
.halo {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 1s;
  background: radial-gradient(circle at 72% 55%, rgba(255,170,70,.35), transparent 45%);
}

/* 3 en 1 */
.liste-trois { list-style: none; border-top: 2px solid var(--encre); }
.liste-trois li {
  display: grid; grid-template-columns: 110px 1fr 260px; gap: 32px; align-items: center;
  padding: 30px 0; border-bottom: 2px solid var(--encre);
}
.liste-trois .num { font-family: var(--serif); font-size: 64px; font-weight: 300; font-style: italic; color: var(--flamme); line-height: 1; }
.liste-trois p { max-width: 52ch; color: #343a52; margin-top: 8px; }
.liste-trois img { width: 260px; height: 170px; object-fit: cover; border: 2px solid var(--encre); }
.liste-trois li:nth-child(2) img { transform: rotate(-1.5deg); }
.liste-trois li:nth-child(3) img { transform: rotate(1deg); }

.fiche {
  margin-top: 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border: 3px solid var(--encre); background: #fffaf0; box-shadow: 10px 10px 0 var(--bleu);
}
.fiche-photo img { width: 100%; height: 100%; object-fit: cover; border-right: 3px solid var(--encre); }
.fiche-texte { padding: clamp(24px, 4vw, 48px); }
.fiche dl { margin: 18px 0 24px; }
.fiche dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed rgba(27,35,64,.4); }
.fiche dt { font-weight: 500; }
.fiche dd { font-family: var(--serif); font-weight: 700; white-space: nowrap; }
.atouts { list-style: none; display: grid; gap: 8px; margin-bottom: 28px; }
.atouts li { display: flex; gap: 10px; align-items: baseline; }
.atouts .icon { color: var(--flamme); flex: none; }
.fiche-achat { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.prix-gros { font-family: var(--serif); font-size: 40px; font-weight: 800; }

/* Usages */
.usages { background: var(--nuit); color: #eae5d8; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; }
.titre-section.clair .surtitre { color: var(--cire); }
.usages h2 { max-width: 22ch; }
.usages-rangee { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; align-items: start; }
.usage { background: #fbf6ea; color: var(--encre); padding: 12px 12px 18px; box-shadow: 6px 6px 0 rgba(244,200,105,.8); }
.usage img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.usage figcaption { padding: 14px 6px 0; font-size: 15px; }
.usage strong { display: block; font-family: var(--serif); font-size: 22px; }
.u1 { transform: rotate(-1.5deg); }
.u2 { transform: rotate(1deg); margin-top: 40px; }
.u3 { transform: rotate(-.5deg); margin-top: 12px; }

/* Boutique */
.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filtre {
  background: transparent; border: 2px solid var(--encre); border-radius: 999px;
  padding: 7px 18px; font-weight: 600; font-size: 15px; color: var(--encre);
}
.filtre.actif { background: var(--encre); color: var(--papier); }
.grille-produits { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 34px 28px; }
.produit { display: flex; flex-direction: column; }
.produit-image { position: relative; border: 2px solid var(--encre); background: #fff; overflow: hidden; }
.produit-image img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .4s; }
.produit:hover .produit-image img { transform: scale(1.04); }
.produit-badge {
  position: absolute; top: 10px; left: 10px; background: var(--cire); border: 2px solid var(--encre);
  font-size: 12px; font-weight: 700; padding: 2px 8px; transform: rotate(-3deg);
}
.produit h3 { font-size: 20px; margin: 14px 0 6px; }
.produit p { font-size: 15px; color: #444a60; flex: 1; }
.produit-bas { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding-top: 12px; border-top: 2px solid var(--encre); }
.produit-prix { font-family: var(--serif); font-size: 24px; font-weight: 800; }
.btn-ajout {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bleu); color: #fff; border: 2px solid var(--encre); border-radius: 6px;
  padding: 8px 14px; font-weight: 700; font-size: 14px; box-shadow: 3px 3px 0 var(--encre);
}
.btn-ajout:hover { background: var(--bleu-fonce); }
.btn-ajout.ok { background: #2f7a4b; }
.lien-detail { background: none; border: 0; padding: 0; text-decoration: underline; font-size: 14px; color: var(--gris); margin-top: 8px; align-self: flex-start; }

/* Recharge */
.recharge { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; background: var(--papier-2); border-top: 2px solid var(--encre); border-bottom: 2px solid var(--encre); }
.recharge-photo img { border: 3px solid var(--encre); box-shadow: 10px 10px 0 var(--flamme); transform: rotate(-1.5deg); }
.recharge-texte > p { margin: 20px 0 28px; max-width: 54ch; color: #343a52; }
.calcul { background: #fffaf0; border: 2px solid var(--encre); padding: 22px; box-shadow: var(--ombre); }
.calcul label { font-weight: 700; }
.calcul-ligne { display: flex; align-items: center; gap: 16px; margin: 10px 0 12px; }
.calcul input[type=range] { flex: 1; accent-color: var(--flamme); }
.calcul output { font-family: var(--serif); font-size: 26px; font-weight: 800; min-width: 60px; }
.calcul-resultat { font-size: 16px; }
.calcul-resultat b { color: var(--flamme-fonce); }

/* Histoire */
.histoire { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.note-main {
  background: #fdf3b8; padding: 34px 30px 26px; transform: rotate(-2.5deg);
  box-shadow: 0 2px 0 rgba(0,0,0,.08), 8px 10px 0 rgba(27,35,64,.85); position: relative;
}
.note-main::before {
  content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 28px; margin-left: -55px;
  background: rgba(30,63,148,.28); transform: rotate(3deg);
}
.note-main p { font-family: var(--serif); font-style: italic; font-size: 24px; line-height: 1.35; }
.note-main span { display: block; margin-top: 16px; font-weight: 700; text-align: right; }
.histoire-texte p:not(.surtitre) { margin-top: 18px; max-width: 56ch; color: #343a52; }

/* Avis */
.avis-vides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.avis-place { border: 2px dashed rgba(27,35,64,.45); min-height: 150px; display: grid; place-items: center; color: rgba(27,35,64,.5); font-weight: 600; }

/* Joindre */
.joindre { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; border-top: 2px solid var(--encre); }
.joindre-texte > p:not(.surtitre):not(.todo) { margin: 18px 0 24px; color: #343a52; }
.coord { list-style: none; display: grid; gap: 14px; font-size: 22px; font-family: var(--serif); font-weight: 600; }
.coord li { display: flex; gap: 14px; align-items: center; }
.coord .icon { color: var(--flamme); }
.coord a { text-decoration: none; border-bottom: 2px solid var(--cire); }
.formulaire, .caisse fieldset { display: grid; gap: 16px; }
.formulaire { background: #fffaf0; border: 3px solid var(--encre); padding: clamp(22px, 3vw, 36px); box-shadow: 10px 10px 0 var(--bleu); }
label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.opt { font-weight: 400; color: var(--gris); }
input, textarea {
  font: inherit; font-weight: 400; color: var(--encre); background: #fff;
  border: 2px solid var(--encre); border-radius: 4px; padding: 11px 12px; width: 100%;
}
input:focus, textarea:focus { outline: 3px solid var(--cire); outline-offset: 1px; }
input.erreur, textarea.erreur { border-color: var(--flamme); background: #fff2ee; }
.form-retour { font-weight: 600; min-height: 1.4em; }

/* Pied */
.pied {
  background: var(--encre); color: #d9d4c6; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
  padding: 64px clamp(16px, 5vw, 72px) 28px;
}
.pied img { background: var(--papier); padding: 8px; border-radius: 4px; margin-bottom: 14px; }
.pied h4 { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--cire); margin-bottom: 12px; }
.pied-col a { display: block; text-decoration: none; padding: 3px 0; }
.pied-col a:hover { color: #fff; text-decoration: underline; }
.pied-col a[aria-current] { color: #fff; font-weight: 700; }
.pied-bas { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; font-size: 14px; opacity: .7; }

/* Panier */
.voile { position: fixed; inset: 0; background: rgba(15,18,32,.55); z-index: 40; }
.panier {
  position: fixed; top: 0; right: 0; height: 100%; width: min(440px, 100%); z-index: 50;
  background: var(--papier); border-left: 3px solid var(--encre);
  transform: translateX(105%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
  display: flex; flex-direction: column;
}
.panier.ouvert { transform: none; }
.panier-tete { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 2px solid var(--encre); }
.fermer { background: none; border: 0; font-size: 24px; color: var(--encre); display: grid; place-items: center; }
.panier-etape { padding: 20px 24px; overflow-y: auto; flex: 1; }
.panier-liste { list-style: none; display: grid; gap: 16px; }
.ligne-panier { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding-bottom: 16px; border-bottom: 1px dashed rgba(27,35,64,.4); }
.ligne-panier img { width: 64px; height: 64px; object-fit: cover; border: 2px solid var(--encre); }
.ligne-panier .nom { font-weight: 600; font-size: 15px; line-height: 1.3; }
.qte { display: inline-flex; align-items: center; border: 2px solid var(--encre); border-radius: 4px; margin-top: 6px; }
.qte button { background: none; border: 0; width: 28px; height: 28px; display: grid; place-items: center; color: var(--encre); }
.qte span { min-width: 24px; text-align: center; font-weight: 700; font-size: 14px; }
.ligne-prix { font-family: var(--serif); font-weight: 700; }
.panier-vide { padding: 30px 0; color: var(--gris); }
.panier-totaux { margin-top: 20px; display: grid; gap: 8px; font-size: 15px; }
.panier-totaux > div { display: flex; justify-content: space-between; gap: 12px; }
.panier-totaux > div span:last-child { text-align: right; }
.panier-totaux .total { font-family: var(--serif); font-size: 24px; font-weight: 800; padding-top: 10px; border-top: 2px solid var(--encre); margin: 6px 0 14px; }
.retour { background: none; border: 0; display: flex; align-items: center; gap: 6px; font-weight: 600; margin-bottom: 18px; color: var(--encre); }
.caisse fieldset { border: 0; margin-bottom: 22px; }
.caisse legend { font-family: var(--serif); font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.deux { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choix { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.choix input { width: auto; accent-color: var(--flamme); }
.carte-demo { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 8px; }
.carte-demo span { border: 2px solid var(--encre); border-radius: 4px; padding: 10px; font-size: 13px; color: var(--gris); background: #fff; }
.caisse .todo { margin-bottom: 18px; }
.merci { text-align: center; display: grid; gap: 14px; justify-items: center; align-content: center; }
.icon.gros { font-size: 64px; color: #2f7a4b; stroke-width: 1.6; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(15,18,32,.6); display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-boite { position: relative; background: var(--papier); border: 3px solid var(--encre); box-shadow: 10px 10px 0 var(--encre); max-width: 760px; width: 100%; max-height: 90vh; overflow-y: auto; padding: 32px; }
.modal-boite .fermer { position: absolute; top: 14px; right: 14px; }
.detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 28px; }
.detail img { border: 2px solid var(--encre); }
.detail h3 { margin-bottom: 12px; padding-right: 24px; }
.detail p { margin-bottom: 14px; color: #343a52; }
.modal-boite h3 + p { margin-top: 0; }
.politique h3 { margin-bottom: 16px; }
.politique p { margin-bottom: 12px; }

/* Notes « à brancher » */
.todo {
  margin-top: 18px; background: #e7eefc; border: 2px solid var(--bleu); border-left-width: 8px;
  padding: 10px 14px; font-size: 14px; color: var(--bleu-fonce); max-width: 64ch;
}
.todo strong { display: block; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; margin-bottom: 2px; }
.todo-clair { background: rgba(231,238,252,.95); }
.bascule-notes {
  position: fixed; left: 16px; bottom: 16px; z-index: 35;
  background: var(--bleu); color: #fff; border: 2px solid var(--encre); border-radius: 999px;
  padding: 8px 16px; font-size: 13px; font-weight: 700; box-shadow: 3px 3px 0 var(--encre);
}
body.sans-notes .todo { display: none; }

/* Mode panne */
body.panne { background-color: #14151d; color: #e6dfcf; background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px); }
body.panne .entete { background: rgba(20,21,29,.94); border-color: #3a3c4a; }
body.panne .logo img, body.panne .pied img { filter: brightness(.85); }
body.panne .menu a, body.panne .btn-panne { color: #e6dfcf; border-color: #e6dfcf; }
body.panne .btn-panne { background: var(--cire); color: var(--encre); border-color: var(--cire); }
body.panne .chapeau, body.panne .liste-trois p, body.panne .recharge-texte > p, body.panne .histoire-texte p:not(.surtitre), body.panne .joindre-texte > p:not(.surtitre):not(.todo), body.panne .produit p { color: #b9b3a5; }
body.panne .heros h1 em { color: var(--cire); }
body.panne .halo { opacity: 1; }
body.panne .heros-photo img { box-shadow: 0 0 80px rgba(255,160,60,.45), 10px 10px 0 #000; }
body.panne .liste-trois, body.panne .liste-trois li, body.panne .joindre, body.panne .produit-bas { border-color: #3a3c4a; }
body.panne .recharge { background: #1b1c26; border-color: #3a3c4a; }
body.panne .filtre { color: #e6dfcf; border-color: #e6dfcf; }
body.panne .filtre.actif { background: #e6dfcf; color: var(--encre); }
body.panne .fiche, body.panne .calcul, body.panne .formulaire { color: var(--encre); }
body.panne .avis-place { border-color: #4a4c5c; color: #6d6f7e; }
body.panne .coord a { color: #e6dfcf; }
body.panne .produit-image img, body.panne .liste-trois img { filter: brightness(.8) sepia(.25); }

/* Responsive */
@media (max-width: 1080px) {
  .menu { gap: 18px; }
  .btn-panne span { display: none; }
  .btn-panne { width: 46px; height: 46px; justify-content: center; padding: 0; font-size: 18px; }
}
@media (max-width: 900px) {
  .btn-menu { display: grid; gap: 6px; width: 46px; height: 46px; place-content: center; background: none; border: 2px solid var(--encre); border-radius: 50%; }
  .btn-menu span { width: 20px; height: 2px; background: currentColor; display: block; }
  body.panne .btn-menu { border-color: #e6dfcf; color: #e6dfcf; }
  .entete { gap: 12px; }
  .entete-actions { margin-left: auto; }
  .menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--papier); border-bottom: 2px solid var(--encre); display: none; margin: 0;
  }
  body.panne .menu { background: #14151d; }
  .menu.ouvert { display: flex; }
  .menu a { padding: 14px clamp(16px, 4vw, 56px); border-bottom: 1px solid rgba(27,35,64,.15); }
  .heros, .recharge, .histoire, .joindre { grid-template-columns: 1fr; }
  .heros-photo { margin: 0 6px 0 22px; }
  .heros-photo img { aspect-ratio: 1; max-height: none; }
  .liste-trois li { grid-template-columns: 64px 1fr; }
  .liste-trois .num { font-size: 44px; }
  .liste-trois img { grid-column: 2; width: 100%; height: 200px; }
  .fiche { grid-template-columns: 1fr; }
  .fiche-photo img { border-right: 0; border-bottom: 3px solid var(--encre); aspect-ratio: 4/3; }
  .usages-rangee { grid-template-columns: 1fr; gap: 32px; }
  .u2, .u3 { margin-top: 0; }
  .avis-vides { grid-template-columns: 1fr; }
  .avis-place { min-height: 90px; }
  .pied { grid-template-columns: 1fr 1fr; }
  .pied-col:first-child { grid-column: 1 / -1; }
  .detail { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .bandeau .sep, .bandeau span:first-child { display: none; }
  .logo img { height: 46px; }
  .etiquette { left: -14px; bottom: 18px; padding: 12px 18px 10px 32px; }
  .etiquette-prix { font-size: 34px; }
  .heros-photo img { box-shadow: 6px 6px 0 var(--encre); }
  .fiche, .formulaire { box-shadow: 6px 6px 0 var(--bleu); }
  .deux, .carte-demo { grid-template-columns: 1fr; }
  .modal-boite { padding: 24px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ===== Multipage ===== */
a.btn-panier { text-decoration: none; }
.menu a[aria-current="page"] { border-color: var(--flamme); color: var(--flamme-fonce); }
body.panne .menu a[aria-current="page"] { color: var(--cire); border-color: var(--cire); }
select {
  font: inherit; font-weight: 400; color: var(--encre); background: #fff;
  border: 2px solid var(--encre); border-radius: 4px; padding: 11px 12px; width: 100%;
}
.cadre { background: #fffaf0; border: 3px solid var(--encre); box-shadow: 8px 8px 0 var(--bleu); padding: clamp(22px, 3vw, 36px); color: var(--encre); }

.page-tete { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(28px, 4vw, 48px); border-bottom: 2px solid var(--encre); }
.page-tete h1 { font-size: clamp(38px, 5.4vw, 72px); max-width: 20ch; }
.page-tete .chapeau { margin-bottom: 0; max-width: 52ch; }
.page-tete-court { padding-bottom: 0; border-bottom: 0; }
body.panne .page-tete { border-color: #3a3c4a; }
.fil { font-size: 14px; color: var(--gris); margin-bottom: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.fil a { color: var(--gris); }
.fil span[aria-current] { color: var(--encre); font-weight: 600; }
body.panne .fil, body.panne .fil a { color: #8f8a7e; }
body.panne .fil span[aria-current] { color: #e6dfcf; }

.entete-lien { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--bleu); text-decoration: none; border-bottom: 2px solid var(--cire); padding-bottom: 2px; background: none; border-top: 0; border-left: 0; border-right: 0; font-size: 16px; }
.lien-fleche:hover { color: var(--flamme-fonce); }
body.panne .lien-fleche { color: var(--cire); }
.histoire-texte .lien-fleche { margin-top: 22px; }
.btn.centre { margin: 48px auto 0; display: flex; width: fit-content; }

.produit-image { display: block; }
.produit h3 a { text-decoration: none; }
.produit h3 a:hover { text-decoration: underline; text-decoration-color: var(--flamme); }

.appel { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; background: var(--bleu); color: #fff; border-top: 3px solid var(--encre); }
.appel h2 { max-width: 22ch; }
.appel p { margin-top: 10px; opacity: .85; }
.appel-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Le cube */
.cube-achat { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.galerie-grande img { border: 3px solid var(--encre); box-shadow: 8px 8px 0 var(--encre); aspect-ratio: 4/3.4; object-fit: cover; width: 100%; }
.galerie-vignettes { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 18px; }
.vignette { border: 2px solid var(--encre); padding: 0; background: #fff; opacity: .65; transition: opacity .2s, transform .2s; }
.vignette img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.vignette.actif, .vignette:hover { opacity: 1; transform: translateY(-3px); }
.vignette.actif { box-shadow: 3px 3px 0 var(--flamme); }
.cube-achat .fiche-texte > p:not(.prix-gros) { margin: 8px 0 22px; color: #343a52; }
.cube-achat h3 { font-size: 22px; }
.fiche-texte dl { margin: 12px 0 24px; }
.fiche-texte dl div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed rgba(27,35,64,.4); }
.fiche-texte dd { font-family: var(--serif); font-weight: 700; white-space: nowrap; }
.achat-ligne { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
.qte-grande { margin: 0; height: 50px; background: #fff; }
.qte-grande button { width: 42px; height: 100%; font-size: 22px; font-weight: 600; }
.qte-grande input { width: 52px; border: 0; text-align: center; font-weight: 700; padding: 0; height: 100%; -moz-appearance: textfield; }
.qte-grande input::-webkit-inner-spin-button { -webkit-appearance: none; }
.atouts a { font-weight: 700; }
.atouts .icon { color: var(--flamme); flex: none; }
.atouts-ligne { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 36px; }

.faq-liste { border-top: 2px solid var(--encre); max-width: 860px; }
.faq details { border-bottom: 2px solid var(--encre); padding: 20px 0; }
.faq summary { font-family: var(--serif); font-size: 22px; font-weight: 650; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--flamme); font-size: 28px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; max-width: 64ch; color: #343a52; }
body.panne .faq-liste, body.panne .faq details { border-color: #3a3c4a; }
body.panne .faq details p { color: #b9b3a5; }

/* Boutique */
.boutique { padding-top: 40px; }
.reassurance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 2px solid var(--encre); padding-top: 0; padding-bottom: 0; }
.reassurance > div { display: grid; gap: 4px; padding: 36px 24px; border-right: 2px solid var(--encre); }
.reassurance > div:last-child { border-right: 0; }
.reassurance .icon { font-size: 28px; color: var(--flamme); margin-bottom: 6px; }
.reassurance strong { font-family: var(--serif); font-size: 20px; }
.reassurance span { color: var(--gris); font-size: 15px; }
body.panne .reassurance, body.panne .reassurance > div { border-color: #3a3c4a; }

/* Produit */
.produit-page { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; padding-top: 28px; }
.produit-photo img { border: 3px solid var(--encre); box-shadow: 8px 8px 0 var(--encre); aspect-ratio: 1; object-fit: cover; width: 100%; background: #fff; }
.produit-page h1 { font-size: clamp(30px, 3.6vw, 46px); margin-bottom: 12px; }
#pDesc p { margin-bottom: 14px; color: #343a52; }
#pDesc { margin: 14px 0 24px; }

/* Recharge */
.calcul .btn { margin-top: 16px; }
.etapes { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.etapes li { border-top: 3px solid var(--encre); padding-top: 18px; }
.etapes .num { font-family: var(--serif); font-size: 48px; font-style: italic; font-weight: 300; color: var(--flamme); line-height: 1; }
.etapes h3 { font-size: 22px; margin: 10px 0 8px; }
.etapes p { color: #343a52; font-size: 16px; }
body.panne .etapes li { border-color: #3a3c4a; }
body.panne .etapes p { color: #b9b3a5; }

/* Histoire */
.mission { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: center; background: var(--papier-2); border-top: 2px solid var(--encre); border-bottom: 2px solid var(--encre); }
.mission-photo img { border: 3px solid var(--encre); box-shadow: 10px 10px 0 var(--flamme); transform: rotate(1.2deg); }
.mission p:not(.surtitre) { margin: 18px 0; max-width: 56ch; color: #343a52; }
.mission .btn { margin-top: 10px; }
body.panne .mission { background: #1b1c26; border-color: #3a3c4a; }
body.panne .mission p:not(.surtitre) { color: #b9b3a5; }
.contact-noms { margin-top: 22px; font-weight: 600; }
.pied-tel a { color: var(--cire); font-weight: 700; text-decoration: none; }
.pied-col p { margin-bottom: 8px; }
.pied-bas a { color: inherit; }

/* Panier */
.panier-page { padding-top: 36px; }
.etapes-commande { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.etapes-commande span { border: 2px solid var(--encre); border-radius: 999px; padding: 6px 16px; font-weight: 600; font-size: 14px; opacity: .45; }
.etapes-commande span.actif { opacity: 1; background: var(--encre); color: var(--papier); }
body.panne .etapes-commande span { border-color: #e6dfcf; }
.panier-grille { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.panier-page .ligne-panier { grid-template-columns: 96px 1fr auto auto; gap: 18px; padding: 18px 0; border-bottom: 2px solid var(--encre); }
.panier-page .panier-liste { gap: 0; border-top: 2px solid var(--encre); }
.panier-page .ligne-panier img { width: 96px; height: 96px; }
.panier-page .ligne-panier .nom { font-family: var(--serif); font-size: 19px; }
.panier-page .ligne-panier .nom a { text-decoration: none; }
.prix-unite { font-size: 14px; color: var(--gris); }
.retirer { background: none; border: 0; color: var(--gris); text-decoration: underline; font-size: 13px; }
body.panne .panier-page .ligne-panier, body.panne .panier-page .panier-liste { border-color: #3a3c4a; }
.panier-page .panier-totaux { margin-top: 0; font-size: 16px; position: sticky; top: 100px; }
.panier-page .panier-totaux h3 { font-size: 24px; margin-bottom: 8px; }
.panier-page .panier-totaux .lien-fleche { justify-self: center; margin-top: 4px; }
.panier-vide { display: grid; gap: 18px; justify-items: start; }
.resume-liste { list-style: none; display: grid; gap: 8px; font-size: 15px; padding-bottom: 12px; border-bottom: 1px dashed rgba(27,35,64,.4); }
.resume-liste li { display: flex; justify-content: space-between; gap: 12px; }
.caisse .todo { margin-top: 0; }
.panier-page .merci { max-width: 560px; margin: 0 auto; }

/* Politiques */
.politiques { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.politiques-nav { display: grid; gap: 6px; position: sticky; top: 100px; }
.politiques-nav a { font-weight: 600; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.politiques-nav a:hover { border-color: var(--flamme); }
.politiques-texte article { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 2px solid var(--encre); max-width: 70ch; }
.politiques-texte h2 { font-size: 34px; margin-bottom: 18px; }
.politiques-texte p:not(.todo) { margin-bottom: 14px; color: #343a52; }
body.panne .politiques-texte article { border-color: #3a3c4a; }
body.panne .politiques-texte p:not(.todo) { color: #b9b3a5; }

/* Toast */
.toast {
  position: fixed; right: 20px; bottom: 20px; z-index: 70; display: flex; align-items: center; gap: 12px;
  background: var(--encre); color: #fff; padding: 14px 18px; border-radius: 8px; box-shadow: 5px 5px 0 var(--flamme);
  font-weight: 600; animation: monte .3s ease-out;
}
.toast .icon { color: #7fd69c; }
.toast a { color: var(--cire); }
@keyframes monte { from { transform: translateY(20px); opacity: 0; } }

@media (max-width: 900px) {
  .cube-achat, .produit-page, .panier-grille, .mission, .politiques { grid-template-columns: 1fr; }
  .galerie-vignettes { grid-template-columns: repeat(4, 1fr); }
  .etapes { grid-template-columns: 1fr 1fr; }
  .reassurance { grid-template-columns: 1fr; }
  .reassurance > div { border-right: 0; border-bottom: 2px solid var(--encre); padding: 24px 0; }
  .politiques-nav { position: static; display: flex; flex-wrap: wrap; gap: 8px 18px; }
  .panier-page .panier-totaux { position: static; }
}
@media (max-width: 520px) {
  .etapes { grid-template-columns: 1fr; }
  .panier-page .ligne-panier { grid-template-columns: 72px 1fr auto; }
  .panier-page .ligne-panier img { width: 72px; height: 72px; }
  .panier-page .ligne-panier .ligne-prix { grid-column: 2 / -1; justify-self: start; }
  .toast { left: 16px; right: 16px; bottom: 70px; flex-wrap: wrap; }
}
a.etiquette { text-decoration: none; color: var(--encre); transition: transform .2s; }
a.etiquette:hover { transform: rotate(-4deg) scale(1.04); }
a[href^="tel:"] { white-space: nowrap; }

/* Légal */
.avis-collecte { font-size: 13px; color: var(--gris); line-height: 1.5; }
.avis-collecte a { color: var(--bleu); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 14px; line-height: 1.45; padding: 10px; border: 2px solid transparent; border-radius: 4px; }
.consent input { width: 18px; height: 18px; flex: none; margin-top: 1px; accent-color: var(--flamme); }
.consent.erreur { border-color: var(--flamme); background: #fff2ee; }
.consent a { color: var(--bleu); }
.vendeur { margin-top: 22px; border-top: 2px dashed rgba(27,35,64,.35); padding-top: 18px; font-size: 15px; }
.vendeur h4 { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--flamme-fonce); margin-bottom: 8px; }
.vendeur p { margin-bottom: 8px; }
.maj { font-size: 14px; color: var(--gris); margin-bottom: 28px; }
.politiques-texte ul { margin: 0 0 14px 20px; display: grid; gap: 8px; color: #343a52; }
.politiques-texte a { color: var(--bleu); }
body.panne .politiques-texte ul { color: #b9b3a5; }
body.panne .politiques-texte a { color: var(--cire); }
.politiques-nav a[aria-current="page"] { color: var(--flamme-fonce); border-color: var(--flamme); }
.pied-adresse { font-size: 14px; opacity: .8; }
.pied-bas { line-height: 1.8; }
.mises-en-garde { margin-top: 20px; border: 2px solid var(--flamme); background: #fff2ee; padding: 14px 18px; }
.mises-en-garde h3 { font-size: 18px; margin-bottom: 8px; color: var(--flamme-fonce); }
.mises-en-garde ul { margin-left: 18px; font-size: 15px; display: grid; gap: 4px; }

/* Français / English */
.btn-langue {
  font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--encre);
  text-decoration: none; padding: 6px 4px; border-bottom: 2px solid transparent;
}
.btn-langue:hover { border-bottom-color: var(--flamme); }
body.panne .btn-langue { color: #e6dfcf; }
.version-fr {
  font-size: 14px; background: var(--papier-2); border-left: 4px solid var(--bleu);
  padding: 10px 14px; margin: -12px 0 28px; max-width: 700px;
}
.note-douane { font-size: 13px; color: var(--gris); margin: -4px 0 8px; }
#taxes2 { display: contents; }
#taxes2 > div { display: flex; justify-content: space-between; gap: 12px; }
#taxes2 > div span:last-child { text-align: right; }

/* Citation lisible en mode panne (papier jaune, texte foncé) */
body.panne .note-main, body.panne .note-main p, body.panne .note-main span { color: var(--encre); }

/* ================================================================
   v3 « punch » : héros de nuit, ruban, chiffres, blocs de couleur,
   panne plus dramatique (vacillement + lueur qui suit la souris)
   ================================================================ */
body {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .12 0 0 0 0 .22 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
h2 { font-size: clamp(36px, 5.2vw, 70px); letter-spacing: -.02em; }
.surtitre { letter-spacing: .18em; }

/* Héros de nuit */
.heros {
  background: radial-gradient(ellipse at 75% 60%, #2a2140 0, var(--nuit) 60%);
  color: #f1ebdd; overflow: hidden; border-bottom: 3px solid var(--encre);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.heros .surtitre { color: var(--cire); }
.heros h1 { font-size: clamp(48px, 7.4vw, 112px); letter-spacing: -.03em; }
.heros h1 em { color: var(--cire); text-shadow: 0 0 28px rgba(255,170,60,.55); }
.heros .chapeau { color: #c9c2b2; }
.heros .btn-ligne { background: transparent; color: #f1ebdd; border-color: #f1ebdd; box-shadow: 4px 4px 0 var(--flamme); }
.heros-photo img { border-color: #f1ebdd; box-shadow: 0 0 90px rgba(255,150,50,.5), 12px 12px 0 var(--flamme); animation: chaleur 3.2s ease-in-out infinite; }
.heros-texte, .heros-photo { position: relative; z-index: 2; }
.heros .halo { opacity: 1; animation: vacille 2.6s infinite; background: radial-gradient(circle at 74% 58%, rgba(255,160,60,.42), transparent 42%); }
.neige {
  position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: .55;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff, transparent), radial-gradient(1.5px 1.5px at 90px 120px, #fff, transparent),
    radial-gradient(2.5px 2.5px at 160px 60px, #fff, transparent), radial-gradient(1.5px 1.5px at 230px 190px, #fff, transparent),
    radial-gradient(2px 2px at 300px 90px, #fff, transparent);
  background-size: 340px 240px;
  animation: neige 14s linear infinite;
}
@keyframes neige { from { background-position: 0 0; } to { background-position: 60px 480px; } }
@keyframes chaleur { 50% { box-shadow: 0 0 130px rgba(255,150,50,.7), 12px 12px 0 var(--flamme); } }
@keyframes vacille { 0%, 100% { opacity: 1; } 22% { opacity: .82; } 40% { opacity: .95; } 61% { opacity: .78; } 80% { opacity: .92; } }

/* Ruban qui défile */
.ruban {
  background: var(--flamme); color: #fff; border-block: 3px solid var(--encre);
  transform: rotate(-1.6deg); margin: -34px -20px 0; position: relative; z-index: 5; overflow: hidden;
  box-shadow: 0 8px 0 var(--encre);
}
.ruban-piste { display: flex; align-items: center; gap: 28px; width: max-content; padding: 16px 0; animation: ruban 38s linear infinite; }
.ruban span { font-family: var(--serif); font-style: italic; font-weight: 600; font-size: clamp(26px, 3.4vw, 46px); white-space: nowrap; }
.ruban .icon { font-size: 28px; color: var(--cire); fill: var(--cire); stroke: var(--encre); stroke-width: 1.5; flex: none; }
@keyframes ruban { to { transform: translateX(-50%); } }

/* 3 en 1 : gros chiffres */
.liste-trois .num { font-size: clamp(64px, 8vw, 120px); font-weight: 400; }

/* Chiffres clés */
.chiffres { background: var(--cire); border-block: 3px solid var(--encre); padding-block: clamp(48px, 6vw, 80px); }
.chiffres ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.chiffres li { border-left: 3px solid var(--encre); padding-left: 20px; }
.chiffres strong { display: block; font-family: var(--serif); font-size: clamp(52px, 6.4vw, 96px); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.chiffres span { display: block; margin-top: 10px; font-weight: 600; max-width: 20ch; }

/* Cartes produit partout : papier, ombre franche, et au survol une lueur de chandelle qui vient de DERRIÈRE la carte */
.grille-produits .produit { background: var(--papier); border: 2px solid var(--encre); padding: 14px; box-shadow: 7px 7px 0 var(--encre); transition: transform .2s, box-shadow .3s; }
.grille-produits .produit:hover { transform: translate(-3px, -3px) rotate(-.6deg); box-shadow: 0 0 70px 14px rgba(255,140,40,.55), 10px 10px 0 var(--encre); animation: lueurCarte 1.8s ease-in-out infinite; }
@keyframes lueurCarte { 50% { box-shadow: 0 0 46px 6px rgba(255,170,60,.38), 10px 10px 0 var(--encre); } }

/* Recharges sur papier jaune pâle */
.recharge { background: #f8dfa0; }

/* Essai de panne */
.essai {
  background: var(--flamme); color: #fff; display: flex; align-items: center; justify-content: space-between;
  gap: 36px; flex-wrap: wrap; border-block: 3px solid var(--encre);
}
.essai .surtitre { color: var(--encre); }
.essai h2 { font-size: clamp(48px, 8vw, 120px); max-width: none; }
.essai p:not(.surtitre) { font-size: 20px; max-width: 40ch; margin-top: 14px; }
.btn-cire { background: var(--cire); color: var(--encre); box-shadow: 6px 6px 0 var(--encre); }
.essai-btn { font-size: 22px; padding: 22px 34px; }

/* Appel final sur jaune */
.appel { background: var(--cire); color: var(--encre); }

/* Panne v3 : vacillement à la coupure, lueur de chandelle qui suit la souris */
body.coupure main, body.coupure .entete { animation: coupure .75s steps(1) forwards; }
@keyframes coupure { 0% { filter: brightness(1); } 15% { filter: brightness(.25); } 30% { filter: brightness(1); } 45% { filter: brightness(.15); } 55% { filter: brightness(.8); } 75% { filter: brightness(.1); } 100% { filter: brightness(1); } }
.lueur {
  position: fixed; inset: 0; z-index: 25; pointer-events: none; opacity: 0; transition: opacity .6s;
  /* Rayon qui suit la taille de l'écran : 360px fixe éclairait presque tout un cell mais un petit rond sur un PC (2026-11-09) */
  background: radial-gradient(circle max(360px, 30vw) at var(--x, 50%) var(--y, 45%), rgba(255,180,90,.22) 0, rgba(255,170,80,.06) 25%, rgba(8,9,15,0) 45%, rgba(8,9,15,.48) 100%);
}
body.panne .lueur { opacity: 1; animation: vacille 2.2s infinite; }
.avis-panne {
  position: fixed; left: 50%; top: 110px; z-index: 40; transform: translateX(-50%);
  background: var(--cire); color: var(--encre); border: 2px solid var(--encre); box-shadow: 5px 5px 0 #000;
  padding: 12px 20px; font-weight: 700; text-align: center; max-width: calc(100% - 32px);
}
body.panne .chiffres, body.panne .appel, body.panne .essai { background: #1b1c26; color: #e6dfcf; border-color: #3a3c4a; }
body.panne .chiffres li { border-color: var(--cire); }
body.panne .chiffres strong { color: var(--cire); text-shadow: 0 0 24px rgba(255,170,60,.4); }
body.panne .grille-produits .produit { background: #22232f; color: #e6dfcf; border-color: #3a3c4a; box-shadow: 7px 7px 0 #000; }
body.panne .grille-produits .produit:hover { box-shadow: 0 0 80px 16px rgba(255,140,40,.5), 10px 10px 0 #000; }
body.panne .essai .surtitre { color: var(--cire); }
body.panne .ruban { background: #2a1d17; color: var(--cire); }
body.panne .recharge { background: #1b1c26; }

@media (max-width: 900px) {
  .chiffres ul { grid-template-columns: 1fr 1fr; }
  .ruban { margin-top: -24px; }
}
@media (max-width: 520px) {
  .essai-btn { width: 100%; justify-content: center; font-size: 19px; }
  .chiffres span { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .ruban-piste, .neige, .heros .halo, .heros-photo img, body.panne .lueur, body.coupure main, body.coupure .entete { animation: none; }
}

html, body { overflow-x: clip; }

body.panne .menu a:not([aria-current]) { border-color: transparent; }
body.panne .menu a:not([aria-current]):hover { border-color: var(--cire); }

/* Braises (canvas) */
.braises { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.braises-page { position: fixed; z-index: 26; }
.heros > :not(.braises), .usages > :not(.braises), .essai > :not(.braises) { position: relative; z-index: 2; }
.heros .halo { position: absolute; z-index: 1; }

/* Fond : lueur de flamme qui respire au lieu du beige plat */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% 115%, rgba(224,84,42,.30), transparent 70%),
    radial-gradient(ellipse 45% 40% at 0% 20%, rgba(244,200,105,.32), transparent 70%),
    radial-gradient(ellipse 40% 35% at 100% 55%, rgba(255,150,60,.20), transparent 70%);
  animation: respire 5s ease-in-out infinite;
}
@keyframes respire { 0%, 100% { opacity: 1; } 30% { opacity: .78; } 55% { opacity: .95; } 75% { opacity: .82; } }
body.panne::before { background: radial-gradient(ellipse 60% 50% at 50% 110%, rgba(255,130,40,.18), transparent 70%); }


/* Titres : un mot en italique prend la couleur de la flamme, avec un léger halo */
.titre-section h2 em, .heros h1 em { text-shadow: 0 0 30px rgba(255,160,60,.55); }

@media (prefers-reduced-motion: reduce) {
  body::before, .grille-produits .produit:hover { animation: none; }
}

/* En-têtes des pages intérieures : même nuit que l'accueil, avec braises */
.page-tete {
  background: radial-gradient(ellipse at 82% 80%, #2c2140 0, var(--nuit) 62%);
  color: #f1ebdd; overflow: hidden; border-bottom: 3px solid var(--encre);
  padding-bottom: clamp(48px, 6vw, 80px);
}
.page-tete::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(circle at 85% 95%, rgba(255,150,50,.35), transparent 45%);
  animation: vacille 2.6s infinite;
}
.page-tete > :not(.braises) { position: relative; z-index: 2; }
.page-tete .surtitre { color: var(--cire); }
.page-tete .chapeau { color: #c9c2b2; }
.page-tete .fil, .page-tete .fil a { color: #a9a294; }
.page-tete .fil span[aria-current] { color: #f1ebdd; }
.page-tete-court { padding-bottom: 22px; border-bottom: 3px solid var(--encre); }
.page-tete-court .fil { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .page-tete::after { animation: none; } }

/* v3 : plus de bleu vif dans l'interface ; l'encre de nuit et la flamme suffisent (le bleu reste dans le logo) */
:root { --bleu: #1b2340; --bleu-fonce: #0f1220; }
.btn-bleu:hover, .btn-ajout:hover { background: var(--flamme); }
.btn-panier { background: var(--flamme); }
.lien-fleche { color: var(--flamme-fonce); }
.grille-produits .produit:hover { box-shadow: 0 0 90px 22px rgba(255,140,40,.65), 10px 10px 0 var(--encre); }
@keyframes lueurCarte { 50% { box-shadow: 0 0 60px 10px rgba(255,170,60,.45), 10px 10px 0 var(--encre); } }

.note-square { margin: 4px 0 12px 28px; font-size: .88rem; color: var(--muted, #6b6259); line-height: 1.45; }

/* Production : notes de maquette cachées (celles ajoutées par script.js aussi) */
.todo, .note-maquette, #basculeNotes { display: none !important; }
