/* ==========================================================================
   Labo des sections — socle commun des pages-variantes (/labo/<section>/<lettre>/)
   Chargé après hector.css. Chaque variante ajoute ses règles dans un <style>.
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@500;600;700&display=swap");

:root { --hand: "Caveat", "Segoe Print", cursive; --ink-stamp: #23272e; }

body.lab-v { background: var(--c-cream); }
.lab-stage { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-block: 72px; }
.in-frame .lab-stage { min-height: 0; }
.lab-v .reveal { opacity: 1; transform: none; }

/* Pastille de retour (cachée dans les aperçus du labo) */
.lab-pill { position: fixed; left: 12px; top: 12px; z-index: 95; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(17,27,33,.9); color: #fff; font: 500 13px/1.2 var(--font-sans); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.lab-pill b { font-family: var(--font-mono); font-weight: 500; background: rgba(255,255,255,.16); border-radius: 999px; padding: 2px 8px; }
.lab-pill:hover { background: var(--c-green-dark); }
.in-frame .lab-pill { display: none; }

/* Titres de section réutilisés */
.lv-kicker { font: 500 12.5px/1 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--c-green-dark); display: inline-flex; align-items: center; gap: 8px; }
.lv-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c-green); }
.lv-title { font-size: var(--fs-h3-durer); line-height: 1.2; letter-spacing: -1.28px; font-weight: 600; color: var(--c-ink-2); }
.lv-title .light { font-weight: 400; color: var(--c-ink-2); }
.lv-text { font-size: var(--fs-body-l); line-height: 1.4; color: var(--c-slate); }
.lv-h2 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -1px; font-weight: 600; color: var(--c-ink); }
.lv-lead { font-size: 18px; line-height: 1.45; color: var(--c-grey); }
.lv-center { text-align: center; }
.lv-center .lv-lead { margin-inline: auto; max-width: 640px; }

/* Écriture manuscrite, timbre, tampon */
.hand { font-family: var(--hand); font-weight: 600; color: #1f2a33; line-height: 1.25; }
.stamp { width: 96px; height: auto; filter: drop-shadow(0 1px 1.5px rgba(0,0,0,.25)); }
.postmark { width: 200px; height: auto; mix-blend-mode: multiply; }

/* Carte postale dessinée (verso) */
.pc { position: relative; aspect-ratio: 1.42; background: #fbfaf6; border-radius: 6px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 18px 46px rgba(65,31,17,.16); overflow: hidden; }
.pc--paper { background: #fbfaf6 radial-gradient(120% 90% at 30% 20%, #fff 0%, #f7f3ea 70%, #efe8da 100%); }
.pc__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pc__verso { position: absolute; inset: 0; display: grid; grid-template-columns: 1.1fr 1px .9fr; gap: 0 6%; padding: 7% 6% 6%; }
.pc__rule { background: repeating-linear-gradient(#b9b2a3 0 4px, transparent 4px 9px); }
.pc__msg { align-self: center; font-size: clamp(16px, 2.1vw, 28px); }
.pc__right { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 14%; }
.pc__right .stamp { position: absolute; top: 0; right: 0; width: 34%; }
.pc__right .postmark { position: absolute; top: 9%; right: 22%; width: 72%; transform: rotate(-8deg); opacity: .85; }
.pc__lines { display: grid; gap: 22px; margin-bottom: 8%; }
.pc__lines i { display: block; height: 1px; background: #c9c2b2; }
.pc__region { position: absolute; right: 0; bottom: 0; width: 26%; mix-blend-mode: multiply; }
.pc__brand { position: absolute; left: 6%; bottom: 4.5%; font: 600 10px/1 var(--font-sans); letter-spacing: .08em; color: #8a8577; text-transform: uppercase; }

/* Petits utilitaires */
.lv-btnrow { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.lv-note { font-size: 13px; color: var(--c-grey); }
.lv-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--c-border-soft); font-size: 13px; font-weight: 500; }

@media (max-width: 760px) {
  .lab-stage { padding-block: 48px; }
  .lv-title { font-size: 30px; line-height: 38px; }
  .lv-text { font-size: 17px; line-height: 26px; }
  .lv-h2 { font-size: 28px; line-height: 34px; }
  .lv-lead { font-size: 16px; }
  .pc__lines { gap: 12px; }
}

/* Placement d'une variante dans la page (variantes « Ta réserve ») */
.lv-where { display: flex; justify-content: center; margin-bottom: 28px; }
.lv-where span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(17,27,33,.06); font: 500 12.5px/1.3 var(--font-mono); color: var(--c-slate); }
.lv-where span::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--c-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 21s-6-5.6-6-11a6 6 0 1 1 12 0c0 5.4-6 11-6 11z'/%3E%3Ccircle cx='12' cy='10' r='2'/%3E%3C/svg%3E") center / 12px no-repeat; }
.lv-rating { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--c-slate); }
.lv-rating img { height: 16px; width: auto; }
