/* ==========================================================
   Kangoovan — landing page
   Direction : carnet d'atelier / plan technique
   ========================================================== */

:root {
  --paper: #F3ECDF;
  --paper-2: #E9DFCC;
  --card: #FBF7EF;
  --ink: #1D1A16;
  --ink-2: #4A443B;
  --muted: #7A7164;
  --yellow: #FFB600;      /* jaune du logo */
  --yellow-soft: #FFE3A0;
  --wood: #D8B88A;
  --red: #E0482A;         /* la cordelette rouge de la vidéo */
  --green: #2F7D4F;
  --bp: #1E3553;          /* bleu plan */
  --bp-line: rgba(160, 196, 235, .16);
  --bp-ink: #CFE2F7;

  --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --hand: "Caveat", "Segoe Print", cursive;

  --radius: 14px;
  --border: 2px solid var(--ink);
  --shadow: 5px 5px 0 var(--ink);
  --shadow-lg: 8px 8px 0 var(--ink);
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(16px, 1.05vw + 12px, 18px);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
/* grain papier */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .32;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .28 0 0 0 .35 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 800; }
h2 { font-size: clamp(30px, 4.2vw, 54px); }
h3 { font-size: clamp(20px, 1.6vw, 24px); letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: var(--yellow); padding: 8px 12px; }

/* ---------- éléments de base ---------- */
.hl {
  background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%);
  padding-inline: .08em;
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-2);
  margin-bottom: 14px;
}
.kicker::before { content: "// "; color: var(--red); }
.kicker--light { color: var(--bp-ink); }
.tape {
  display: inline-block;
  font-family: var(--mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--yellow-soft);
  padding: 6px 14px;
  transform: rotate(-2deg);
  box-shadow: 0 1px 0 rgba(0,0,0,.08);
  margin-bottom: 22px;
  clip-path: polygon(2% 0, 98% 4%, 100% 50%, 97% 100%, 3% 96%, 0 50%);
}
.note { font-family: var(--hand); color: var(--red); font-size: 28px; line-height: 1; }

.btn {
  --bg: var(--yellow);
  display: inline-flex; align-items: center; gap: 12px;
  font: 700 17px/1 var(--font);
  color: var(--ink);
  background: var(--bg);
  border: var(--border);
  border-radius: 999px;
  padding: 15px 24px;
  text-decoration: none;
  box-shadow: var(--shadow);
  cursor: pointer;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.btn--big { font-size: 19px; padding: 19px 28px; }
.btn--sm { font-size: 15px; padding: 10px 16px; box-shadow: 3px 3px 0 var(--ink); }
.btn--ghost { --bg: var(--card); }
.btn__price {
  font-family: var(--mono); font-size: .85em; font-weight: 600;
  background: var(--ink); color: var(--yellow);
  padding: 6px 10px; border-radius: 999px;
}
.link-arrow { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 2px; }
.link-arrow::after { content: " →"; transition: margin .2s; }
.link-arrow:hover::after { margin-left: 6px; }

/* ---------- topbar & header ---------- */
.topbar { background: var(--ink); color: var(--paper); text-align: center; font-family: var(--mono); font-size: 12.5px; padding: 8px 16px; }
.topbar p { margin: 0; }
.topbar strong { color: var(--yellow); font-weight: 600; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid transparent;
  transition: border-color .3s, padding .3s;
}
.header.is-scrolled { border-bottom-color: var(--ink); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
.header__logo img { width: 128px; height: auto; transition: width .3s var(--ease); }
.header.is-scrolled .header__logo img { width: 104px; }
.header__nav { display: flex; gap: 28px; font-weight: 600; font-size: 16px; }
.header__nav a { text-decoration: none; position: relative; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px; background: var(--red); transition: right .25s var(--ease); }
.header__nav a:hover::after { right: 0; }

/* ---------- hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); position: relative; }
.hero::before { /* quadrillage carnet */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(29,26,22,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,26,22,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 40%, transparent);
}
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(42px, 6.4vw, 86px); margin-bottom: 22px; }
.hero__title .hl { white-space: nowrap; }
.hero__lead { font-size: clamp(17px, 1.35vw, 20px); color: var(--ink-2); max-width: 34em; margin-bottom: 30px; }
.hero__lead strong { color: var(--ink); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 28px; margin-bottom: 28px; }
.hero__proof { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; color: var(--ink-2); }
.hero__proof li::before { content: "✓ "; color: var(--green); font-weight: 800; }
.hero__proof b { color: var(--ink); }

/* mots qui montent */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > span { display: inline-block; transform: translateY(105%); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i) * 55ms + 100ms); }
@keyframes rise { to { transform: none; } }

