/* eKapsule · site vitrine. Couleurs et polices de la maquette validée. */
:root{
  --green:#2C3E35; --green-dark:#1C2A23; --text2:#4A5A51;
  --rose:#E3AE95; --rose-deep:#B5654C;
  --gold:#E8C46A; --gold-deep:#C99A2E;
  --sage:#BFCDB0; --sage-deep:#7F9A6C; --sage-light:#EEF2E8;
  --cream:#FBF6EC; --line:#EDE4D3;
  --page:#FFFFFF;          /* fond de page : mettre #F3EDE0 pour un fond crème */
  --radius:18px;
  --serif:"Lora", Georgia, serif;
  --sans:"Noto Sans", system-ui, sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--page);color:var(--green);font-family:var(--sans);font-size:17px;line-height:1.55;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3{font-family:var(--serif);font-weight:600;margin:0;line-height:1.1}
p{margin:0}
.wrap{width:min(1360px,100% - 80px);margin-inline:auto}
:focus-visible{outline:3px solid var(--rose-deep);outline-offset:3px;border-radius:6px}
.skip{position:absolute;left:-999px;top:8px;background:var(--green);color:#fff;padding:10px 16px;border-radius:8px;z-index:10}
.skip:focus{left:16px}

/* Boutons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 26px;border-radius:999px;font-weight:600;font-size:16px;text-decoration:none;transition:transform .15s,background .15s}
.btn:hover{transform:translateY(-1px)}
.btn-dark{background:var(--green);color:var(--cream)}
.btn-dark:hover{background:var(--green-dark)}
.btn-line{border:2px solid var(--green);color:var(--green)}
.btn-line:hover{background:rgba(44,62,53,.08)}

/* En-tête */
/* Le menu reste en haut pendant le défilement. Son fond blanc s'étend sur toute la largeur (::before),
   et un trait fin apparaît dès qu'on a quitté le haut de la page (classe ajoutée par site.js). */
.header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 0;position:sticky;top:0;z-index:20}
.header::before{content:"";position:absolute;inset:0 calc(50% - 50vw);z-index:-1;background:var(--page);border-bottom:1px solid transparent;transition:border-color .2s}
.header.is-stuck::before{border-bottom-color:var(--line)}
/* Les ancres (#tarif, #offrir…) ne se cachent pas sous le menu. */
[id]{scroll-margin-top:96px}
.brand{display:flex;flex:none;align-items:center;gap:12px;text-decoration:none;font-family:var(--serif);font-weight:600;font-size:30px}
/* Le menu ne passe jamais à la ligne : l'espace entre les liens se resserre, puis le menu se replie (burger). */
.nav{display:flex;align-items:center;gap:clamp(14px,2.4vw,34px);font-size:16px;white-space:nowrap}
.nav a:not(.btn){text-decoration:none}
.nav a:not(.btn):hover{text-decoration:underline;text-underline-offset:4px}
.burger{display:none;background:none;border:0;padding:10px;cursor:pointer}
.burger span{display:block;width:26px;height:2.5px;background:var(--green);margin:5px 0;border-radius:2px}

/* Blocs */
.panel{border-radius:var(--radius);position:relative;overflow:hidden}
.panel-rose{background:var(--rose)}
.panel-gold{background:var(--gold)}
.panel-green{background:var(--green);color:var(--cream)}
.panel-cream{background:var(--cream);border:1px solid var(--line)}
/* La sauge, troisième couleur d'aplat à côté du vieux rose et de l'or miel. */
.panel-sage,.price-card.panel-cream,.waitlist.panel-cream,.grow.panel-cream{background:var(--sage);border-color:var(--sage)}
.eyebrow{font-size:12px;font-weight:600;letter-spacing:.14em;text-transform:uppercase}
.muted{color:var(--text2)}

/* Accueil */
.hero{display:grid;grid-template-columns:1.35fr 1fr;gap:24px}
.hero-text{padding:48px;min-height:560px;display:flex;flex-direction:column;justify-content:space-between;gap:30px}
.hero-copy{display:flex;flex-direction:column;gap:22px;position:relative;z-index:1;margin-top:auto;margin-bottom:auto}
.hero h1{font-size:clamp(36px,4.6vw,64px);max-width:600px}
.hero-copy p{font-size:19px;max-width:500px}
.actions{display:flex;flex-wrap:wrap;gap:12px}

/* Livres en filigrane */
.ghost{position:absolute;right:48px;bottom:0;display:flex;align-items:flex-end;gap:15px;opacity:.35;--s:1.28}
.ghost i{display:block;border-radius:9px}
.ghost i:nth-child(1){width:calc(44px*var(--s));height:calc(140px*var(--s));background:var(--sage-deep)}
.ghost i:nth-child(2){width:calc(70px*var(--s));height:calc(196px*var(--s));background:var(--green);display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:20px 0}
.ghost i:nth-child(3){width:calc(48px*var(--s));height:calc(160px*var(--s));background:var(--gold)}
.ghost b{display:block;width:70%;height:6px;border-radius:3px;background:var(--rose)}
.ghost-small{--s:1;right:330px}

/* L'étagère */
.hero-shelf{padding:32px 40px 48px;display:flex;flex-direction:column;gap:20px}
.shelf{flex-grow:1;display:flex;align-items:flex-end;justify-content:center;gap:8px;border-bottom:6px solid var(--green);min-height:440px}
.book{display:block;border-radius:5px}
.book-rose{width:46px;height:300px;background:var(--rose)}
.book-cream{width:52px;height:350px;background:var(--sage)}
.book-main{width:82px;height:420px;border-radius:6px;background:var(--green);color:var(--cream);display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:22px 0 18px}
.book-main>span:not(.spine-end){font-family:var(--serif);font-weight:600;font-size:30px;writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap}
.spine-end{display:flex;flex-direction:column;align-items:center;gap:10px}
.spine-logo{width:40px;height:40px}
.gold{display:block;width:58px;height:4px;background:var(--gold-deep);border-radius:2px}

/* Étapes */
.section{padding:72px 0 40px}
.section h2{font-size:clamp(30px,3.4vw,46px);margin:14px 0 28px}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.step{border-radius:16px;padding:32px;display:flex;flex-direction:column;gap:12px}
.step-rose{background:var(--rose)} .step-gold{background:var(--gold)} .step-cream{background:var(--sage)}
.num{font-family:var(--serif);font-weight:600;font-size:44px;line-height:1}
.step h3{font-size:28px}
.step p{font-size:16px}
.how-lead{max-width:760px;margin:-12px 0 28px}

/* Bibliothèque */
.library{display:grid;grid-template-columns:1fr 1.2fr;gap:24px;padding:32px 0 40px}
.library .panel-green{padding:44px;display:flex;flex-direction:column;justify-content:center;gap:18px}
.library h2{font-size:clamp(26px,2.9vw,40px);line-height:1.12}
.library .panel-green p:last-child{opacity:.85}
.grow{padding:40px;display:flex;justify-content:space-around;align-items:center;gap:16px;flex-wrap:wrap}
.grow figure{margin:0;display:flex;flex-direction:column;align-items:center;gap:14px}
.grow figcaption{font-size:15px;font-weight:600;text-align:center}
.mini{display:flex;align-items:flex-end;gap:5px;height:110px;border-bottom:4px solid var(--green);padding:0 10px}
.mini i{display:block;width:var(--w);height:var(--h);background:var(--c);border-radius:4px}

/* Bandeau cadeau */
.cta{padding:48px 56px;display:flex;align-items:center;justify-content:space-between;gap:40px;margin-bottom:40px}
.cta h2{font-size:clamp(28px,3.2vw,44px);max-width:640px;position:relative;z-index:1}
.cta .btn{position:relative;z-index:1;flex-shrink:0}

/* Pied de page */
.footer{border-top:1px solid rgba(44,62,53,.15);padding:24px 0 32px;display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;font-size:14px;color:var(--text2)}
.brand-small{display:flex;align-items:center;gap:10px}
.footer a{text-decoration:none}.footer a:hover{text-decoration:underline}

/* Tablette */
@media (max-width:1024px){
  .hero{grid-template-columns:1fr}
  .library{grid-template-columns:1fr}
  .ghost-small{display:none}
}
/* Menu replié (burger) dès que le menu ne tient plus sur une ligne à côté du logo :
   le menu français, le plus long, a besoin d'environ 900 px. */
