/* Mini-site Castorama · Head of Creative Content & IA Factory (F/H)
   Jetons relevés sur castorama.fr le 20/11/2026 (voir BRAND_SYSTEM.md). Police Casto Pro, reprise du site de la marque à la demande de Baptiste (hommage). */
@font-face { font-family: 'Casto Pro'; src: url('fonts/CastoPro-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Casto Pro'; src: url('fonts/CastoPro-Bold.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --blue: #245ea9;
  --blue-active: #0063b0;
  --deep: #003056;
  --yellow: #ffdc00;
  --ink: #323c41;
  --muted: #5b6367;
  --grey: #f2f3f1;
  --line: #d6d8d9;
  --white: #fff;
  --wrap: 1120px;
  --gut: clamp(20px, 5vw, 56px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { font-family: 'Casto Pro', Arial, sans-serif; color: var(--ink); background: var(--white); font-size: 18px; line-height: 1.6; font-weight: 400; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
ul, ol { list-style: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--ink); padding: 10px 16px; font-weight: 800; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- Barre ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 24px; padding: 10px var(--gut); min-height: 60px; }
.bar-name { text-decoration: none; color: var(--ink); line-height: 1.2; flex: none; }
.bar-name b { display: block; font-weight: 900; font-size: 17px; letter-spacing: -.01em; }
.bar-name span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.bar-nav { display: flex; gap: 4px; margin-left: auto; }
.bar-nav a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14.5px; padding: 7px 12px 7px 7px; border-radius: 6px; white-space: nowrap; }
.bar-nav i { font-style: normal; font-weight: 900; font-size: 13px; width: 24px; height: 24px; display: grid; place-items: center; background: var(--grey); border-radius: 4px; }
.bar-nav a:hover { background: var(--grey); }
.bar-nav a.on { background: var(--blue); color: var(--white); }
.bar-nav a.on i { background: var(--yellow); color: var(--ink); }
.bar-cv { flex: none; text-decoration: none; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 14.5px; padding: 9px 16px; border-radius: 6px; }
.bar-cv:hover { background: #ffe84d; }

/* ---------- Ouverture ---------- */
.hero { background: var(--blue); color: var(--white); position: relative; }
.hero-in { max-width: var(--wrap); margin: 0 auto; padding: clamp(26px, 4.6vh, 56px) var(--gut) clamp(78px, 12vh, 120px); display: grid; grid-template-columns: 1fr minmax(180px, 250px); gap: clamp(24px, 5vw, 72px); align-items: center; }
.ref { font-size: 13.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.question { margin: 16px 0 12px; }
.question span { display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: clamp(20px, 2.4vw, 30px); line-height: 1.15; padding: 10px 18px 9px; border-radius: 6px; position: relative; }
.question span::after { content: ''; position: absolute; left: 28px; bottom: -11px; border: 12px solid transparent; border-top-color: var(--yellow); border-bottom: 0; border-left-width: 0; }
h1 { font-weight: 900; font-size: clamp(46px, 6.5vw, 96px); line-height: 1.04; letter-spacing: -.035em; margin: 14px 0 16px; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.5; max-width: 40em; font-weight: 500; }
.hero-portrait { justify-self: end; width: 100%; max-width: 250px; }
.hero-portrait img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; object-position: 50% 20%; border: 8px solid var(--white); border-radius: 10px; box-shadow: 14px 14px 0 var(--yellow); }
.hero-portrait figcaption { margin-top: 26px; font-size: 14px; line-height: 1.4; font-weight: 600; }

/* Panneaux d'allée : le sommaire */
.allees { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; transform: translateY(50%); margin-top: -70px; position: relative; z-index: 2; }
.allees a { position: relative; background: var(--white); color: var(--ink); text-decoration: none; padding: 16px 16px 16px 66px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0, 48, 86, .22); min-height: 86px; display: flex; flex-direction: column; justify-content: center; line-height: 1.25; transition: transform .25s ease, box-shadow .25s ease; }
.allees a::before, .allees a::after { content: ''; position: absolute; top: -22px; width: 2px; height: 22px; background: rgba(255, 255, 255, .55); }
.allees a::before { left: 22%; } .allees a::after { right: 22%; }
.allees i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; background: var(--yellow); border-radius: 6px; font-style: normal; font-weight: 900; font-size: 22px; }
.allees b { font-weight: 900; font-size: 18px; letter-spacing: -.01em; }
.allees span { font-size: 13px; color: var(--muted); font-weight: 600; }
.allees a:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0, 48, 86, .3); }

