/* =========================================================================
   Mémoires Vivantes — feuille de style
   Direction : « fonds d'archives familiales » — papier crème grainé, encre sépia,
   étiquettes de cassettes, bande magnétique, compteur de magnétophone.
   ========================================================================= */
:root {
  --papier: #f3ead9;
  --papier-2: #ebdfc6;
  --papier-3: #fbf6ec;
  --encre: #2b1d12;
  --encre-2: #5a3d25;
  --sepia: #7a5233;
  --rouille: #b5562b;
  --rouille-fonce: #8f3f1c;
  --or: #c69c5d;
  --olive: #5f6a3a;
  --trait: rgba(43, 29, 18, .16);
  --ombre: 0 18px 40px -22px rgba(43, 29, 18, .45);
  --rayon: 14px;
  --f-titre: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-texte: "Albert Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --large: min(1180px, 100% - 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font: 400 1.0625rem/1.65 var(--f-texte);
  overflow-x: hidden;
}
/* grain de papier */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .17 0 0 0 0 .11 0 0 0 0 .07 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 1; }
img, svg { display: block; max-width: 100%; }
a { color: var(--rouille-fonce); text-underline-offset: .2em; }
::selection { background: var(--rouille); color: var(--papier-3); }
:focus-visible { outline: 3px solid var(--rouille); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.evitement { position: absolute; left: -999px; top: 8px; background: var(--encre); color: var(--papier); padding: 8px 14px; border-radius: 8px; z-index: 50; }
.evitement:focus { left: 16px; }

/* ---------------- En-tête & onglets ---------------- */
.entete {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--papier) 88%, transparent);
  backdrop-filter: blur(10px) saturate(1.2);
  -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border-bottom: 1px solid var(--trait);
}
.entete-inner { width: var(--large); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0 6px; }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--encre); }
.marque-k7 { width: 52px; height: auto; flex: none; filter: drop-shadow(0 4px 6px rgba(43,29,18,.25)); }
.marque-textes { display: flex; flex-direction: column; line-height: 1.05; }
.marque-nom { font: 600 1.35rem/1 var(--f-titre); letter-spacing: -.01em; font-variation-settings: "SOFT" 60; }
.marque-sous { font: 400 .72rem/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: var(--sepia); margin-top: 4px; }
.langue {
  font: 500 .8rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
  border: 1.5px solid var(--encre); background: transparent; color: var(--encre);
  padding: 9px 14px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s;
}
.langue:hover { background: var(--encre); color: var(--papier); }

.onglets { width: var(--large); margin: 0 auto; }
.onglets ul { list-style: none; margin: 0; padding: 4px 0 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.onglets ul::-webkit-scrollbar { display: none; }
.onglets li { flex: none; }
.onglets .separateur { width: 1px; background: var(--trait); margin: 8px 8px 12px; }
.onglets a {
  display: flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 10px 14px 12px; text-decoration: none; color: var(--encre-2);
  font: 600 .93rem/1 var(--f-texte);
  border-radius: 10px 10px 0 0; border: 1px solid transparent; border-bottom: 0;
  position: relative; top: 1px; transition: color .2s, background .2s;
}
.onglets a:hover { color: var(--encre); background: var(--papier-2); }
.onglets a[aria-current="page"] {
  background: var(--papier-3); color: var(--encre); border-color: var(--trait);
  box-shadow: 0 -6px 14px -10px rgba(43,29,18,.35);
}
.onglets a[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--rouille); }
.compteur { font: 500 .72rem/1 var(--f-mono); color: var(--rouille); letter-spacing: .04em; }
.depot-lien .pictogramme { font-size: .8rem; color: var(--rouille); }
.depot-lien { color: var(--rouille-fonce) !important; }