@media (max-width:920px){
  .burger{display:block}
  .nav{display:none;position:absolute;top:100%;left:0;right:0;z-index:5;background:var(--page);flex-direction:column;align-items:stretch;gap:4px;padding:12px;border:1px solid var(--line);border-radius:16px;box-shadow:0 12px 30px rgba(44,62,53,.15)}
  .nav.open{display:flex}
  .nav a:not(.btn){padding:12px}
}
/* Téléphone */
@media (max-width:760px){
  .wrap{width:calc(100% - 28px)}
  body{font-size:16px}
  .brand{font-size:24px}.brand img{width:32px;height:32px}
  .hero-text{padding:26px 22px;min-height:0}
  .hero-copy p{font-size:15px;max-width:240px}
  .actions .btn-line{display:none}
  .ghost{--s:.7;right:14px;gap:8px}
  .ghost b{height:4px}
  .ghost i:nth-child(2){padding:12px 0}
  .hero-shelf{padding:20px 22px 26px}
  .shelf{min-height:260px;transform-origin:bottom center}
  .book-rose{width:27px;height:174px}.book-cream{width:30px;height:203px}
  .book-main{width:48px;height:244px;padding:13px 0 10px}
  .book-main>span:not(.spine-end){font-size:17px}
  .spine-logo{width:23px;height:23px}.gold{width:34px;height:3px}
  .steps{grid-template-columns:1fr;gap:12px}
  .step{padding:24px}.num{font-size:34px}.step h3{font-size:22px}
  .library .panel-green{padding:24px 22px}
  .grow{padding:22px 8px}
  .mini{transform:scale(.7);transform-origin:bottom center}
  .cta{flex-direction:column;align-items:flex-start;padding:30px 22px}
  .section{padding:40px 0 24px}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}}

/* ---------------------------------------------------------------------
   Ajouts pour le site complet (pages, formulaires, tarif, questions).
   --------------------------------------------------------------------- */
/* Sélecteur de langue (fonctionne sans JavaScript) */
.langs{position:relative}
.langs summary{list-style:none;cursor:pointer;font-weight:600;letter-spacing:.06em;min-height:48px;display:flex;align-items:center;padding:0 6px;border-radius:8px}
.langs summary::-webkit-details-marker{display:none}
.langs summary::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin:-4px 0 0 9px}
.langs[open] summary::after{transform:rotate(-135deg);margin-top:4px}
.langs ul{list-style:none;margin:0;padding:8px;position:absolute;right:0;top:100%;min-width:170px;background:var(--page);border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 30px rgba(44,62,53,.15);z-index:6}
.langs a{display:flex;align-items:center;min-height:44px;padding:0 12px;text-decoration:none;border-radius:8px}
.langs a:hover{background:var(--cream)}
.langs a[aria-current]{font-weight:600;background:var(--cream)}
/* Menu replié : la liste des langues s'ouvre dans le menu, sans flotter. */
@media (max-width:920px){
  .langs summary{padding:0 12px}
  .langs ul{position:static;min-width:0;border:0;box-shadow:none;padding:0 0 8px 12px}
}
.footer-langs{width:100%;display:flex;flex-wrap:wrap;gap:4px 0}
.footer-langs span{font-weight:600}