/* ---------- Titres de section ---------- */
section[data-section] { padding: clamp(72px, 11vh, 120px) 0 clamp(56px, 9vh, 96px); }
.plan { padding-top: clamp(120px, 17vh, 170px) !important; }
.allee { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.allee i { font-style: normal; width: 30px; height: 30px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); border-radius: 5px; font-weight: 900; font-size: 16px; letter-spacing: 0; }
h2 { font-weight: 900; font-size: clamp(44px, 7vw, 92px); line-height: 1.05; letter-spacing: -.03em; margin: 10px 0 18px; }
.chapo { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; max-width: 36em; font-weight: 500; }
.chapo.small { font-size: 18px; margin-bottom: 28px; }
.inter { font-weight: 900; font-size: clamp(22px, 2.3vw, 28px); letter-spacing: -.015em; line-height: 1.2; margin: 64px 0 22px; display: flex; align-items: center; gap: 14px; }
.inter::before { content: ''; width: 14px; height: 14px; background: var(--yellow); flex: none; }

/* ---------- Le plan ---------- */
.blueprint { margin: 44px auto 0; max-width: calc(var(--wrap) + 80px); background-color: var(--deep); background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px; color: var(--white); padding: clamp(28px, 4vw, 56px); border-radius: 12px; position: relative; }
.bp-grid { display: grid; grid-template-columns: minmax(0, .72fr) 52px minmax(0, 2fr) 52px minmax(0, .62fr); align-items: center; }
.bp-label { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: 8px; }
.bp-title { font-weight: 900; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -.02em; }
.bp-note { font-size: 14.5px; line-height: 1.5; margin-top: 12px; color: rgba(255, 255, 255, .86); }
.bp-studio { border: 1.5px dashed rgba(255, 255, 255, .7); border-radius: 6px; padding: 22px; }
.bp-factory { border: 2.5px solid var(--white); border-radius: 6px; padding: clamp(22px, 2.6vw, 34px); background: rgba(36, 94, 169, .55); position: relative; }
.bp-factory .bp-title { font-size: clamp(28px, 3.4vw, 46px); }
.bp-formula { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; margin: 22px 0 26px; }
.bp-formula li { font-weight: 900; font-size: clamp(13px, 1.2vw, 16px); text-transform: uppercase; letter-spacing: .05em; padding: 8px 10px; border: 1.5px solid var(--yellow); border-radius: 4px; }
.bp-formula li + li { margin-left: 28px; position: relative; }
.bp-formula li + li::before { content: '×'; position: absolute; left: -21px; top: 50%; transform: translateY(-52%); color: var(--yellow); font-size: 20px; font-weight: 700; }
/* La cote : un trait de mesure sous la promesse */
.bp-cote { position: relative; padding-top: 16px; font-weight: 800; font-size: clamp(16px, 1.5vw, 20px); text-align: center; }
.bp-cote::before { content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 1.5px; background: var(--yellow); transform-origin: left; }
.bp-cote::after { content: ''; position: absolute; left: 0; right: 0; top: -2px; height: 13px; border-left: 1.5px solid var(--yellow); border-right: 1.5px solid var(--yellow); }
.bp-contrainte { margin-top: 14px; font-size: 14.5px; text-align: center; color: rgba(255, 255, 255, .86); }
.bp-arrow { height: 2px; background: var(--white); position: relative; margin: 0 8px; transform-origin: left; }
.bp-arrow::after { content: ''; position: absolute; right: -2px; top: -6px; border: 7px solid transparent; border-left: 11px solid var(--white); border-right: 0; }
.bp-sorties ul { border-left: 2px solid var(--white); }
.bp-sorties li { position: relative; padding: 5px 0 5px 30px; font-weight: 800; font-size: clamp(15px, 1.4vw, 18px); }
.bp-sorties li::before { content: ''; position: absolute; left: 0; top: 50%; width: 20px; height: 2px; background: var(--white); }
.cartouche { margin: clamp(28px, 4vw, 44px) 0 0 auto; display: grid; grid-template-columns: repeat(4, auto); width: fit-content; border: 1.5px solid rgba(255, 255, 255, .7); font-size: 12.5px; }
.cartouche div { padding: 8px 14px; border-left: 1.5px solid rgba(255, 255, 255, .7); }
.cartouche div:first-child { border-left: 0; }
.cartouche dt { text-transform: uppercase; letter-spacing: .12em; font-size: 10.5px; font-weight: 800; color: var(--yellow); }
.cartouche dd { font-weight: 700; }