.hero__media { position: relative; }
.polaroid {
  margin: 0;
  background: var(--card);
  border: var(--border);
  border-radius: 6px;
  padding: 12px 12px 0;
  box-shadow: var(--shadow-lg);
  transform: rotate(1.6deg);
  position: relative;
}
.polaroid__video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 3px; background: var(--paper-2); }
.polaroid__tape {
  position: absolute; top: -16px; left: 50%; width: 120px; height: 30px;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(255, 214, 120, .78);
  clip-path: polygon(3% 0, 97% 6%, 100% 50%, 96% 100%, 2% 94%, 0 50%);
  z-index: 2;
}
.polaroid figcaption { padding: 12px 4px 14px; }
.play {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 16px var(--font); color: var(--ink);
  background: none; border: 0; cursor: pointer; padding: 0;
}
.play small { font-family: var(--mono); color: var(--muted); font-size: 12px; }
.play__icon {
  width: 34px; height: 34px; display: grid; place-items: center;
  background: var(--red); color: #fff; border-radius: 50%; font-size: 12px; padding-left: 2px;
  transition: transform .25s var(--ease);
}
.play:hover .play__icon { transform: scale(1.12); }

.note--hero { position: absolute; left: -64px; bottom: -58px; transform: rotate(-6deg); display: flex; align-items: flex-start; gap: 4px; }
.note--hero svg { width: 90px; height: 60px; transform: scaleY(-1) rotate(-30deg); margin-top: -36px; }
.draw path { fill: none; stroke: var(--red); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) 1.2s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.stamp {
  position: absolute; right: -34px; top: -40px; width: 116px; height: 116px;
  display: grid; place-items: center;
  background: var(--yellow); border: var(--border); border-radius: 50%;
  box-shadow: 3px 3px 0 var(--ink);
}
.stamp svg { position: absolute; inset: 0; animation: spin 18s linear infinite; }
.stamp text { font: 600 10.4px var(--mono); letter-spacing: .14em; fill: var(--ink); }
.stamp span { font: 800 38px/.9 var(--font); text-align: center; }
.stamp small { display: block; font: 600 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- ticker ---------- */
.ticker { background: var(--yellow); border-block: var(--border); overflow: hidden; transform: rotate(-1.2deg); margin: 0 -20px; position: relative; z-index: 2; }
.ticker__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.ticker span { font: 700 clamp(16px, 1.6vw, 20px) var(--font); white-space: nowrap; padding: 14px 0; }
.ticker span::after { content: "✦"; margin: 0 28px; color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section__head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__lead { font-size: clamp(17px, 1.3vw, 20px); color: var(--ink-2); max-width: 40em; }

/* chiffres */
.stats { padding-bottom: 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: var(--border); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 26px 24px; border-right: 2px dashed rgba(29,26,22,.25); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-size: clamp(38px, 4.4vw, 60px); line-height: 1; letter-spacing: -.03em; margin-bottom: 8px; }
.stat > span { font-family: var(--mono); font-size: 13px; color: var(--ink-2); }

/* problème */
.problem h2 { font-size: clamp(28px, 3.6vw, 46px); }
.scribble { position: relative; white-space: nowrap; }
.scribble::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.12em; height: .32em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M2 9 C 40 2, 80 13, 120 6 S 180 4, 198 8' fill='none' stroke='%23E0482A' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
.options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.option {
  background: var(--card); border: var(--border); border-radius: var(--radius);
  padding: 24px 22px; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.option:hover { transform: rotate(-1deg) translateY(-4px); box-shadow: var(--shadow); }
.option__label { font-family: var(--mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); }
.option__price { font-size: 30px; font-weight: 800; margin: 10px 0 12px; letter-spacing: -.02em; }
.option__price s { text-decoration-color: var(--red); text-decoration-thickness: 3px; color: var(--muted); }
.option__price small { display: block; font: 400 13px var(--mono); color: var(--ink-2); letter-spacing: 0; }
.option p:last-of-type { font-size: 15.5px; color: var(--ink-2); margin: 0; }
.option--us { background: var(--yellow); box-shadow: var(--shadow-lg); transform: rotate(1.2deg); }
.option--us:hover { transform: rotate(0) translateY(-4px); box-shadow: var(--shadow-lg); }
.option--us p:last-of-type { color: var(--ink); }
.note--inline { position: absolute; right: 12px; bottom: -36px; font-size: 26px; transform: rotate(-4deg); }

/* comment ça marche */
.how { background: var(--paper-2); border-block: var(--border); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.step { background: var(--card); border: var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.step__media { aspect-ratio: 4 / 3; overflow: hidden; border-bottom: var(--border); background: var(--paper-2); }
.step__media video { width: 100%; height: 100%; object-fit: cover; }
.step__body { padding: 22px 22px 24px; position: relative; }
.step__n {
  position: absolute; top: -30px; right: 18px;
  font: 600 14px var(--mono); background: var(--ink); color: var(--yellow);
  border-radius: 999px; padding: 8px 12px;
}
.step p { font-size: 15.5px; color: var(--ink-2); margin: 0; }

/* plan technique (scroll) */
.blueprint { position: relative; height: 240vh; background: var(--bp); color: var(--bp-ink); }
.blueprint__sticky {
  position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden;
  background-image:
    linear-gradient(var(--bp-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--bp-line) 1px, transparent 1px),
    linear-gradient(rgba(160,196,235,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160,196,235,.07) 1px, transparent 1px);
  background-size: 100px 100px, 100px 100px, 20px 20px, 20px 20px;
}
.blueprint__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.blueprint h2 { color: #fff; font-size: clamp(28px, 3.4vw, 44px); }
.specs { margin: 26px 0 22px; font-family: var(--mono); font-size: 14.5px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed rgba(207,226,247,.3); }
.specs dt { color: rgba(207,226,247,.7); }
.specs dd { margin: 0; color: #fff; text-align: right; }
.specs .yes { color: var(--yellow); font-weight: 600; }
.blueprint__hint { font-family: var(--hand); font-size: 26px; color: var(--yellow); margin: 0; }
.blueprint__drawing { background: rgba(9, 22, 40, .35); border: 1.5px solid rgba(207,226,247,.4); border-radius: var(--radius); padding: 18px; }
.fold { width: 100%; height: auto; overflow: visible; }
.fold__floor { stroke: var(--bp-ink); stroke-width: 2; stroke-dasharray: 8 6; }
.fold__panel { fill: var(--wood); stroke: #fff; stroke-width: 1.5; }
.fold__panel--3 { fill: #E8CDA2; }
.fold__leg { fill: #C9A777; stroke: #fff; stroke-width: 1; }
.fold__legs-front { opacity: 0; transition: opacity .3s; }
.fold__hinge { fill: var(--red); stroke: #fff; stroke-width: 1; }
.fold__num { font: 600 14px var(--mono); fill: rgba(207,226,247,.6); text-anchor: middle; }
.fold__dim { stroke: var(--yellow); stroke-width: 1.5; opacity: 0; transition: opacity .3s; }
.fold__dim text { font: 600 14px var(--mono); fill: var(--yellow); stroke: none; text-anchor: middle; }
.fold__dim--closed { opacity: 1; }
.fold__progress { height: 4px; background: rgba(207,226,247,.15); border-radius: 4px; margin-top: 12px; overflow: hidden; }
.fold__progress span { display: block; height: 100%; width: 0; background: var(--yellow); }

/* bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.card {
  grid-column: span 2;
  background: var(--card); border: var(--border); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card--big { grid-column: span 4; grid-row: span 2; }
.card--half { grid-column: span 3; }
.card--half.card--list { justify-content: center; }
.card--big img { width: 100%; flex: 1; object-fit: cover; min-height: 260px; border-bottom: var(--border); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; border-bottom: var(--border); background: var(--paper-2); }
.card__media video { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 20px 22px 22px; }
.card__body p { font-size: 15.5px; color: var(--ink-2); margin: 0; }
.card__tag { display: inline-block; font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; border: 1.5px solid var(--ink); border-radius: 999px; padding: 4px 10px; margin-bottom: 12px; }
.card__tag--y { background: var(--yellow); }
.card--list { background: var(--ink); color: var(--paper); }
.card--list .card__tag { border-color: var(--yellow); color: var(--yellow); }
.toc { list-style: none; margin: 4px 0 16px; padding: 0; font-family: var(--mono); font-size: 14px; }
.toc li { display: flex; align-items: baseline; gap: 8px; padding: 6px 0; }
.toc i { flex: 1; border-bottom: 1.5px dotted rgba(243,236,223,.4); }
.toc b { color: var(--yellow); font-weight: 600; }
.card__small { font-size: 14px !important; color: rgba(243,236,223,.7) !important; }

/* extrait */
.preview { background: var(--paper-2); border-block: var(--border); overflow: hidden; }
.preview__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.pages { position: relative; height: 460px; }
.pages img {
  position: absolute; top: 50%; left: 50%; width: 230px;
  border: 1.5px solid var(--ink); border-radius: 3px; background: #fff;
  box-shadow: 4px 4px 0 rgba(29,26,22,.85);
  transform: translate(-50%, -50%) rotate(0deg);
  transition: transform .9s var(--ease);
}
.pages.is-in img:nth-child(1) { transform: translate(-50%, -50%) translate(-210px, -30px) rotate(-10deg); }
.pages.is-in img:nth-child(2) { transform: translate(-50%, -50%) translate(-120px, 30px) rotate(-5deg); }
.pages.is-in img:nth-child(3) { transform: translate(-50%, -50%) translate(-30px, -20px) rotate(-1deg); }
.pages.is-in img:nth-child(4) { transform: translate(-50%, -50%) translate(60px, 25px) rotate(3deg); }
.pages.is-in img:nth-child(5) { transform: translate(-50%, -50%) translate(150px, -25px) rotate(7deg); }
.pages.is-in img:nth-child(6) { transform: translate(-50%, -50%) translate(230px, 30px) rotate(11deg); }
.pages img { transition: transform .9s var(--ease), scale .3s var(--ease); cursor: zoom-in; }
.pages img:hover { z-index: 5; scale: 1.14; }

/* galerie */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 22px; }
.gallery__item { margin: 0; background: var(--card); border: var(--border); padding: 10px 10px 0; border-radius: 4px; box-shadow: var(--shadow); }
.gallery__item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.gallery__item figcaption { font-family: var(--hand); font-size: 22px; padding: 6px 4px 8px; color: var(--ink-2); }
.g1 { grid-row: span 2; transform: rotate(-1deg); }
.g1 img { aspect-ratio: auto; height: calc(100% - 44px); }
.g2 { transform: rotate(1.5deg); }
.g3 { transform: rotate(-.6deg); }
.counter { margin-top: 56px; text-align: center; }
.counter p { margin: 0; }
.counter p:first-child { font-size: clamp(24px, 3vw, 38px); font-weight: 800; letter-spacing: -.02em; }
.counter b { background: var(--yellow); border: var(--border); border-radius: 10px; padding: 0 .25em; box-shadow: 3px 3px 0 var(--ink); }
.counter__ask { color: var(--ink-2); margin-top: 14px !important; }

/* pour qui */
.fit { padding-top: 0; }
.fit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fit__col { border: var(--border); border-radius: var(--radius); padding: 30px 30px 24px; background: var(--card); }
.fit__col ul { list-style: none; margin: 0; padding: 0; }
.fit__col li { padding: 8px 0 8px 34px; position: relative; color: var(--ink-2); }
.fit__col li strong { color: var(--ink); }
.fit__col li::before { position: absolute; left: 0; top: 7px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; border: 1.5px solid var(--ink); }
.fit__col--yes li::before { content: "✓"; background: var(--yellow); }
.fit__col--no { background: transparent; border-style: dashed; }
.fit__col--no li::before { content: "✕"; }

/* offre */
.offer { background: var(--ink); position: relative; overflow: hidden; }
.offer::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 30%, rgba(255,182,0,.18), transparent 50%); }
.ticket {
  position: relative; display: grid; grid-template-columns: 300px 1fr;
  background: var(--card); border: var(--border); border-radius: 20px;
  box-shadow: 10px 10px 0 var(--yellow); max-width: 980px; margin-inline: auto; overflow: hidden;
}
.ticket__left { background: var(--yellow); display: grid; place-items: center; padding: 36px; border-right: 2px dashed var(--ink); position: relative; }
.ticket__left::before, .ticket__left::after { content: ""; position: absolute; right: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); }
.ticket__left::before { top: -14px; } .ticket__left::after { bottom: -14px; }
.ticket__cover { width: 100%; max-width: 220px; border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); transform: rotate(-4deg); transition: transform .4s var(--ease); }
.ticket:hover .ticket__cover { transform: rotate(0) scale(1.03); }
.ticket__right { padding: clamp(28px, 4vw, 48px); }
.ticket h2 { font-size: clamp(30px, 3.6vw, 44px); }
.checks { list-style: none; padding: 0; margin: 0 0 26px; }
.checks li { padding: 6px 0 6px 30px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.ticket__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 26px; padding: 22px 0; border-block: 2px dashed rgba(29,26,22,.25); margin-bottom: 18px; }
.ticket__price { font-size: 48px; font-weight: 800; letter-spacing: -.03em; margin: 0; line-height: 1; }
.ticket__price small { display: block; font: 400 13px var(--mono); letter-spacing: 0; color: var(--muted); margin-top: 6px; }
.ticket__meta { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.8; }

/* histoire */
.story__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.story__img { border: var(--border); border-radius: 6px; box-shadow: var(--shadow-lg); transform: rotate(-2deg); }
.story h2 { font-size: clamp(28px, 3.2vw, 42px); }
.story em { font-style: normal; color: var(--red); }
.story p { color: var(--ink-2); }

/* faq */
.faq { background: var(--paper-2); border-top: var(--border); }
.faq__wrap { max-width: 860px; }
.faq__list { border-top: var(--border); }
.faq details { border-bottom: var(--border); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 50px 22px 0; position: relative;
  font-weight: 700; font-size: clamp(17px, 1.4vw, 20px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; translate: 0 -50%;
  width: 32px; height: 32px; display: grid; place-items: center;
  border: var(--border); border-radius: 50%; font-weight: 600; transition: rotate .3s var(--ease), background .3s;
}
.faq details[open] summary::after { rotate: 45deg; background: var(--yellow); }
.faq details p { color: var(--ink-2); padding-right: 50px; margin: -6px 0 22px; }
.faq details[open] p { animation: fadeDown .4s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-6px); } }

/* contact */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact p { color: var(--ink-2); }
.form { display: grid; gap: 16px; background: var(--card); border: var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.form label { display: grid; gap: 6px; font: 600 13px var(--mono); text-transform: uppercase; letter-spacing: .05em; }
.form input, .form textarea {
  font: 400 16px var(--font); color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--ink); border-radius: 10px; padding: 12px 14px; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: 3px solid var(--yellow); outline-offset: 0; }
.form .btn { justify-self: start; }

/* cta final */
.final { background: var(--yellow); border-top: var(--border); padding: clamp(64px, 9vw, 120px) 0; text-align: center; }
.final h2 { font-size: clamp(32px, 5vw, 64px); margin-bottom: 36px; }
.final .hl { background: linear-gradient(transparent 58%, #fff 58%, #fff 92%, transparent 92%); }
.final .btn { --bg: var(--card); }

/* footer */
.footer { background: var(--paper); border-top: var(--border); padding: 22px 0; font-size: 14px; color: var(--ink-2); }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 32px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer nav a { text-decoration: none; font-weight: 600; color: var(--ink); }
.footer p { margin: 0; flex-basis: 100%; font-size: 12.5px; color: var(--muted); }
@media (min-width: 1000px) { .footer p { flex-basis: auto; margin-left: auto; } }

/* barre d'achat mobile */
.buybar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--card); border: var(--border); border-radius: 999px; padding: 8px 8px 8px 20px;
  box-shadow: 4px 4px 0 var(--ink);
  transform: translateY(140%); transition: transform .4s var(--ease);
  font-size: 14.5px;
}
.buybar.is-on { transform: none; }

/* modale vidéo */
.modal { border: var(--border); border-radius: var(--radius); padding: 0; width: min(960px, 94vw); background: #000; box-shadow: var(--shadow-lg); overflow: visible; }
.modal::backdrop { background: rgba(29,26,22,.82); backdrop-filter: blur(4px); }
.modal__frame { aspect-ratio: 16 / 9; }
.modal__frame iframe { width: 100%; height: 100%; border: 0; display: block; border-radius: 12px; }
.modal__close { position: absolute; top: -18px; right: -18px; width: 40px; height: 40px; border-radius: 50%; border: var(--border); background: var(--yellow); font-size: 24px; line-height: 1; cursor: pointer; z-index: 2; }

/* ---------- apparitions au scroll ---------- */
[data-reveal] { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease), translate .8s var(--ease); transition-delay: calc(var(--d, 0) * 110ms); }
[data-reveal].is-in { opacity: 1; translate: 0 0; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .options { grid-template-columns: 1fr 1fr; }
  .note--hero { left: -10px; }
  .stamp { right: -10px; }
}
@media (max-width: 900px) {
  .header__nav { display: none; }
  .hero__grid, .blueprint__grid, .preview__grid, .story__grid, .contact__grid { grid-template-columns: 1fr; }
  .hero__media { margin: 24px 8px 40px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 2px dashed rgba(29,26,22,.25); }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .bento { grid-template-columns: 1fr; }
  .card, .card--big, .card--half { grid-column: auto; grid-row: auto; }
  .gallery { grid-template-columns: 1fr; }
  .g1 { grid-row: auto; } .g1 img { height: auto; aspect-ratio: 16 / 9; }
  .fit__grid { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: 1fr; }
  .ticket__left { border-right: 0; border-bottom: 2px dashed var(--ink); padding: 28px; }
  .ticket__left::before, .ticket__left::after { display: none; }
  .ticket__cover { max-width: 150px; }
  .blueprint { height: 220vh; }
  .blueprint__sticky { align-items: flex-start; padding-top: 40px; }
  .blueprint__grid { gap: 22px; }
  .specs { margin: 14px 0; font-size: 13px; }
  .specs div { padding: 6px 0; }
  .blueprint__hint { display: none; }
  .pages { height: 340px; }
  .pages img { width: 160px; }
  .pages.is-in img:nth-child(1) { transform: translate(-50%, -50%) translate(-90px, -20px) rotate(-10deg); }
  .pages.is-in img:nth-child(2) { transform: translate(-50%, -50%) translate(-54px, 20px) rotate(-5deg); }
  .pages.is-in img:nth-child(3) { transform: translate(-50%, -50%) translate(-18px, -14px) rotate(-1deg); }
  .pages.is-in img:nth-child(4) { transform: translate(-50%, -50%) translate(18px, 18px) rotate(3deg); }
  .pages.is-in img:nth-child(5) { transform: translate(-50%, -50%) translate(54px, -18px) rotate(7deg); }
  .pages.is-in img:nth-child(6) { transform: translate(-50%, -50%) translate(90px, 20px) rotate(11deg); }
  .buybar { display: flex; }
  .footer { padding-bottom: 92px; }
  .note--inline { display: none; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 16px; }
  .options { grid-template-columns: 1fr; }
  .btn--big { font-size: 17px; padding: 16px 18px; gap: 10px; }
  .hero__title { font-size: 40px; }
  .note--hero { display: none; }
  .stamp { width: 92px; height: 92px; top: -30px; right: -6px; }
  .stamp text { font-size: 8.6px; }
  .stamp span { font-size: 30px; }
  .btn--big { width: 100%; justify-content: center; }
  .ticket__buy .btn { width: 100%; justify-content: center; }
  .stat { padding: 20px 16px; }
  .faq details p { padding-right: 0; }
}

/* ---------- mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; translate: none; }
  [data-split] .w > span { transform: none; }
  .ticker__track { animation: none; }
}

/* ---------- v2 : retours ---------- */
.hero__title .tape { display: table; font-weight: 400; line-height: 1.3; letter-spacing: .06em; }
.polaroid__link { display: block; text-decoration: none; color: inherit; cursor: pointer; }
.polaroid__link:focus-visible { outline: 3px solid var(--red); outline-offset: 6px; }
.polaroid__screen { position: relative; display: block; }
.polaroid__play {
  position: absolute; left: 50%; top: 50%; width: 76px; height: 76px;
  display: grid; place-items: center; padding-left: 5px;
  translate: -50% -50%;
  background: var(--yellow); color: var(--ink); font-size: 26px;
  border: var(--border); border-radius: 50%; box-shadow: 4px 4px 0 var(--ink);
  transition: scale .25s var(--ease), background .25s;
}
.polaroid__link:hover .polaroid__play { scale: 1.12; background: #fff; }
.polaroid__link:hover .play__icon { transform: scale(1.12); }
.polaroid__link .play { padding: 12px 4px 14px; }
.ul { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: .14em; text-underline-offset: .1em; text-decoration-skip-ink: none; }
.option__price s + small { display: block; font-family: var(--hand); font-size: 22px; color: var(--red); letter-spacing: 0; margin-top: 2px; }
.story__img { aspect-ratio: 3 / 2; object-fit: cover; }
.faq details p + p { margin-top: -10px; }
.faq details a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }

/* ==========================================================
   Guides (accueil) + Blog
   ========================================================== */
.guides { padding-top: 0; }
.guides__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.guide-card {
  display: flex; flex-direction: column; gap: 14px; align-items: flex-start;
  background: var(--card); border: var(--border); border-radius: var(--radius);
  padding: 26px 24px; text-decoration: none; color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.guide-card:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow); }
.guide-card h3 { margin: 0; flex: 1; }
.guide-card .card__tag { margin: 0; }
.guides__all { margin: 28px 0 0; }

/* --- page liste du blog --- */
.blog-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(24px, 4vw, 40px); }
.blog-hero h1 { font-size: clamp(38px, 5.6vw, 72px); margin-bottom: 16px; }
.blog-hero p { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 40em; }
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: clamp(64px, 8vw, 110px); }
.post-card {
  display: flex; flex-direction: column; background: var(--card); border: var(--border); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: var(--border); }
.post-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h2 { font-size: 22px; margin: 0; letter-spacing: -.01em; }
.post-card p { font-size: 15.5px; color: var(--ink-2); margin: 0; flex: 1; }
.post-card .card__tag { margin: 0; align-self: flex-start; }

/* --- article --- */
.crumbs { font: 13px var(--mono); color: var(--muted); padding-top: 28px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { margin: 0 6px; }
.post-head { padding: 22px 0 30px; max-width: 860px; }
.post-head h1 { font-size: clamp(34px, 4.8vw, 60px); margin: 10px 0 18px; }
.post-head .lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); margin: 0 0 18px; }
.post-meta { font: 13px var(--mono); color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.post-cover { margin: 0 0 clamp(36px, 5vw, 56px); }
.post-cover img { width: 100%; max-height: 560px; object-fit: cover; border: var(--border); border-radius: 6px; box-shadow: var(--shadow-lg); }
.post-cover figcaption, .prose figure figcaption { font-family: var(--hand); font-size: 21px; color: var(--ink-2); margin-top: 8px; }

.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; padding-bottom: clamp(56px, 8vw, 100px); }
.post-aside { position: sticky; top: 96px; display: grid; gap: 20px; }
.toc-box { border: var(--border); border-radius: var(--radius); padding: 18px 20px; background: var(--card); }
.toc-box b { display: block; font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.toc-box ol { margin: 0; padding-left: 18px; font-size: 14.5px; display: grid; gap: 6px; }
.toc-box a { color: var(--ink-2); text-decoration: none; }
.toc-box a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--yellow); }
.aside-buy { background: var(--yellow); border: var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.aside-buy p { font-size: 15px; margin: 0 0 14px; }
.aside-buy strong { display: block; font-size: 20px; line-height: 1.15; margin-bottom: 6px; }
.aside-buy .btn { --bg: var(--card); width: 100%; justify-content: center; }

.prose { font-size: clamp(17px, 1.15vw, 18.5px); line-height: 1.7; max-width: 740px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 2.2em 0 .6em; scroll-margin-top: 90px; }
.prose h3 { font-size: clamp(20px, 1.7vw, 23px); margin: 1.8em 0 .5em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; color: var(--ink-2); }
.prose strong { color: var(--ink); }
.prose a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 2px; }
.prose a:hover { background: var(--yellow-soft); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; border: var(--border); border-radius: 6px; }
.tldr { background: var(--card); border: var(--border); border-left: 8px solid var(--yellow); border-radius: 10px; padding: 18px 22px; }
.tldr b { display: block; font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; color: var(--ink); }
.tldr p { margin: 0; color: var(--ink); }
.note-box { background: #EAF1F9; border: 1.5px solid var(--bp); border-radius: 10px; padding: 16px 20px; font-size: .95em; }
.note-box p { color: var(--bp) !important; margin: 0; }
.table-wrap { overflow-x: auto; border: var(--border); border-radius: 10px; background: var(--card); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.prose th, .prose td { padding: 11px 14px; text-align: left; border-bottom: 1px solid rgba(29,26,22,.15); vertical-align: top; }
.prose th { font: 600 12.5px var(--mono); text-transform: uppercase; letter-spacing: .04em; background: var(--paper-2); color: var(--ink); }
.prose tr:last-child td { border-bottom: 0; }
.prose td.hl-cell { background: var(--yellow-soft); font-weight: 600; color: var(--ink); }
.prose .faq__list { margin-top: 1em; }
.prose .faq details p { padding-right: 0; }
.cta-box {
  display: grid; grid-template-columns: 120px 1fr; gap: 22px; align-items: center;
  background: var(--ink); color: var(--paper); border-radius: 16px; padding: 24px 26px; margin: 2.4em 0 !important;
  box-shadow: 8px 8px 0 var(--yellow);
}
.cta-box img { width: 120px; border: 1.5px solid var(--paper); transform: rotate(-4deg); }
.cta-box p { color: rgba(243,236,223,.82) !important; margin: 0 0 14px; font-size: 16px; }
.cta-box strong { color: var(--yellow) !important; display: block; font-size: 22px; line-height: 1.2; margin-bottom: 6px; }
.cta-box .btn { font-size: 16px; }
.author-box { display: grid; grid-template-columns: 72px 1fr; gap: 16px; align-items: center; border-top: var(--border); padding-top: 22px; margin-top: 3em !important; }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: var(--border); }
.author-box p { margin: 0; font-size: 15px; }
.related { background: var(--paper-2); border-top: var(--border); padding: clamp(48px, 7vw, 80px) 0; }
.related h2 { font-size: clamp(26px, 3vw, 36px); }

@media (max-width: 1000px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-aside { position: static; order: -1; }
  .aside-buy { display: none; }
}
@media (max-width: 900px) {
  .guides__grid, .post-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cta-box { grid-template-columns: 1fr; }
  .cta-box img { width: 90px; }
  .prose th, .prose td { padding: 9px 10px; font-size: 14px; }
}
.related .post-card h2 { font-size: 22px; }
.credit { display: block; font: 11.5px/1.4 var(--mono); color: var(--muted); margin-top: 4px; }
.credit a { color: var(--muted); }

/* ==========================================================
   Formulaire de contact : états et animations
   ========================================================== */
.contact__alt { font-size: 15.5px; }
.contact__alt a { color: var(--ink); text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }
.contact__box { position: relative; }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__err { min-height: 0; font: 600 12.5px var(--font); text-transform: none; letter-spacing: 0; color: var(--red); }
.form__err:empty { display: none; }
.form .is-invalid { border-color: var(--red); background: #FDF0EC; animation: shake .4s var(--ease); }
@keyframes shake { 20%, 60% { translate: -6px 0; } 40%, 80% { translate: 6px 0; } }
.form__note { font-size: 13.5px; color: var(--muted); margin: -4px 0 0; }
.form__note a { color: var(--ink-2); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.form__status { margin: 0; font-size: 14.5px; color: var(--red); }
.form__plane { width: 20px; height: 20px; fill: var(--ink); transition: transform .3s var(--ease); }
.form__send:hover .form__plane { transform: translate(3px, -3px) rotate(-8deg); }

/* envoi en cours */
.form.is-sending { pointer-events: none; }
.form.is-sending .form__send { --bg: var(--yellow-soft); }
.form.is-sending .form__plane { animation: flutter .6s ease-in-out infinite alternate; }
.form.is-sending .form__label::after { content: ""; display: inline-block; width: 1.2em; text-align: left; animation: dots 1.2s steps(4) infinite; }
@keyframes flutter { from { transform: translate(-2px, 2px) rotate(4deg); } to { transform: translate(3px, -3px) rotate(-10deg); } }
@keyframes dots { 0% { content: ""; } 25% { content: "."; } 50% { content: ".."; } 75% { content: "..."; } }

/* l'avion s'envole */
.plane-fly { position: fixed; z-index: 90; width: 34px; height: 34px; fill: var(--ink); pointer-events: none;
  animation: fly 1.1s cubic-bezier(.5, 0, .75, .4) forwards; }
.plane-trail { position: fixed; z-index: 89; pointer-events: none; overflow: visible; }
.plane-trail path { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 4 9;
  stroke-dashoffset: 300; animation: trail 1s ease-out forwards; }
@keyframes fly {
  0% { transform: translate(0, 0) rotate(0) scale(1); opacity: 1; }
  35% { transform: translate(60px, -40px) rotate(-12deg) scale(1.15); }
  100% { transform: translate(420px, -360px) rotate(-28deg) scale(.6); opacity: 0; }
}
@keyframes trail { to { stroke-dashoffset: 0; opacity: .0; } }
.form.is-leaving { animation: fold .5s var(--ease) forwards; }
@keyframes fold { to { opacity: 0; transform: perspective(800px) rotateX(18deg) translateY(-14px) scale(.96); } }

/* message envoyé */
.form-done { background: var(--card); border: var(--border); border-radius: var(--radius); padding: 34px 28px; box-shadow: var(--shadow);
  text-align: center; animation: pop .6s var(--ease) both; }
.form-done:focus { outline: none; }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.96) rotate(-1deg); } }
.form-done__stamp { width: 110px; height: 110px; margin: 0 auto 14px; animation: stamp .55s cubic-bezier(.3, 1.6, .5, 1) .15s both; }
.form-done__stamp circle { fill: var(--yellow); stroke: var(--ink); stroke-width: 3; }
.form-done__check { fill: none; stroke: var(--ink); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .5s var(--ease) .55s forwards; }
@keyframes stamp { from { opacity: 0; transform: scale(2.2) rotate(-25deg); } to { opacity: 1; transform: scale(1) rotate(-6deg); } }
.form-done h3 { font-size: 28px; margin-bottom: 8px; }
.form-done p { margin: 0 auto 18px; max-width: 32em; }
.form-done__again { background: none; border: 0; border-bottom: 2px solid var(--ink); padding: 0 0 2px; font: 600 16px var(--font); color: var(--ink); cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  .plane-fly, .plane-trail { display: none; }
}
[hidden] { display: none !important; }
.footer__in > img { width: 92px; height: auto; }

