/* Le Bureau du Père Noël — papeterie de luxe : papier crème, encre vert sapin, or discret. */
:root {
  --papier: #f6f0e4;
  --papier-clair: #fbf8f1;
  --blanc: #fffdf9;
  --encre: #1f2a24;
  --encre-douce: #5d655f;
  --sapin: #1d3a2f;
  --sapin-fonce: #152b23;
  --bordeaux: #7a1f24;
  --bordeaux-fonce: #621820;
  --or: #a8843f;
  --or-pale: #d9c391;
  --trait: #ddd2bd;
  --trait-fort: #c9b994;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rayon: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--encre);
  background: var(--papier);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 0.45em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.45rem; }
em.or, h1 em, h2 em { font-style: italic; color: var(--bordeaux); }

.surtitre {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 18px;
}

.conteneur { width: min(1140px, 100% - 40px); margin-inline: auto; }
.etroit { width: min(720px, 100% - 40px); margin-inline: auto; }
@media (max-width: 480px) { .conteneur, .etroit { width: calc(100% - 32px); } }

section { padding: clamp(64px, 10vw, 120px) 0; scroll-margin-top: 68px; }
.filet { border: 0; border-top: 1px solid var(--trait); margin: 0; }

/* ---------- En-tête ---------- */
.entete { background: var(--papier); border-bottom: 1px solid var(--trait); position: sticky; top: 0; z-index: 30; }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.logo { font-family: var(--serif); font-size: 1.3rem; text-decoration: none; color: var(--encre); white-space: nowrap; }
.logo em { color: var(--bordeaux); }
.entete nav { display: flex; align-items: center; gap: 28px; font-size: 0.95rem; }
.entete nav a { text-decoration: none; color: var(--encre-douce); }
.entete nav a:hover { color: var(--encre); }
.entete nav .bouton { color: var(--blanc); }
@media (max-width: 820px) { .entete nav .cache-mobile { display: none; } .entete nav { gap: 16px; } }
@media (max-width: 600px) { .entete nav a.lien-suivi { display: none; } }
@media (max-width: 420px) { .logo { font-size: 1.1rem; } }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  background: var(--bordeaux); color: var(--blanc);
  border: 1px solid var(--bordeaux); border-radius: var(--rayon);
  font: 600 1rem var(--sans); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.bouton:hover { background: var(--bordeaux-fonce); border-color: var(--bordeaux-fonce); }
.bouton:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.bouton:disabled { opacity: 0.55; cursor: wait; }
.bouton.petit { min-height: 40px; padding: 0 18px; font-size: 0.92rem; }
.bouton.secondaire { background: transparent; color: var(--encre); border-color: var(--trait-fort); }
.bouton.secondaire:hover { border-color: var(--encre); background: transparent; }
.lien-fleche { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--trait-fort); padding-bottom: 2px; }
.lien-fleche:hover { border-color: var(--encre); }