.termes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 72px); border-top: 3px solid var(--ink); }
.termes article { padding: 26px 0 28px; border-bottom: 1px solid var(--line); }
.termes h4 { font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); }
.cite { font-weight: 800; font-size: 20px; line-height: 1.35; letter-spacing: -.01em; margin: 8px 0 10px; }
.termes p:last-child { font-size: 17px; color: var(--ink); }
.manag { margin-top: 36px; background: var(--grey); border-left: 8px solid var(--yellow); padding: 24px 28px; font-size: 18px; max-width: 54em; }
.manag b { font-weight: 900; }

/* ---------- Le chantier ---------- */
.chantier { background: var(--grey); }
.metre { margin: 52px 0 12px; overflow: hidden; }
.metre ul { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 18px; }
.metre li { position: relative; padding-bottom: 26px; }
.metre li::after { content: ''; position: absolute; left: 0; bottom: 0; width: 2px; height: 18px; background: var(--ink); }
.metre b { display: block; font-weight: 900; font-size: clamp(34px, 4.4vw, 62px); line-height: 1.05; letter-spacing: -.03em; color: var(--blue); white-space: nowrap; }
.metre span { display: block; font-size: 14px; line-height: 1.35; font-weight: 600; margin-top: 6px; max-width: 13em; }
/* Le mètre ruban */
.ruban { height: 46px; background-color: var(--yellow); background-image: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 80px), repeating-linear-gradient(90deg, var(--ink) 0 1.5px, transparent 1.5px 40px), repeating-linear-gradient(90deg, rgba(50, 60, 65, .75) 0 1px, transparent 1px 8px); background-size: 100% 26px, 100% 18px, 100% 10px; background-repeat: no-repeat; background-position: left top; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); position: relative; transform-origin: left; width: calc(100% - var(--gut)); border-radius: 0 3px 3px 0; }
.ruban::after { content: ''; position: absolute; right: -10px; top: -9px; width: 12px; height: 60px; background: #848a8d; border: 2px solid var(--ink); border-radius: 2px; }

.lots { margin-top: 56px; }
.lot { display: grid; grid-template-columns: minmax(220px, 1fr) 2fr; gap: clamp(24px, 5vw, 72px); padding: 36px 0; border-top: 3px solid var(--ink); }
.lot-n { display: inline-block; background: var(--blue); color: var(--white); font-weight: 900; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; padding: 5px 11px; border-radius: 4px; }
.lot h3 { font-weight: 900; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.12; letter-spacing: -.02em; margin: 14px 0 8px; }
.lot-d { font-weight: 700; color: var(--muted); font-size: 16px; }
.lot p + p, .lot ul + p { margin-top: 14px; }
.marques { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 18px 0 4px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marques li { font-weight: 900; font-size: clamp(20px, 2vw, 26px); letter-spacing: -.01em; }
.note { font-size: 15px; color: var(--muted); font-weight: 600; }

/* ---------- L'établi ---------- */
.panneau { margin: 48px auto 0; max-width: calc(var(--wrap) + 80px); background-color: #e3d3b4; background-image: radial-gradient(circle, rgba(50, 60, 65, .5) 3.2px, transparent 3.8px); background-size: 34px 34px; background-position: 17px 17px; border-radius: 12px; padding: clamp(40px, 5vw, 64px) clamp(20px, 4vw, 56px) 30px; box-shadow: inset 0 0 0 6px #cdb98f; }
.outils { display: grid; grid-template-columns: repeat(4, 1fr); gap: 46px 22px; }
.outils li { position: relative; background: var(--white); border-radius: 6px; padding: 34px 18px 18px; box-shadow: 0 6px 0 rgba(50, 60, 65, .18), 0 14px 22px rgba(50, 60, 65, .16); display: flex; flex-direction: column; gap: 8px; transform-origin: 50% -20px; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.outils li:nth-child(odd) { transform: rotate(-1.1deg); }
.outils li:nth-child(even) { transform: rotate(.9deg); }
.outils li:hover { transform: rotate(0); }
/* le trou et le crochet */
.outils li::before { content: ''; position: absolute; left: 50%; top: 10px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #e3d3b4; box-shadow: inset 0 2px 0 rgba(50, 60, 65, .35); }
.outils li::after { content: ''; position: absolute; left: 50%; top: -20px; width: 4px; height: 38px; margin-left: -2px; background: #848a8d; border-radius: 2px; box-shadow: 1px 0 0 rgba(50, 60, 65, .4); }
.outils b { font-weight: 900; font-size: 18px; line-height: 1.2; letter-spacing: -.01em; }
.outils span { font-size: 14.5px; line-height: 1.42; }
.outils em { font-style: normal; align-self: flex-start; margin-top: auto; background: var(--yellow); font-weight: 800; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; }
.panneau-note { margin-top: 34px; font-size: 14px; font-weight: 700; background: var(--white); display: inline-block; padding: 6px 12px; border-radius: 4px; }

.machines ul { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 3px solid var(--ink); }
.machines li { padding: 20px 20px 22px 0; border-bottom: 1px solid var(--line); }
.machines b { display: block; font-weight: 900; font-size: clamp(22px, 2.3vw, 30px); letter-spacing: -.02em; line-height: 1.15; }
.machines span { font-size: 15px; color: var(--muted); font-weight: 600; }

.persos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 44px clamp(24px, 4vw, 56px); }
.persos img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top center; border-radius: 8px; border: 1px solid var(--line); background: var(--grey); }
.persos figcaption { margin-top: 14px; font-size: 16px; line-height: 1.45; padding-left: 16px; border-left: 4px solid var(--yellow); }
.persos figcaption b { display: block; font-weight: 900; font-size: 20px; letter-spacing: -.01em; }
.jv { margin-top: 48px; padding-top: 24px; border-top: 3px solid var(--ink); font-size: 18px; max-width: 50em; }
.jv b { font-weight: 900; font-size: 22px; display: block; letter-spacing: -.01em; }
.jv a { font-weight: 800; }

/* ---------- Les idées ---------- */
.idees { background: var(--blue); color: var(--white); }
.idees .allee { color: var(--yellow); }
.questions { counter-reset: q; margin-top: 48px; border-top: 2px solid rgba(255, 255, 255, .5); }
.questions li { counter-increment: q; display: grid; grid-template-columns: 96px minmax(0, 1.1fr) minmax(0, 1fr); gap: 0 clamp(20px, 4vw, 56px); padding: 34px 0; border-bottom: 2px solid rgba(255, 255, 255, .5); align-items: start; }
.questions li::before { content: counter(q); font-weight: 900; font-size: clamp(54px, 6vw, 84px); line-height: 1; color: var(--yellow); letter-spacing: -.04em; }
.questions h3 { font-weight: 900; font-size: clamp(24px, 2.7vw, 36px); line-height: 1.14; letter-spacing: -.02em; text-wrap: balance; }
.questions p { font-size: 17px; line-height: 1.55; }

/* ---------- Le dossier ---------- */
.registre { margin: 40px 0 22px; border-top: 3px solid var(--ink); }
.registre div { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.registre dt { font-weight: 700; color: var(--muted); font-size: 15.5px; font-variant-numeric: tabular-nums; }
.registre dd { font-size: 17px; }
.registre dd b { font-weight: 900; margin-right: 10px; }
.langues { font-weight: 700; margin-bottom: 30px; }
.btn { display: inline-block; background: var(--blue); color: var(--white); text-decoration: none; font-weight: 800; font-size: 18px; padding: 15px 26px; border-radius: 8px; box-shadow: 6px 6px 0 var(--yellow); transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { background: var(--blue-active); transform: translate(2px, 2px); box-shadow: 4px 4px 0 var(--yellow); }

.fin { background: var(--deep); color: var(--white); padding: clamp(72px, 12vh, 130px) 0; }
.fin-h { font-weight: 900; font-size: clamp(56px, 10vw, 140px); line-height: 1.04; letter-spacing: -.035em; margin: 18px 0 30px; }
.fin-contact { display: flex; flex-wrap: wrap; gap: 12px 34px; }
.fin-contact a { color: var(--white); font-weight: 800; font-size: clamp(18px, 1.9vw, 24px); text-decoration: none; border-bottom: 3px solid var(--yellow); padding-bottom: 2px; }
.fin-contact a:hover { color: var(--yellow); }
.pied { background: var(--deep); color: rgba(255, 255, 255, .72); font-size: 13.5px; padding: 0 var(--gut) 40px; }
.pied p { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.pied p + p { margin-top: 6px; }

/* ---------- Mouvement : traits qui se tracent, mètre qui se déroule ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-draw] .bp-arrow, .js [data-draw] .bp-cote::before { transform: scaleX(0); transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
  .js [data-draw] .bp-studio, .js [data-draw] .bp-factory, .js [data-draw] .bp-sorties { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .js [data-draw].vu .bp-studio { opacity: 1; transform: none; }
  .js [data-draw].vu .bp-arrow:nth-of-type(2) { transform: none; transition-delay: .35s; }
  .js [data-draw].vu .bp-factory { opacity: 1; transform: none; transition-delay: .8s; }
  .js [data-draw].vu .bp-cote::before { transform: none; transition-delay: 1.3s; }
  .js [data-draw].vu .bp-arrow:nth-of-type(4) { transform: none; transition-delay: 1.5s; }
  .js [data-draw].vu .bp-sorties { opacity: 1; transform: none; transition-delay: 1.9s; }
  .js .metre[data-draw] .ruban { transform: scaleX(0); transition: transform 1.5s cubic-bezier(.2, .7, .2, 1); }
  .js .metre[data-draw].vu .ruban { transform: none; }
  .js .metre[data-draw] li { opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s ease; }
  .js .metre[data-draw].vu li { opacity: 1; transform: none; }
  .js .metre[data-draw].vu li:nth-child(2) { transition-delay: .2s; } .js .metre[data-draw].vu li:nth-child(3) { transition-delay: .4s; }
  .js .metre[data-draw].vu li:nth-child(4) { transition-delay: .6s; } .js .metre[data-draw].vu li:nth-child(5) { transition-delay: .8s; }
  .js .metre[data-draw].vu li:nth-child(6) { transition-delay: 1s; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Écrans moyens ---------- */
@media (max-width: 1080px) {
  .bar-nav a { padding: 7px; font-size: 0; gap: 0; } .bar-nav i { font-size: 13px; }
  .allees { grid-template-columns: repeat(3, 1fr); transform: none; margin-top: -64px; padding-bottom: 0; }
  .allees a::before, .allees a::after { display: none; }
  .plan { padding-top: 72px !important; }
  .hero-in { padding-bottom: 110px; }
  .bp-grid { grid-template-columns: 1fr; gap: 0; }
  .bp-arrow { width: 2px; height: 40px; margin: 6px auto; transform-origin: top; }
  .bp-arrow::after { right: auto; left: -6px; top: auto; bottom: -2px; border: 7px solid transparent; border-top: 11px solid var(--white); border-bottom: 0; }
  .bp-sorties ul { display: flex; flex-wrap: wrap; gap: 8px; border-left: 0; }
  .bp-sorties li { padding: 7px 12px; border: 1.5px solid var(--white); border-radius: 4px; } .bp-sorties li::before { display: none; }
  .bp-sorties .bp-label { text-align: center; } .bp-sorties ul { justify-content: center; }
  .outils { grid-template-columns: repeat(2, 1fr); }
  .metre ul { grid-template-columns: repeat(3, 1fr); gap: 26px 18px; }
  .questions li { grid-template-columns: 64px 1fr; } .questions p { grid-column: 2; margin-top: 12px; }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 1080px) {
  .js [data-draw] .bp-arrow { transform: scaleY(0); }
}
/* ---------- Téléphones ---------- */
@media (max-width: 680px) {
  body { font-size: 17px; }
  .bar { gap: 8px; } .bar-name span, .bar-cv { display: none; } .bar-name b { font-size: 15px; } .bar-nav { gap: 0; } .bar-nav a { padding: 5px; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-portrait { justify-self: start; max-width: 190px; grid-row: 1; }
  .hero-portrait figcaption { display: none; }
  .allees { grid-template-columns: 1fr 1fr; }
  .allees a { padding-left: 58px; min-height: 72px; } .allees i { left: 10px; }
  .termes, .persos, .lot { grid-template-columns: 1fr; }
  .machines ul { grid-template-columns: 1fr 1fr; }
  .metre ul { grid-template-columns: 1fr 1fr; }
  .outils { grid-template-columns: 1fr; gap: 40px; }
  .cartouche { grid-template-columns: 1fr 1fr; width: 100%; } .cartouche div:nth-child(3) { border-left: 0; } .cartouche div:nth-child(n+3) { border-top: 1.5px solid rgba(255, 255, 255, .7); }
  .bp-formula li + li { margin-left: 26px; } .bp-formula li + li::before { left: -19px; }
  .registre div { grid-template-columns: 1fr; gap: 2px; }
  .questions li { grid-template-columns: 1fr; } .questions p { grid-column: 1; } .questions li::before { margin-bottom: 8px; }
}
@media print { .bar, .allees { display: none; } }