/* --- Mosaïque « carnet de voyage » --- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: auto; gap: 22px; }
.mosaic__item { margin: 0; background: var(--card); border: var(--border); border-radius: 4px; padding: 9px 9px 0; box-shadow: var(--shadow);
  transform: rotate(var(--r, 0deg)); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.mosaic__item:hover { transform: rotate(0) scale(1.03); box-shadow: var(--shadow-lg); z-index: 2; position: relative; }
.mosaic__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mosaic__item figcaption { font-family: var(--hand); font-size: 21px; line-height: 1.15; padding: 6px 4px 9px; color: var(--ink-2); }
.mosaic .g-big { grid-column: span 2; grid-row: span 2; }
.mosaic .g-big img { aspect-ratio: auto; height: calc(100% - 44px); min-height: 260px; }
.mosaic .g-wide { grid-column: span 2; }
.mosaic .g-wide img { aspect-ratio: 8 / 3; height: auto; }
@media (max-width: 900px) {
  .mosaic { grid-template-columns: 1fr 1fr; gap: 16px; }
  .mosaic .g-big, .mosaic .g-wide { grid-column: span 2; grid-row: auto; }
  .mosaic .g-big img { height: auto; aspect-ratio: 16 / 10; min-height: 0; }
  .mosaic__item figcaption { font-size: 18px; }
}

/* ---------- mobile : aucun débordement horizontal ---------- */
html, body { overflow-x: clip; }
.ticker { margin-inline: 0; }
@media (max-width: 1000px) {
  .post-layout { grid-template-columns: minmax(0, 1fr); }
}
.prose, .post-layout > * { min-width: 0; }