/* ---------------- Panneaux ---------------- */
main { min-height: 70vh; }
.panneau { width: var(--large); margin: 0 auto; padding: 36px 0 72px; }
.panneau.apparait > * { animation: monte .7s cubic-bezier(.2,.7,.2,1) both; }
.panneau.apparait > *:nth-child(2) { animation-delay: .08s; }
.panneau.apparait > *:nth-child(3) { animation-delay: .16s; }
.panneau.apparait > *:nth-child(4) { animation-delay: .24s; }
.panneau.apparait > *:nth-child(n+5) { animation-delay: .3s; }
@keyframes monte { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.surtitre { font: 500 .78rem/1.4 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--rouille); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.surtitre::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.titre-heros, .titre-section {
  font-family: var(--f-titre); font-weight: 480; letter-spacing: -.025em; line-height: 1.02; margin: 0;
  font-variation-settings: "SOFT" 30, "opsz" 144;
}
.titre-heros { font-size: clamp(2.6rem, 6.4vw, 5.4rem); }
.titre-section { font-size: clamp(2rem, 4.2vw, 3.4rem); margin-bottom: 28px; }
.titre-heros em, .titre-section em { font-style: italic; font-weight: 380; color: var(--rouille-fonce); font-variation-settings: "SOFT" 100, "opsz" 144; }
.chapo { font-size: 1.15rem; max-width: 62ch; color: var(--encre-2); margin: 0; }
.bloc { padding: 64px 0 0; }
.bloc-entete { padding: 8px 0 36px; max-width: 900px; }
.titre-page { margin-bottom: 18px; }

/* ---------------- Boutons ---------------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.actions-centre { justify-content: center; margin-top: 48px; }
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 1rem/1 var(--f-texte); text-decoration: none; cursor: pointer;
  padding: 16px 26px; border-radius: 999px; border: 2px solid var(--encre);
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.bouton-plein { background: var(--encre); color: var(--papier-3); box-shadow: 0 10px 22px -12px rgba(43,29,18,.8); }
.bouton-plein:hover { background: var(--rouille-fonce); border-color: var(--rouille-fonce); transform: translateY(-2px); }
.bouton-trait { background: transparent; color: var(--encre); }
.bouton-trait:hover { background: var(--encre); color: var(--papier-3); transform: translateY(-2px); }
.bouton[disabled] { opacity: .55; cursor: wait; transform: none; }
.lien-discret { background: none; border: 0; padding: 0; font: inherit; color: var(--rouille-fonce); text-decoration: underline; cursor: pointer; }

/* ---------------- Héros ---------------- */
.heros { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 24px; }
.heros-chapo { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--encre-2); max-width: 54ch; margin: 26px 0 0; }
.heros-chapo strong { color: var(--encre); font-weight: 650; background: linear-gradient(transparent 62%, rgba(198,156,93,.42) 62%); }
.heros-preuve { font: 400 .78rem/1.6 var(--f-mono); color: var(--sepia); letter-spacing: .03em; margin: 8px 0 0; }