/* ---------- Héros (nuit d'hiver, neige, boules) ---------- */
.heros {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(64px, 9vw, 112px) 0 clamp(72px, 10vw, 128px);
  color: #efe8d8;
  background:
    radial-gradient(900px 520px at 78% 30%, rgba(201, 138, 62, 0.16), transparent 70%),
    linear-gradient(180deg, #173126 0%, var(--sapin) 55%, #18332a 100%);
}
.heros .conteneur { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.heros h1 { color: #fffaf0; }
.heros h1 em { color: var(--or-pale); }
.heros .surtitre { color: var(--or-pale); }
.heros .etoile { color: var(--or-pale); margin-right: 6px; }
.heros .chapeau { font-size: 1.22rem; color: #cfd3c8; max-width: 31em; margin-bottom: 40px; }
.heros .appel { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; }
.heros .lien-fleche { color: #fffaf0; border-color: rgba(255, 255, 255, 0.35); }
.heros .lien-fleche:hover { border-color: #fffaf0; }
@media (max-width: 860px) { .heros .conteneur { grid-template-columns: 1fr; } }

.neige { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }

/* Gros bouton d'appel */
.bouton.grand {
  min-height: 68px; padding: 0 34px; font-size: 1.2rem; gap: 16px;
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.bouton.grand .prix-bouton {
  font-family: var(--serif); font-weight: 500; font-size: 1.25rem;
  padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, 0.35);
}
@media (max-width: 480px) { .bouton.grand { width: 100%; font-size: 1.12rem; padding: 0 22px; } }

/* Boules de Noël suspendues */
.boules { position: absolute; inset: 0 0 auto 0; height: 220px; z-index: 1; pointer-events: none; }
.boule {
  position: absolute; top: 0; left: var(--x);
  width: 2px; height: var(--fil); background: linear-gradient(var(--or-pale), rgba(217, 195, 145, 0.5));
  transform-origin: top center; animation: balance var(--t) ease-in-out infinite alternate;
}
.boule::before { /* attache */
  content: ""; position: absolute; left: 50%; bottom: -4px; width: 10px; height: 8px; transform: translateX(-50%);
  background: linear-gradient(90deg, #8e6d2f, #e3cd96, #8e6d2f); border-radius: 2px;
}
.boule::after { /* boule */
  content: ""; position: absolute; left: 50%; top: calc(100% + 3px); width: 34px; height: 34px; transform: translateX(-50%);
  border-radius: 50%; box-shadow: inset -6px -8px 14px rgba(0, 0, 0, 0.35), 0 8px 18px rgba(0, 0, 0, 0.3);
}
.boule.rouge::after { background: radial-gradient(circle at 32% 30%, #e7a1a0 0 6%, #a8262b 30%, #5e1418 100%); }
.boule.or::after { background: radial-gradient(circle at 32% 30%, #fff3cf 0 6%, #c9a24f 32%, #6e5320 100%); }
.boule.vert::after { background: radial-gradient(circle at 32% 30%, #a8cbb5 0 6%, #2f6b4f 34%, #11291f 100%); }
.boule.petite::after { width: 24px; height: 24px; }
@keyframes balance { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
@media (max-width: 860px) {
  .heros { padding-top: 112px; }
  .boule:nth-child(-n+3) { display: none; }
  .boule { height: calc(var(--fil) * 0.55); }
  .boule:nth-child(4) { left: 78%; }
  .boule:nth-child(5) { left: 90%; }
}

/* Téléphone avec vidéo de présentation */
.telephone-zone { justify-self: center; display: flex; flex-direction: column; align-items: center; }
.telephone {
  width: min(300px, 78vw); aspect-ratio: 9 / 19.2; padding: 12px;
  background: linear-gradient(145deg, #2b2b2e, #0d0d0f);
  border-radius: 46px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 40px 80px -24px rgba(0, 0, 0, 0.7), inset 0 0 0 2px #3a3a3e;
  position: relative; transform: rotate(2.5deg);
}
.telephone::before { /* encoche */
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 24px; border-radius: 14px; background: #0b0b0c; z-index: 3;
}
.ecran { position: relative; width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #120c08; }
.ecran video { width: 100%; height: 100%; object-fit: cover; }
.ecran-vide {
  display: none; position: absolute; inset: 0; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px;
  background:
    radial-gradient(120% 60% at 50% 105%, rgba(240, 140, 50, 0.55), transparent 60%),
    radial-gradient(80% 40% at 50% 100%, rgba(255, 200, 110, 0.35), transparent 70%),
    linear-gradient(180deg, #1a120c, #2a1a10);
  color: #f3e6c8;
}
.ecran-vide p { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; margin: 14px 0 12px; }
.ecran-vide em { color: var(--or-pale); }
.ecran-vide small { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: #cdb98f; }
.ecran-etoile { font-size: 1.6rem; color: var(--or-pale); animation: scintille 2.6s ease-in-out infinite; }
@keyframes scintille { 50% { opacity: 0.45; transform: scale(0.85); } }
.ecran.sans-video video, .ecran.sans-video .bouton-son { display: none; }
.ecran.sans-video .ecran-vide { display: flex; }
.bouton-son {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2;
  background: rgba(0, 0, 0, 0.55); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px;
  padding: 9px 16px; font: 600 0.85rem var(--sans); cursor: pointer; backdrop-filter: blur(6px); white-space: nowrap;
}
.telephone-legende { font-family: var(--serif); font-style: italic; color: #b9c1b5; font-size: 0.95rem; margin: 22px 0 0; }

@media (prefers-reduced-motion: reduce) { .boule, .ecran-etoile { animation: none; } }

/* ---------- Bandeau de garanties ---------- */
.garanties { border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); background: var(--papier-clair); }
.garanties ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.garanties li { padding: 26px 24px; text-align: center; font-size: 0.98rem; color: var(--encre-douce); }
.garanties li + li { border-left: 1px solid var(--trait); }
.garanties strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--encre); }
@media (max-width: 700px) {
  .garanties ul { grid-template-columns: 1fr; }
  .garanties li { padding: 18px 0; }
  .garanties li + li { border-left: 0; border-top: 1px solid var(--trait); }
}

/* ---------- Exemple de lettre ---------- */
.exemple { background: var(--sapin); color: #e9e2d2; }
.exemple .conteneur { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.exemple h2 { color: var(--blanc); }
.exemple .surtitre { color: var(--or-pale); }
.exemple .intro p { color: #c4c9bf; }
.exemple .legende { display: flex; gap: 12px; align-items: center; font-size: 0.92rem; color: #c4c9bf; margin-top: 28px; }
.exemple .legende span { display: inline-block; width: 34px; border-bottom: 2px solid var(--or); }
.lettre {
  background: var(--papier-clair); color: var(--encre);
  padding: clamp(28px, 5vw, 56px);
  font-family: var(--serif); font-size: clamp(1.15rem, 2.2vw, 1.35rem); line-height: 1.75;
  box-shadow: 0 40px 70px -40px rgba(0, 0, 0, 0.6);
}
.lettre p { margin-bottom: 1.1em; }
.lettre p:last-child { margin-bottom: 0; }
.lettre mark { background: none; color: inherit; border-bottom: 2px solid var(--or); padding-bottom: 1px; }
.lettre .signature { font-style: italic; text-align: right; color: var(--bordeaux); }
@media (max-width: 860px) { .exemple .conteneur { grid-template-columns: 1fr; } }

/* ---------- Étapes ---------- */
.etapes-liste { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--trait-fort); }
.etapes-liste li { padding: 32px 32px 0 0; }
.etapes-liste li + li { padding-left: 32px; border-left: 1px solid var(--trait); }
.etapes-liste .numero { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--or); display: block; margin-bottom: 14px; }
.etapes-liste p { color: var(--encre-douce); margin: 0; }
@media (max-width: 760px) {
  .etapes-liste { grid-template-columns: 1fr; }
  .etapes-liste li, .etapes-liste li + li { padding: 26px 0; border-left: 0; }
  .etapes-liste li + li { border-top: 1px solid var(--trait); }
}

/* ---------- Tarifs ---------- */
.tarifs { background: var(--papier-clair); border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.carte-tarifs { list-style: none; margin: 40px 0 0; padding: 0; }
.carte-tarifs li { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--trait); }
.carte-tarifs .intitule { font-family: var(--serif); font-size: 1.3rem; }
.carte-tarifs .detail { display: block; font-family: var(--sans); font-size: 0.92rem; color: var(--encre-douce); }
.carte-tarifs .pointilles { flex: 1; border-bottom: 1px dotted var(--trait-fort); transform: translateY(-6px); min-width: 20px; }
.carte-tarifs .prix { font-family: var(--serif); font-size: 1.35rem; white-space: nowrap; }
.note { font-size: 0.92rem; color: var(--encre-douce); margin-top: 22px; }

/* ---------- Formulaire ---------- */
.commande-entete { text-align: center; margin-bottom: 40px; }
.commande-entete p { color: var(--encre-douce); }
.formulaire { background: var(--blanc); border: 1px solid var(--trait); padding: clamp(22px, 5vw, 48px); }
.progression { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 36px; counter-reset: etape; }
.progression span {
  counter-increment: etape; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--encre-douce); padding-top: 12px; border-top: 2px solid var(--trait); transition: border-color 0.3s, color 0.3s;
}
.progression span::before { content: counter(etape) " · "; }
.progression span.active { color: var(--encre); border-top-color: var(--bordeaux); }
@media (max-width: 480px) { .progression span { font-size: 0.7rem; letter-spacing: 0.04em; } }
.etape { display: none; }
.etape.visible { display: block; }
.etape > h3 { margin-bottom: 26px; }

fieldset { border: 0; border-top: 1px solid var(--trait-fort); padding: 26px 0 4px; margin: 0 0 12px; min-width: 0; }
legend { font-family: var(--serif); font-size: 1.35rem; padding: 0 14px 0 0; }
.champ { margin-bottom: 22px; }
.champ label, .champ .label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 8px; }
.champ .aide { display: block; font-weight: 400; color: var(--encre-douce); font-size: 0.87rem; margin-top: 2px; }
input[type="text"], input[type="email"], input[type="number"], input[type="password"], textarea, select {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--trait-fort); border-radius: var(--rayon);
  font: inherit; font-size: 1rem; background: var(--blanc); color: var(--encre);
  transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder, textarea::placeholder { color: #a39f96; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--sapin); box-shadow: 0 0 0 3px rgba(29, 58, 47, 0.12); }
textarea { min-height: 96px; resize: vertical; line-height: 1.5; }
input[type="file"] { font-size: 0.92rem; max-width: 100%; }
.ligne { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.ligne.trois { grid-template-columns: 1fr 1fr 1fr; }
@media (max-width: 600px) { .ligne, .ligne.trois { grid-template-columns: 1fr; } }

.choix { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .choix { grid-template-columns: 1fr; } }
.choix label { display: block; position: relative; border: 1px solid var(--trait-fort); border-radius: var(--rayon); padding: 18px 18px 16px 48px; cursor: pointer; background: var(--blanc); font-weight: 400; transition: border-color 0.15s, background 0.15s; }
.choix label::before { content: ""; position: absolute; left: 18px; top: 22px; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--trait-fort); background: var(--blanc); }
.choix input { position: absolute; opacity: 0; pointer-events: none; }
.choix label:has(input:checked) { border-color: var(--sapin); background: #f3f5f1; }
.choix label:has(input:checked)::before { border: 5px solid var(--sapin); }
.choix label:has(input:focus-visible) { outline: 2px solid var(--or); outline-offset: 2px; }
.choix strong { display: block; font-size: 1.02rem; }
.choix small { color: var(--encre-douce); font-size: 0.9rem; }
.prix-option { color: var(--bordeaux); font-weight: 600; }

.radios-inline { display: flex; gap: 10px; flex-wrap: wrap; }
.radios-inline label { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--trait-fort); padding: 10px 16px; border-radius: var(--rayon); cursor: pointer; font-weight: 400; font-size: 0.95rem; background: var(--blanc); }
.radios-inline input { accent-color: var(--sapin); margin: 0; }
.radios-inline label:has(input:checked) { border-color: var(--sapin); background: #f3f5f1; }

.case { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; font-size: 0.95rem; font-weight: 400; color: var(--encre-douce); }
.case input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--sapin); flex: none; }
.actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.erreur { border-left: 3px solid var(--bordeaux); background: #f8ecea; color: var(--bordeaux-fonce); padding: 12px 16px; margin-top: 20px; display: none; font-size: 0.95rem; }
.erreur.visible { display: block; }
.bouton-ajout { display: block; width: 100%; background: none; border: 1px dashed var(--trait-fort); border-radius: var(--rayon); padding: 16px; font: 600 0.98rem var(--sans); color: var(--encre); cursor: pointer; margin: 8px 0 4px; }
.bouton-ajout:hover { border-color: var(--sapin); }
.retirer { float: right; background: none; border: 0; color: var(--bordeaux); cursor: pointer; font: 600 0.88rem var(--sans); padding: 4px 0; }
.apercu-photo { width: 76px; height: 76px; object-fit: cover; margin-top: 10px; border: 1px solid var(--trait); }

#recap { border-top: 1px solid var(--trait); margin-top: 8px; padding-top: 10px; }
.recap-ligne { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; color: var(--encre-douce); font-size: 0.98rem; }
.total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--trait-fort); padding-top: 14px; margin-top: 8px; }
.total span { font-weight: 600; }
.total strong { font-family: var(--serif); font-weight: 500; font-size: 2rem; }
.astuce { font-size: 0.9rem; color: var(--encre-douce); }

/* ---------- Questions ---------- */
.questions details { border-bottom: 1px solid var(--trait); }
.questions details:first-of-type { border-top: 1px solid var(--trait); }
.questions summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative; font-family: var(--serif); font-size: 1.25rem; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; position: absolute; right: 4px; top: 18px; font-family: var(--sans); font-size: 1.5rem; color: var(--or); transition: transform 0.2s; }
.questions details[open] summary::after { transform: rotate(45deg); }
.questions details p { color: var(--encre-douce); padding-bottom: 22px; margin: 0; max-width: 40em; }

/* ---------- Pied de page ---------- */
.pied { background: var(--sapin-fonce); color: #b9bfb6; padding: 56px 0 40px; font-size: 0.92rem; }
.pied .conteneur { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.pied .logo { color: var(--blanc); }
.pied .logo em { color: var(--or-pale); }
.pied .liens { display: flex; gap: 22px; flex-wrap: wrap; }
.pied a { color: #dfe3dc; text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied .mention { width: 100%; margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }

/* ---------- Pages simples (suivi, merci, légal) ---------- */
.page-simple { padding: clamp(48px, 8vw, 96px) 0; }
.page-simple .chapeau { color: var(--encre-douce); font-size: 1.1rem; }
.numero-commande { font-family: var(--serif); font-size: clamp(2rem, 6vw, 2.8rem); letter-spacing: 0.04em; margin: 10px 0 28px; }
.frise { list-style: none; padding: 0; margin: 28px 0; }
.frise li { position: relative; padding: 0 0 26px 34px; color: var(--encre-douce); }
.frise li::before { content: ""; position: absolute; left: 0; top: 7px; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--trait-fort); background: var(--blanc); }
.frise li::after { content: ""; position: absolute; left: 6px; top: 24px; bottom: 0; border-left: 1px solid var(--trait); }
.frise li:last-child { padding-bottom: 0; }
.frise li:last-child::after { display: none; }
.frise li.faite { color: var(--encre); }
.frise li.faite::before { background: var(--sapin); border-color: var(--sapin); }
.frise li.encours { font-weight: 600; }
.frise li.encours::before { background: var(--bordeaux); border-color: var(--bordeaux); box-shadow: 0 0 0 4px rgba(122, 31, 36, 0.15); }

.legal h2 { font-size: 1.45rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--encre-douce); }
.a-remplir { background: #f3e3b5; padding: 0 4px; }

/* ---------- Admin ---------- */
.admin-carte { background: var(--blanc); border: 1px solid var(--trait); padding: 20px; margin-bottom: 16px; }
.admin-carte header { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; align-items: center; }
.pastille { display: inline-block; padding: 2px 10px; border-radius: 3px; font-size: 0.78rem; font-weight: 600; background: var(--trait); }
.pastille.recue { background: #f3e3b5; } .pastille.preparation { background: #dfe7f2; } .pastille.prete { background: #dbe9df; } .pastille.annulee { background: #f2dada; }
.pastille.express { background: var(--bordeaux); color: #fff; }
.admin-carte pre { white-space: pre-wrap; background: var(--papier-clair); border: 1px solid var(--trait); padding: 14px; font-size: 0.85rem; max-height: 320px; overflow: auto; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; align-items: center; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* =====================================================================
   Version 3 : page centrée, homogène et plus vivante
   ===================================================================== */
.centre { text-align: center; }
.entete-section { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.entete-section p { color: var(--encre-douce); font-size: 1.1rem; margin: 0 auto; max-width: 34em; }
.exemple .entete-section p { color: #c4c9bf; }
.exemple .entete-section h2 { color: var(--blanc); }

/* Héros : réassurance et compte à rebours */
.heros .bouton.grand { transition: transform 0.2s, background 0.2s, box-shadow 0.2s; }
.bouton.grand:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(0, 0, 0, 0.6); }
.rassurance { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 0.92rem; color: #c9cfc4; }
.rassurance li::before { content: "✦"; color: var(--or-pale); margin-right: 8px; font-size: 0.75rem; }
.compte {
  position: relative; z-index: 2; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 10px 22px;
  margin-top: clamp(48px, 7vw, 80px); padding-top: 24px; border-top: 1px solid rgba(217, 195, 145, 0.25);
  font-size: 1rem; color: #e4dcc8; text-align: center;
}
.compte strong { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: var(--or-pale); }
.compte .sep { color: var(--or); font-size: 0.8rem; }
@media (max-width: 860px) {
  .heros-texte { text-align: center; }
  .heros .chapeau { margin-left: auto; margin-right: auto; }
  .heros .appel, .rassurance { justify-content: center; }
  .compte .sep { display: none; }
  .compte { flex-direction: column; gap: 4px; }
}

/* Aperçu en images */
.apercu { background: var(--papier-clair); border-bottom: 1px solid var(--trait); }
.planches { list-style: none; margin: 0 0 52px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.5vw, 28px); }
.planches figure { margin: 0; }
.planches img {
  width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 16px; background: var(--sapin);
  box-shadow: 0 24px 44px -26px rgba(31, 42, 36, 0.55); transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.planches li:hover img { transform: translateY(-6px); box-shadow: 0 34px 54px -26px rgba(31, 42, 36, 0.6); }
.planches figcaption { text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.08rem; margin-top: 16px; color: var(--encre); }
.planches figcaption span { display: block; font-style: normal; font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.16em; color: var(--or); margin-bottom: 2px; }
@media (max-width: 760px) { .planches { grid-template-columns: repeat(2, 1fr); } }

/* Exemple : la lettre centrée */
.exemple .lettre { margin: 0 auto; max-width: 640px; }

/* Étapes centrées */
.etapes-liste li { text-align: center; padding: 32px 28px 0; }
.etapes-liste li + li { padding-left: 28px; }
@media (max-width: 760px) { .etapes-liste li, .etapes-liste li + li { padding: 26px 0; } }

/* Tarifs et garanties */
.carte-tarifs { margin-top: 0; }
.garanties-liste { list-style: none; padding: 0; margin: 40px 0 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.garanties-liste li { padding: 20px 14px; border: 1px solid var(--trait); background: var(--blanc); border-radius: 12px; font-size: 0.92rem; color: var(--encre-douce); }
.garanties-liste strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; color: var(--encre); margin-bottom: 4px; }
@media (max-width: 640px) { .garanties-liste { grid-template-columns: 1fr; } }

/* Commande et questions : même rythme que le reste */
.commande { padding-bottom: clamp(48px, 7vw, 80px); }
.questions { padding-top: clamp(48px, 7vw, 80px); border-top: 1px solid var(--trait); background: var(--papier-clair); }

/* Barre d'achat fixe sur mobile */
.barre-achat {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: none;
  align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(21, 43, 35, 0.97); color: #efe8d8; box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(110%); transition: transform 0.35s ease;
}
.barre-achat strong { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--or-pale); }
.barre-achat .bouton { min-height: 46px; padding: 0 18px; font-size: 0.95rem; white-space: nowrap; }
.barre-achat.visible { transform: none; }
@media (max-width: 760px) { .barre-achat { display: flex; } }
@media (max-width: 360px) { .barre-achat span { font-size: 0.85rem; } }

/* Apparitions douces au défilement */
html.anime .revele { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease var(--delai, 0ms), transform 0.8s ease var(--delai, 0ms); }
html.anime .revele.vu { opacity: 1; transform: none; }

/* Vidéo du téléphone : l'affiche sert d'image tant que la vidéo n'est pas lancée */
.ecran video { background: #120c08 center / cover no-repeat; }
.heros .conteneur.compte { display: flex; grid-template-columns: none; }
@media (max-width: 860px) { .heros .conteneur.compte { flex-direction: column; } }