/* ---------- Section « Pas bricoleur ? » ---------- */
.novice__pages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }
.novice__page { margin: 0; background: var(--card); border: var(--border); border-radius: 6px; padding: 10px; box-shadow: var(--shadow); transform: rotate(var(--r, 0deg)); transition: transform .3s var(--ease), opacity .8s var(--ease), translate .8s var(--ease); }
.novice__page:hover { transform: rotate(0) scale(1.02); }
.novice__page img { display: block; width: 100%; height: auto; border: 1px solid rgba(29, 26, 22, .15); }
.novice__page figcaption { padding: 12px 4px 4px; font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.novice__page figcaption b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }
.novice__title { margin: clamp(44px, 6vw, 64px) 0 26px; font-size: clamp(22px, 2.2vw, 28px); }
.novice__tips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.tip-note { position: relative; background: var(--yellow-soft); border: var(--border); border-radius: 4px; padding: 20px 18px; box-shadow: 4px 4px 0 var(--ink); transform: rotate(var(--r, 0deg)); }
.tip-note::before { content: ""; position: absolute; top: -12px; left: 50%; width: 70px; height: 22px; transform: translateX(-50%) rotate(-3deg); background: rgba(255, 255, 255, .55); border: 1px solid rgba(29, 26, 22, .12); }
.tip-note__tag { display: block; font: 700 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 8px; }
.tip-note__tag::before { content: "💡 "; }
.tip-note p { margin: 0; font-size: 15px; color: var(--ink); line-height: 1.5; }
@media (max-width: 900px) {
  .novice__pages { grid-template-columns: minmax(0, 1fr); max-width: 560px; margin-inline: auto; }
  .novice__tips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) { .novice__tips { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Blog : encadrés ludiques, check-lists, sources ---------- */
.fun-box { position: relative; background: var(--yellow-soft); border: var(--border); border-radius: 6px; padding: 18px 22px; box-shadow: 4px 4px 0 var(--ink); transform: rotate(-.6deg); margin: 1.6em 0; }
.fun-box b { display: block; font: 700 12px/1.3 var(--mono); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; color: var(--ink); }
.fun-box b::before { content: "💡 "; }
.fun-box p { margin: 0; color: var(--ink) !important; }
.prose ul.checklist { list-style: none; padding-left: 0; }
.prose ul.checklist li { position: relative; padding-left: 30px; }
.prose ul.checklist li::before { content: "✓"; position: absolute; left: 0; top: .1em; width: 20px; height: 20px; border: 1.5px solid var(--ink); border-radius: 4px; background: var(--card); font: 700 13px/18px var(--mono); text-align: center; color: var(--green); }
.sources { margin-top: 2.4em; padding-top: 1em; border-top: 1.5px dashed rgba(29, 26, 22, .25); font-size: 14px; }
.sources b { display: block; font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.prose .sources ul { padding-left: 1.1em; color: var(--muted); }
.sources li { margin: 3px 0; }
.sources a { color: var(--ink-2); overflow-wrap: anywhere; }