/* Petites étagères de la bibliothèque (sans style en ligne, pour la CSP) */
.mini i.h78{height:78px}.mini i.h80{height:80px}.mini i.h86{height:86px}.mini i.h92{height:92px}.mini i.h96{height:96px}.mini i.h100{height:100px}.mini i.h104{height:104px}
.mini i.w16{width:16px}.mini i.w18{width:18px}.mini i.w20{width:20px}.mini i.w22{width:22px}.mini i.w24{width:24px}.mini i.w30{width:30px}
.mini i.c-green{background:var(--green)}.mini i.c-rose{background:var(--rose)}.mini i.c-gold{background:var(--gold)}
.mini i.c-sage{background:var(--sage)}.mini i.c-olive{background:var(--sage-deep)}.mini i.c-slate{background:#4A5A51}

/* Tarif et calendrier */
.offer{display:grid;grid-template-columns:1fr 1.1fr;gap:24px;padding:32px 0 40px}
.price-card{padding:44px;display:flex;flex-direction:column;gap:18px}
.price-card > .note{margin-top:auto}
.price{font-family:var(--serif);font-weight:600;font-size:clamp(44px,5vw,68px);line-height:1}
.price small{font-family:var(--sans);font-size:17px;font-weight:400;display:inline-block;white-space:nowrap}
/* Tableau des tarifs par pays */
.price-table{width:100%;border-collapse:collapse;font-size:16px;white-space:normal}
.price-table caption{text-align:left;font-weight:600;padding-bottom:8px}
.price-table th,.price-table td{padding:10px 8px;border-bottom:1px solid var(--line);vertical-align:baseline;white-space:normal;background:none}
.price-table thead th{font-size:14px;font-weight:600;color:var(--text2);text-align:right}
.price-table tbody th{text-align:left;font-weight:400}
.price-table td{text-align:right;font-family:var(--serif);font-weight:600;font-size:20px;white-space:nowrap}
.price-table tr.example th{font-style:italic}
.price-table tr.example td{font-size:17px}
.faq .price-table{margin-bottom:16px}
/* Fiche tarifs de l'accueil : le prix de la kapsule en grand, puis quatre options en cartes. */
.price-main{background:#fff;border-radius:14px;padding:22px 26px}
.price-market{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--text2)}
.price-big{font-family:var(--serif);font-weight:600;font-size:clamp(40px,4.4vw,56px);line-height:1;margin:8px 0 10px}
.price-what{font-size:16px}
.price-formulas{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px}
.price-formulas > div + div{border-left:1px solid var(--line);padding-left:24px}
.price-more{font-weight:600;margin-top:6px}
.price-options{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.price-options li{background:rgba(255,255,255,.62);border-radius:12px;padding:16px 18px;display:flex;flex-direction:column;gap:3px}
.price-icon{color:var(--green);margin-bottom:6px}
.price-option-title{font-weight:600}
.price-option-value{font-family:var(--serif);font-weight:600;font-size:19px}
.price-option-hint{font-size:14px;color:var(--text2)}
.price-example{font-size:15px;font-style:italic}
@media (max-width:520px){.price-options,.price-formulas{grid-template-columns:1fr}.price-formulas > div + div{border-left:0;padding-left:0;border-top:1px solid var(--line);padding-top:16px}.price-main{padding:18px 20px}}
.market-switch{font-size:15px;margin-top:-4px}
.market-switch a,.footer-market a{text-decoration:underline;text-underline-offset:3px}
.footer-market{width:100%;margin:0}
.extras{list-style:none;margin:0;padding:16px 0 0;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:8px}
.extras li{display:flex;justify-content:space-between;gap:16px;align-items:baseline}
.extras strong{font-family:var(--serif);font-size:22px;white-space:nowrap}
.ticks{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.ticks li{padding-left:30px;position:relative}
.ticks li::before{content:"";position:absolute;left:4px;top:.45em;width:12px;height:7px;border-left:2.5px solid currentColor;border-bottom:2.5px solid currentColor;transform:rotate(-45deg)}
.note{font-size:15px;color:var(--text2)}
.panel-gold .note,.panel-rose .note{color:var(--green)}
.timeline{padding:36px 44px;display:flex;flex-direction:column;gap:16px}
.offer-side{display:flex;flex-direction:column;gap:24px}

/* Exemple d'échange sur WhatsApp */
.chat-panel{margin:0;padding:36px 44px;display:flex;flex-direction:column;gap:16px;flex-grow:1}
.chat-panel h2{font-size:clamp(26px,2.9vw,40px)}
.chat{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.bubble{max-width:85%;padding:12px 16px;border-radius:18px;font-size:16px;line-height:1.45}
.bubble-in{align-self:flex-start;background:#fff;border-bottom-left-radius:6px}
.bubble-out{align-self:flex-end;background:var(--green);color:var(--cream);border-bottom-right-radius:6px}
.voice{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.play{width:0;height:0;border-left:12px solid var(--cream);border-top:8px solid transparent;border-bottom:8px solid transparent}
.wave{display:flex;align-items:center;gap:3px;height:24px}
.wave i{display:block;width:3px;border-radius:2px;background:var(--sage-deep)}
.wave i:nth-child(3n+1){height:10px}.wave i:nth-child(3n+2){height:20px}.wave i:nth-child(3n){height:14px}
.voice-label{font-size:14px;opacity:.9;width:100%}
.bubble-in .play{border-left-color:var(--green)}
.bubble-in .wave i{background:var(--rose-deep)}
.chat-panel .note{margin:0}
.timeline h2{font-size:clamp(26px,2.9vw,40px)}
.timeline ol{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:12px}
.timeline li{display:grid;grid-template-columns:190px 1fr;gap:16px;align-items:baseline}
.timeline .when{font-family:var(--serif);font-weight:600;font-size:22px}
.timeline .badge{display:inline-block;margin-left:8px;padding:2px 10px;border-radius:999px;background:var(--green);color:var(--cream);font-size:13px;font-weight:600;vertical-align:middle}

/* Pages de texte */
.page{max-width:780px;padding:40px 0 64px}
.page h1{font-size:clamp(34px,4vw,54px);margin-bottom:20px}
.page h2{font-size:clamp(22px,2.4vw,30px);margin:36px 0 12px}
.page p,.page ul{margin:0 0 14px}
/* Rubrique « Conseils » : la liste des articles et la mise en page d'un article. */
.page .lead{font-size:19px;margin-bottom:24px}
.page .eyebrow a{color:inherit}
.article-photo{margin:8px 0 28px}
.article-photo img{width:100%;height:auto;border-radius:var(--radius);filter:grayscale(1) contrast(1.05)}
.article-photo.is-color img,.article-card img.is-color{filter:none}
.article-photo figcaption{font-size:13px;color:var(--text2);margin-top:8px}
.article ul{padding-left:20px}
.article h3{font-size:21px;margin:26px 0 6px}
.article li{margin-bottom:8px}
.questions{margin:0 0 10px;padding-left:28px}
.questions li{margin-bottom:10px;padding-left:4px}
.questions li::marker{font-family:var(--serif);font-weight:600;color:var(--gold-deep)}
.article-cta{background:var(--sage-light);border-radius:var(--radius);padding:28px 30px;margin-top:40px}
.article-cta h2{margin-top:0}
.article-cta-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.article-list{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:18px}
.article-card{display:grid;grid-template-columns:minmax(0,220px) minmax(0,1fr);gap:22px;align-items:center;text-decoration:none;color:var(--green);background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:14px;transition:border-color .2s}
.article-card:hover{border-color:var(--green)}
.article-card img{width:100%;height:150px;object-fit:cover;border-radius:10px;filter:grayscale(1)}
.article-card strong{display:block;font-family:var(--serif);font-size:22px;line-height:1.2;margin-bottom:6px}
.article-card-text > span{color:var(--text2)}
.home-advice .article-list{max-width:780px}
.home-advice-all{margin-top:14px}
.home-advice-all a{font-weight:600}
@media (max-width:560px){.article-card{grid-template-columns:1fr}.article-cta{padding:22px}}
.page ul{padding-left:22px}
.page li{margin-bottom:6px}
.lead{font-size:19px}
.draft{background:var(--cream);border:2px dashed var(--rose-deep);border-radius:12px;padding:14px 18px;margin-bottom:28px}
.todo{background:#FCEFD0;padding:0 4px;border-radius:4px;font-weight:600}

/* Questions fréquentes */
.faq{display:flex;flex-direction:column;gap:12px;margin:24px 0}
.faq details{background:var(--cream);border:1px solid var(--line);border-radius:14px;padding:0 22px}
.faq details:nth-child(odd){background:var(--sage-light);border-color:#DCE4D3}
.faq summary{cursor:pointer;font-weight:600;font-size:18px;padding:18px 0;min-height:48px;list-style-position:outside}
.faq details[open] summary{border-bottom:1px solid var(--line);margin-bottom:14px}
.faq details p{margin-bottom:16px}

/* Formulaires */
.reserve{display:grid;grid-template-columns:1fr 1.1fr;gap:24px;padding:16px 0 48px;align-items:start}
.reserve-intro{padding:44px;display:flex;flex-direction:column;gap:18px}
.reserve-intro h1{font-size:clamp(34px,4vw,54px)}
.form-card{padding:36px}
.form{display:flex;flex-direction:column;gap:20px}
.field{display:flex;flex-direction:column;gap:6px}
.field label,.check label{font-weight:600}
.check label{font-weight:400}
.hint{font-size:15px;color:var(--text2)}
input[type=text],input[type=email],select,textarea{font:inherit;color:var(--green);min-height:52px;padding:12px 14px;border:2px solid #9AA59E;border-radius:12px;background:#fff;width:100%}
input:focus-visible,select:focus-visible{border-color:var(--green)}
.check{display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:start}
.check input{width:24px;height:24px;margin:2px 0 0;accent-color:var(--green)}
.check .error{grid-column:2}
.has-error input,.has-error select{border-color:#A3341F}
.error{color:#A3341F;font-weight:600;font-size:15px}
.error-summary{border:2px solid #A3341F;border-radius:12px;padding:14px 18px;background:#fff}
.error-summary ul{margin:8px 0 0;padding-left:20px}
.error-summary a{color:#A3341F}
.btn-wide{width:100%}
button.btn{border:0;cursor:pointer;font-family:inherit}
button.btn-line{background:transparent}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.waitlist{padding:36px 44px;display:grid;grid-template-columns:1fr 1.2fr;gap:28px;align-items:center;margin-bottom:40px}
.waitlist h2{font-size:clamp(24px,2.6vw,34px)}
.survey{padding:36px 44px;margin:0 auto 40px;max-width:760px;display:flex;flex-direction:column;gap:12px}
.survey .form{margin-top:12px}
.message.concept{max-width:none;margin-bottom:24px}
.concept-how .ticks,.concept-how .note{max-width:760px}
.concept-how .ticks{margin:16px 0}
.form-inline{gap:14px}

/* Messages simples (merci, confirmé, supprimé) */
.message{padding:56px 48px;margin:16px 0 48px;display:flex;flex-direction:column;gap:18px;align-items:flex-start;max-width:900px}
.message h1{font-size:clamp(32px,4vw,52px)}
.message p{font-size:18px;max-width:620px}

/* Page privée des réservations */
.admin{padding:32px 0 64px;display:flex;flex-direction:column;gap:20px}
.admin h1{font-size:40px}
.admin h2{font-size:28px;margin-top:20px}
.admin caption{text-align:left;font-weight:600;padding:12px 12px 8px}
.notice{background:#FCEFD0;border-radius:12px;padding:12px 16px}
.stats{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:12px}
.stats li{background:var(--cream);border:1px solid var(--line);border-radius:12px;padding:12px 18px}
.stats strong{font-family:var(--serif);font-size:26px;margin-right:6px}
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px}
.admin-buttons{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.admin-action{margin:0 0 8px}
.btn-small,button.btn-small{min-height:40px;padding:8px 16px;font-size:14px;border:1px solid var(--green);background:var(--white,#fff);color:var(--green);cursor:pointer}
.btn-small:hover{background:var(--cream)}
.admin details summary{cursor:pointer;color:var(--text2)}
.admin code{font-family:ui-monospace,monospace;font-size:14px;white-space:nowrap}
table{border-collapse:collapse;width:100%;font-size:15px}
th,td{text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);white-space:nowrap}
th{background:var(--cream)}
.price-card th{background:transparent}

/* Grand écran : bulles et calendrier un peu plus serrés, pour équilibrer la section Tarifs */
@media (min-width:1025px){
  .chat{gap:8px}
  .bubble{padding:9px 14px;font-size:15px}
  .voice{gap:8px 12px}
  .voice-label{font-size:13px}
  .chat-panel,.timeline{gap:12px}
  .timeline p,.chat-panel .note{font-size:15px}
}
@media (max-width:1024px){
  .offer,.reserve,.waitlist{grid-template-columns:1fr}
}
@media (max-width:760px){
  .price-card,.timeline,.chat-panel,.reserve-intro,.form-card,.waitlist,.survey{padding:26px 22px}
  .timeline li{grid-template-columns:1fr;gap:4px}
  .message{padding:32px 22px}
  .page{padding:24px 0 48px}
  .price-table th,.price-table td{padding:10px 4px}
  .price-table td{font-size:17px}
  .price-table tr.example td{font-size:15px}
  .price-table thead th{font-size:13px}
}

.gift-badge{display:inline-flex;align-self:flex-start;align-items:center;gap:8px;background:var(--green);color:var(--cream);border-radius:999px;padding:7px 18px;font-size:14px;font-weight:600;letter-spacing:.02em}

/* Section « À offrir seul ou à plusieurs » */
.gift-lead{max-width:760px;margin:-12px 0 28px}
/* La photo de famille à côté du titre (comme dans la maquette « L'écrin », 29.10.2026) */
.gift-intro{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center;margin-bottom:40px}
.gift-photo{display:block;width:100%;height:auto;border-radius:18px}
.gift-intro h2{font-size:clamp(32px,3.8vw,54px);margin-bottom:24px}
.gift-intro .gift-lead{margin:0}
@media (max-width:900px){.gift-intro{grid-template-columns:1fr;gap:28px}}
.radio-group{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.radio-group legend{font-weight:600;padding:0;margin-bottom:6px}
.radio-group .check input{accent-color:var(--green)}
.order-count{border:0;margin:0;padding:0;min-width:0;display:flex;flex-direction:column;gap:12px}
.order-count legend{font-weight:600;padding:0;margin-bottom:6px}
.order-count .hint{margin:0}
.order-part{border:0;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}
.order-part legend{font-weight:600;padding:0;margin-bottom:6px}
.order-part[hidden]{display:none}

/* Le livre : trois couvertures posées comme sur une table, puis quelques doubles pages. */
.book-preview .lead{max-width:760px;margin:-12px 0 8px}
.book-preview figure{margin:0}
.book-preview img{width:100%;height:auto;display:block}
.book-preview figcaption{font-size:15px;color:var(--text2);margin-top:14px}
.book-covers{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,4vw,64px);align-items:end;padding:40px clamp(0px,6vw,90px) 48px;margin:28px 0 36px;background:var(--sage-light);border-radius:var(--radius)}
/* Couverture de livre en HTML : les textes suivent la langue, et la prévisualisation la redessine en direct.
   Toutes les tailles suivent la largeur de la couverture (unités cqw : 1 cqw = 1 % de la largeur du cadre qui la contient). */
.book-covers figure,.book-try-cover{container-type:inline-size}
.bk{position:relative;aspect-ratio:520/740;display:flex;flex-direction:column;align-items:center;text-align:center;padding:16cqw 9cqw 8cqw;background:var(--bk-bg);color:var(--bk-txt);border-radius:2px 5px 5px 2px;box-shadow:0 26px 40px -12px rgba(28,42,35,.38),0 6px 12px rgba(28,42,35,.14);overflow:hidden}
.bk::before{content:"";position:absolute;inset:4.2cqw;border:max(1px,.3cqw) solid var(--bk-frame);border-radius:2px;pointer-events:none}
.bk-portrait{padding-top:12.7cqw}
.bk-of{font:600 2.3cqw/1.2 var(--sans);letter-spacing:.3em;text-transform:uppercase;color:var(--bk-accent)}
/* Le nom tient sur une ligne jusqu’à 22 caractères environ ; au-delà, le prénom et le nom vont chacun sur leur ligne (site.js). */
.bk-name{font:600 5.8cqw/1.15 var(--serif);margin-top:1.8cqw;max-width:100%;overflow-wrap:anywhere}
.bk-photo{flex:none;margin-top:6.5cqw;border:1.15cqw solid var(--bk-border);box-shadow:0 .4cqw 1.2cqw rgba(0,0,0,.15);background:#d8d4cc}
.bk-photo img{display:block;width:100%;height:100%;object-fit:cover}
.bk-paysage .bk-photo{width:73cqw;aspect-ratio:380/262}
.bk-portrait .bk-photo{width:46cqw;aspect-ratio:270/330}
.bk-old .bk-photo img{filter:grayscale(1) contrast(1.06)}
.bk-title{font:600 8cqw/1.08 var(--serif);margin-top:5cqw;text-wrap:balance;max-width:100%;overflow-wrap:anywhere}
.bk-portrait .bk-title{font-size:6.9cqw;margin-top:4cqw}
.bk-rule{flex:none;width:11cqw;height:.6cqw;border-radius:1cqw;background:var(--bk-accent2);margin:3.5cqw 0 3cqw}
.bk-sub{font:400 2.9cqw/1.4 var(--sans);color:var(--bk-sub)}
.bk-brand{margin-top:auto;display:flex;align-items:center;gap:1.8cqw;font:600 2.7cqw var(--serif)}
.bk-brand svg{width:4.2cqw;height:4.2cqw}
.bk-brand .bk-slit{fill:var(--bk-bg)}
/* Couleurs de couverture : six claires (crème, vieux rose, mauve, or miel, sauge, gris bleu) et, pour chacune,
   une version foncée de la même famille (châtaigne, terracotta, prune, olive, sauge foncé, ardoise). */
.bk-creme{--bk-bg:#FBF6EC;--bk-txt:#2C3E35;--bk-accent:#B5654C;--bk-accent2:#E8C46A;--bk-sub:#2C3E35;--bk-frame:#E3AE95;--bk-border:#2C3E35}
.bk-rose{--bk-bg:#E3AE95;--bk-txt:#2C3E35;--bk-accent:#2C3E35;--bk-accent2:#2C3E35;--bk-sub:#2C3E35;--bk-frame:#B5654C;--bk-border:#FBF6EC}
.bk-mauve{--bk-bg:#CBAAAE;--bk-txt:#2C3E35;--bk-accent:#2C3E35;--bk-accent2:#C99A2E;--bk-sub:#2C3E35;--bk-frame:#8E6A72;--bk-border:#FBF6EC}
.bk-or{--bk-bg:#E8C46A;--bk-txt:#2C3E35;--bk-accent:#2C3E35;--bk-accent2:#2C3E35;--bk-sub:#2C3E35;--bk-frame:#C99A2E;--bk-border:#FBF6EC}
.bk-sauge-clair{--bk-bg:#BFCDB0;--bk-txt:#2C3E35;--bk-accent:#2C3E35;--bk-accent2:#C99A2E;--bk-sub:#2C3E35;--bk-frame:#7F9A6C;--bk-border:#FBF6EC}
.bk-gris-bleu{--bk-bg:#B3C1C2;--bk-txt:#2C3E35;--bk-accent:#2C3E35;--bk-accent2:#C99A2E;--bk-sub:#2C3E35;--bk-frame:#6F8483;--bk-border:#FBF6EC}
.bk-lavande{--bk-bg:#BDBFD9;--bk-txt:#2C3E35;--bk-accent:#2C3E35;--bk-accent2:#666997;--bk-sub:#2C3E35;--bk-frame:#8487AC;--bk-border:#FBF6EC}
.bk-terracotta{--bk-bg:#A4553F;--bk-txt:#FBF6EC;--bk-accent:#F8E3B4;--bk-accent2:#E8C46A;--bk-sub:#F6E2D8;--bk-frame:#C99A2E;--bk-border:#FBF6EC}
.bk-jade{--bk-bg:#2E6B5A;--bk-txt:#FBF6EC;--bk-accent:#F3E7C9;--bk-accent2:#B9D4C6;--bk-sub:#D6E6DF;--bk-frame:#9FC2B1;--bk-border:#FBF6EC}
.bk-ardoise{--bk-bg:#46555A;--bk-txt:#FBF6EC;--bk-accent:#E8C46A;--bk-accent2:#E8C46A;--bk-sub:#D5DEDF;--bk-frame:#C99A2E;--bk-border:#FBF6EC}
.bk-bleu-nuit{--bk-bg:#2E3B55;--bk-txt:#FBF6EC;--bk-accent:#F3E7C9;--bk-accent2:#798BAD;--bk-sub:#D5DCE8;--bk-frame:#576B92;--bk-border:#FBF6EC}
.bk-bleu-petrole{--bk-bg:#2F5559;--bk-txt:#FBF6EC;--bk-accent:#F3E7C9;--bk-accent2:#7CABB0;--bk-sub:#D3E2E1;--bk-frame:#589096;--bk-border:#FBF6EC}
.book-covers figure{position:relative;transition:transform .25s ease}
/* Au survol de la souris, le livre s'agrandit un peu, comme quand on le prend en main. */
@media (hover:hover){.book-covers figure:hover{transform:scale(1.07);z-index:1}}
@media (prefers-reduced-motion:reduce){.book-covers figure{transition:none}}
/* Les pages intérieures sous les couvertures : une bande qui défile de côté (doigt, pavé tactile ou flèches),
   trois pages à l'écran ; un clic ouvre la page en grand dans la visionneuse. */
.book-pages-hint{font-size:15px;color:var(--text2);margin:-6px 0 12px}
.book-strip{position:relative}
/* Sous la bande : les pages sont des exemples, chaque livre dépend de l'interview et de ce que fournit la famille. */
.book-strip-note{font-size:15px;color:var(--text2);margin:2px 0 40px}
.book-pages{list-style:none;margin:0;padding:8px 2px 26px;display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent}
.book-pages li{flex:0 0 calc((100% - 36px) / 3);scroll-snap-align:start}
.book-strip button{position:absolute;top:calc(50% - 46px);z-index:1;width:48px;height:48px;border-radius:50%;border:0;background:#fff;color:var(--green);display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 14px rgba(28,42,35,.25)}
.book-strip button:hover{background:var(--cream)}
.book-strip button:focus-visible{outline:3px solid var(--rose-deep);outline-offset:2px}
.book-strip button[hidden]{display:none}
.book-strip button:disabled{opacity:0;pointer-events:none}
.strip-prev{left:-22px}.strip-next{right:-22px}
/* Au doigt, on fait glisser la bande : pas de flèches. */
@media (hover:none){.book-strip button{display:none}}
.page-thumb{display:block;text-decoration:none;color:var(--green)}
.page-thumb img{border-radius:3px;box-shadow:0 12px 22px -10px rgba(28,42,35,.35),0 2px 6px rgba(28,42,35,.1);transition:transform .2s ease,box-shadow .2s ease}
.page-thumb span{display:block;font-size:14px;font-weight:600;margin-top:10px;text-align:center}
@media (hover:hover){.page-thumb:hover img{transform:translateY(-4px);box-shadow:0 18px 28px -10px rgba(28,42,35,.4),0 2px 6px rgba(28,42,35,.1)}}
.page-thumb:focus-visible{outline:3px solid var(--rose-deep);outline-offset:4px;border-radius:4px}
.page-viewer{width:min(1180px,94vw);max-width:none;max-height:94vh;padding:0;border:0;background:transparent;overflow:visible}
.page-viewer::backdrop{background:rgba(20,28,24,.82)}
.page-viewer figure{margin:0}
.page-viewer img{width:100%;height:auto;max-height:82vh;object-fit:contain;border-radius:3px;box-shadow:0 20px 50px rgba(0,0,0,.4)}
.page-viewer figcaption{color:#fff;text-align:center;font-size:16px;margin-top:14px}
.page-viewer button{position:absolute;width:48px;height:48px;border-radius:50%;border:0;background:#fff;color:var(--green);display:grid;place-items:center;cursor:pointer;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.page-viewer button:hover{background:var(--cream)}
.pv-close{top:-60px;right:0}
.pv-prev{left:-24px;top:calc(50% - 44px)}
.pv-next{right:-24px;top:calc(50% - 44px)}
.book-note{font-size:13px;color:var(--text2);margin-top:26px}
/* Prévisualisation : le formulaire à gauche, la couverture à droite, redessinée à chaque saisie (site.js). */
.book-try{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:clamp(24px,4vw,56px);align-items:center;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(24px,4vw,48px);margin:0 0 40px}
.book-try[hidden]{display:none}
.book-try-form{display:flex;flex-direction:column;gap:8px}
.book-try-form h3{font-size:clamp(24px,2.6vw,32px);margin-bottom:2px}
.book-try-form > p{margin-bottom:8px}
.book-try-form label{font-weight:600;margin-top:8px}
.book-try-form input[type=text],.book-try-form select{font:inherit;font-size:17px;padding:12px 14px;border:1.5px solid var(--line);border-radius:10px;background:var(--cream);color:var(--green);width:100%}
.book-try-form input[type=text]:focus,.book-try-form select:focus{border-color:var(--green);outline:none;box-shadow:0 0 0 3px rgba(44,62,53,.15)}
/* Prénom et nom côte à côte : la couverture sait ainsi où passer à la ligne. */
.try-person{border:0;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.try-person legend{font-weight:600;padding:0;margin-top:8px}
.try-person div{display:flex;flex-direction:column;gap:6px}
.try-person label{font-weight:400;font-size:15px}
.try-colors{border:0;margin:10px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.try-colors legend{font-weight:600;padding:0;margin-bottom:8px}
.book-try-form .try-color{margin:0;font-weight:400;font-size:15px;display:inline-flex;align-items:center;gap:8px;padding:6px 12px 6px 6px;border:1.5px solid var(--line);border-radius:999px;cursor:pointer}
.try-color input{position:absolute;opacity:0;pointer-events:none}
.try-color::before{content:"";width:24px;height:24px;border-radius:50%;background:var(--sw);box-shadow:inset 0 0 0 1px rgba(0,0,0,.12)}
.try-color:has(input:checked){border-color:var(--green);background:var(--cream);font-weight:600}
.try-color:has(input:focus-visible){outline:3px solid var(--rose-deep);outline-offset:2px}
.try-color-creme{--sw:#FBF6EC}.try-color-rose{--sw:#E3AE95}.try-color-mauve{--sw:#CBAAAE}.try-color-or{--sw:#E8C46A}.try-color-sauge-clair{--sw:#BFCDB0}.try-color-gris-bleu{--sw:#B3C1C2}
.try-color-lavande{--sw:#BDBFD9}.try-color-terracotta{--sw:#A4553F}.try-color-jade{--sw:#2E6B5A}.try-color-ardoise{--sw:#46555A}.try-color-bleu-nuit{--sw:#2E3B55}.try-color-bleu-petrole{--sw:#2F5559}
.try-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px}
.try-photo{background:none;border:2px solid var(--green);cursor:pointer;font:inherit;font-weight:600}
.try-photo[hidden]{display:none}
.try-note{font-size:14px;color:var(--text2)}
.book-try-cover{margin:0;max-width:400px;justify-self:center;width:100%}
@media (max-width:760px){
  /* Sur téléphone, les couvertures défilent de côté, une et demie à l'écran. */
  .book-covers{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:18px;padding:28px 22px 32px;margin:22px 0 28px}
  .book-covers figure{flex:0 0 62%;scroll-snap-align:center}
  /* Une page et un bout de la suivante, pour montrer qu'on peut faire défiler. */
  .book-pages{gap:14px}
  .book-pages li{flex-basis:80%}
  .strip-prev{left:4px}.strip-next{right:4px}
  .pv-prev{left:6px}.pv-next{right:6px}
  .book-try{grid-template-columns:1fr}
  .book-try-cover{max-width:300px;grid-row:1}
}

/* ---------------------------------------------------------------------
   Décors de fin d'année (classe .theme-noel sur <body>, du 15 octobre au 6 janvier).
   Guirlande lumineuse, festons de sapin et de houx, neige, cadeaux, sucres d'orge.
   Rien de religieux. Dessins : scripts/decors-noel.mjs → public/assets/noel/.
   --------------------------------------------------------------------- */
.theme-noel{background:#fff url(/assets/noel/neige-fond.svg) repeat 0 0/260px}

/* Accueil : feston de sapin en haut du panneau, neige qui tombe doucement */
.theme-noel .hero-text{padding-top:150px}
.theme-noel .hero-text::before{content:"";position:absolute;left:0;right:0;top:-8px;height:170px;background:url(/assets/noel/feston.svg) repeat-x 0 0/auto 170px;pointer-events:none;z-index:2}
.theme-noel .hero-text::after{content:"";position:absolute;inset:0;background:url(/assets/noel/neige-chute.svg) repeat 0 0/400px;animation:ek-neige 30s linear infinite;pointer-events:none}
@keyframes ek-neige{to{background-position:80px 400px}}

/* Étagère : la même neige qui tombe, bouquet dans le coin, guirlande lumineuse, cadeaux au pied du livre */
.theme-noel .hero-shelf::before{content:"";position:absolute;inset:0;background:url(/assets/noel/neige-chute.svg) repeat 0 0/400px;animation:ek-neige 30s linear infinite;pointer-events:none}
.theme-noel .hero-shelf::after{content:"";position:absolute;right:-10px;top:-12px;width:190px;height:180px;background:url(/assets/noel/bouquet.svg) no-repeat center/contain;transform:scaleX(-1);pointer-events:none}
.theme-noel .shelf{position:relative}
.theme-noel .shelf::before{content:"";position:absolute;left:3%;bottom:0;width:170px;height:144px;background:url(/assets/noel/cadeaux.svg) no-repeat bottom center/contain;pointer-events:none}
.theme-noel .shelf::after{content:"";position:absolute;left:-30px;right:-30px;top:6px;height:46px;background:url(/assets/noel/lumieres.svg) repeat-x 0 0/auto 46px;pointer-events:none}

/* Bibliothèque : flocons sur le vert */
.theme-noel .library .panel-green{background-image:url(/assets/noel/neige-chute.svg);background-size:340px;background-repeat:repeat}


/* Bandeau cadeau : cadre sucre d'orge, nœud et sucres d'orge */
.theme-noel .cta{border:14px solid transparent;padding-top:70px;padding-right:190px;background:linear-gradient(var(--rose),var(--rose)) padding-box,repeating-linear-gradient(45deg,#A8332A 0 14px,var(--cream) 14px 28px) border-box}
.theme-noel .cta::before{content:"";position:absolute;right:24px;top:-6px;width:110px;height:70px;background:url(/assets/noel/noeud.svg) no-repeat center/contain;pointer-events:none}
.theme-noel .cta::after{content:"";position:absolute;right:30px;bottom:-6px;width:130px;height:165px;background:url(/assets/noel/sucres-orge.svg) no-repeat bottom/contain;pointer-events:none}

/* Pied de page : feston */
.theme-noel .footer{border-top:0;padding-top:128px;background:url(/assets/noel/feston.svg) repeat-x 0 0/auto 128px}

@media (prefers-reduced-motion:reduce){.theme-noel .hero-text::after,.theme-noel .hero-shelf::before{animation:none}}
@media (max-width:1024px){
  .theme-noel .cta{padding-right:56px}
  .theme-noel .cta::after{display:none}
}
@media (max-width:760px){
  .theme-noel .hero-text{padding-top:112px}
  .theme-noel .hero-text::before{height:124px;background-size:auto 124px}
  .theme-noel .hero-shelf::after{width:120px;height:114px}
  .theme-noel .shelf::before{width:104px;height:88px;left:1%}
  .theme-noel .shelf::after{height:34px;background-size:auto 34px}
  .theme-noel .cta{padding:62px 22px 30px}
  .theme-noel .cta::before{width:86px;height:55px;right:12px}
  .theme-noel .footer{padding-top:96px;background-size:auto 96px}
}

/* Sous le sapin : le texte à gauche, la carte de Noël (recto devant, dos derrière) à droite ; l'un sous l'autre sur téléphone. */
.sapin{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:clamp(28px,5vw,64px);align-items:center}
.sapin h2{margin-bottom:16px}
.sapin-steps{list-style:none;margin:18px 0 26px;padding:0;display:grid;gap:14px}
.sapin-steps li{display:flex;gap:14px;align-items:flex-start;line-height:1.5}
.sapin-steps b{flex:none;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font:600 15px/1 var(--serif);background:var(--rose)}
.sapin-steps li:nth-child(2) b{background:var(--gold)}
.sapin-steps li:nth-child(3) b{background:var(--sage)}
.sapin-note{font-size:15px;color:var(--text2);margin-top:14px}
.sapin-cards{position:relative;aspect-ratio:1/1;max-width:480px;width:100%;justify-self:center}
.sapin-cards img{position:absolute;width:62%;height:auto;border-radius:6px;box-shadow:0 24px 40px -14px rgba(28,42,35,.45)}
.sapin-cards img:first-child{right:0;top:6%;transform:rotate(6deg)}
.sapin-cards img:last-child{left:0;top:2%;transform:rotate(-5deg)}
@media (max-width:760px){
  .sapin{grid-template-columns:1fr}
  .sapin-cards{grid-row:1;max-width:340px}
}

/* Sur téléphone : le bouton « Réserver » reste en bas de l'écran, sauf sur le premier écran et près du pied de page (site.js). */
.sticky-cta{display:none}
@media (max-width:760px){
  .sticky-cta.is-shown{display:block;position:fixed;left:0;right:0;bottom:0;z-index:40;padding:10px 16px calc(10px + env(safe-area-inset-bottom));background:rgba(251,246,236,.96);border-top:1px solid var(--line);box-shadow:0 -6px 18px -10px rgba(28,42,35,.25)}
  .sticky-cta .btn{width:100%}
  body.has-sticky-cta{padding-bottom:76px}
}

/* Le premier écran montre une vraie couverture du livre d'exemple : sur grand écran, debout sur l'étagère
   à la place de la tranche verte ; sur tablette et téléphone, en bas à droite du bloc rose. */
.hero-cover,.shelf-cover{margin:0;container-type:inline-size}
.hero-cover .bk,.shelf-cover .bk{box-shadow:0 22px 34px -12px rgba(28,42,35,.5)}
.hero-cover{display:none}
.shelf-cover{width:220px;flex:none;position:relative;z-index:1}
.hero-shelf .book-main{display:none}
/* Sur ordinateur, la couverture et les livres d'à côté remplissent la hauteur de l'étagère */
@media (min-width:1025px){
  .hero-shelf{container-type:inline-size;--cw:min(340px,100cqw - 120px)}
  .shelf-cover{width:var(--cw)}
  .hero-shelf .book-rose{height:calc(var(--cw)*1.32)}
  .hero-shelf .book-cream{height:calc(var(--cw)*1.56)}
  .theme-noel .shelf::before{z-index:2;left:0}
}
@media (max-width:1024px){
  .hero-cover{display:block;position:absolute;right:40px;bottom:36px;width:220px;z-index:1;transform:rotate(4deg)}
  .hero-copy{padding-right:250px}
  .shelf-cover{display:none}
  .hero-shelf .book-main{display:flex}
}
/* Sur téléphone, la couverture passe sous le bouton, en grand */
@media (max-width:760px){
  .hero-cover{position:static;width:min(230px,66%);margin:6px auto 4px;transform:rotate(3deg)}
  .hero-copy{padding-right:0}
}

/* ——— Petits éléments de l'identité (identite/10_Petits-elements, 28.10.2026) ——— */
/* 1. Le surtitre entre deux tirets, comme sur les cartes */
.eyebrow{display:flex;align-items:center;gap:10px;width:fit-content}
.eyebrow::before,.eyebrow::after{content:"";flex:none;width:22px;height:1.5px;border-radius:1px;background:var(--rose-deep)}
.panel-green .eyebrow::before,.panel-green .eyebrow::after,.panel-rose .eyebrow::before,.panel-rose .eyebrow::after{background:currentColor;opacity:.55}
/* 2. Le filet doré à l'étoile sous les titres de section */
.section > h2::after{content:"";display:block;width:150px;height:15px;margin-top:18px;background:url(/assets/elements/filet-etoile.svg) left center/contain no-repeat}
/* 3. Un pictogramme pour chaque étape de « Comment ça marche » */
.step{position:relative}
.step::after{content:"";position:absolute;top:32px;right:32px;width:40px;height:40px;background:center/contain no-repeat}
.step-rose::after{background-image:url(/assets/elements/cadeau.svg)}
.step-gold::after{background-image:url(/assets/elements/voix.svg)}
.step-cream::after{background-image:url(/assets/elements/livre-ouvert.svg)}
/* 4. L'onde du message vocal sous l'introduction de « De sa voix à son livre » */
.how-lead::after{content:"";display:block;width:120px;height:40px;margin-top:18px;background:url(/assets/elements/onde-vocale.svg) left center/contain no-repeat}
/* 5. Les coins photo d'album sur les photos des conseils (la case de la photo reçoit les quatre coins) */
.article-card img{grid-column:1;grid-row:1;border-radius:3px}
.article-card-text{grid-column:2;grid-row:1}
.article-card::before,.article-photo::before{content:"";grid-column:1;grid-row:1;z-index:1;pointer-events:none;margin:-5px;
  background:url(/assets/elements/coin-photo-0.svg) left top/26px no-repeat,url(/assets/elements/coin-photo-90.svg) right top/26px no-repeat,url(/assets/elements/coin-photo-180.svg) right bottom/26px no-repeat,url(/assets/elements/coin-photo-270.svg) left bottom/26px no-repeat}
.article-card::before{align-self:center;height:160px}
.article-photo{display:grid}
.article-photo img{grid-column:1;grid-row:1;border-radius:3px}
.article-photo figcaption{grid-column:1;grid-row:2}
@media (max-width:560px){.article-card-text{grid-column:1;grid-row:2}}
/* 6. Une étagère de livres en filigrane au-dessus du pied de page */
.footer::before{content:"";order:-1;width:100%;height:84px;margin-top:-24px;background:url(/assets/elements/livres-filigrane.svg) left bottom/auto 84px repeat-x}
@media (max-width:760px){.step::after{top:24px;right:24px;width:34px;height:34px}}

/* ——— Choix de la carte cadeau dans la réservation (28.10.2026) ——— */
.card-choice{border:0;margin:0;padding:0}
.card-choice legend{font-weight:600;padding:0;margin-bottom:4px}
.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:12px;margin:10px 0 12px}
.card-option{position:relative}
.card-option input{position:absolute;opacity:0;width:1px;height:1px}
.card-option label{display:flex;flex-direction:column;gap:2px;cursor:pointer;padding:6px;border:2px solid transparent;border-radius:12px;font-size:.92rem;line-height:1.3}
.card-option img{display:block;width:100%;height:auto;border-radius:6px;box-shadow:0 1px 4px rgba(44,62,53,.18);margin-bottom:6px}
.card-option .card-kind{font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;opacity:.75}
.card-option input:checked + label{border-color:var(--green);background:rgba(191,205,176,.35)}
.card-option input:checked + label::after{content:"✓";position:absolute;top:12px;right:12px;width:26px;height:26px;border-radius:50%;background:var(--green);color:#FBF6EC;display:grid;place-items:center;font-weight:700}
.card-option input:focus-visible + label{outline:3px solid var(--rose-deep);outline-offset:2px}
.card-choice .check input{accent-color:var(--green)}
.card-lang{margin:12px 0 18px;max-width:340px}
/* Une carte par kapsule : le titre « Kapsule n » ne s'affiche que s'il y en a plusieurs. */
.card-set{border:0;margin:0 0 18px;padding:0}
.card-set .card-for{font-family:var(--serif);font-weight:600;padding:0;margin-top:8px}
.card-choice[data-count="1"] .card-many,.card-choice:not([data-count="1"]) .card-one{display:none}
.card-choice[data-count="1"] .card-for{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Plusieurs kapsules : les cartes de chacune sur une ligne qu'on fait défiler, pour garder le formulaire court. */
.card-choice:not([data-count="1"]) .card-grid{display:flex;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:6px}
.card-choice:not([data-count="1"]) .card-option{flex:0 0 118px;scroll-snap-align:start}
/* Un fieldset s'élargit par défaut à son contenu : sans ceci, la ligne de cartes débordait et coupait le titre. */
.card-choice,.card-set{min-width:0}

/* Page « Cartes cadeaux » (29.10.2026) : les cartes de src/cards.js en grand, puis le dos de la carte */
.cards-page h1{font-size:clamp(36px,4.6vw,60px);margin:14px 0 22px;max-width:20ch}
.cards-lead{max-width:760px}
.cards-note{color:var(--text2);margin-top:10px}
.cards-more{font-size:clamp(28px,3.2vw,40px);margin:72px 0 0}
.cards-gallery{list-style:none;margin:44px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px 24px}
.cards-gallery li{display:flex;flex-direction:column;gap:4px}
.cards-gallery img{width:100%;height:auto;border-radius:6px;box-shadow:0 18px 30px -14px rgba(28,42,35,.4);margin-bottom:12px}
.cards-gallery .card-kind{font-size:12px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--text2)}
.cards-gallery strong{font-family:var(--serif);font-weight:600;font-size:20px}
.cards-back-img{width:100%;max-width:400px;height:auto;justify-self:center;border-radius:6px;box-shadow:0 24px 40px -14px rgba(28,42,35,.45);transform:rotate(2deg)}
.sapin-link{display:inline-block;margin-top:14px;font-weight:600}
@media (max-width:1024px){.cards-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:760px){
  .cards-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 14px}
  .cards-gallery strong{font-size:17px}
  .cards-back-img{grid-row:1;max-width:280px}
}

/* Pourquoi « kapsule » : un court poème sur la capsule temporelle, centré, sur fond crème. */
.kapsule-poeme .poeme{background:var(--cream);border-radius:var(--radius);padding:64px 40px;text-align:center}
.kapsule-poeme h2,.kapsule-poeme h1{margin:0 0 32px}
.kapsule-poeme h1{font-size:clamp(32px,3.8vw,54px)}
.kapsule-poeme p{font-family:var(--serif);font-size:clamp(19px,1.6vw,23px);line-height:1.6;max-width:760px;margin:0 auto}
.kapsule-poeme p+p{margin-top:28px}
@media (max-width:700px){.kapsule-poeme .poeme{padding:40px 22px}.kapsule-poeme p br{display:none}}

/* Un exemple : la question sur WhatsApp, la réponse vocale, puis la page du livre. */
.example .lead{margin-bottom:28px}
.example-flow{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:40px}
.example-step{position:relative;display:flex;flex-direction:column;gap:14px}
.example-step+.example-step::before{content:"→";position:absolute;left:-31px;top:50%;font-size:26px;color:var(--gold-deep)}
.example-label{font-size:13px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--text2)}
.chat{flex:1;background:var(--sage-light);border-radius:var(--radius);padding:22px;display:flex;flex-direction:column;justify-content:center}
.chat-bubble{background:#fff;border-radius:18px 18px 18px 4px;padding:14px 18px;font-size:17px;line-height:1.45;box-shadow:0 2px 6px rgba(44,62,53,.08);max-width:92%}
.chat-reply{align-self:flex-end;background:#DCF2D4;border-radius:18px 18px 4px 18px}
.voice{display:flex;align-items:center;gap:10px}
.voice-play{flex:none;width:0;height:0;border-left:13px solid var(--green);border-top:8px solid transparent;border-bottom:8px solid transparent}
.voice-wave{flex:1;display:flex;align-items:center;gap:3px;height:30px}
.voice-wave i{flex:1;border-radius:2px;background:var(--sage-deep)}
/* Les hauteurs de l'onde, ici et pas dans la page : la politique de sécurité refuse les styles écrits dans le HTML. */
.voice-wave i:nth-child(1){height:30%}.voice-wave i:nth-child(2){height:55%}.voice-wave i:nth-child(3){height:80%}.voice-wave i:nth-child(4){height:45%}.voice-wave i:nth-child(5){height:95%}.voice-wave i:nth-child(6){height:60%}.voice-wave i:nth-child(7){height:35%}.voice-wave i:nth-child(8){height:70%}.voice-wave i:nth-child(9){height:100%}.voice-wave i:nth-child(10){height:50%}.voice-wave i:nth-child(11){height:30%}.voice-wave i:nth-child(12){height:65%}.voice-wave i:nth-child(13){height:85%}.voice-wave i:nth-child(14){height:40%}.voice-wave i:nth-child(15){height:60%}.voice-wave i:nth-child(16){height:90%}.voice-wave i:nth-child(17){height:45%}.voice-wave i:nth-child(18){height:25%}.voice-wave i:nth-child(19){height:55%}.voice-wave i:nth-child(20){height:75%}.voice-wave i:nth-child(21){height:35%}.voice-wave i:nth-child(22){height:60%}.voice-wave i:nth-child(23){height:40%}.voice-wave i:nth-child(24){height:20%}
.voice-time{font-size:13px;font-weight:600;color:var(--text2)}
.voice-text{margin-top:10px;font-size:15px;line-height:1.5;font-style:italic;color:var(--text2)}
.example-page{flex:1;background:var(--cream);border:1px solid var(--line);border-radius:4px 10px 10px 4px;box-shadow:0 14px 30px rgba(44,62,53,.12);padding:30px 30px 34px;font-family:var(--serif);font-size:18px;line-height:1.65}
.example-chapter{font-size:24px;font-weight:600;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid var(--gold)}
@media (max-width:900px){
  .example-flow{grid-template-columns:1fr;gap:44px}
  .example-step+.example-step::before{content:"↓";left:50%;top:-38px;transform:translateX(-50%)}
}

/* Téléphone : l'accueil se résume à cinq blocs (le cadeau, un exemple, le livre, le prix, « Pas encore décidé ? »).
   Le reste reste sur ordinateur, ou sur sa propre page (le poème, la FAQ, les Conseils). */
.mobile-only{display:none}
.poeme-cta{margin-top:40px}
@media (max-width:760px){
  .mobile-only{display:block}
  .hero .hero-shelf,.hero ~ .kapsule-poeme,.hero ~ .gift,.hero ~ .library,.hero ~ .sapin,.hero ~ section .cta,.hero ~ .home-advice,.hero ~ .offer .offer-side{display:none}
  .hero ~ .book-preview .lead,.hero ~ .book-preview .book-pages-hint,.hero ~ .book-preview .book-strip-note,.hero ~ .book-preview .book-try{display:none}
  .home-more{margin:8px auto 20px;font-weight:600}
  .hero ~ .offer .price-more,.hero ~ .offer .price-options,.hero ~ .offer .price-example{display:none}
}
/* Accueil : le mot qui change (maman, papa, mamie, papi), souligné de doré. */
.hero [data-alt]{transition:opacity .3s}
.hero [data-alt].is-swapping{opacity:0}
.hero h1 .swap{white-space:nowrap;box-shadow:inset 0 -.14em 0 var(--gold)}
.hero .panel-gold h1 .swap{box-shadow:inset 0 -.14em 0 var(--rose)}
@media (prefers-reduced-motion:reduce){.hero [data-alt]{transition:none}}
/* Accueil : ce qu'il faut (juste sous la première case) */
.needs{padding:28px 0 4px;text-align:center}
.needs-title{font-family:var(--serif);font-size:clamp(22px,2.4vw,30px);margin:0 0 12px;color:var(--green)}
.needs-title strong{display:block}
.needs-list{list-style:none;margin:0 auto;padding:0;max-width:640px;display:grid;gap:6px;color:var(--text2)}
/* Accueil : la famille participe, ou laisse faire ; les thèmes des questions */
.family-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.family-card{padding:28px}
.family-card h3{margin:0 0 8px}
.family-card p{margin:0}
.themes-title{margin:32px 0 12px;font-weight:600}
.themes{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.themes li{padding:6px 14px;border:1px solid var(--line);border-radius:999px;background:var(--cream);font-size:15px}
@media (max-width:760px){
  .needs{padding:20px 0 0}
  .family-cards{grid-template-columns:1fr;gap:14px}
  .family-card{padding:20px}

}
/* Accueil : plus d'air entre les sections */
.hero ~ .needs{padding:56px 0 8px}
.hero ~ .section{padding:112px 0 56px}
.hero ~ .offer,.hero ~ .library,.hero ~ .sapin{padding-top:72px;padding-bottom:56px}
@media (max-width:760px){
  .hero ~ .needs{padding:40px 0 0}
  .hero ~ .section{padding:64px 0 32px}
  .hero ~ .offer,.hero ~ .library,.hero ~ .sapin{padding-top:48px;padding-bottom:32px}
}
/* Accueil : nos avantages */
.advantage-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.advantage{padding:28px}
.advantage h3{margin:0 0 8px}
.advantage p{margin:0}
@media (max-width:760px){
  .advantage-list{grid-template-columns:1fr;gap:14px}
  .advantage{padding:20px}
}

/* Page « Comment ça marche, étape par étape » : la ligne du temps (qui fait quoi, et quand), puis l'espace eKapsule */
.how-page{max-width:760px}
.how-page .lead{margin-bottom:28px}
.how-who{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 36px;padding:0;list-style:none}
.how-chip{display:inline-flex;align-items:center;font-size:14px;font-weight:600;border-radius:999px;padding:4px 12px;line-height:1.4}
.how-chip-you{background:var(--rose)} .how-chip-parent{background:var(--gold)} .how-chip-family{background:var(--sage)} .how-chip-ek{background:var(--green);color:var(--cream)}
.how-steps{list-style:none;margin:0;padding:0;position:relative}
.how-steps::before{content:"";position:absolute;left:21px;top:8px;bottom:8px;width:2px;background:var(--line)}
.how-step{position:relative;padding:0 0 34px 64px}
.how-num{position:absolute;left:0;top:0;width:44px;height:44px;border-radius:50%;background:var(--cream);border:2px solid var(--line);display:flex;align-items:center;justify-content:center;font-family:var(--serif);font-weight:600;font-size:20px}
.how-when{display:block;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--sage-deep);margin:0 0 4px}
.how-page .how-step h2{font-size:24px;margin:0 0 8px}
.how-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.how-step p{margin:0 0 8px}
.how-step summary{cursor:pointer;font-weight:600;color:var(--rose-deep);min-height:44px;display:inline-flex;align-items:center}
.how-step details[open] summary{margin-bottom:6px}
.how-step details ul{margin:0 0 6px;padding-left:20px}
.how-step details li{margin:0 0 6px}
.how-space{margin:24px 0 0}
.how-page .how-space h2{font-size:30px;margin:0 0 8px}
.how-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:22px 0 0;padding:0;list-style:none}
.how-grid li{background:var(--cream);border:1px solid var(--line);border-radius:16px;padding:18px 18px 16px}
.how-page .how-grid h3{font-size:19px;margin:0 0 6px}
.how-grid p{margin:0;font-size:15px;color:var(--text2)}
.how-space .note{margin:14px 0 0}
.how-end{margin:44px 0 0;padding:28px;border-radius:var(--radius);background:var(--sage)}
.how-page .how-end h2{font-size:26px;margin:0 0 8px}
.how-end .actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.how-more{margin:28px 0 0;text-align:center}
.demo-video{margin:32px auto 0;max-width:880px}
.demo-video video{display:block;width:100%;height:auto;border-radius:16px;background:#FBF6EC;box-shadow:0 2px 12px rgba(44,62,53,.12)}
.demo-video figcaption{margin-top:10px;text-align:center;font-size:.9rem;color:#4A5A51}
@media (max-width:640px){
  .how-grid{grid-template-columns:1fr}
  .how-step{padding-left:56px}.how-num{width:38px;height:38px;font-size:18px}.how-steps::before{left:18px}
  .how-page .how-step h2{font-size:21px}
}

/* Le chat en ligne : une bulle en bas à droite, et un panneau qui s'ouvre au-dessus. */
.site-chat{position:fixed;right:20px;bottom:20px;z-index:45;display:flex;flex-direction:column;align-items:flex-end}
.site-chat[hidden],.site-chat [hidden]{display:none}
.site-chat-open{box-shadow:0 8px 22px -10px rgba(28,42,35,.55)}
.site-chat-panel{width:min(380px,calc(100vw - 32px));max-height:min(560px,calc(100vh - 40px));display:flex;flex-direction:column;background:var(--cream);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 14px 40px -16px rgba(28,42,35,.45);overflow:hidden}
.site-chat-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:var(--green);color:var(--cream)}
.site-chat-head h2{font-size:20px}
.site-chat-close{min-width:48px;min-height:48px;border:0;background:transparent;color:inherit;font-size:28px;line-height:1;cursor:pointer;border-radius:999px}
.site-chat-log{flex:1;overflow-y:auto;padding:14px 16px;display:flex;flex-direction:column;gap:10px}
.site-chat-line{padding:10px 14px;border-radius:14px;font-size:16px;line-height:1.5;max-width:92%;white-space:pre-wrap;overflow-wrap:anywhere}
.site-chat-line strong{display:block;font-size:13px;margin-bottom:2px}
.site-chat-assistant{background:var(--page);border:1px solid var(--line);align-self:flex-start}
.site-chat-you{background:var(--rose);align-self:flex-end}
.site-chat-form{display:flex;flex-direction:column;gap:8px;padding:12px 16px 16px;border-top:1px solid var(--line)}
.site-chat-form label{font-weight:600;font-size:15px}
.site-chat-form textarea{font:inherit;font-size:16px;padding:10px 12px;border:2px solid var(--line);border-radius:12px;resize:vertical;min-height:56px;background:var(--page);color:var(--green)}
.site-chat-form textarea:focus{border-color:var(--green);outline:none}
.site-chat-form .btn{border:0;cursor:pointer}
.site-chat-form .btn:disabled{opacity:.6;cursor:default}
.site-chat-note{font-size:13px;color:var(--text2)}
@media (max-width:760px){
  .site-chat{right:16px;bottom:calc(84px + env(safe-area-inset-bottom))}
  .site-chat.is-open{right:16px;left:16px;bottom:calc(16px + env(safe-area-inset-bottom));align-items:stretch;z-index:60}
  .site-chat.is-open .site-chat-panel{width:auto;max-height:calc(100vh - 32px)}
}
@media (prefers-reduced-motion:reduce){.site-chat-open{transition:none}}

/* FAQ rangée par thèmes */
.faq-group{font-size:26px;margin:40px 0 0}
.faq-group + .faq{margin-top:16px}

/* Vote sur le style du site (/fr/votre-avis-style) : six aperçus, puis chaque page en entier. */
.style-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px}
.style-cards a{display:flex;flex-direction:column;gap:4px;height:100%;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;color:inherit;text-decoration:none;padding-bottom:16px}
.style-cards img{width:100%;height:auto;display:block;border-bottom:1px solid var(--line);margin-bottom:10px}
.style-letter,.style-name,.style-desc{padding:0 16px}
.style-letter{font-weight:600;letter-spacing:.08em;color:var(--text2)}
.style-name{font-family:var(--serif);font-weight:600;font-size:20px}
.style-desc{font-size:15px;color:var(--text2)}
.style-cards a:hover .style-name{text-decoration:underline}
.style-version{display:flex;flex-direction:column;gap:14px}
.style-version h2{margin:0}
.style-shot{position:relative;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}
.style-shot img{width:100%;height:auto;display:block}
.style-shot.is-short{max-height:760px}
.style-shot.is-short::after{content:"";position:absolute;left:0;right:0;bottom:0;height:120px;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff)}
.style-more{align-self:flex-start}
.style-question{font-weight:600;margin:0}
