/* NapBuild : page de garde, page Livres, page Logiciels (refonte du 21/11/2026).
   Charte de l'appli (site.css) : gris très clair, panneaux blancs, encre, bleu nuit pour agir, orange pour les mots forts.
   Chaque page prend le ton de son sujet : le papier chaud pour les livres, l'écran net pour les logiciels. */

.v3 { --papier: #fbf3ea; --papier-2: #f5e3d1; --papier-bord: #ecd5bf; --ecran: #e9eef6; --ecran-2: #d9e2ef; }
.v3 main { overflow: clip; }
.v3 .o { color: var(--orange-titre); }
.v3 .b { color: var(--accent); }

.v3-sec { padding: 64px 0; }
.v3-sec.blanc { background: var(--panel); }
.v3-sec.papier { background: var(--papier); }
.v3-sec.nuit { background: var(--night); color: #fff; }
@media (min-width: 900px) { .v3-sec { padding: 104px 0; } }

.v3-kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 12.5px/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--orange-texte); }
.v3-kicker::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--orange); }
.nuit .v3-kicker { color: #f3b592; }
.v3-h2 { margin-top: 14px; font-size: clamp(29px, 4.1vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -.032em; }
.v3-lead { margin-top: 18px; font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.nuit .v3-lead { color: #c3cddd; }
.v3-tete { max-width: 760px; }
.v3-tete.centre { margin: 0 auto; text-align: center; }
.v3-tete.centre .v3-lead { margin-left: auto; margin-right: auto; }

.v3-liste { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 16px; }
.v3-liste li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--ink-2); line-height: 1.55; }
.v3-liste li::before { content: ""; width: 26px; height: 26px; border-radius: 50%; background: var(--ok-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317703f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
.v3-liste b { color: var(--ink); font-weight: 700; }
.nuit .v3-liste li { color: #c3cddd; }
.nuit .v3-liste b { color: #fff; }

.v3-fleche { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease); }
a:hover > .v3-fleche, button:hover > .v3-fleche { transform: translateX(4px); }
.v3-lien { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); text-decoration: none; }
.v3-lien:hover { text-decoration: underline; }

.v3-legende { margin-top: 14px; font-size: 14px; color: var(--muted); }
.nuit .v3-legende { color: #9aa7bb; }

/* ---------- Objets : le livre, la fenêtre, le téléphone ---------- */
.livre { --ep: 18px; position: relative; display: block; aspect-ratio: 1; border-radius: 3px 7px 7px 3px; background: #fff; transform-style: preserve-3d; transform: perspective(1400px) rotateY(-22deg) rotateX(3deg); box-shadow: 1px 1px 0 #fff, 2px 2px 0 #e9e2d8, 3px 3px 0 #fff, 4px 4px 0 #e9e2d8, 5px 5px 0 #fff, 6px 6px 0 #e3dbd0, 26px 34px 50px -18px rgb(60 34 12 / .45), 10px 12px 18px -8px rgb(60 34 12 / .3); transition: transform .6s var(--ease); }
.livre img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.livre::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, rgb(0 0 0 / .28) 0, rgb(255 255 255 / .22) 2.2%, rgb(0 0 0 / .1) 4.5%, rgb(255 255 255 / 0) 9%, rgb(255 255 255 / 0) 100%); pointer-events: none; }
.livre.haut { aspect-ratio: 700 / 905; }
.livre.a4 { aspect-ratio: 700 / 990; }
.livre.a4 img { object-position: top; }

.double { position: relative; display: grid; grid-template-columns: 1fr 1fr; border-radius: 6px; background: #fff; box-shadow: 0 30px 50px -22px rgb(60 34 12 / .45), 0 8px 16px -8px rgb(60 34 12 / .25); }
.double img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.double img:first-child { border-radius: 6px 0 0 6px; }
.double img:last-child { border-radius: 0 6px 6px 0; }
.double::after { content: ""; position: absolute; inset: 0 calc(50% - 26px); background: linear-gradient(90deg, rgb(0 0 0 / 0), rgb(0 0 0 / .2) 46%, rgb(0 0 0 / .32) 50%, rgb(0 0 0 / .2) 54%, rgb(0 0 0 / 0)); pointer-events: none; }

.fen { border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgb(16 24 40 / .08), 0 30px 60px -24px rgb(16 24 40 / .38), 0 10px 20px -10px rgb(16 24 40 / .2); }
.fen-barre { display: flex; align-items: center; gap: 7px; height: 34px; padding: 0 13px; background: #eef1f5; border-bottom: 1px solid #dfe4eb; }
.fen-barre i { width: 10px; height: 10px; border-radius: 50%; background: #cfd6e0; }
.fen-barre span { margin-left: 8px; font: 600 12px/1 var(--f-sans); color: #6b7688; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fen-barre .url { flex: 1; max-width: 300px; margin-left: 12px; height: 20px; padding: 0 10px; display: flex; align-items: center; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px #dfe4eb; font: 500 11px/1 var(--f-mono); color: #7a8597; }
.fen.sombre { background: #10141b; }
.fen.sombre .fen-barre { background: #1a2029; border-bottom-color: #262e3a; }
.fen.sombre .fen-barre i { background: #3a4454; }
.fen.sombre .fen-barre span { color: #9aa7bb; }
.fen img { width: 100%; }

.tel { position: relative; aspect-ratio: 720 / 1558; padding: 2.6%; border-radius: 13% / 6%; background: #0b1220; box-shadow: 0 0 0 1.5px #2b3648, 0 34px 50px -22px rgb(0 0 0 / .65), 0 12px 20px -10px rgb(0 0 0 / .45); }
.tel img { width: 100%; height: 100%; object-fit: cover; border-radius: 11% / 5%; }

/* ---------- Page de garde ---------- */
.g-hero { padding: 40px 0 56px; text-align: center; }
.g-hero h1 { margin: 16px auto 0; max-width: 17ch; font-size: clamp(36px, 6.4vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; }
.g-sous { margin: 20px auto 0; max-width: 58ch; font-size: clamp(16.5px, 1.6vw, 19.5px); color: var(--ink-2); }
.g-portes { margin-top: 40px; display: grid; gap: 20px; text-align: left; }
.g-porte { position: relative; display: flex; flex-direction: column; border-radius: 28px; background: var(--panel); box-shadow: var(--ombre); text-decoration: none; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.g-porte:hover, .g-porte:focus-visible { transform: translateY(-6px); box-shadow: var(--ombre-haute); }
.g-scene { position: relative; height: 270px; overflow: hidden; }
.g-appli .g-scene { background: radial-gradient(120% 90% at 50% 0, #2a5288 0, #1c3f6b 38%, #0c1626 100%); }
.g-livre .g-scene { background: radial-gradient(120% 90% at 50% 0, #fff8f0 0, var(--papier) 40%, var(--papier-2) 100%); }
.g-logiciel .g-scene { background: radial-gradient(120% 90% at 50% 0, #f7f9fc 0, var(--ecran) 45%, var(--ecran-2) 100%); }
.g-txt { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.g-txt h2 { font-size: 29px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.g-txt p { margin-top: 10px; color: var(--ink-2); font-size: 16px; line-height: 1.55; }
.g-tags { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.g-tags li { padding: 6px 11px; border-radius: 999px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.g-go { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 16.5px; color: var(--accent); }
.g-go i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; transition: transform .45s var(--ease), background .3s; }
.g-porte:hover .g-go i { transform: translateX(4px); background: var(--accent-deep); }
.g-go svg { width: 20px; height: 20px; }

.g-appli .tel { position: absolute; width: 150px; top: 34px; transition: transform .6s var(--ease); }
.g-appli .tel.t1 { left: calc(50% - 138px); transform: rotate(-7deg); }
.g-appli .tel.t2 { left: calc(50% - 12px); top: 58px; transform: rotate(6deg); }
.g-appli:hover .tel.t1 { transform: rotate(-9deg) translateY(-8px); }
.g-appli:hover .tel.t2 { transform: rotate(8deg) translateY(-12px); }

.g-livre .livre { position: absolute; width: 178px; left: calc(50% - 128px); top: 44px; z-index: 2; }
.g-livre .livre.guide { width: 118px; left: calc(50% + 58px); top: 70px; z-index: 1; transform: perspective(1400px) rotateY(-14deg) rotateZ(5deg); }
.g-livre:hover .livre:not(.guide) { transform: perspective(1400px) rotateY(-30deg) rotateX(3deg) translateY(-8px); }

.g-logiciel .fen { position: absolute; transition: transform .6s var(--ease); }
.g-logiciel .fen.f1 { width: 330px; left: calc(50% - 196px); top: 46px; }
.g-logiciel .fen.f2 { width: 250px; left: calc(50% - 30px); top: 116px; }
.g-logiciel:hover .fen.f1 { transform: translate(-6px, -6px); }
.g-logiciel:hover .fen.f2 { transform: translate(8px, -10px); }
.g-logiciel .fen-barre { height: 24px; padding: 0 10px; gap: 5px; }
.g-logiciel .fen-barre i { width: 7px; height: 7px; }

.g-retour { margin: 26px auto 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 14px; font-size: 15px; color: var(--muted); }
.g-retour[hidden] { display: none; }
.g-retour a { font-weight: 700; color: var(--accent); }
.g-retour button { border: 0; background: none; padding: 4px; font: inherit; color: var(--muted); text-decoration: underline; cursor: pointer; }

@media (min-width: 620px) { .g-scene { height: 300px; } }
@media (min-width: 980px) {
  .g-hero { padding: 64px 0 88px; }
  .g-portes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
  .g-scene { height: 320px; }
  .g-txt { padding: 28px 28px 30px; }
  .g-appli .tel { width: 158px; }
}

.g-temps { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: t; }
.g-temps li { counter-increment: t; position: relative; padding: 22px 22px 24px; border-radius: 20px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .09); }
.g-temps li::before { content: counter(t); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #2a1305; font: 700 15px/1 var(--f-mono); }
.g-temps b { display: block; margin-top: 16px; font-size: 19px; letter-spacing: -.02em; }
.g-temps span { display: block; margin-top: 8px; color: #b9c4d6; font-size: 15.5px; line-height: 1.55; }
@media (min-width: 760px) { .g-temps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .g-temps { grid-template-columns: repeat(4, 1fr); } }
.v3-sec.blanc .g-temps li, .v3-sec.papier .g-temps li { background: var(--panel); box-shadow: var(--ombre); }
.v3-sec.blanc .g-temps span, .v3-sec.papier .g-temps span { color: var(--ink-2); }
.v3-sec.blanc .g-temps li { background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }

.g-sortis { margin-top: 40px; display: grid; gap: 16px; }
.g-sorti { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; padding: 14px; border-radius: 20px; background: var(--panel); box-shadow: var(--ombre); text-decoration: none; transition: transform .4s var(--ease); }
.g-sorti:hover { transform: translateY(-3px); }
.g-sorti .vig { width: 92px; height: 92px; border-radius: 14px; overflow: hidden; background: var(--soft); }
.g-sorti .vig img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.g-sorti small { font: 600 11.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-texte); }
.g-sorti b { display: block; margin-top: 7px; font-size: 17.5px; letter-spacing: -.02em; line-height: 1.25; }
.g-sorti span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
@media (min-width: 700px) { .g-sortis { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .g-sortis { grid-template-columns: repeat(3, 1fr); } }

/* ---------- En-tête de page (Livres, Logiciels) ---------- */
.p-hero { padding: 36px 0 56px; }
.p-hero .wrap { display: grid; gap: 40px; align-items: center; }
.p-hero h1 { margin-top: 16px; font-size: clamp(36px, 5.4vw, 66px); line-height: 1.03; font-weight: 800; letter-spacing: -.04em; }
.p-hero .v3-lead { font-size: clamp(17px, 1.6vw, 20px); }
.p-cta { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.p-faits { list-style: none; margin: 34px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.p-faits b { display: block; font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.p-faits span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
@media (min-width: 980px) { .p-hero { padding: 56px 0 96px; } .p-hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; } }

/* Livres : la scène du héros */
.l-scene { position: relative; aspect-ratio: 1 / .96; border-radius: 34px; background: radial-gradient(110% 90% at 30% 10%, #fffaf4 0, var(--papier) 42%, var(--papier-2) 100%); box-shadow: inset 0 0 0 1px var(--papier-bord); }
.l-scene .double { position: absolute; width: 74%; right: -3%; bottom: 9%; transform: rotate(4deg); }
.l-scene .livre { position: absolute; width: 50%; left: 7%; top: 9%; z-index: 2; }
.l-scene .pastille { position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: var(--ombre-haute); font-size: 13.5px; font-weight: 700; line-height: 1.25; }
.l-scene .pastille i { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); font: 700 13px/1 var(--f-mono); font-style: normal; }
.l-scene .pastille.p1 { right: 5%; top: 9%; }
.l-scene .pastille.p2 { left: 5%; bottom: 6%; }
.l-scene .pastille small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }
@media (max-width: 520px) { .l-scene .pastille { font-size: 12px; padding: 8px 10px; } .l-scene .pastille.p1 { top: 4%; } }

/* Livres : deux familles */
.l-familles { display: grid; gap: 18px; margin-top: 40px; }
.l-famille { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center; padding: 22px; border-radius: 24px; background: var(--panel); box-shadow: var(--ombre); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.l-famille:hover { transform: translateY(-4px); box-shadow: var(--ombre-haute); }
.l-famille .livre { width: 104px; }
.l-famille h3 { font-size: 23px; letter-spacing: -.025em; }
.l-famille p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.l-famille .v3-lien { margin-top: 12px; font-size: 15px; }
@media (min-width: 860px) { .l-familles { grid-template-columns: 1fr 1fr; gap: 24px; } .l-famille { grid-template-columns: 150px 1fr; padding: 30px; gap: 28px; } .l-famille .livre { width: 138px; } }

/* Livres : l'atelier d'essai */
.atelier { margin-top: 44px; display: grid; gap: 0; border-radius: 30px; background: var(--panel); box-shadow: var(--ombre-haute); overflow: hidden; }
.atelier-form { padding: 26px 20px 28px; }
.atelier-etape { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 0 0 26px; position: relative; }
.atelier-etape::before { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; border-radius: 2px; background: var(--line); }
.atelier-etape:last-of-type::before { display: none; }
.atelier-etape > i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 14px/1 var(--f-mono); font-style: normal; }
.atelier-etape label, .atelier-etape legend { display: block; padding: 0; font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.atelier-etape .aide { margin-top: 4px; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.atelier-etape input[type="text"], .atelier-etape textarea { width: 100%; margin-top: 12px; padding: 14px 16px; border: 0; border-radius: 14px; background: var(--soft); box-shadow: inset 0 0 0 1.5px var(--line); font: 500 16.5px/1.45 var(--f-sans); color: var(--ink); resize: none; transition: box-shadow .2s, background .2s; }
.atelier-etape input[type="text"]:focus, .atelier-etape textarea:focus { outline: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--accent); }
.atelier-etape ::placeholder { color: #8a94a6; }
.atelier-etape fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.atelier-idees { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 7px; }
.atelier-idees button { border: 0; padding: 7px 12px; border-radius: 999px; background: var(--papier); box-shadow: inset 0 0 0 1px var(--papier-bord); font: 600 13.5px/1.2 var(--f-sans); color: #7a4a26; cursor: pointer; }
.atelier-idees button:hover { background: var(--papier-2); }
.atelier-styles { margin-top: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.atelier-styles label { position: relative; display: block; cursor: pointer; }
.atelier-styles input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.atelier-styles span { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border-radius: 13px; background: var(--soft); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: box-shadow .2s, background .2s; }
.atelier-styles span::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 8px; background: var(--c, #d6dce6); box-shadow: inset 0 0 0 1px rgb(0 0 0 / .06); }
.atelier-styles input:checked + span { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 2px var(--accent); }
.atelier-styles input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (min-width: 560px) { .atelier-styles { grid-template-columns: repeat(3, 1fr); } }
.atelier-go { margin-top: 4px; padding-left: 48px; }
.atelier-go .btn { width: 100%; min-height: 58px; font-size: 17px; }
.atelier-note { margin-top: 12px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.atelier .pills { margin: 18px 0 0; }
.atelier .card-foot { margin-top: 12px; }

.atelier-apercu { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 34px 20px 30px; background: radial-gradient(120% 80% at 50% 0, #fffaf4 0, var(--papier) 45%, var(--papier-2) 100%); border-top: 1px solid var(--papier-bord); }
.atelier-apercu .etiquette { font: 600 12px/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: #9a6238; }
.apercu-livre { --ep: 14px; position: relative; width: min(74%, 300px); margin-top: 22px; aspect-ratio: 1; border-radius: 3px 8px 8px 3px; background: #efe3d4; transform: perspective(1400px) rotateY(-18deg) rotateX(2deg); box-shadow: 1px 1px 0 #fff, 2px 2px 0 #e9e2d8, 3px 3px 0 #fff, 4px 4px 0 #e9e2d8, 5px 5px 0 #fff, 24px 32px 46px -18px rgb(60 34 12 / .45); overflow: hidden; }
.apercu-livre img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.apercu-livre img[hidden] { display: none; }
.apercu-livre::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(0 0 0 / .28) 0, rgb(255 255 255 / .22) 2.2%, rgb(0 0 0 / .1) 4.5%, rgb(255 255 255 / 0) 9%), linear-gradient(180deg, rgb(12 22 38 / .62) 0, rgb(12 22 38 / 0) 46%); pointer-events: none; }
.apercu-livre.vide::after { background: linear-gradient(90deg, rgb(0 0 0 / .2) 0, rgb(255 255 255 / .3) 2.2%, rgb(0 0 0 / .06) 4.5%, rgb(255 255 255 / 0) 9%); }
.apercu-titre { position: absolute; z-index: 2; left: 9%; right: 7%; top: 8%; font: 800 clamp(20px, 2.6vw, 28px)/1.08 var(--f-sans); letter-spacing: -.03em; color: #fff; text-wrap: balance; overflow-wrap: anywhere; text-shadow: 0 2px 10px rgb(0 0 0 / .35); }
.apercu-livre.vide .apercu-titre { color: #6d4a2e; text-shadow: none; }
.apercu-heros { margin-top: 26px; max-width: 34ch; text-align: center; font-size: 15px; line-height: 1.5; color: #6d4a2e; }
.apercu-heros b { color: #3f2814; }
.apercu-style { margin-top: 10px; display: inline-flex; gap: 8px; align-items: center; padding: 7px 12px; border-radius: 999px; background: #fff; box-shadow: var(--ombre); font-size: 13.5px; font-weight: 700; }
.apercu-style small { font-weight: 500; color: var(--muted); }
@media (min-width: 940px) {
  .atelier { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
  .atelier-form { padding: 40px 40px 40px; }
  .atelier-apercu { border-top: 0; border-left: 1px solid var(--papier-bord); padding: 40px 32px; }
}

/* Livres : feuilleter */
.feuillets { margin-top: 44px; display: flex; gap: 22px; overflow-x: auto; padding: 8px var(--gutter) 34px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.feuillets > * { flex: none; scroll-snap-align: center; }
.feuillets .livre { width: min(70vw, 360px); margin: 0 22px 0 10px; }
.feuillets .double { width: min(132vw, 720px); }
.feuillets figure { margin: 0; }
.feuillets figcaption { margin-top: 16px; font-size: 14px; color: var(--muted); text-align: center; }
@media (min-width: 1240px) { .feuillets { padding-left: calc((100vw - var(--wrap)) / 2); padding-right: calc((100vw - var(--wrap)) / 2); } }
.mur { margin-top: 26px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.mur img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
@media (min-width: 760px) { .mur { grid-template-columns: repeat(9, 1fr); gap: 10px; } .mur img { border-radius: 12px; } }

.cote-a-cote { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .cote-a-cote { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; } .cote-a-cote.inverse > :first-child { order: 2; } }

.l-bande { display: grid; gap: 12px; }
.l-bande img { width: 100%; border-radius: 18px; box-shadow: var(--ombre); background: #fff; }
.l-bande .fiches { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.l-styles { margin-top: 44px; display: grid; gap: 18px; }
.l-styles figure { position: relative; margin: 0; border-radius: 22px; overflow: hidden; background: var(--panel); box-shadow: var(--ombre); }
.l-styles img { width: 100%; aspect-ratio: 800 / 597; object-fit: cover; }
.l-styles figcaption { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; font-weight: 700; font-size: 16px; }
.l-styles .retenu { padding: 5px 10px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 12.5px; font-weight: 700; }
@media (min-width: 820px) { .l-styles { grid-template-columns: repeat(3, 1fr); } }

.etagere { margin-top: 48px; display: grid; gap: 34px; }
.etagere article { display: grid; grid-template-columns: 130px 1fr; gap: 26px; align-items: center; }
.etagere .livre { width: 124px; }
.etagere h3 { font-size: 21px; letter-spacing: -.025em; line-height: 1.2; }
.etagere p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; }
.etagere small { display: block; font: 600 11.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-texte); margin-bottom: 9px; }
@media (min-width: 900px) {
  .etagere { grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: end; padding-bottom: 28px; border-bottom: 14px solid #e6d2bd; border-radius: 0 0 6px 6px; box-shadow: 0 22px 26px -22px rgb(60 34 12 / .5); }
  .etagere article { grid-template-columns: 1fr; gap: 22px; align-content: end; }
  .etagere .livre { width: 62%; margin: 0 auto -28px; order: 2; }
  .etagere article > div { order: 1; text-align: center; padding-bottom: 14px; }
}

.l-guide { position: relative; height: 420px; }
.l-guide .livre { position: absolute; }
.l-guide .livre.g1 { width: 46%; max-width: 250px; left: 8%; top: 6%; z-index: 2; aspect-ratio: 700 / 1246; }
.l-guide .livre.g2 { width: 42%; max-width: 230px; right: 6%; top: 14%; aspect-ratio: 700 / 1246; transform: perspective(1400px) rotateY(-10deg) rotateZ(5deg); }
@media (min-width: 620px) { .l-guide { height: 520px; } }

.recus { margin-top: 44px; display: grid; gap: 18px; }
.sortie { display: flex; flex-direction: column; border-radius: 24px; background: var(--panel); box-shadow: var(--ombre); overflow: hidden; }
.sortie .vue { height: 220px; display: grid; place-items: center; padding: 22px; background: var(--soft); overflow: hidden; }
.papier .sortie .vue { background: #f7ecdf; }
.sortie .vue img { max-height: 100%; width: auto; border-radius: 8px; box-shadow: 0 14px 26px -14px rgb(16 24 40 / .4); }
.sortie .vue.duo-img { display: flex; gap: 12px; align-items: flex-end; justify-content: center; }
.sortie .vue.duo-img img:first-child { max-width: 72%; }
.sortie .vue.duo-img img:last-child { max-height: 88%; }
.sortie div:last-child { padding: 22px 24px 26px; }
.sortie h3 { font-size: 20px; letter-spacing: -.02em; }
.sortie p { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
@media (min-width: 880px) { .recus { grid-template-columns: repeat(3, 1fr); gap: 22px; } }

.v3 .faq-grid { margin-top: 0; }
.a-venir { margin-top: 36px; display: grid; gap: 6px; padding: 22px 24px; border-radius: 20px; background: var(--arb-soft); color: #3b2580; }
.a-venir b { font-size: 17px; }
.a-venir span { font-size: 15.5px; line-height: 1.55; }

.v3-fin { text-align: center; }
.v3-fin .inscription { margin: 36px auto 0; max-width: 760px; text-align: left; }
.nuit.v3-fin .inscription p { color: var(--ink-2); }

/* ---------- Logiciels ---------- */
.s-scene { position: relative; aspect-ratio: 1 / .82; }
.s-scene::before { content: ""; position: absolute; inset: 4% 0 0 8%; border-radius: 34px; background: radial-gradient(110% 90% at 70% 0, #f7f9fc 0, var(--ecran) 45%, var(--ecran-2) 100%); box-shadow: inset 0 0 0 1px #d3dceb; }
.s-scene .fen { position: absolute; }
.s-scene .fen.f1 { width: 86%; left: 0; top: 13%; z-index: 1; }
.s-scene .fen.f2 { width: 60%; right: -2%; bottom: 3%; z-index: 2; }
.s-scene .os { position: absolute; z-index: 3; right: 4%; top: 2%; display: flex; gap: 8px; }
.s-scene .os span { display: flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 12px; background: #fff; box-shadow: var(--ombre-haute); font-size: 13.5px; font-weight: 700; }
.s-scene .os svg { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 520px) { .s-scene .os span { padding: 7px 9px; font-size: 12px; } .s-scene .os svg { display: none; } }

.supports { margin-top: 44px; display: grid; gap: 14px; }
.support { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 22px; border-radius: 22px; background: var(--panel); box-shadow: var(--ombre); }
.blanc .support { background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.support .ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; background: var(--accent-soft); color: var(--accent); }
.support .ic svg { width: 26px; height: 26px; }
.support h3 { font-size: 19px; letter-spacing: -.02em; }
.support p { margin-top: 6px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
@media (min-width: 700px) { .supports { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .supports { grid-template-columns: repeat(6, 1fr); gap: 18px; } .support { grid-column: span 2; grid-template-columns: 1fr; } .support:nth-child(4) { grid-column: 2 / span 2; } }

.cas { margin-top: 44px; border-radius: 32px; padding: 26px 20px 28px; overflow: hidden; }
.cas + .cas { margin-top: 24px; }
.cas.prisme { background: #0e1219; color: #fff; }
.cas.conchy { background: var(--panel); box-shadow: var(--ombre); }
.cas-tete { display: grid; gap: 22px; }
.cas small { font: 600 12px/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--orange-texte); }
.cas.prisme small { color: #f3b592; }
.cas h3 { margin-top: 12px; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.cas .v3-lead { font-size: 17px; margin-top: 14px; }
.cas.prisme .v3-lead { color: #b9c4d6; }
.cas.prisme .v3-liste li { color: #b9c4d6; }
.cas.prisme .v3-liste li::before { background-color: rgb(255 255 255 / .1); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E"); }
.cas .v3-liste { margin-top: 0; gap: 12px; }
.cas-ecrans { margin-top: 30px; display: grid; gap: 14px; }
.cas-ecrans .fen:first-child { grid-column: 1 / -1; }
.cas .v3-legende { margin-top: 16px; }
@media (min-width: 720px) { .cas-ecrans { grid-template-columns: 1fr 1fr; gap: 18px; } }
@media (min-width: 960px) { .cas { padding: 48px; } .cas-tete { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: end; } .cas-ecrans { margin-top: 44px; } }

.regards { list-style: none; margin: 48px 0 0; padding: 0; display: grid; gap: 14px; counter-reset: c; }
.regards li { counter-increment: c; position: relative; padding: 24px; border-radius: 22px; background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .09); }
.regards li::before { content: "0" counter(c); font: 600 13px/1 var(--f-mono); color: #f3b592; letter-spacing: .08em; }
.regards small { display: block; margin-top: 18px; font: 600 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #8fa0b8; }
.regards b { display: block; margin-top: 8px; font-size: 21px; letter-spacing: -.02em; }
.regards span { display: block; margin-top: 10px; color: #b9c4d6; font-size: 15.5px; line-height: 1.55; }
@media (min-width: 760px) { .regards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .regards { grid-template-columns: repeat(4, 1fr); } }

.s-essai { display: grid; gap: 32px; align-items: start; }
.s-essai .atelier { margin-top: 0; }
.s-essai .atelier-form { padding: 26px 20px; }
.atelier-styles.trois { grid-template-columns: repeat(3, 1fr); }
.atelier-styles.trois span::before { display: none; }
.atelier-styles.trois span { justify-content: center; }
@media (min-width: 980px) { .s-essai { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; } .s-essai .atelier { display: block; } .s-essai .atelier-form { padding: 36px; } }

.s-fin { display: grid; gap: 28px; padding: 30px 22px; border-radius: 32px; background: linear-gradient(160deg, #1c3f6b, #0c1626); color: #fff; }
.s-fin h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; letter-spacing: -.032em; line-height: 1.08; }
.s-fin p { margin-top: 16px; color: #c3cddd; font-size: 18px; max-width: 46ch; }
.s-fin .p-cta { align-items: center; gap: 16px; }
.s-fin .p-cta span { color: #c3cddd; font-size: 15px; }
.s-fin .p-cta span b { color: #fff; }
.s-fin-cote { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; }
.s-fin-cote div { padding: 16px; border-radius: 16px; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.s-fin-cote b { display: block; font-size: 16px; }
.s-fin-cote small { display: block; margin-top: 4px; color: #b9c4d6; font-size: 13.5px; }
@media (min-width: 960px) { .s-fin { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; padding: 60px; } }

@media (prefers-reduced-motion: reduce) { .v3 * { transition: none !important; } }

/* Page de garde sur téléphone : les trois portes tiennent dans un seul écran (image à gauche, texte à droite). */
@media (max-width: 619px) {
  .g-hero { padding: 26px 0 44px; }
  .g-hero h1 { font-size: clamp(31px, 9.4vw, 40px); }
  .g-sous { margin-top: 14px; font-size: 16px; }
  .g-portes { margin-top: 26px; gap: 14px; }
  .g-porte { flex-direction: row; border-radius: 22px; min-height: 164px; }
  .g-scene { flex: none; width: 36%; height: auto; }
  .g-txt { padding: 16px 16px 16px 18px; }
  .g-txt h2 { font-size: 23px; }
  .g-txt p { margin-top: 6px; font-size: 14.5px; line-height: 1.45; }
  .g-tags { display: none; }
  .g-go { padding-top: 12px; font-size: 15px; }
  .g-go i { width: 36px; height: 36px; }
  .g-go svg { width: 17px; height: 17px; }
  .g-appli .tel.t2, .g-livre .livre.guide, .g-logiciel .fen.f2 { display: none; }
  .g-appli .tel.t1 { width: 84px; left: calc(50% - 42px); top: 22px; transform: rotate(-5deg); }
  .g-livre .livre:not(.guide) { width: 96px; left: calc(50% - 50px); top: calc(50% - 50px); }
  .g-logiciel .fen.f1 { width: 210px; left: 12px; top: 26px; }
}

@media (max-width: 619px) {
  .g-txt p .lg { display: none; }
  .p-cta .btn { max-width: 100%; white-space: normal; text-align: left; padding-top: 12px; padding-bottom: 12px; }
}

/* ---------- Livres, 2e passe : l'essai en tête de page, les genres, la galerie des 38 styles ---------- */
.l-hero .wrap { align-items: start; }
.l-voir { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
@media (min-width: 980px) { .l-hero .wrap { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); } .l-hero .wrap > div:first-child { padding-top: 26px; } }

.h-essai { padding: 22px 18px 20px; border-radius: 28px; background: var(--panel); box-shadow: var(--ombre-haute); }
.h-essai-appel { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--orange-texte); }
.h-essai form { margin-top: 16px; display: grid; gap: 14px; }
.h-champ { display: grid; gap: 7px; }
.h-champ > span, .h-styles legend { padding: 0; font-size: 14.5px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.h-champ small, .h-styles legend small { margin-left: 6px; font-weight: 500; color: var(--muted); font-size: 13px; }
.h-champ input, .h-champ textarea { width: 100%; padding: 13px 15px; border: 0; border-radius: 14px; background: var(--soft); box-shadow: inset 0 0 0 1.5px var(--line); font: 500 16.5px/1.45 var(--f-sans); color: var(--ink); resize: none; transition: box-shadow .2s, background .2s; }
.h-champ input:focus, .h-champ textarea:focus { outline: 0; background: #fff; box-shadow: inset 0 0 0 2px var(--accent); }
.h-champ ::placeholder { color: #8a94a6; }
.h-essai .atelier-idees { margin-top: -6px; }
.h-styles { border: 0; margin: 0; padding: 0; min-width: 0; }
.style-vignettes { margin-top: 9px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.style-vignettes label { position: relative; display: block; cursor: pointer; }
.style-vignettes input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.style-vignettes span { display: block; border-radius: 14px; overflow: hidden; background: var(--soft); box-shadow: 0 0 0 1.5px var(--line); transition: box-shadow .2s, transform .3s var(--ease); }
.style-vignettes img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.style-vignettes b { display: block; padding: 7px 8px 8px; font-size: 12.5px; font-weight: 700; line-height: 1.2; color: var(--ink-2); text-align: center; }
.style-vignettes label:hover span { transform: translateY(-2px); }
.style-vignettes input:checked + span { box-shadow: 0 0 0 3px var(--accent); }
.style-vignettes input:checked + span b { color: var(--accent); }
.style-vignettes input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 4px; }
.h-go { width: 100%; min-height: 58px; font-size: 17px; }
.h-essai .pills { margin-top: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.h-essai .card-foot { margin-top: 12px; }
@media (min-width: 620px) { .h-essai { padding: 28px 28px 24px; } .style-vignettes { gap: 10px; } .style-vignettes b { font-size: 13.5px; } }

.genres { margin-top: 44px; display: grid; gap: 16px; }
.genre { display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center; padding: 18px; border-radius: 22px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.genre .format { justify-self: center; width: calc(112px * var(--l) / 279); min-width: 54px; aspect-ratio: var(--l) / var(--h); border-radius: 3px 6px 6px 3px; overflow: hidden; background: #fff; box-shadow: 1px 1px 0 #fff, 2px 2px 0 #e6dfd5, 3px 3px 0 #fff, 12px 16px 24px -12px rgb(60 34 12 / .45); }
.genre .format img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.genre .format.vide { display: grid; place-items: center; background: linear-gradient(160deg, var(--papier), var(--papier-2)); }
.genre .format.vide span { font: 600 10.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #9a6238; writing-mode: vertical-rl; transform: rotate(180deg); }
.genre h3 { font-size: 19px; letter-spacing: -.02em; }
.genre p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.genre ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.genre li { padding: 5px 10px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 600 12px/1.2 var(--f-mono); color: var(--ink-2); }
@media (min-width: 720px) { .genres { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) {
  .genres { grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: stretch; }
  .genre { grid-template-columns: 1fr; grid-template-rows: 176px auto; align-content: start; gap: 22px; padding: 24px 20px 24px; }
  .genre .format { width: calc(176px * var(--l) / 279); align-self: end; }
}

.galerie-filtres { margin-top: 36px; display: flex; gap: 8px; overflow-x: auto; padding: 4px var(--gutter) 10px; margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); scrollbar-width: none; }
.galerie-filtres::-webkit-scrollbar { display: none; }
.galerie-filtres button { flex: none; border: 0; padding: 10px 15px; border-radius: 999px; background: var(--panel); box-shadow: var(--ombre); font: 600 14.5px/1 var(--f-sans); color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.galerie-filtres button small { margin-left: 4px; font: 600 12px/1 var(--f-mono); color: var(--muted); }
.galerie-filtres button.actif { background: var(--accent); color: #fff; }
.galerie-filtres button.actif small { color: #c3d2e6; }
.galerie { margin-top: 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.galerie figure { margin: 0; border-radius: 18px; overflow: hidden; background: var(--panel); box-shadow: var(--ombre); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.galerie figure[hidden] { display: none; }
.galerie figure:hover { transform: translateY(-4px); box-shadow: var(--ombre-haute); }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.galerie figcaption { padding: 11px 13px 13px; }
.galerie b { display: block; font-size: 15px; letter-spacing: -.01em; line-height: 1.25; }
.galerie figcaption span { display: none; margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--muted); }
@media (min-width: 700px) { .galerie { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .galerie figcaption span { display: block; } }
@media (min-width: 1080px) { .galerie { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; } }

/* ---------- 3e passe (25/11/2026) ---------- */
.g-hero h1 { max-width: 20ch; font-size: clamp(33px, 5.4vw, 64px); }
.g-sous { max-width: 64ch; }
.g-question { margin: 34px 0 0; font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.025em; }
.g-question + .g-portes { margin-top: 22px; }
.g-chemin { margin-top: 8px !important; font: 600 12.5px/1.3 var(--f-mono) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-texte) !important; }
@media (max-width: 619px) { .g-question { margin-top: 24px; } .g-chemin { font-size: 11px !important; } }

.style-vignettes label.plus { display: none; }
.style-vignettes.tout label.plus { display: block; }
.style-vignettes.tout { max-height: 430px; overflow-y: auto; padding: 4px; margin-left: -4px; margin-right: -4px; scrollbar-width: thin; }
.h-tous { margin-top: 10px; width: 100%; min-height: 44px; border: 0; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font: 700 14.5px/1 var(--f-sans); cursor: pointer; }
.h-tous:hover { background: #dbe5f1; }
.h-tous[hidden] { display: none; }

.galerie.replie figure:nth-child(n+9) { display: none; }
.galerie-plus { margin-top: 22px; text-align: center; }
.galerie-plus[hidden] { display: none; }

.a-venir.serie { background: var(--ok-soft); color: #0f4d2b; }

@media (min-width: 1040px) { .supports.quatre { grid-template-columns: repeat(4, 1fr); } .supports.quatre .support, .supports.quatre .support:nth-child(4) { grid-column: auto; } }

/* ---------- 4e passe (25/11/2026) : l'essai logiciel en haut, romans et beaux livres, texte de la page d'essai ---------- */
.h-essai .atelier-styles { margin-top: 9px; }
.s-vitrine { margin: 44px auto 0; max-width: 820px; }
.s-vitrine + .supports { margin-top: 34px; }

.livres-autres { margin-top: 44px; display: grid; gap: 20px; }
.livre-autre { display: grid; gap: 26px; padding: 24px 20px 26px; border-radius: 28px; background: var(--panel); box-shadow: var(--ombre); }
.livre-autre h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; letter-spacing: -.028em; }
.livre-autre p { margin-top: 12px; color: var(--ink-2); line-height: 1.6; }
.livre-autre .v3-liste { margin-top: 20px; gap: 12px; }
.autre-vue { display: flex; align-items: flex-end; justify-content: center; gap: 14px; min-height: 240px; padding: 26px 16px 30px; border-radius: 20px; background: radial-gradient(120% 90% at 50% 0, #fffaf4 0, var(--papier) 45%, var(--papier-2) 100%); }
.autre-vue.trio .livre { width: 30%; max-width: 170px; }
.autre-vue.trio .livre:nth-child(2) { transform: perspective(1400px) rotateY(-14deg) translateY(-10px); }
.autre-vue.trio .livre:nth-child(3) { transform: perspective(1400px) rotateY(-8deg); }
.autre-vue.seul .format { width: 130px; aspect-ratio: var(--l) / var(--h); border-radius: 3px 7px 7px 3px; display: grid; place-items: center; background: linear-gradient(160deg, #fff, var(--papier)); box-shadow: 1px 1px 0 #fff, 2px 2px 0 #e6dfd5, 3px 3px 0 #fff, 4px 4px 0 #e6dfd5, 18px 24px 34px -14px rgb(60 34 12 / .45); }
.autre-vue.seul .format span { font: 600 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #9a6238; }
@media (min-width: 900px) { .livre-autre { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 44px; align-items: center; padding: 34px; } .autre-vue { min-height: 300px; } }

/* La phrase de la page intérieure, dans le résultat de l'essai : blanc, simple, lisible sur l'image. */
.v3 .el-page .el-phrase { top: 0; bottom: auto; left: 0; right: 50%; height: auto; padding: 7% 6% 14%; color: #fff; font-weight: 600; text-shadow: 0 1px 2px rgb(0 0 0 / .7), 0 0 12px rgb(0 0 0 / .45); background: linear-gradient(180deg, rgb(12 22 38 / .5) 0, rgb(12 22 38 / .22) 60%, rgb(12 22 38 / 0) 100%); border-radius: 4px 0 0 0; }
/* NapBuild : le même en-tête sur toutes les pages (25/11/2026). Le sélecteur Appli / Livre / Logiciel à côté du logo,
   puis les liens du site (Réalisations, Tarifs, Guides, Questions), puis le bouton. Sur téléphone, les liens du site
   passent sur une ligne à part, qui défile au doigt. */
.bar.avec-lignes .lignes { margin-left: 14px; }
.bar.avec-lignes .nav { margin-left: auto; }
.bar.avec-lignes .nav a[aria-current="page"] { color: var(--ink); background: var(--soft); }
.bar.avec-lignes .nav + .btn { margin-left: 8px; }
@media (max-width: 1099px) {
  .bar.avec-lignes .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; row-gap: 8px; }
  .bar.avec-lignes .lignes { order: 3; margin-left: 0; width: 100%; justify-content: space-between; }
  .bar.avec-lignes .lignes a { flex: 1; text-align: center; padding: 7px 4px; font-size: 14px; }
  .bar.avec-lignes .btn { margin-left: auto; }
  .bar.avec-lignes .nav { order: 4; display: flex; width: 100%; margin: 0; gap: 2px; justify-content: space-between; overflow-x: auto; scrollbar-width: none; }
  .bar.avec-lignes .nav::-webkit-scrollbar { display: none; }
  .bar.avec-lignes .nav a { white-space: nowrap; text-decoration: none; color: var(--muted); font-size: 13.5px; font-weight: 600; padding: 4px 8px; border-radius: 8px; }
  html { scroll-padding-top: 150px; }
}

/* ---------- 5e passe : la promesse et les cinq étapes ---------- */
.g-appel { margin: 18px auto 0; font-size: clamp(18px, 2vw, 22px); font-weight: 800; letter-spacing: -.02em; color: var(--orange-titre); }
@media (min-width: 1040px) { .g-temps.cinq { grid-template-columns: repeat(5, 1fr); gap: 12px; } .g-temps.cinq li { padding: 20px 18px 22px; } .g-temps.cinq b { font-size: 18px; } .g-temps.cinq span { font-size: 14.5px; } }
.v3-sec:not(.nuit):not(.blanc):not(.papier) .g-temps li { background: var(--panel); box-shadow: var(--ombre); }
.v3-sec:not(.nuit) .g-temps span { color: var(--ink-2); }

/* ---------- La page Réalisations ---------- */
.rea-hero { padding-bottom: 20px; }
.rea-hero .wrap { display: block; }
.rea-hero h1 { max-width: 18ch; }
.rea-filtres { margin-top: 28px; }
.rea-sec[hidden] { display: none; }
.reas { margin-top: 40px; display: grid; gap: 22px; }
.rea { padding: 20px 18px 22px; border-radius: 28px; background: var(--panel); box-shadow: var(--ombre); }
.blanc .rea { background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); }
.rea-tete { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; }
.rea-tete > img { width: 60px; height: 60px; border-radius: 16px; box-shadow: var(--ombre); }
.rea-tete > div { flex: 1; min-width: 200px; }
.rea-tete h3 { font-size: clamp(21px, 2.3vw, 27px); font-weight: 800; letter-spacing: -.028em; }
.rea-tete p { margin-top: 4px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; max-width: 60ch; }
.rea-statut { padding: 7px 12px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 13px; font-weight: 700; white-space: nowrap; }
.rea-corps { margin-top: 22px; display: grid; gap: 22px; }
.rea-etiq { margin-bottom: 10px; font: 600 12px/1 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--orange-texte); }
.rea-store > img, .rea-pack > img { width: 100%; border-radius: 14px; box-shadow: 0 0 0 1px rgb(16 24 40 / .06); }
.rea-captures { margin-top: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rea-captures img { width: 100%; border-radius: 12px; box-shadow: 0 0 0 1px rgb(16 24 40 / .06); }
.rea-dossier { margin-top: 12px; display: grid; grid-template-columns: 88px 88px 1fr; gap: 12px; align-items: center; }
.rea-dossier img { width: 100%; border-radius: 4px; box-shadow: 0 0 0 1px rgb(16 24 40 / .1), 0 8px 16px -8px rgb(16 24 40 / .35); }
.rea-dossier p { font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.rea-dossier b { color: var(--ink); }
.rea-ecrans { margin-top: 22px; display: grid; gap: 16px; }
.rea-pages { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rea-pages img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; box-shadow: 0 10px 20px -12px rgb(60 34 12 / .5); }
.rea-pages.hautes img { aspect-ratio: 700 / 905; object-position: top; }
.rea-pages.deux { grid-template-columns: repeat(2, minmax(0, 190px)); }
.rea-pages.deux img { aspect-ratio: 700 / 1100; }
@media (min-width: 900px) {
  .rea { padding: 30px 32px 32px; }
  .rea-corps { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 34px; }
  .rea-ecrans { grid-template-columns: 1fr 1fr; gap: 20px; }
  .papier .reas { grid-template-columns: 1fr 1fr; }
  .rea-dossier { grid-template-columns: 104px 104px 1fr; gap: 16px; }
}

/* Réalisations, 2e passe : la fiche store, puis le dossier de lancement en grand. */
.rea > .rea-etiq { margin: 24px 0 10px; }
.rea-store { display: grid; gap: 10px; }
.rea-store .rea-captures { margin-top: 0; }
.rea-dossier-texte { max-width: 74ch; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.rea .rea-dossier { margin-top: 14px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.rea .rea-dossier figure { margin: 0; }
.rea .rea-dossier img { width: 100%; border-radius: 6px; box-shadow: 0 0 0 1px rgb(16 24 40 / .1), 0 14px 26px -14px rgb(16 24 40 / .4); }
.rea .rea-dossier figcaption { margin-top: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); text-align: center; }
@media (min-width: 900px) {
  .rea-store { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; align-items: stretch; }
  .rea-store > img { height: 100%; object-fit: cover; }
  .rea .rea-dossier { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
/* Logiciels (27/11/2026) : ConchyPro et Prisme sont des EXEMPLES faits avec NapBuild, pas des outils de NapBuild. */
.s-exemple { text-align: center; max-width: 640px; margin: 14px auto 0; }
.s-exemple b { color: var(--ink); }
.cas-tete small.cas-exemple { display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--orange-titre, #e8610f); color: #fff; font-weight: 700; letter-spacing: .02em; }
/* Logiciels (27/11/2026) : un simple lien vers le site en ligne de chaque exemple (pas de gros bouton). */
.cas-live { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.cas-live i { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: #2fa866; box-shadow: 0 0 0 3px rgba(47, 168, 102, .18); vertical-align: 1px; }
.cas-live a { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); }
.cas-live a:hover { text-decoration-color: currentColor; }
.cas.prisme .cas-live { color: #9aa7bb; }
.cas.prisme .cas-live a { color: #fff; }