.heros-scene { position: relative; min-height: 470px; }
.magneto { position: absolute; left: 0; top: 18px; width: 78%; transform: rotate(-6deg); filter: drop-shadow(0 26px 30px rgba(43,29,18,.35)); }
.k7-ecrit { font: italic 500 20px var(--f-titre); fill: var(--encre-2); }
.bobine { transform-box: fill-box; transform-origin: center; animation: tourne 3.2s linear infinite; }
.bobine-lente { animation-duration: 4.6s; }
@keyframes tourne { to { transform: rotate(360deg); } }
.voyant { fill: #d23a2a; animation: clignote 1.4s steps(2) infinite; }
@keyframes clignote { 50% { opacity: .25; } }
.bande { position: absolute; left: 30%; top: 72%; width: 120%; height: 120px; overflow: visible; }
.bande path { fill: none; stroke: #4a2f1b; stroke-width: 6; stroke-linecap: round; stroke-dasharray: 14 10; animation: defile 2.2s linear infinite; opacity: .85; }
@keyframes defile { to { stroke-dashoffset: -48; } }

.ecran {
  position: absolute; right: 0; bottom: 0; width: 62%; min-width: 250px;
  background: var(--papier-3); border-radius: 28px; padding: 16px 16px 20px;
  border: 1px solid var(--trait); box-shadow: var(--ombre), 0 0 0 8px rgba(43,29,18,.06);
  transform: rotate(3deg);
}
.ecran-barre { display: flex; gap: 5px; margin-bottom: 12px; }
.ecran-barre span { width: 8px; height: 8px; border-radius: 50%; background: var(--papier-2); }
.ecran-portrait { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.portrait-rond { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; border: 3px solid var(--or); background: #e7d2b2; flex: none; animation: respire 3.4s ease-in-out infinite; }
@keyframes respire { 50% { transform: scale(1.04); } }
.levres { transform-box: fill-box; transform-origin: center; animation: parle .32s ease-in-out infinite alternate; }
@keyframes parle { from { transform: scaleY(.6); } to { transform: scaleY(2.2); } }
.ecran-etat { font: italic 500 .95rem var(--f-titre); color: var(--sepia); }
.bulle { margin: 0 0 10px; padding: 10px 14px; border-radius: 16px; font-size: .95rem; line-height: 1.45; max-width: 90%; opacity: 0; animation: bulle .6s cubic-bezier(.2,.7,.2,1) forwards; }
.bulle-enfant { background: var(--encre); color: var(--papier-3); margin-left: auto; border-bottom-right-radius: 4px; animation-delay: .6s; }
.bulle-papy { background: var(--papier-2); border-bottom-left-radius: 4px; animation-delay: 1.6s; font-family: var(--f-titre); font-style: italic; }
@keyframes bulle { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
.onde { display: flex; gap: 4px; align-items: center; height: 26px; padding-left: 4px; }
.onde span { width: 4px; border-radius: 2px; background: var(--rouille); animation: onde 1s ease-in-out infinite; height: 30%; }
.onde span:nth-child(2n) { animation-delay: .15s; } .onde span:nth-child(3n) { animation-delay: .3s; } .onde span:nth-child(5n) { animation-delay: .45s; }
@keyframes onde { 50% { height: 100%; } }

/* ruban : la bande magnétique qui sert de séparateur */
.ruban { margin: 56px 0 0; height: 40px; }
.ruban svg { width: 100%; height: 40px; }
.ruban path { fill: none; stroke: var(--encre-2); stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; animation: defile 3s linear infinite; }

/* ---------------- Étapes ---------------- */
.etapes { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--encre); }
.etape { padding: 22px 22px 26px 0; border-right: 1px dashed var(--trait); }
.etape + .etape { padding-left: 22px; }
.etape:last-child { border-right: 0; }
.compteur-grand { font: 500 .85rem var(--f-mono); color: var(--rouille); background: var(--encre); color: #ffb98f; padding: 4px 8px; border-radius: 4px; letter-spacing: .06em; }
.etape h3 { font: 560 1.45rem/1.15 var(--f-titre); margin: 18px 0 10px; }
.etape p { margin: 0; color: var(--encre-2); font-size: .98rem; }

/* ---------------- Bloc sombre « unique » ---------------- */
.bloc-sombre {
  margin: 80px calc(50% - 50vw) 0; padding: 72px max(16px, calc(50vw - 590px)) 80px;
  background: radial-gradient(1200px 500px at 85% 0%, #4a3020 0%, transparent 60%), var(--encre);
  color: var(--papier);
}
.bloc-sombre .titre-section em { color: #f0a77a; }
.grille-unique { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.fiche { background: rgba(243,234,217,.06); border: 1px solid rgba(243,234,217,.14); border-radius: var(--rayon); padding: 24px; transition: transform .25s, background .25s; }
.fiche:hover { transform: translateY(-4px); background: rgba(243,234,217,.1); }
.fiche-grande { grid-row: span 2; background: linear-gradient(160deg, var(--rouille) 0%, var(--rouille-fonce) 100%); border: 0; display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; }
.fiche-num { font: 500 .8rem var(--f-mono); color: var(--or); letter-spacing: .1em; }
.fiche-grande .fiche-num { color: #ffd2b5; }
.fiche h3 { font: 560 1.35rem/1.2 var(--f-titre); margin: 10px 0 8px; }
.fiche-grande h3 { font-size: 2rem; }
.fiche p { margin: 0; color: rgba(243,234,217,.82); font-size: .98rem; }
.fiche-grande p { color: #fff3e8; font-size: 1.08rem; }

/* ---------------- Citation ---------------- */
.citation { margin: 80px auto 0; max-width: 900px; text-align: center; }
.citation blockquote { margin: 0; font: italic 400 clamp(1.7rem, 3.6vw, 2.8rem)/1.2 var(--f-titre); font-variation-settings: "SOFT" 100; color: var(--encre); }
.citation figcaption { margin-top: 16px; font: 400 .85rem var(--f-mono); color: var(--sepia); letter-spacing: .04em; }

/* ---------------- Respect ---------------- */
.grille-respect { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 2px solid var(--encre); border-radius: var(--rayon); overflow: hidden; background: var(--papier-3); }
.engagement { padding: 26px 24px; border-right: 1px solid var(--trait); }
.engagement:last-child { border-right: 0; }
.engagement h3 { font: 600 1.25rem var(--f-titre); margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.engagement h3::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--olive); }
.engagement p { margin: 0; font-size: .96rem; color: var(--encre-2); }

/* ---------------- Services ---------------- */
.grille-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service {
  background: var(--papier-3); border: 1px solid var(--trait); border-radius: var(--rayon);
  padding: 26px 22px 28px; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.service:hover { transform: translateY(-5px); box-shadow: var(--ombre); }
.service::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: repeating-linear-gradient(90deg, var(--encre-2) 0 6px, transparent 6px 10px); opacity: .35; }
.service-num { font: 500 .8rem var(--f-mono); color: var(--rouille); }
.service h2 { font: 580 1.32rem/1.2 var(--f-titre); margin: 14px 0 10px; }
.service p { margin: 0; color: var(--encre-2); font-size: .97rem; }
.service-phare { grid-column: span 2; background: var(--encre); color: var(--papier); border-color: var(--encre); }
.service-phare h2 { font-size: 1.9rem; }
.service-phare p { color: rgba(243,234,217,.85); font-size: 1.05rem; }
.service-phare .service-num { color: #ffb98f; }

/* ---------------- Tarifs ---------------- */
.grille-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { background: var(--papier-3); border: 1px solid var(--trait); border-radius: 22px; padding: 30px 26px; display: flex; flex-direction: column; position: relative; }
.plan-phare { background: var(--encre); color: var(--papier); border: 0; transform: translateY(-12px); box-shadow: 0 30px 50px -28px rgba(43,29,18,.9); }
.plan-ruban { position: absolute; top: -14px; left: 26px; margin: 0; background: var(--rouille); color: #fff; font: 500 .72rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.plan-nom { font: 600 1.8rem var(--f-titre); margin: 0; }
.plan-pour { margin: 6px 0 18px; color: var(--sepia); font-size: .97rem; }
.plan-phare .plan-pour { color: rgba(243,234,217,.75); }
.plan-prix { margin: 0 0 20px; display: flex; flex-direction: column; font: 500 3rem/1 var(--f-titre); letter-spacing: -.03em; }
.plan-depuis { font: 400 .72rem/1.6 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--sepia); }
.plan-phare .plan-depuis { color: #f0a77a; }
.plan-liste { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.plan-liste li { padding: 9px 0 9px 28px; border-top: 1px dashed var(--trait); position: relative; font-size: .97rem; }
.plan-phare .plan-liste li { border-color: rgba(243,234,217,.18); }
.plan-liste li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 14px; height: 8px; border-left: 2.5px solid var(--olive); border-bottom: 2.5px solid var(--olive); transform: rotate(-45deg); }
.plan-phare .plan-liste li::before { border-color: #f0a77a; }
.plan .bouton { width: 100%; }
.plan-phare .bouton-plein { background: var(--rouille); border-color: var(--rouille); }
.plan-phare .bouton-plein:hover { background: #d0683a; border-color: #d0683a; }

.grille-suite { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 30px; }
.encart { border: 2px solid var(--encre); border-radius: var(--rayon); padding: 24px 26px; background: var(--papier-2); }
.encart h2 { font: 600 1.35rem var(--f-titre); margin: 0 0 10px; }
.encart p { margin: 0; }
.liste-options { margin: 0; padding-left: 18px; }
.liste-options li { margin: 4px 0; }
.mention { font: 400 .8rem var(--f-mono); color: var(--sepia); margin: 14px 0 0; }

.grille-faq-devis { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 64px; align-items: start; }
.titre-bloc { font: 560 1.9rem/1.15 var(--f-titre); margin: 0 0 18px; }
.faq details { border-top: 1px solid var(--trait); padding: 4px 0; }
.faq details:last-child { border-bottom: 1px solid var(--trait); }
.faq summary { cursor: pointer; list-style: none; font: 600 1.05rem var(--f-texte); padding: 14px 36px 14px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 8px; font: 400 1.6rem var(--f-titre); color: var(--rouille); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; color: var(--encre-2); }

/* ---------------- Formulaires ---------------- */
.carte-papier { background: var(--papier-3); border: 1px solid var(--trait); border-radius: 22px; padding: 28px; box-shadow: var(--ombre); }
.formulaire label { display: block; font-weight: 600; font-size: .93rem; margin: 0 0 14px; }
.formulaire input:not([type="checkbox"]), .formulaire select, .formulaire textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  font: 400 1rem var(--f-texte); color: var(--encre);
  background: #fff; border: 1.5px solid rgba(43,29,18,.22); border-radius: 10px;
  transition: border-color .2s, box-shadow .2s;
}
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: none; border-color: var(--rouille); box-shadow: 0 0 0 4px rgba(181,86,43,.15); }
.formulaire textarea { resize: vertical; }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.case { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .93rem !important; color: var(--encre-2); }
.case input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--rouille); flex: none; }
.aide { margin: -8px 0 18px; color: var(--sepia); }
.requis { margin: 12px 0 0; font: 400 .75rem var(--f-mono); color: var(--sepia); }
.message-form { min-height: 1.4em; margin: 6px 0 12px; font-weight: 600; }
.message-form.ok { color: var(--olive); }
.message-form.erreur { color: #a32a12; }
.pot-de-miel { position: absolute !important; left: -10000px; width: 1px; height: 1px; opacity: 0; }

/* ---------------- Dépôts ---------------- */
.depot-entete { display: grid; grid-template-columns: 1.3fr .9fr; gap: 40px; align-items: end; margin-bottom: 30px; }
.conseils { list-style: none; margin: 0; padding: 22px 24px; background: var(--papier-2); border-radius: var(--rayon); border-left: 4px solid var(--rouille); }
.conseils li { padding-left: 22px; position: relative; margin: 8px 0; font-size: .96rem; color: var(--encre-2); }
.conseils li::before { content: "◉"; position: absolute; left: 0; color: var(--rouille); font-size: .7rem; top: .35em; }
.depot-form { max-width: 860px; }

.dossier { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; background: var(--encre); color: var(--papier); padding: 16px 18px; border-radius: 14px; margin-bottom: 22px; }
.dossier-libelle { font: 500 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .12em; color: #f0a77a; }
.dossier-ref { font: 600 1.2rem var(--f-mono); letter-spacing: .08em; color: #fff; }
.dossier-aide { grid-column: 1 / -1; font-size: .88rem; color: rgba(243,234,217,.8); }
.dossier .lien-discret { grid-column: 1 / -1; justify-self: start; color: #f0a77a; font-size: .85rem; }

.zone {
  margin: 6px 0 14px; padding: 34px 20px; text-align: center; cursor: pointer;
  border: 2px dashed rgba(43,29,18,.35); border-radius: 18px;
  background: repeating-linear-gradient(-45deg, rgba(198,156,93,.06) 0 12px, transparent 12px 24px), #fffdf8;
  transition: border-color .2s, background-color .2s, transform .2s;
}
.zone:hover, .zone.survol { border-color: var(--rouille); background-color: #fff4e8; }
.zone.survol { transform: scale(1.01); }
.zone-k7 { width: 72px; margin: 0 auto 12px; fill: var(--encre); }
.zone-fenetre { fill: #1a110a; }
.zone-bobine { fill: var(--papier-2); }
.zone.survol .zone-k7 { animation: secoue .5s ease-in-out infinite alternate; }
@keyframes secoue { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.zone-titre { margin: 0; font: 560 1.4rem var(--f-titre); }
.zone-sous { margin: 4px 0 10px; color: var(--encre-2); }
.zone-lien { color: var(--rouille-fonce); text-decoration: underline; font-weight: 600; }
.zone-formats { margin: 0; font: 400 .74rem/1.6 var(--f-mono); color: var(--sepia); }

.fichiers { list-style: none; margin: 0 0 18px; padding: 0; }
.fichier { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 10px 14px; border: 1px solid var(--trait); border-radius: 12px; margin-bottom: 8px; background: #fff; }
.fichier-nom { font-weight: 600; font-size: .95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fichier-info { font: 400 .76rem var(--f-mono); color: var(--sepia); }
.fichier-info.erreur { color: #a32a12; }
.fichier-info.ok { color: var(--olive); }
.fichier .lien-discret { font-size: .82rem; }
.total { margin: -8px 0 16px; font: 500 .8rem var(--f-mono); color: var(--olive); }
.total.erreur { color: #a32a12; }
.barre { grid-column: 1 / -1; height: 5px; background: var(--papier-2); border-radius: 3px; overflow: hidden; }
.barre span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--rouille), var(--or)); transition: width .2s; }

/* ---------------- Pied de page ---------------- */
.pied { margin-top: 40px; background: var(--encre); color: rgba(243,234,217,.85); }
.pied-inner { width: var(--large); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; padding: 48px 0 24px; }
.pied-marque { font: 600 1.6rem var(--f-titre); color: var(--papier); margin: 0 0 8px; }
.pied p { margin: 0 0 8px; }
.pied a { color: #f0a77a; }
.pied-petit { font-size: .85rem; color: rgba(243,234,217,.65); }
.pied-bas { width: var(--large); margin: 0 auto; padding: 18px 0 28px; border-top: 1px solid rgba(243,234,217,.14); font: 400 .78rem var(--f-mono); color: rgba(243,234,217,.6); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------------- 404 ---------------- */
.page-404 { width: var(--large); margin: 0 auto; min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.page-404 .magneto-404 { width: 220px; margin: 0 auto 28px; }

/* ---------------- Adaptation écrans ---------------- */
@media (max-width: 1020px) {
  .heros { grid-template-columns: 1fr; gap: 24px; }
  .heros-scene { min-height: 400px; max-width: 560px; width: 100%; margin: 0 auto; }
  .etapes { grid-template-columns: 1fr 1fr; }
  .etape:nth-child(2) { border-right: 0; }
  .etape:nth-child(3) { padding-left: 0; }
  .etape:nth-child(n+3) { border-top: 1px dashed var(--trait); }
  .grille-unique { grid-template-columns: 1fr 1fr; }
  .grille-respect { grid-template-columns: 1fr 1fr; }
  .engagement:nth-child(2) { border-right: 0; }
  .engagement:nth-child(n+3) { border-top: 1px solid var(--trait); }
  .grille-services { grid-template-columns: 1fr 1fr; }
  .grille-plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .plan-phare { transform: none; }
  .grille-faq-devis, .depot-entete { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .marque-sous { display: none; }
  .marque-k7 { width: 42px; }
  .panneau { padding: 24px 0 56px; }
  .heros-scene { min-height: 360px; }
  .magneto { width: 92%; }
  .ecran { width: 82%; }
  .etapes, .grille-unique, .grille-respect, .grille-services, .grille-suite, .champs-2 { grid-template-columns: 1fr; }
  .etape, .etape + .etape { padding: 20px 0; border-right: 0; border-top: 1px dashed var(--trait); }
  .engagement { border-right: 0; border-top: 1px solid var(--trait); }
  .engagement:first-child { border-top: 0; }
  .service-phare { grid-column: auto; }
  .fiche-grande { grid-row: auto; min-height: 200px; }
  .carte-papier { padding: 20px 16px; }
  .pied-inner { grid-template-columns: 1fr; }
  .bouton { width: 100%; }
  .langue { padding: 8px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
  .bulle { opacity: 1; }
}
