/* na! — Les sapins de Anne. Police : Hiragino Maru Gothic si présente (Mac, iPhone), sinon M PLUS Rounded 1c servie par le site. */
@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/m-plus-rounded-1c-latin-400-normal.woff2) format('woff2'); }

:root {
  --paper: #f6f2ea; --sheet: #fffdf8; --ink: #1f2a22; --muted: #5f655c; --line: #e2dbcd;
  --fir: #2f4a35; --corten: #a8532a; --corten-soft: #f1e1d4;
  --f: "Hiragino Maru Gothic ProN", "HiraMaruProN-W4", "Hiragino Maru Gothic Pro", "HiraMaruPro-W4", "M PLUS Rounded 1c", "Arial Rounded MT Bold", system-ui, sans-serif;
  --wrap: 1120px; --gut: clamp(16px, 4vw, 40px);
  color-scheme: light;
}
* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--f); }
img { max-width: 100%; height: auto; display: block }
a { color: inherit; text-underline-offset: 3px }
a:hover { color: var(--corten) }
:focus-visible { outline: 3px solid var(--corten); outline-offset: 3px; border-radius: 4px }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gut) }
h1, h2, h3 { font-weight: 800; line-height: 1.2; text-wrap: balance; letter-spacing: -0.01em; margin: 0 0 .5em }
h1 { font-size: clamp(30px, 5vw, 52px) }
h2 { font-size: clamp(24px, 3.2vw, 34px) }
h3 { font-size: 20px }
p { margin: 0 0 1em; max-width: 65ch }
.muted { color: var(--muted) }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--corten); margin: 0 0 .6em }

/* en-tête : logo à gauche, quatre liens ; sur téléphone, un bouton Menu */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line) }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px }
.logo { font-weight: 800; font-size: 30px; text-decoration: none; letter-spacing: -0.02em; line-height: 1 }
.logo span { color: var(--corten) }
.nav { display: flex; gap: clamp(14px, 2.4vw, 32px); font-weight: 700; font-size: 15px }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent }
.nav a[aria-current="page"] { border-bottom-color: var(--corten) }
.menu { display: none }
.menu summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 15px; padding: 8px 14px; border: 1.5px solid var(--ink); border-radius: 999px }
.menu summary::-webkit-details-marker { display: none }
.menu[open] summary { background: var(--ink); color: var(--paper) }
.menu .nav { position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; background: var(--sheet); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 16px }
.menu .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 18px }
@media (max-width: 720px) { .top .nav.wide { display: none } .menu { display: block } }

/* accueil : photo pleine page */
.hero { position: relative; min-height: calc(100svh - 64px); display: grid; align-items: center; overflow: hidden; background: #dcd8d0 }
.hero-vid { position: absolute; top: 0; bottom: 0; right: 0; width: min(62%, calc((100svh - 64px) * 0.8)) }
.hero-vid video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22%); mask-image: linear-gradient(to right, transparent, #000 22%) }
.hero .wrap { position: relative; width: 100% }
.hero .txt { max-width: 30rem; padding: 32px 0 }
.hero h1 { font-size: 15px; letter-spacing: .08em; text-transform: uppercase; color: var(--fir); margin-bottom: 14px }
.hero .display { font-size: clamp(42px, 7vw, 84px); font-weight: 800; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 18px; max-width: none }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: #2c332d }
@media (max-width: 720px) { .hero { align-items: start } .hero .txt { padding-top: 24px } .hero-vid { position: relative; width: 100%; aspect-ratio: 4 / 5; order: 2; margin-top: -40px } .hero-vid video { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%); mask-image: linear-gradient(to bottom, transparent, #000 16%) } .hero { display: flex; flex-direction: column; min-height: 0 } .hero .display { font-size: 44px } .hero .btn.alt { display: none } .hero .btn { padding: 11px 20px } }

.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px }
.btn { display: inline-block; text-decoration: none; font-weight: 700; padding: 13px 22px; border-radius: 999px; background: var(--ink); color: var(--paper); border: 2px solid var(--ink) }
.btn:hover { background: var(--corten); border-color: var(--corten); color: #fff }
.btn.alt { background: transparent; color: var(--ink) }
.btn.alt:hover { background: var(--ink); color: var(--paper) }

/* sections */
.sec { padding-block: clamp(48px, 8vw, 96px) }
.sec + .sec { border-top: 1px solid var(--line) }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center }
.split > * { min-width: 0 }
.split img { border-radius: 18px }
@media (max-width: 820px) { .split { grid-template-columns: 1fr } }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 28px }
@media (max-width: 860px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr } }
.card { text-decoration: none; background: var(--sheet); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column }
.card img { aspect-ratio: 4 / 5; object-fit: cover; width: 100% }
.card div { padding: 14px 16px 18px }
.card h3 { margin: 0 0 4px }
.card p { margin: 0; font-size: 15px; color: var(--muted) }
.card:hover { border-color: var(--corten) }
.band { background: var(--fir); color: #f3efe6; border-radius: 22px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 12px }
.band .btn { background: #f3efe6; color: var(--fir); border-color: #f3efe6; justify-self: start }
.band .btn:hover { background: var(--corten); border-color: var(--corten); color: #fff }

/* pages intérieures */
.crumbs { font-size: 14px; color: var(--muted); padding-top: 22px }
.crumbs a { color: var(--muted) }
.page-head { padding-block: 20px 8px }
.prose { max-width: 70ch }
.prose h2 { margin-top: 1.6em }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em }
.prose li { margin-bottom: .35em }
.facts { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 16px }
.facts th, .facts td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top }
.facts th { width: 38%; font-weight: 700 }
.tablewrap { overflow-x: auto }
.soon { display: inline-block; background: var(--corten-soft); color: #6d3115; font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 999px; margin-bottom: 12px }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; list-style: none }
.swatches li { display: flex; align-items: center; gap: 8px; font-size: 15px; background: var(--sheet); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px 5px 6px }
.swatches i { width: 22px; height: 22px; border-radius: 50%; display: block; border: 1px solid rgba(0,0,0,.15) }
.others { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; margin: 0 0 24px; list-style: none; font-weight: 700 }
details.qa { border-bottom: 1px solid var(--line); padding: 14px 0 }
details.qa summary { cursor: pointer; font-weight: 700; font-size: 18px }
details.qa p { margin: 10px 0 0 }

footer { margin-top: 64px; background: var(--ink); color: #d8d5cc; font-size: 15px }
footer .wrap { padding-block: 40px; display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 24px }
footer a { color: #f3efe6; text-decoration: none }
footer a:hover { color: #f0b48e }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px }
footer .logo { color: #f3efe6; font-size: 26px }
@media (max-width: 720px) { footer .wrap { grid-template-columns: 1fr } }

/* ---------- point d'exclamation léopard jaune (logo partout) ---------- */
.logo span, .h1-logo span, .intro-logo span { color: #d89a1e; background: url(img/leopard-jaune.jpg) 30% 40% / 0.9em repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent }
.intro-logo span { background-size: 0.42em }

/* ---------- H1 de l'accueil : logo + phrase ---------- */
.hero h1.h1-intro { font-size: clamp(26px, 3.4vw, 40px); text-transform: none; letter-spacing: -0.01em; color: var(--ink); font-weight: 700; line-height: 1.15; margin-bottom: 18px }
.h1-logo { display: inline-block; font-weight: 800; letter-spacing: -0.02em; line-height: 1; margin-right: 0.12em }
.pres .quote { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; color: var(--fir); margin: 28px 0 }
.pres .eco { padding-left: 1.2em }

/* ---------- ouverture : le logo seul, puis il rejoint la phrase, tapée lettre à lettre ---------- */
.intro { display: none }
.intro-on .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 100; background-color: var(--paper); cursor: pointer; transition: background-color .9s ease, opacity .3s ease }
.intro-on .intro.go { background-color: rgba(246, 242, 234, 0) }
.intro-on .intro.gone { opacity: 0 }
.intro-logo { font-weight: 800; font-size: min(36vw, 52vh, 360px); line-height: 1; letter-spacing: -0.02em; color: var(--ink); transform-origin: 0 0; animation: intro-in .7s ease-out both; transition: transform .95s cubic-bezier(.7, 0, .2, 1) }
@keyframes intro-in { from { opacity: 0 } }
.intro-on:not(.intro-logo-ok) .h1-logo { visibility: hidden }
.intro-on .h1-intro .ch { visibility: hidden }
.intro-on .h1-intro .ch.on { visibility: visible; animation: ch-in .22s ease-out both }
@keyframes ch-in { from { opacity: 0 } }
.intro-on .top, .intro-on .hero .display, .intro-on .hero .lead, .intro-on .hero .btns, .intro-on .hero-vid { transition: opacity .9s ease, transform .9s ease }
.intro-on:not(.intro-txt-ok) .top { opacity: 0 }
.intro-on:not(.intro-txt-ok) .hero .display, .intro-on:not(.intro-txt-ok) .hero .lead, .intro-on:not(.intro-txt-ok) .hero .btns { opacity: 0; transform: translateY(16px) }
.intro-on:not(.intro-txt-ok) .hero-vid { opacity: 0 }
.intro-on .hero .lead { transition-delay: .15s } .intro-on .hero .btns { transition-delay: .3s } .intro-on .hero-vid { transition-delay: .1s }
.intro-on .hero { transition: background-color .9s ease }
.intro-on:not(.intro-txt-ok) .hero { background-color: var(--paper) }
.intro-on:not(.intro-txt-ok) .top { border-bottom-color: transparent }
.rejouer { position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 200; font: 700 14px var(--f); padding: 10px 16px; border-radius: 999px; border: 2px solid var(--ink); background: var(--sheet); color: var(--ink); cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.15) }
.rejouer:hover { background: var(--ink); color: var(--paper) }

/* ---------- matières et teintes : nuancier à gauche, sapin 3D à droite ---------- */
.teintes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-bottom: 48px }
.tt-col h3 { margin-top: 1.4em; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--fir) }
.tt-col .lead { font-size: 18px }
.sws { display: flex; flex-wrap: wrap; gap: 8px }
.sw { display: inline-flex; align-items: center; gap: 8px; font: 700 14px var(--f); color: var(--ink); background: var(--sheet); border: 1.5px solid var(--line); border-radius: 999px; padding: 5px 14px 5px 5px; cursor: pointer }
.sw i { width: 28px; height: 28px; border-radius: 50%; display: block; flex: none; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); background-size: cover !important }
.sw:hover { border-color: var(--corten) }
.sw[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper) }
.tt-3d { position: sticky; top: 80px; display: grid; gap: 12px }
.scene3d { position: relative; aspect-ratio: 4 / 5; max-height: calc(100svh - 230px); width: 100%; border-radius: 18px; overflow: hidden; background: #dcd8d0; touch-action: pan-y }
.scene3d canvas { display: block; width: 100% !important; height: 100% !important; cursor: grab }
.scene3d.dark { background: #2b322d }
.msg3d { position: absolute; inset: 0; display: grid; place-items: center; margin: 0; color: var(--muted); font-size: 15px; text-align: center; padding: 20px; pointer-events: none; max-width: none }
.tt-cur { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap }
.tt-cur b { display: block; font-size: 20px }
.tt-cur span { display: block; color: var(--muted); font-size: 15px }
.tt-cur small:empty { display: none }
.tt-aide { font-size: 13px; color: var(--muted); margin: 0 }
@media (max-width: 860px) {
  .teintes { grid-template-columns: 1fr }
  .tt-3d { position: sticky; top: 64px; z-index: 5; order: -1; background: var(--paper); padding-block: 8px; gap: 8px }
  .scene3d { aspect-ratio: auto; height: 42svh; max-height: none }
  .tt-cur b { font-size: 17px } .tt-cur .btn { padding: 9px 16px; font-size: 15px } .tt-aide { display: none }
}

/* ---------- commande ---------- */
.recap { background: var(--sheet); border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 3vw, 28px); margin-top: 24px; display: grid; gap: 10px }
.recap h2 { margin: 0 } .recap h3 { margin: 8px 0 0; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--fir) }
.rc-teinte { display: flex; align-items: center; gap: 12px; flex-wrap: wrap }
.rc-teinte i { width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.18); flex: none }
.rc-teinte b { display: block; font-size: 19px } .rc-teinte span { color: var(--muted); font-size: 15px }
.rc-teinte a { margin-left: auto; font-weight: 700; font-size: 15px }
.tailles { display: flex; flex-wrap: wrap; gap: 8px }
.tailles button { font: 700 15px var(--f); padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer }
.tailles button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink) }
.rc-ligne { margin: 4px 0 }
.btn[disabled] { opacity: .55; cursor: not-allowed }
.btn[disabled]:hover { background: var(--ink); border-color: var(--ink); color: var(--paper) }
[hidden] { display: none !important }

/* ---------- échantillons de matière et de teinte ---------- */
h2.fam { font-size: 15px; letter-spacing: .06em; text-transform: uppercase; color: var(--fir); margin: 2em 0 .8em }
.echs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px }
.ech { text-decoration: none; display: grid; gap: 2px; color: var(--ink) }
.ech img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; width: 100%; margin-bottom: 8px; transition: transform .25s ease }
.ech:hover img { transform: scale(1.03) }
.ech b { font-size: 17px } .ech span { font-size: 14px; color: var(--muted) }
@media (max-width: 520px) { .echs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px } .ech b { font-size: 15px } }
.pres { padding-block: 8px 24px }

/* ================= entrée « forêt » (accueil) ================= */
.home .top { display: none }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.hero.foret { min-height: 100svh; display: block; background: #1d2f20 var(--foret) center / cover no-repeat; color: #fff }
.hero.foret::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 18, 10, .78) 0%, rgba(8, 18, 10, .45) 50%, rgba(8, 18, 10, .2) 100%) }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: 100svh; padding-block: 32px }
.hero.foret .txt { max-width: 34rem; padding: 0 }
.hero.foret h1.h1-intro, .hero.foret .display, .hero.foret .lead { color: #fff }
.hero.foret h1.h1-intro { font-size: clamp(28px, 3.6vw, 44px) }
.hero.foret .lead { color: rgba(255, 255, 255, .88) }
.btn.clair { background: #fff; color: var(--fir); border-color: #fff }
.btn.clair:hover { background: var(--corten); border-color: var(--corten); color: #fff }
/* logo : « na » blanc, point d'exclamation dessiné (barre + rond) en léopard jaune */
.lg { display: inline-flex; align-items: baseline; font-weight: 800; letter-spacing: -0.02em; line-height: 1; white-space: nowrap }
.lg .na { color: #fff }
.lg .ex { position: relative; display: inline-block; width: .3em; height: .76em; margin-left: .03em }
.lg .bar, .lg .dot { position: absolute; left: 50%; transform: translateX(-50%); background: #e2a52a url(img/leopard-jaune.jpg) 40% 40% / .6em repeat }
.lg .bar { top: 0; width: .155em; height: .47em; border-radius: .0775em .0775em .055em .055em }
.lg .dot { bottom: 0; width: .195em; height: .195em; border-radius: 50% }
.h1-logo.lg { margin-right: .1em; display: inline-flex }
/* panneau ramure : trait blanc sur fond vert */
.ramure-panel { justify-self: center; width: min(100%, 420px); height: min(80svh, 760px); background: var(--fir); border-radius: 24px; padding: 28px 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35) }
.ramure-panel svg { width: 100%; height: 100%; display: block; overflow: visible }
.ramure-panel .trait { fill: none; stroke: #fff; stroke-width: 2.2px; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; align-items: start; padding-block: 40px 32px; gap: 24px }
  .ramure-panel { height: 52svh; width: min(100%, 300px) }
}
/* étapes de l'entrée */
.intro-on .intro { background: none !important; place-items: start; overflow: hidden }
.intro-on .intro-logo { position: absolute; animation: none; transition: none; transform: none; font-size: 40px; color: #fff }
.intro-on:not(.intro-txt-ok) .hero.foret { background-color: #1d2f20 }
.intro-on .ramure-panel, .intro-on .hero .btns { transition: opacity 1s ease, transform 1s ease }
.intro-on:not(.intro-ramure) .ramure-panel { opacity: 0; transform: translateY(20px) }
.intro-on:not(.intro-txt-ok) .hero .btns { opacity: 0; transform: translateY(14px) }
.pres-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 56px); align-items: start }
.pres-vid { position: sticky; top: 84px; border-radius: 22px; overflow: hidden; background: #dcd8d0; aspect-ratio: 4 / 5 }
.pres-vid video { display: block; width: 100%; height: 100%; object-fit: cover }
@media (max-width: 820px) { .pres-split { grid-template-columns: 1fr } .pres-vid { position: relative; top: 0; order: -1; max-height: 60svh; aspect-ratio: auto } }
.lg .na, .intro-logo .na, .h1-logo .na { background: none; -webkit-text-fill-color: #fff; color: #fff }
.lg .ex, .h1-logo .ex, .intro-logo .ex { -webkit-text-fill-color: initial; background: none }
.ramure-panel { background: transparent; box-shadow: none; border-radius: 0 }
/* départ : plein écran dans le rond jaune léopard, avant même que la page s'affiche */
.intro-on .intro { background: #e2a52a url(img/leopard-jaune.jpg) 40% 40% / 55vmin repeat !important }
.intro-on .intro.zoom { background: none !important }
/* ramure : toute la hauteur de la fenêtre */
.hero-grid { padding-block: 0; align-items: center }
.ramure-panel { height: 100svh; width: auto; aspect-ratio: auto; padding: 2.5svh 0; justify-self: end }
.ramure-panel svg { height: 95svh; width: auto }
@media (max-width: 820px) { .ramure-panel { height: 72svh; padding: 0; justify-self: center } .ramure-panel svg { height: 72svh } .hero-grid { padding-block: 32px 0 } }
.intro-on .intro { background-position: 50vw 50vh !important; background-size: 55vmin !important }
.intro-on .intro.zoom { background: none !important }
.intro-on .intro .dot { background-size: 55vmin }
.lg > * { flex: none }
.intro-on .intro-logo { width: max-content; max-width: none }
/* image d'origine, sans dégradé */
.hero.foret::before { content: none; display: none }
.hero.foret .txt { text-shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 0 18px rgba(0, 0, 0, .35) }
.ramure-panel .trait { filter: drop-shadow(0 0 2px rgba(0, 0, 0, .5)) }

/* ---------- vitrine « Les sapins de Anne » : la page a exactement le fond uni de la vidéo Blender ---------- */
:root { --fond-video: #ddd8d3 }
body.vitrine-page { background: var(--fond-video) }
body.vitrine-page .top { background: var(--fond-video); backdrop-filter: none; border-bottom-color: transparent }
.vitrine { background: var(--fond-video); min-height: calc(100svh - 64px) }
.vit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 4vw, 56px); align-items: center; min-height: calc(100svh - 64px) }
.vit-txt h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1.04; margin: 0 0 .35em; text-wrap: balance; color: var(--ink) }
.vit-txt h1 .sous { display: block; font-size: .42em; font-weight: 700; color: var(--muted); margin-top: .45em; line-height: 1.2 }
.vit-quote { font-size: clamp(19px, 1.9vw, 24px); font-weight: 700; color: var(--fir); line-height: 1.35; max-width: 26ch; margin: 0 0 28px }
.vit-vid { align-self: stretch; display: flex; align-items: center; justify-content: center; background: var(--fond-video) }
.vit-vid video { display: block; width: 100%; height: auto; max-height: calc(100svh - 64px); object-fit: contain; background: var(--fond-video) }
@media (max-width: 820px) {
  .vit-grid { grid-template-columns: 1fr; align-items: start; gap: 0; padding-bottom: 32px }
  .vit-vid { order: -1 } .vit-vid video { max-height: 56svh }
}

/* ---------- « na! » dans les textes = le logo : lettres corten, « ! » léopard ---------- */
.nam { font-weight: 800; letter-spacing: -0.02em; white-space: nowrap }
.nam-l, .logo { background: #8a4320 url(img/corten-texture.jpg) 50% 50% / 3.2em; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #8a4320 }
.nam-x { background: #d89a1e url(img/leopard-jaune.jpg) 30% 40% / .9em; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #d89a1e }
/* accueil : pas de pied de page avant d'entrer dans le site */
body.home footer { display: none }
body.home .hero { min-height: calc(100svh - 64px) }

/* logo de l'accueil : « na » en corten aussi (comme partout), ombre portée par filtre pour ne pas salir la texture */
.lg .na, .h1-logo .na, .intro-logo .na, .nx-logo .na { background: #8a4320 url(img/corten-texture.jpg) 50% 50% / 3.2em; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #8a4320; text-shadow: none }
.hero.foret .h1-logo { text-shadow: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45)) }

/* ---------- logo construit partout (menu, pied, textes) : na corten, « ! » léopard barre + point ---------- */
.logo.lg { font-size: 30px; background: none; -webkit-text-fill-color: initial }
.logo.lg .na, .nam .na { font-weight: 800 }
.nam.lg { display: inline-flex; vertical-align: baseline; font-size: 1em; line-height: 1 }
.nam.lg .na { background: #8a4320 url(img/corten-texture.jpg) 50% 50% / 3.2em; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent }
/* ---------- menu « trois barres » à toutes les largeurs ---------- */
.top .nav.wide { display: none }
.menu { display: block; position: static }
.menu summary { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: transparent }
.menu summary i { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .25s ease, opacity .2s ease }
.menu[open] summary { background: transparent }
.menu[open] summary i:nth-child(1) { transform: translateY(7.5px) rotate(45deg) }
.menu[open] summary i:nth-child(2) { opacity: 0 }
.menu[open] summary i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg) }
.menu .nav { left: auto; right: max(var(--gut), calc((100vw - 1100px) / 2)); width: min(320px, calc(100vw - 2 * var(--gut))); border: 1px solid var(--line); border-radius: 16px; padding: 8px 20px 12px; box-shadow: 0 14px 34px rgba(31, 42, 34, .12) }
.menu .nav a:last-child { border-bottom: 0 }
/* ---------- plus de bande noire : pied de page clair ---------- */
footer { background: transparent; color: var(--muted); border-top: 1px solid var(--line) }
footer a { color: var(--ink) }
footer a:hover { color: var(--corten) }
footer .logo.lg { font-size: 26px }
body.home footer { display: none }

/* ---------- pied de page : une seule ligne, le plus serré possible ---------- */
footer.pied { margin-top: 40px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted) }
footer.pied .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; padding-block: 12px }
footer.pied a { color: var(--muted); text-decoration: none }
footer.pied a:hover { color: var(--corten) }
body.vitrine-page footer.pied { margin-top: 0 }
/* rubriques secondaires dans le menu trois barres */
.menu .nav .menu-sec { display: flex; flex-direction: column; padding-top: 6px }
.menu .nav .menu-sec a { font-size: 15px; font-weight: 600; color: var(--muted); padding: 7px 0; border-bottom: 0 }
.menu .nav > a:nth-last-of-type(1) { border-bottom: 1px solid var(--line) }
.vit-btns { display: grid; grid-template-columns: repeat(2, max-content); gap: 12px }
.vit-btns .btn { text-align: center }
@media (max-width: 420px) { .vit-btns { grid-template-columns: 1fr } }

/* bouton principal (présélection) : texture corten au lieu du noir */
.btn:not(.alt):not(.clair) { background: #8a4320 url(img/corten-texture.jpg) 50% 50% / cover; border-color: #7a3a1a; color: #fff; text-shadow: 0 1px 1px rgba(0, 0, 0, .25) }
.btn:not(.alt):not(.clair):hover { background: #7a3a1a url(img/corten-texture.jpg) 50% 50% / cover; filter: brightness(.92); border-color: #6a3216 }

/* survol des autres boutons : texture léopard (le bouton « Entrer dans le site » garde son survol d'origine) */
.btn.alt:hover { background: #e2a52a url(img/leopard-jaune.jpg) 50% 50% / 170px; border-color: var(--ink); color: #fff; font-weight: 800; text-shadow: 0 1px 2px rgba(0, 0, 0, .75), 0 0 6px rgba(0, 0, 0, .45) }
/* quand on survole un autre bouton, le bouton corten redevient un bouton à contour comme les autres */
.btns:has(.btn.alt:hover) .btn:not(.alt):not(.clair) { background: transparent; border-color: var(--ink); color: var(--ink); text-shadow: none; filter: none }
.btn { transition: background-color .2s ease, color .2s ease, border-color .2s ease }

/* ---------- configurateur : sapin pleine hauteur sur le fond de la page, matières officielles en grandes vignettes ---------- */
.cfg { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(20px, 3vw, 48px); align-items: start; padding-block: 20px 32px }
.cfg-col h1 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.08; margin: 8px 0 8px; text-wrap: balance }
.cfg-intro { color: var(--muted); margin: 0 0 14px }
.cfg-guide { margin-bottom: 18px }
.tx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 14px 12px }
.sw.tx { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; border: 0; border-radius: 0; background: none; color: var(--ink); text-align: left; cursor: pointer }
.sw.tx img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12), 0 1px 3px rgba(31,42,34,.14); outline: 3px solid transparent; outline-offset: 3px; transition: outline-color .15s ease, transform .15s ease }
.sw.tx:hover img { transform: translateY(-2px) }
.sw.tx[aria-pressed="true"] { background: none; color: var(--ink) }
.sw.tx[aria-pressed="true"] img { outline-color: var(--corten) }
.tx-n { font-weight: 800; font-size: 14px; margin-top: 8px; line-height: 1.2 }
.tx-m { font-size: 12px; color: var(--muted); line-height: 1.3 }
.cfg-3d { position: sticky; top: 64px; height: calc(100svh - 64px); display: grid; grid-template-rows: minmax(0, 1fr) auto }
.cfg-3d .scene3d, .cfg-3d .scene3d.dark { aspect-ratio: auto; max-height: none; height: 100%; border-radius: 0; background: transparent }
.cfg-3d .tt-cur { padding-block: 8px 16px }
/* guide des matériaux (fenêtre par-dessus la page) */
.guide { width: min(760px, calc(100vw - 32px)); max-height: min(86svh, 900px); padding: 0; border: 0; border-radius: 20px; background: var(--sheet); color: var(--ink); box-shadow: 0 24px 60px rgba(31,42,34,.25) }
.guide::backdrop { background: rgba(31, 42, 34, .45) }
.guide-h { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; background: var(--sheet); border-bottom: 1px solid var(--line); z-index: 1 }
.guide-h h2 { margin: 0; font-size: 22px }
.guide-x { font: 400 30px/1 var(--f); width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; cursor: pointer; color: var(--ink) }
.guide-x:hover { background: var(--line) }
.guide-l { list-style: none; margin: 0; padding: 8px 22px 22px; display: grid; gap: 4px }
.guide-l li { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: start; padding-block: 12px; border-bottom: 1px solid var(--line) }
.guide-l li:last-child { border-bottom: 0 }
.guide-l img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover }
.guide-l b { display: block; font-size: 17px } .guide-l small { color: var(--muted) } .guide-l p { margin: 4px 0 0; font-size: 15px; line-height: 1.5 }
@media (max-width: 820px) {
  .cfg { grid-template-columns: 1fr; padding-top: 0 }
  .cfg-3d { order: -1; position: sticky; top: 64px; z-index: 5; height: 52svh; background: var(--paper) }
  .cfg-3d .tt-cur { padding-block: 4px 8px }
  .tx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) }
}
button.btn { font: inherit; font-weight: 700; cursor: pointer }
.cfg-3d { height: calc(100svh - 84px) }
.support { display: flex; align-items: center; gap: 8px; margin-top: 18px; flex-wrap: wrap }
.support span { font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-right: 4px }
.support button { font: 700 14px var(--f); padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer }
.support button[aria-pressed="true"] { background: var(--ink); color: var(--paper) }
/* « na! » toujours un poil plus grand que le texte qui l'entoure */
.nam.lg { font-size: 1.12em }

/* ---------- fenêtre « Notre histoire » ---------- */
.histoire { width: min(820px, calc(100vw - 32px)) }
.hist-c { padding: 6px 26px 28px; max-width: none }
.hist-c h2 { font-size: 22px; margin: 26px 0 8px }
.hist-fig { margin: 18px 0 8px; display: grid; justify-items: center; gap: 8px }
.hist-fig figcaption { font-size: 13px; color: var(--muted); text-align: center }
.hist-fig.tirages .tir-row > svg { width: auto; height: min(46svh, 380px); overflow: visible }
.hist-fig.tirages .tir-row > svg path { fill: none; stroke: var(--fir); stroke-width: 5px; vector-effect: non-scaling-stroke; stroke-width: 1.4px; stroke-linejoin: round }
.hist-fig.duo { grid-template-columns: 1fr 1fr; align-items: end }
.hist-fig.duo figcaption { grid-column: 1 / -1 }
.hist-fig.duo svg { width: 100%; max-width: 200px; height: auto; justify-self: center }
.schema path { fill: none; stroke: var(--fir); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round }
.schema .fin { stroke-width: 1; opacity: .55 }

/* ---------- page « Notre histoire » : les titres ouvrent leur texte ---------- */
.hist-liste { list-style: none; margin: 8px 0 40px; padding: 0; border-top: 1px solid var(--line) }
.hist-liste li { border-bottom: 1px solid var(--line) }
.hist-t { width: 100%; display: grid; grid-template-columns: 3.2em minmax(0, 1fr) auto; align-items: baseline; gap: 12px; padding: 22px 4px; background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink); font: inherit }
.hist-n { font-weight: 800; font-size: 15px; color: var(--corten); font-variant-numeric: tabular-nums }
.hist-l { font-weight: 800; font-size: clamp(22px, 2.8vw, 34px); line-height: 1.15; text-wrap: balance }
.hist-a { font-size: 30px; line-height: 1; color: var(--muted); transition: transform .2s ease, color .2s ease }
.hist-t:hover .hist-l { color: var(--corten) } .hist-t:hover .hist-a { color: var(--corten); transform: rotate(90deg) }
.hist-q { max-width: 30ch }
/* « Entrer dans le site » : sans ombre de texte */
.hero.foret .btn.clair { text-shadow: none }
.hist-q { font-size: clamp(19px, 1.9vw, 24px); font-weight: 700; color: var(--fir); line-height: 1.35; margin: 0 0 22px }
/* tirage : faux QR code + clé ADN (QR pas plus haut que deux fois la légende) */
.adn { display: flex; align-items: center; gap: 10px }
.adn .qr { width: 26px; height: 26px; flex: none }
.adn .qr path { fill: var(--ink); fill-rule: evenodd; stroke: none }
.adn code { font: 700 13px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .12em; color: var(--ink) }
/* QR code et clé à droite de la ramure : bas du QR aligné sur la base de la ramure */
.tir-row { display: flex; align-items: flex-end; gap: 18px }
.tir-row .adn { padding-bottom: 0 }
.hist-fig.duo svg { width: auto; max-width: 100%; height: min(34svh, 260px) }
/* accueil : logo na! du titre 1,5 fois plus grand */
.h1-intro .h1-logo { font-size: 1.5em }
/* essai rotation pré-calculée */
.rot { height: 100%; display: flex; align-items: center; justify-content: center; cursor: grab; touch-action: pan-y; user-select: none }
.rot:active { cursor: grabbing }
.rot img { height: 100%; width: auto; max-width: 100%; object-fit: contain; pointer-events: none }
/* vitrine : fond de page = fond de la vidéo Blender actuelle (provisoire, en attendant la vidéo plein cadre) ; bords de la vidéo fondus */
:root { --fond-video: #cdc7c0 }
.vit-vid video { -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%) }
/* essai rotation : vues superposées pour le fondu, sapin le plus grand possible */
.rot { position: relative }
.rot img { position: absolute; inset: 0; margin: auto; height: 100%; width: auto; max-width: 100% }
.rot img.dessus { opacity: 0 }
.cfg-3d.essai-rot { height: calc(100svh - 72px) }
/* ramure de la page d'accueil : épaisseur de trait réglée par le script (sans non-scaling-stroke : Safari y calcule mal
   les pointillés, le dessin apparaissait d'un coup sur iPhone) ; plus petite sur téléphone */
.ramure-panel .trait { vector-effect: none }
@media (max-width: 820px) { .ramure-panel { height: 46svh } .ramure-panel svg { height: 46svh } }
/* ramure : trait fin constant à l'écran (pas de pointillés, donc non-scaling-stroke fiable partout) ; plus petite sur téléphone */
.ramure-panel .trait { vector-effect: non-scaling-stroke; stroke-width: 2px }
@media (max-width: 820px) { .ramure-panel { height: 34svh; padding: 0 } .ramure-panel svg { height: 34svh; width: auto; max-width: 100% } }
@media (max-width: 820px) { .hero.foret { position: relative } .ramure-panel svg { max-width: none } }
@media (max-width: 820px) { .hero.foret { align-items: start; align-content: start; justify-content: flex-start } .hero.foret .hero-grid { align-self: start; align-content: start } }

/* survol de tous les boutons : texture corten (remplace le léopard), texte blanc gras */
.btn.alt:hover, .btn.clair:hover, .hero.foret .btn.clair:hover, .support button:hover, .cfg-guide:hover {
  background: #8a4320 url(img/corten-texture.jpg) 50% 50% / cover; border-color: #7a3a1a; color: #fff; font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .45) }

/* ---------- Police : toujours Hiragino Maru Gothic Pro W4 (une seule graisse) ---------- */
/* Aucun gras, ni réel ni simulé par le navigateur : partout la W4 (M PLUS Rounded 1c 400 en secours hors Apple). */
*, *::before, *::after { font-weight: 400 !important; font-synthesis: none }

/* ---------- Accueil : la ramure se dessine et, en même temps, le bloc « Les sapins de Anne… » apparaît en transparence ---------- */
/* même durée et même courbe que le dessin de la ramure (entree.js : D = 5200 ms, accélération puis ralentissement) */
.intro-on .hero .display, .intro-on .hero .lead, .intro-on .hero .btns { transition: opacity 4.3s cubic-bezier(.45, 0, .55, 1) !important; transition-delay: 0s !important; transform: none !important }
.intro-on .ramure-panel { transition: none; transform: none }

/* « Noël » sur l'accueil seulement du 2 septembre au 15 janvier (date du visiteur) */
html.hors-noel .noel { display: none }

/* ---------- barre du haut : na! plus grand (renvoie vers « Sapins de Noël »), 4 rubriques à sa droite ---------- */
.top-g { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); min-width: 0 }
.logo.lg { font-size: 50px }
.top .wrap { min-height: 76px }
.menu .nav { top: 76px }
.top .nav.boutons { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px }
.top .nav.boutons a { padding: 8px 16px; border: 1.5px solid var(--ink); border-radius: 999px; line-height: 1.2; white-space: nowrap; border-bottom-width: 1.5px }
.top .nav.boutons a:hover { background: var(--ink); color: var(--paper) }
.top .nav.boutons a[aria-current="page"] { background: var(--ink); color: var(--paper); border-color: var(--ink) }
@media (max-width: 900px) { .top .nav.boutons { display: none } .logo.lg { font-size: 38px } }
.menu .nav .menu-sec a.rejouer-lien { color: var(--corten) }

/* ---------- page « Sapins de Noël » : la vidéo tourne à droite (fixe), les vues des modèles défilent à gauche ---------- */
.vit2 { min-height: 0 }
.vit2-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 4vw, 56px); align-items: start }
.vit2-vid { order: 2; position: sticky; top: 76px; height: calc(100svh - 76px); display: flex; align-items: center; justify-content: center }
.vit2-vid video { display: block; width: 100%; height: 100%; max-height: calc(100svh - 76px); object-fit: contain; background: var(--fond-video) }
.vit2-liste { order: 1; display: flex; flex-direction: column; gap: clamp(28px, 5vh, 56px); padding-block: 24px 64px }
.vit2-tete h1 { font-size: clamp(34px, 4.4vw, 60px); line-height: 1.04; margin: 0 0 .35em; color: var(--ink); text-wrap: balance }
.vit2-tete h1 .sous { display: block; font-size: .42em; color: var(--muted); margin-top: .45em; line-height: 1.2 }
.vit2-tete .vit-quote { margin: 0 }
.vue { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px }
.vue img { display: block; width: 100%; max-width: 520px; height: auto; aspect-ratio: 4 / 5 }
.vue figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; text-align: center; width: 100%; max-width: 520px }
.vue-n { font-size: 22px; color: var(--ink) }
.vue-m { font-size: 15px; color: var(--muted); flex-basis: 100% ; order: 2 }
.vue-btn { order: 1; padding: 9px 22px }
/* téléphone : le sapin qui tourne en tête de page, puis il défile et laisse la place aux images */
@media (max-width: 820px) {
  .vit2-grid { grid-template-columns: 1fr; gap: 8px }
  .vit2-vid { order: 0; position: static; height: auto }
  .vit2-vid video { height: auto; max-height: 62svh }
  .vit2-liste { order: 1; padding-top: 8px }
}
.vit2-tete h1.seul { font-size: clamp(26px, 2.6vw, 36px); color: var(--muted); margin: 0 }

/* v71 : na! deux fois plus grand ; la rotation occupe presque toute la hauteur de la fenêtre */
:root { --top-h: 120px }
.logo.lg { font-size: 100px }
.top .wrap { min-height: var(--top-h) }
.menu .nav { top: var(--top-h) }
.vit2-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr) }
.vit2-vid { top: var(--top-h); height: calc(100svh - var(--top-h)) }
.vit2-vid video { width: 100%; height: 100%; max-height: none; object-fit: contain }
@media (max-width: 900px) { :root { --top-h: 92px } .logo.lg { font-size: 76px } }
@media (max-width: 820px) { .vit2-vid { height: auto } .vit2-vid video { height: auto; max-height: 78svh } }
/* maquette : homothétie de la vidéo actuelle pour que le sapin occupe presque toute la hauteur de la fenêtre (la vidéo Blender définitive sera déjà cadrée) */
@media (min-width: 821px) {
  .vit2-vid { overflow: visible; z-index: 0 }
  .vit2-vid video { transform: translateY(var(--vid-dy, -29px)) scale(var(--vid-k, 1.21)); transform-origin: 50% 50% }
}
/* v73 : la vidéo est calée sur la HAUTEUR de la fenêtre (plus sur la largeur de sa colonne) ; elle peut s'étendre vers la gauche,
   sous la colonne des modèles, qui défile par-dessus */
@media (min-width: 821px) {
  .vit2-vid { justify-content: flex-end; overflow: visible; z-index: 0 }
  .vit2-vid video { width: auto; height: 100%; max-width: none; flex: none; --vid-k: 1.12; --vid-dy: -22px }
  .vit2-liste { position: relative; z-index: 1 }
}
/* v74 : rotation décalée vers la droite (peut sortir de la grille jusqu'au bord de la fenêtre) */
@media (min-width: 821px) {
  .vit2 { overflow-x: clip }
  .vit2-vid video { transform: translateX(var(--vid-dx, 0px)) translateY(var(--vid-dy, 0px)) scale(var(--vid-k, 1)); --vid-dx: calc(max(0px, (100vw - 1100px) / 2) + 4vw) }
}
.vue-a { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; text-decoration: none; color: inherit }
/* téléphone (rappel après les réglages bureau) : une seule colonne, le sapin qui tourne en tête, pleine largeur */
@media (max-width: 820px) {
  .vit2-grid { grid-template-columns: 1fr }
  .vit2-vid { order: 0; position: static; height: auto; justify-content: center }
  .vit2-vid video { width: 100%; height: auto; max-height: 78svh; transform: none }
  .vit2-liste { order: 1 }
}

/* v77 : chaque modèle dans une tuile à contour fin ; le nom collé sous le sapin */
.vue { width: 100%; max-width: 440px; margin-inline: auto; border: 1px solid color-mix(in srgb, var(--ink) 22%, transparent); border-radius: 18px; padding: 10px 10px 16px; background: var(--fond-video) }
.vue-a { gap: 0 }
.vue img { max-width: 100%; aspect-ratio: 480 / 700 }
.vue figcaption { margin-top: -4px }
.vue-n { font-size: 20px }
.vit2-liste { gap: 22px }
/* téléphone : le sapin qui tourne occupe l'écran ; on aperçoit juste le haut de la première tuile pour inviter à défiler */
@media (max-width: 820px) {
  .vit2 .wrap { padding-inline: 16px }
  .vit2-grid { gap: 0 }
  .vit2-vid { position: relative; height: calc(100svh - var(--top-h) - 72px); overflow: hidden }
  .vit2-vid video { width: 100%; height: 100%; max-height: none; object-fit: contain; transform: scale(1.12) }
  .vit2-tete { position: absolute; top: calc(var(--top-h) + 6px); left: 16px; z-index: 2; pointer-events: none }
  .vit2-tete h1.seul { font-size: 20px }
  .vit2-liste { padding-top: 0; gap: 16px }
  .vue { max-width: 100%; padding: 8px 8px 14px }
}
@media (max-width: 820px) {
  .vit2-vid { top: auto; height: calc(100svh - var(--top-h) - 64px) }
  .vit2-vid video { transform: scale(1.5); transform-origin: 50% 48% }
}
.vue { border: 1.5px solid #fff; border-radius: 18px }
@media (max-width: 820px) { .vit2-vid video { transform: scale(1.32); transform-origin: 50% 46% } }

/* v79 : familles par matériau sur la page « Sapins de Noël » */
.famille { display: flex; flex-direction: column; gap: 14px }
.fam-t { font-size: 22px; font-weight: 400; color: var(--gris, var(--muted)); margin: 10px 0 0; text-align: center }
.fam-g { display: flex; flex-direction: column; gap: 22px }
@media (max-width: 820px) { .fam-g { display: grid; grid-template-columns: 1fr 1fr; gap: 10px } .fam-g .vue { padding: 5px 5px 9px; border-radius: 14px } .fam-g .vue-n { font-size: 15px } .fam-t { font-size: 19px } }
/* fiche modèle */
body:has(.fiche) { background: var(--fond-video) }
body:has(.fiche) .top { background: var(--fond-video); backdrop-filter: none; border-bottom-color: transparent }
.fiche { padding-block: 8px 56px }
.fi-haut { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; margin-top: 8px }
.fi-vue img { width: 100%; max-width: 460px; margin-inline: auto; display: block; border: 1.5px solid #fff; border-radius: 18px }
.fi-info h1 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 400; margin: 0 0 4px }
.fi-mat { color: var(--muted); font-size: 17px; margin: 0 0 14px }
.fi-txt { font-size: 17px; max-width: 42ch; margin: 0 0 18px }
.fi-lab { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--corten); margin: 0 0 8px }
.fi-tailles { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px }
.fi-tailles button { font: 400 15px var(--f); padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer }
.fi-tailles button[aria-pressed="true"] { background: var(--ink); color: var(--paper) }
.fi-prix { font-size: 20px; margin: 0 0 16px }
.fi-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px }
.fi-conf { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--muted) }
.fi-conf li::before { content: "✓ "; color: var(--corten) }
.fi-h2 { font-size: 26px; font-weight: 400; margin: 48px 0 16px }
.fi-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px }
.fi-fig { margin: 0 } .fi-fig img { width: 100%; height: auto; border-radius: 14px; display: block } .fi-fig figcaption { font-size: 14px; color: var(--muted); margin-top: 6px }
.fi-hist { margin-top: 32px; color: var(--muted) }
@media (max-width: 820px) { .fi-haut { grid-template-columns: 1fr } .fi-vue img { max-width: 300px } }
.vue-p { flex-basis: 100%; order: 3; font-size: 14px; color: var(--muted); margin-top: -2px } @media (max-width: 820px) { .fam-g .vue-p { font-size: 12px } }
.fi-fig img { aspect-ratio: 16 / 10; object-fit: cover }

/* v80 : page « Sapins de Noël » = le sapin Blender qui tourne en haut, puis 4 tuiles carrées (Métal, Bois, Verre, Imprimé) */
.vit3 .vit2-grid { display: flex; flex-direction: column; gap: 0 }
.vit3 .vit2-vid { position: relative; top: auto; order: 0; height: calc(100svh - var(--top-h) - 90px); justify-content: center; overflow: hidden }
.vit3 .vit2-vid video { width: auto; height: 100%; max-width: 100%; transform: scale(1.18); transform-origin: 50% 47%; object-fit: contain }
.vit3 .vit2-liste { order: 1; padding-block: 0 56px; gap: 0 }
.vit3 .vit2-tete { position: absolute; top: calc(var(--top-h) + 10px); left: max(16px, calc((100vw - 1100px) / 2)); z-index: 2; pointer-events: none }
.vit3 .vit2-tete h1.seul { font-size: clamp(20px, 2.2vw, 30px) }
.fam4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 20px) }
.fam-tuile { position: relative; display: block; aspect-ratio: 1; border: 1.5px solid #fff; border-radius: 18px; overflow: hidden; text-decoration: none; color: #fff }
.fam-tuile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease }
.fam-tuile:hover img { transform: scale(1.05) }
.fam-tuile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: clamp(18px, 1.8vw, 24px); text-align: center; background: linear-gradient(transparent, rgba(0, 0, 0, .45)); text-shadow: 0 1px 3px rgba(0, 0, 0, .5) }
.fam-h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 400; margin: 8px 0 20px }
.fiche .fam-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px }
@media (max-width: 820px) {
  .vit3 .vit2-vid { height: calc(100svh - var(--top-h) - 64px) }
  .vit3 .vit2-vid video { width: 100%; height: 100%; transform: scale(1.32); transform-origin: 50% 46% }
  .vit3 .vit2-tete { top: calc(var(--top-h) + 6px); left: 16px }
  .fam4 { grid-template-columns: 1fr 1fr; gap: 10px }
  .fiche .fam-g { grid-template-columns: 1fr 1fr; gap: 10px }
}
.vit3 { position: relative }
.vit3 .vit2-grid { align-items: stretch }
.vit3 .vit2-vid { width: 100% }
.vit3 .vit2-liste { position: static }
.vit3 .vit2-tete { top: 10px }
@media (max-width: 820px) { .vit3 .vit2-tete { top: 6px } }
/* v82 : titre réservé à Google (invisible) ; à la place, « na! c'est quoi ? » renvoie vers Notre histoire */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.vit3 .vit2-tete { pointer-events: auto }
.quoi { font-size: clamp(20px, 2.2vw, 30px); color: var(--ink); text-decoration: none; border-bottom: 1.5px solid currentColor }
.quoi:hover { color: var(--corten) }
@media (max-width: 820px) { .quoi { font-size: 20px } }
/* v83 : « c'est quoi ? » collé à droite du grand na! (se lit « na! c'est quoi ? »), souligné : on a envie de cliquer */
.top-g { gap: 0 } .top-g .nav.boutons { margin-left: clamp(18px, 3vw, 40px) }
.top .quoi { align-self: flex-end; margin: 0 0 14px 10px; font-size: 18px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; border: 0; white-space: nowrap }
.top .quoi:hover { color: var(--corten) }
@media (max-width: 900px) { .top .quoi { font-size: 16px; margin-bottom: 11px } }

/* v85 : hauteur du sapin calculée sur l'écran : sapin + 4 tuiles tiennent toujours en entier dans la fenêtre */
@media (min-width: 821px) {
  .vit3 { --gap4: clamp(10px, 1.6vw, 20px);
          --tile: min(calc((min(100vw, var(--wrap)) - 2 * var(--gut) - 3 * var(--gap4)) / 4), 24svh);
          --vid-h: calc(100svh - var(--top-h) - var(--tile) - 28px) }
  .vit3 .vit2-vid { height: var(--vid-h); min-height: 220px }
  .vit3 .vit2-vid video { height: 100%; width: auto; max-width: 100%; transform: scale(1.12); transform-origin: 50% 50% }
  .vit3 .fam4 { grid-template-columns: repeat(4, var(--tile)); justify-content: center; gap: var(--gap4) }
  .vit3 .vit2-liste { padding-block: 4px 40px }
}

/* v86 : plus de boutons dans la barre ; « c'est quoi ? » plus grand, collé à droite de na! (aussi sur iPhone),
   il ouvre une fenêtre avec les 4 rubriques */
.top .wrap { flex-wrap: nowrap }
.top-g { flex-wrap: nowrap; align-items: flex-end; min-width: 0 }
.quoi-d { position: relative; margin: 0 0 12px 12px }
.quoi-d summary { list-style: none; cursor: pointer; font-size: clamp(22px, 2.2vw, 30px); color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; white-space: nowrap }
.quoi-d summary::-webkit-details-marker { display: none }
.quoi-d summary:hover, .quoi-d[open] summary { color: var(--corten) }
.quoi-p { position: absolute; left: 0; top: calc(100% + 14px); z-index: 30; width: min(440px, calc(100vw - 2 * var(--gut))); background: var(--sheet); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px 20px; box-shadow: 0 14px 34px rgba(31, 42, 34, .14) }
.quoi-p p { margin: 0 0 14px; font-size: 16px; color: var(--ink) }
.quoi-p .nav.boutons { display: flex !important; flex-wrap: wrap; gap: 8px; margin: 0 }
.top-g .nav.boutons { margin-left: 0 }
@media (max-width: 900px) {
  .quoi-d { margin: 0 0 9px 8px }
  .quoi-d summary { font-size: 19px }
  .quoi-p { left: auto; right: auto; position: fixed; left: var(--gut); top: calc(var(--top-h) + 6px) }
}
/* v87 : « c'est quoi ? » à la moitié de la hauteur de na!, décalé vers la droite */
.quoi-d { margin: 0 0 8px clamp(24px, 3vw, 44px) }
.top .quoi-d summary.quoi { margin: 0; font-size: 50px; line-height: 1; text-underline-offset: 7px; text-decoration-thickness: 3px }
@media (max-width: 900px) { .quoi-d { margin: 0 0 6px 16px } .top .quoi-d summary.quoi { font-size: 30px; text-underline-offset: 5px; text-decoration-thickness: 2px } }
@media (max-width: 380px) { .quoi-d { margin-left: 10px } .top .quoi-d summary.quoi { font-size: 26px } }
.quoi-p .quoi-txt { font-size: 21px; line-height: 1.35; margin-bottom: 16px } @media (max-width: 900px) { .quoi-p .quoi-txt { font-size: 19px } }
.quoi-p .quoi-txt { margin-bottom: 8px } .quoi-p .quoi-txt2 { font-size: 17px; color: var(--muted); margin: 0 0 16px }
/* v92 : « pourquoi ? » sans soulignement, remonté, décalé un peu plus à droite */
.top .quoi-d summary.quoi { text-decoration: none }
.quoi-d { margin: 0 0 22px clamp(40px, 4.5vw, 64px) }
@media (max-width: 900px) { .quoi-d { margin: 0 0 14px 24px } }
@media (max-width: 380px) { .quoi-d { margin-left: 16px } }
/* v94 : sur ordinateur, « pourquoi ? » centré sur l'axe du sapin (centre de la fenêtre) ; la fenêtre s'ouvre centrée dessous */
@media (min-width: 901px) {
  .top .wrap { position: relative }
  .quoi-d { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0 }
  .quoi-p { left: 50%; transform: translateX(-50%) }
}
.quoi-p .quoi-txt, .quoi-p .quoi-txt2 { margin: 0 0 1em }   /* une ligne d'espace entre chaque phrase */
/* v96 : sur ordinateur, le « r » de « pourquoi ? » tombe exactement sur l'axe du sapin */
@media (min-width: 901px) {
  .top .quoi-d summary.quoi { display: grid; grid-template-columns: 1fr auto 1fr; width: 8em }
  .q-a { text-align: right } .q-b { text-align: left; white-space: pre }
}
.quoi-p .quoi-txt2 strong { font-weight: 400 !important; color: var(--ink); -webkit-text-stroke: .45px currentColor }   /* « gras » sans graisse : la police reste la W4 */
/* v100 : les 4 boutons de la fenêtre « pourquoi ? » ont la même largeur, texte centré */
.quoi-p .nav.boutons { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px }
.quoi-p .nav.boutons a { display: block; text-align: center; white-space: nowrap; padding-inline: 10px }
/* v101 : sur les autres pages, le nom de la page remplace « pourquoi ? », collé à droite de na! (2 lignes au besoin) */
.quoi-page { position: static !important; transform: none !important; align-self: flex-end; margin: 0 0 16px clamp(24px, 3vw, 44px) !important }
.top .quoi-page summary.quoi { display: block !important; width: auto !important; font-size: 40px; line-height: 1.05; white-space: normal; max-width: 9.5em; text-wrap: balance }
.quoi-page .quoi-p { left: 0 !important; transform: none !important }
@media (max-width: 900px) {
  .quoi-page { margin: 0 0 8px 16px !important; min-width: 0 }
  .top .quoi-page summary.quoi { font-size: 22px; max-width: calc(100vw - 230px) }
  .quoi-page .quoi-p { left: var(--gut) !important }
}

/* v102 : « concept » centré sur l'axe du sapin ; 6 boutons rectangulaires sous le sapin (4 matières + 2 guides) */
@media (min-width: 901px) { .top .quoi-d:not(.quoi-page) summary.quoi { display: block; width: auto; text-align: center } }
.fam6 .fam-tuile { aspect-ratio: 3 / 2 }
.fam-tuile.fg { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; background: var(--sheet); color: var(--ink); border: 1.5px solid var(--ink) }
.fam-tuile.fg b { font-weight: 400 !important; font-size: clamp(26px, 2.6vw, 40px); line-height: 1; color: var(--corten) }
.fam-tuile.fg span { position: static; background: none; padding: 0; text-shadow: none; color: var(--ink); font-size: clamp(15px, 1.4vw, 20px) }
.fam-tuile.fg:hover { background: var(--ink) } .fam-tuile.fg:hover span, .fam-tuile.fg:hover b { color: var(--paper) }
@media (min-width: 821px) {
  .vit3 { --tile: min(calc((min(100vw, var(--wrap)) - 2 * var(--gut) - 5 * var(--gap4)) / 6), 26svh);
          --vid-h: calc(100svh - var(--top-h) - var(--tile) * 2 / 3 - 28px) }
  .vit3 .fam6 { grid-template-columns: repeat(6, var(--tile)) }
}
@media (max-width: 820px) { .fam6 { grid-template-columns: 1fr 1fr } }
.tab-prix { overflow-x: auto } .tab-prix table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums }
.tab-prix th, .tab-prix td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: center; font-weight: 400 } .tab-prix tbody th { text-align: left }
.fam-tuile.fg span { font-size: clamp(13px, 1.15vw, 17px); white-space: nowrap }

/* v103 : boutons sobres sous le sapin — cadre blanc, angles arrondis, fond blanc 50 %, texte noir */
.bt6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; max-width: 980px; margin-inline: auto; width: 100% }
.bt-mat { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 56px; padding: 10px 12px;
  border: 1.5px solid #fff; border-radius: 14px; background: rgba(255, 255, 255, .5); color: #111; text-decoration: none;
  font-size: clamp(16px, 1.3vw, 19px); letter-spacing: .02em; white-space: nowrap; transition: background .25s ease }
.bt-mat:hover { background: rgba(255, 255, 255, .85) }
@media (min-width: 821px) { .vit3 { --vid-h: calc(100svh - var(--top-h) - 56px - 40px) } }
/* téléphone : 4 matières sur une ligne, puis les 2 guides, chacun sous deux boutons */
@media (max-width: 820px) {
  .bt6 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px }
  .bt-guide { grid-column: span 2 }
  .bt-mat { min-height: 46px; padding: 8px 4px; font-size: 14px; border-radius: 12px }
}
@media (min-width: 821px) { .bt-mat { font-size: clamp(14px, 1.1vw, 17px); padding-inline: 8px } }
/* v104 : guides en filigrane — fond presque transparent, cadre blanc fin, texte gris doux */
.bt-guide { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .75); color: #4a4a46; letter-spacing: .04em }
.bt-guide:hover { background: rgba(255, 255, 255, .4); color: #111 }
/* v105 : le titre de chaque page est en haut, à côté de na! ; on retire le fil d'Ariane et le titre répété sous na! (gardé pour Google) */
.crumbs { display: none }
.page-head h1, .fam-h1, .fi-info h1, .cfg-col > h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0 }
.page-head { margin: 0 }
/* v106 : chevron fin après « le concept » (et les titres) : signale que ça s'ouvre */
.quoi .chev { display: inline-block; width: .32em; height: .32em; margin-left: .32em; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-.2em) rotate(45deg); transition: transform .25s ease; opacity: .7 }
.quoi-d[open] .quoi .chev { transform: translateY(.02em) rotate(225deg) }
@media (min-width: 901px) { .top .quoi-d:not(.quoi-page) summary.quoi { white-space: nowrap } }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; padding: 0 }
/* v107 : descriptif du matériau dans la fenêtre du titre */
.quoi-p .mat-q { font-size: 21px; line-height: 1.3; margin: 0 0 12px; color: var(--ink) }
.quoi-p .quoi-txt2 strong { color: var(--ink) }
@media (max-width: 900px) { .quoi-p { max-height: calc(100svh - var(--top-h) - 24px); overflow-y: auto } .quoi-p .mat-q { font-size: 19px } }

/* v109 — tuile « 100 % personnalisable » : sapin au trait */
.vue-perso .perso-svg { display: block; width: 100%; max-width: 100%; aspect-ratio: 480 / 700; fill: none; stroke: var(--ink); stroke-width: .6px; vector-effect: non-scaling-stroke; stroke-linejoin: round }
.vue-perso .perso-svg path, .vue-perso .perso-svg line { vector-effect: non-scaling-stroke }
.vue-perso .perso-svg line { stroke-dasharray: 4 5; opacity: .45 }

/* v116 — fenêtres de texte longues : elles défilent dans l'écran au lieu de déborder */
.quoi-p { max-height: calc(100svh - 150px); overflow-y: auto; overscroll-behavior: contain }

/* v117 — chevron plus grand, plus franc, et qui fait signe deux fois à l'arrivée */
.quoi .chev { width: .58em; height: .58em; margin-left: .42em; border-right-width: max(2.5px, .07em); border-bottom-width: max(2.5px, .07em); opacity: 1; transform: translateY(-.3em) rotate(45deg) }
.quoi-d:not([open]) .quoi .chev { animation: chevSigne 1.1s ease-in-out .9s 2 }
.quoi-d[open] .quoi .chev { transform: translateY(.05em) rotate(225deg) }
@keyframes chevSigne { 0%, 100% { transform: translateY(-.3em) rotate(45deg) } 50% { transform: translateY(-.05em) rotate(45deg) } }
@media (prefers-reduced-motion: reduce) { .quoi-d .quoi .chev { animation: none } }
@media (min-width: 901px) { .top .quoi-d:not(.quoi-page) summary.quoi { padding-left: 1em } }   /* le mot reste centré sur l'axe du sapin, chevron en plus */

/* v120 (flèches) retiré en v121 : remplacé par le bouton « Autres teintes » dans la fiche */

/* v122 — « Autres teintes » juste à côté de la légende grise de la matière */
.fi-mat-l { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 14px }
.fi-mat-l .fi-mat { margin: 0 }
.fi-autres { display: inline-block; padding: 5px 14px; border: 1.5px solid #fff; border-radius: 999px; background: rgba(255,255,255,.5); color: var(--ink); font-size: 14px; text-decoration: none; white-space: nowrap; transition: background .2s }
.fi-autres:hover { background: rgba(255,255,255,.9) }
/* v123 — le bouton passe juste au-dessus de « Hauteur » */
.fi-autres-l { margin: 4px 0 18px }

/* v124 — titre de page centré dans l'espace libre entre na! et le menu (bureau et mobile) */
.top-g { flex: 1 1 auto }
.quoi-page { flex: 1 1 0; min-width: 0; margin-left: 16px !important; margin-right: 0 !important }   /* 16 px à gauche = l’écart déjà présent avant le menu : milieu exact */
.top .quoi-page summary.quoi { width: fit-content !important; text-align: center; margin-inline: auto !important }
@media (min-width: 901px) {
  .quoi-page { position: relative !important; left: auto !important; bottom: auto !important }
  .quoi-page .quoi-p { left: 50% !important; transform: translateX(-50%) !important }
}

/* v125 — fiche teinte : le sapin prend toute la hauteur ; « Commander ce sapin » ouvre le guide des tailles et des prix */
.fc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; min-height: calc(100svh - var(--top-h) - 24px); padding-block: 8px 16px }
.fc-vue { height: calc(100svh - var(--top-h) - 40px); min-height: 360px; display: flex; justify-content: center; align-items: center }
.fc-vue > img { height: 100%; width: auto; max-width: 100%; object-fit: contain; border: 0; border-radius: 0 }
.fc-vue .rot { height: 100%; width: 100% }
.fc-info { min-width: 0 }
.fc-info .fi-mat { margin: 0 0 10px }
.fc-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px }
.fc-b { display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border: 1.5px solid #fff; border-radius: 14px; background: rgba(255,255,255,.5); color: var(--ink); font: inherit; font-size: 16px; text-decoration: none; cursor: pointer; transition: background .2s }
.fc-b:hover { background: rgba(255,255,255,.9) }
.fc-go { background: var(--ink); border-color: var(--ink); color: var(--paper) }
.fc-go:hover { background: var(--corten); border-color: var(--corten) }
.fc-on .fc-desc, .fc-on .fc-btns { display: none }
.fc-cmd { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 6px }
.fc-cmd[hidden] { display: none }
.fc-guide { width: 100% } .fc-guide[hidden] { display: none }
.fc-guide img { width: 100%; height: auto; border-radius: 12px; border: 1.5px solid #fff; display: block }
.fc-q { margin: 14px 0 8px; font-size: 15px; color: var(--muted) }
.fc-tailles { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px }
.fc-taille { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; border: 1.5px solid #fff; border-radius: 12px; background: rgba(255,255,255,.5); color: var(--ink); text-decoration: none }
.fc-taille b { font-weight: 400; font-size: 17px } .fc-taille span { font-size: 14px; color: var(--muted) }
.fc-taille:hover { background: var(--ink); color: var(--paper) } .fc-taille:hover span { color: var(--paper) }
.fc-retour { background: none; border: 0; padding: 4px 0; font: inherit; font-size: 15px; color: var(--muted); cursor: pointer }
.fc-retour:hover { color: var(--ink) }
@media (max-width: 820px) {
  .fc { grid-template-columns: 1fr; gap: 10px; min-height: 0; padding-top: 0 }
  .fc-vue { height: calc(100svh - var(--top-h) - 250px); min-height: 280px }
  .fc-info .fi-mat { margin-bottom: 4px } .fc-info .fi-txt { margin: 0; font-size: 15px; line-height: 1.45 }
  .fc-btns { flex-wrap: nowrap; margin-top: 12px } .fc-btns .fc-b { flex: 1 1 0; padding: 11px 10px; font-size: 15px; white-space: nowrap }
}
@media (min-width: 821px) { .fc-tailles { grid-template-columns: repeat(5, 1fr) } }
.fc-taille i { font-style: normal; font-size: 12px; color: var(--muted); margin-top: 2px }
.fc-taille:hover i { color: var(--paper) }

/* v129 — la teinte en vrai grandeur (1:1), plein écran, avec la mise en garde écran / éclairage */
.m11 { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; background: #fff }
.m11[hidden] { display: none }
.m11-f { flex: 1 1 auto; background-repeat: no-repeat }
.m11-verre .m11-f { opacity: .62 }
.m11-bas { display: flex; align-items: center; gap: 16px; padding: 14px max(16px, env(safe-area-inset-left)) calc(14px + env(safe-area-inset-bottom)); background: var(--paper); color: var(--ink) }
.m11-av { margin: 0; font-size: 14px; line-height: 1.45; flex: 1 1 auto }
.m11-av b { font-weight: 400; color: var(--ink); -webkit-text-stroke: .35px currentColor }
.m11-x { flex: 0 0 auto; padding: 10px 20px; border: 1.5px solid var(--ink); border-radius: 14px; background: var(--ink); color: var(--paper); font: inherit; font-size: 15px; cursor: pointer }
html.m11-on, html.m11-on body { overflow: hidden }
@media (max-width: 820px) { .m11-bas { flex-direction: column; align-items: stretch; gap: 10px } .m11-av { font-size: 13px } }

/* v132 — bureau : les tuiles des sapins (pages Métal, Bois, Verre, Composite) grandissent un peu au survol */
@media (hover: hover) and (pointer: fine) {
  .fam-g .vue { transition: transform .25s ease, box-shadow .25s ease; will-change: transform }
  .fam-g .vue:hover, .fam-g .vue:focus-within { transform: scale(1.04); box-shadow: 0 10px 28px rgba(31, 42, 36, .12); position: relative; z-index: 1 }
}
@media (prefers-reduced-motion: reduce) { .fam-g .vue { transition: none } }

/* v134 — fenêtres : un seul bouton (Notre histoire), et une croix dans un rond en haut à droite pour fermer */
.quoi-p .nav.boutons { grid-template-columns: 1fr !important }
.quoi-x { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: inherit; font-size: 22px; line-height: 1; display: grid; place-items: center; padding: 0 0 2px; cursor: pointer; z-index: 2 }
.quoi-x:hover { background: var(--ink); color: var(--paper) }
.quoi-p > .quoi-txt:first-of-type, .quoi-p > .mat-q:first-of-type { padding-right: 40px }

/* v135 — une seule croix de fermeture pour toutes les fenêtres (concept, matières, Notre histoire, guide des matériaux, vue 1:1) :
   rond fin couleur encre, jamais déformé (ne rétrécit pas dans l'en-tête), pas d'anneau de focus coloré au simple clic */
.guide-x, .quoi-x, .m11-xr { flex: 0 0 34px !important; width: 34px !important; height: 34px !important; min-width: 34px; aspect-ratio: 1; border-radius: 50% !important;
  border: 1.5px solid var(--ink) !important; background: transparent !important; color: var(--ink) !important; font: 400 22px/1 var(--f) !important;
  display: grid !important; place-items: center; padding: 0 0 2px !important; margin: 0; cursor: pointer; box-shadow: none !important }
.guide-x:hover, .quoi-x:hover, .m11-xr:hover { background: var(--ink) !important; color: var(--paper) !important }
.guide-x:focus:not(:focus-visible), .quoi-x:focus:not(:focus-visible), .m11-xr:focus:not(:focus-visible) { outline: none }
.guide-x:focus-visible, .quoi-x:focus-visible, .m11-xr:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px }
.guide-h { gap: 16px }
.m11-xr { position: absolute; top: calc(14px + env(safe-area-inset-top)); right: 14px; background: rgba(255,255,255,.75) !important; z-index: 2 }
.guide-x:focus-visible, .quoi-x:focus-visible, .m11-xr:focus-visible { border-radius: 50% !important }
dialog.guide:focus { outline: none }

/* v136 — Safari : le jambage du « p » dépassait du cadre du titre (interligne 1) et n'était pas repeint au changement
   de teinte (survol) : un bout restait noir. Le cadre englobe maintenant les jambages, sans déplacer le titre. */
.top .quoi-d summary.quoi { padding-bottom: .2em !important; margin-bottom: -.2em !important }
/* v138 — fiche : un seul bouton, toute largeur */
.fc-btns-1 .fc-go { flex: 1 1 100% !important; width: 100% }
/* v139 — fiche : sapin plein écran, badge 3D, pastille œil (vraie grandeur) */
.fc-vue { position: relative }
.fc-3d { position: absolute; top: 4px; right: 0; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px 5px 8px; border: 1.5px solid #fff; border-radius: 999px; background: rgba(255,255,255,.5); color: var(--ink); font-size: 14px; line-height: 1; letter-spacing: .04em; pointer-events: none }
.fc-leg { display: flex; align-items: center; gap: 14px }
.fc-legt { flex: 1 1 auto; min-width: 0 }
.fc-legt .fi-mat { margin: 0 0 4px } .fc-legt .fi-txt { margin: 0 }
.fc-oeil { flex: none; width: 58px; height: 58px; border-radius: 50%; border: 2px solid #fff; padding: 0; display: grid; place-items: center; color: #fff; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.18); transition: transform .2s }
.fc-oeil svg { filter: drop-shadow(0 0 1.5px rgba(0,0,0,.75)) drop-shadow(0 0 3px rgba(0,0,0,.35)) }
.fc-oeil:hover { transform: scale(1.06) }
.fc-on .fc-leg .fc-desc { display: none }
@media (max-width: 820px) {
  .fc { display: flex; flex-direction: column; gap: 10px; height: calc(100svh - var(--top-h) - 10px); padding-block: 0 14px; box-sizing: border-box }
  .fc-vue { flex: 1 1 0; height: auto; min-height: 0 }
  .fc-oeil { width: 52px; height: 52px }
  .fc.fc-on { height: auto } .fc.fc-on .fc-vue { flex: none; height: 42svh }
  .fc-btns { margin-top: 12px }
}
/* v140 — pastille œil sous le badge 3D, coin haut droit */
.fc-coin { position: absolute; top: 4px; right: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; z-index: 2 }
.fc-coin .fc-3d { position: static }
.fc-coin .fc-oeil, .fc-oeil { width: 46px; height: 46px }
.fc-coin .fc-oeil svg { width: 22px; height: 22px }
/* v141 — tirage : plus petit, plus rapide, légende au-dessus du QR et de la clé */
.hist-fig.tirages .tir-row > svg { height: min(24svh, 220px) }
.tir-d { display: flex; flex-direction: column; gap: 8px; min-width: 0 }
.tir-l { margin: 0; font-size: 14px; line-height: 1.4; color: var(--muted) }
/* v142 — Notre histoire : titres en cadres blancs (charte des tuiles), même hauteur, sans numéros */
.hist-liste { display: grid; grid-auto-rows: 1fr; gap: 12px; border-top: 0 }
.hist-liste li { border-bottom: 0; display: flex }
.hist-t { grid-template-columns: minmax(0, 1fr) auto; align-items: center; height: 100%; padding: 18px 22px; border: 1.5px solid #fff; border-radius: 18px; background: rgba(255,255,255,.35); transition: background .2s }
.hist-t:hover { background: rgba(255,255,255,.7) }
@media (max-width: 820px) { .hist-t { padding: 14px 16px; border-radius: 14px } }
.hist-liste { margin-top: 16px }
/* v143 — légende du tirage en haut à droite, QR + clé en bas */
.tir-row .tir-d { align-self: stretch; justify-content: space-between; flex: 1 1 auto }
.tir-row .tir-l { align-self: flex-end; max-width: 15em }
.tir-row > svg { flex: none } .tir-row > .tir-d { flex: 1 1 0 !important; min-width: 0 }
.tir-row .tir-l { max-width: 13em }
/* v146 — page Personnalisation : trois niveaux en cadres blancs */
.perso { max-width: 760px; margin: 16px auto 48px; display: flex; flex-direction: column; gap: 14px }
.perso-intro { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.45; margin: 0 0 6px }
.perso-niv { border: 1.5px solid #fff; border-radius: 18px; background: rgba(255,255,255,.35); padding: 20px 24px }
.perso-niv h2 { margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 28px) }
.perso-niv p { margin: 0 0 8px; line-height: 1.55 } .perso-niv p:last-child { margin-bottom: 0 }
.perso-num { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--corten); margin: 0 0 4px !important }
.perso-nuancier { margin-top: 12px }
@media (max-width: 820px) { .perso-niv { padding: 16px 16px; border-radius: 14px } }
/* v147 — tirage : grille explicite (robuste sous Safari iOS) — légende en haut à droite, QR + clé en bas */
.hist-fig.tirages .tir-row { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; align-items: stretch }
.hist-fig.tirages .tir-row > svg { height: min(24svh, 220px); width: calc(min(24svh, 220px) * 660 / 2240) }
.hist-fig.tirages .tir-d { display: grid; grid-template-rows: auto 1fr auto; row-gap: 8px; min-width: 0 }
.hist-fig.tirages .tir-l { grid-row: 1; justify-self: end; align-self: start; max-width: 13em }
.hist-fig.tirages .adn { grid-row: 3; align-self: end }
/* v147 — nuancier : marques de poudres */
.nuancier-m { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px }
.nuancier-m li { padding: 7px 14px; border: 1.5px solid #fff; border-radius: 999px; background: rgba(255,255,255,.5); font-size: 15px }
/* v152 — badge 3D et pastille œil centrés l’un sous l’autre */
.fc-coin { align-items: center }
/* v156 — « 3D » écrit à même le fond, en haut à gauche ; l'œil seul en haut à droite */
.fc-vue > .fc-3d { position: absolute; top: 4px; left: 0; right: auto; padding: 0; border: 0; background: none; font-size: 16px; gap: 6px; z-index: 2 }
.fc-vue > .fc-3d { height: 46px; align-items: center }
/* v157 — fiche : hauteur + prix, guide des tailles, panier à la teinte, mentions, Alma */
.fc-btns, .fc-cmd { display: none }
.fc-achat { display: flex; flex-direction: column; gap: 10px; margin-top: 14px }
.fc-taille-sel { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border: 1.5px solid #fff; border-radius: 14px; background: rgba(255,255,255,.5); font-size: 16px; color: var(--ink); cursor: pointer }
.fc-taille-sel .chev { flex: none }
.fc-taille-sel select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px }
.fc-guide-l { align-self: center; background: none; border: 0; padding: 2px 4px; font: inherit; font-size: 15px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer }
.fc-panier { display: flex; align-items: center; justify-content: center; padding: 14px 18px; border-radius: 14px; border: 1.5px solid #fff; color: #fff; font-size: 17px; text-decoration: none; text-shadow: 0 1px 3px rgba(0,0,0,.55), 0 0 1px rgba(0,0,0,.6); box-shadow: 0 2px 8px rgba(31,42,36,.15); transition: transform .15s, box-shadow .15s }
.fc-panier.fc-clair { color: var(--ink); text-shadow: 0 0 6px rgba(255,255,255,.8) }
.fc-panier:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(31,42,36,.2) }
.fc-mentions { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.4; color: var(--ink) }
.fc-mentions li { display: flex; align-items: center; gap: 12px }
.fc-mentions svg { flex: none }
.fc-alma { --kl-rose: #f4b3d1; --kl-noir: #0b051d; background: var(--kl-rose); color: var(--kl-noir); border: 0; border-radius: 14px; padding: 12px 16px; font-size: 15px }
.fc-alma-h { display: flex; align-items: center; gap: 6px; margin-bottom: 8px }
.fc-alma-n { color: var(--kl-noir); font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-right: 10px }
.fc-alma-h button { border: 0; background: none; padding: 5px 10px; border-radius: 7px; font: inherit; font-weight: 700; color: var(--kl-noir); opacity: .65; cursor: pointer }
.fc-alma-h button[aria-pressed="true"] { background: var(--kl-noir); color: var(--kl-rose); opacity: 1 }
.fc-alma-t { margin: 0 0 2px; color: var(--kl-noir) }
.fc-alma-s { color: var(--kl-noir); font-size: 14px }
.fc-alma-s summary { cursor: pointer; text-decoration: underline; list-style: none }
.fc-alma-s summary::-webkit-details-marker { display: none }
.fc-alma-s p, .fc-alma-s ul { margin: 8px 0 0; line-height: 1.45 }
.fc-alma-s ul { padding-left: 18px }
/* guide des tailles : silhouettes vert olive, à l'échelle, avec une personne de 1,75 m */
.fc-gt { width: min(760px, calc(100vw - 32px)) }
.gt { padding: 10px 22px 22px }
.gt-sc { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; height: min(46svh, 340px) }
.gt-s, .gt-p { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; background: none; border: 0; padding: 0; font: inherit; color: var(--ink); cursor: pointer; min-width: 0 }
.gt-arbre { display: block; width: 100%; height: calc((100% - 52px) * var(--h) / 220); background: #5d6b2e; -webkit-mask: url(img/fiche/silhouette.svg) center bottom / contain no-repeat; mask: url(img/fiche/silhouette.svg) center bottom / contain no-repeat }
.gt-s b { font-weight: 400; font-size: 15px; margin-top: 6px } .gt-s span { font-size: 13px; color: var(--muted) } .gt-s small { font-size: 11px; color: var(--muted) }
.gt-s:hover b { color: var(--corten) }
.gt-p { cursor: default; flex: .6 1 0 } .gt-p svg { height: calc((100% - 52px) * 175 / 220); width: auto; fill: color-mix(in srgb, var(--ink) 35%, transparent) } .gt-p small { font-size: 12px; color: var(--muted); margin-top: 6px; height: 46px }
.gt-n { margin: 14px 0 0; font-size: 14px; color: var(--muted); text-align: center }
@media (max-width: 820px) { .gt { padding: 8px 12px 16px } .gt-s b { font-size: 13px } .gt-s span, .gt-s small { font-size: 10px } }
@media (max-width: 820px) {
  .fc { height: auto; padding-bottom: 24px }
  .fc-vue { flex: none; height: calc(100svh - var(--top-h) - 300px); min-height: 300px }
}
/* v157b — guide à l'échelle réelle (hauteur calculée), texte du panier lisible */
.gt-sc { height: auto; justify-content: center; gap: 6px; --H: 200px }
.gt-s, .gt-p { flex: 0 0 auto; height: auto }
.gt-arbre { width: calc(var(--H) * .686 * var(--h) / 220); max-width: none; height: calc(var(--H) * var(--h) / 220); align-self: center; -webkit-mask-size: 100% 100%; mask-size: 100% 100% }
.gt-p { width: 46px; flex: 0 0 46px } .gt-p svg { height: calc(var(--H) * 175 / 220) } .gt-p small { height: auto; margin-bottom: 44px; white-space: nowrap }
.gt-s b, .gt-s span, .gt-s small { white-space: nowrap }
.fc-panier { font-weight: 700; letter-spacing: .02em }
.gt img { display: block; width: 100%; height: auto; border-radius: 12px }
/* v159 — la vidéo se fond dans la page : le fond de la page prend la couleur que le navigateur affiche réellement
   pour la vidéo (lue dans l'image), et les bords de la vidéo s'estompent : plus de cadre, même sous Safari */
body.vitrine-page, body.vitrine-page .top, .vitrine { background: var(--fond-video) }
.vit2-vid video { -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 95%, transparent); mask-composite: intersect }
/* v161 — fiche : pastilles des teintes de la famille, au-dessus du choix de hauteur */
.fc-pastilles { display: flex; flex-wrap: wrap; gap: 10px; margin: 2px 0 2px }
.fc-past { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.18); flex: none; transition: transform .15s }
.fc-past:hover { transform: scale(1.1) }
.fc-past-on { outline: 2px solid var(--ink); outline-offset: 2px }
/* v162 — l'œil (vraie grandeur) ouvre la rangée des pastilles ; pastilles alignées sur le bas du cercle */
.fc-pastilles { align-items: flex-end }
.fc-pastilles .fc-oeil { width: 46px; height: 46px; margin-right: 6px }
.fc-pastilles .fc-oeil svg { width: 22px; height: 22px }
.fc-pastilles { gap: 8px }
/* v163 — hauteur/prix et guide des tailles côte à côte ; guide recadré, on choisit en touchant le sapin ou le prix */
.fc-deux { display: flex; gap: 8px }
.fc-deux .fc-taille-sel { flex: 1.7 1 0; min-width: 0 }
.fc-deux .fc-ts-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap }
.fc-guide-b { flex: 1 1 0; min-width: 0; padding: 12px 10px; border: 1.5px solid #fff; border-radius: 14px; background: rgba(255,255,255,.5); font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; white-space: nowrap }
.fc-guide-b:hover { background: rgba(255,255,255,.9) }
.fc-guide-l { display: none }
.gt { padding: 10px 18px 18px }
.gt-img { position: relative }
.gt-img img { display: block; width: 100%; height: auto; border-radius: 10px }
.gt-z { position: absolute; top: 0; bottom: 0; border: 0; background: transparent; cursor: pointer; border-radius: 10px; transition: background .15s }
.gt-z:hover, .gt-z:focus-visible { background: rgba(93,107,46,.10) }
.gt-z:disabled { cursor: not-allowed; background: rgba(255,255,255,.55) }
.gt-prix { position: relative; height: 34px; margin-top: 2px }
.gt-p { position: absolute; top: 0; transform: translateX(-50%); border: 1.5px solid var(--line); border-radius: 999px; background: #fff; padding: 4px 10px; font: inherit; font-size: 13px; color: var(--ink); cursor: pointer; white-space: nowrap }
.gt-p:hover { background: var(--ink); color: var(--paper) }
.gt-p:disabled { color: var(--muted); background: transparent; border-color: transparent; cursor: default }
@media (max-width: 820px) { .gt { padding: 8px 10px 14px } .gt-p { font-size: 11px; padding: 3px 6px } .fc-guide-b { font-size: 14px } .fc-deux .fc-taille-sel { padding: 12px 12px } }
/* v163b — prix en rangée régulière sous l'image ; boutons côte à côte resserrés */
.gt-prix { position: static; height: auto; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px }
.gt-p { position: static; transform: none; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 6px 2px; border-radius: 12px; line-height: 1.2 }
.gt-p b { font-weight: 400; font-size: 14px } .gt-p span { font-size: 12px; color: var(--muted) }
.gt-p:hover span { color: var(--paper) }
.gt-p:disabled span { font-size: 10px }
.fc-deux .fc-taille-sel { flex: 1 1 auto; padding: 12px 12px 12px 14px; gap: 6px }
.fc-guide-b { flex: 0 0 auto; padding: 6px 12px; font-size: 13px; line-height: 1.2; white-space: normal }
@media (max-width: 820px) { .gt-p b { font-size: 12px } .gt-p span { font-size: 10.5px } .fc-guide-b { font-size: 12.5px } }
.fc-taille-sel .chev { display: inline-block; flex: none; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); margin-right: 4px }
.fc-gt { width: min(900px, calc(100vw - 24px)) } @media (max-width: 820px) { .fc-gt .gt { padding: 6px 6px 12px } }
/* v165 — pastilles du guide pleine largeur ; bouton « Guide des tailles » jamais rogné */
.gt-p { width: 100%; min-width: 0; padding: 6px 4px }
.gt-n { text-align: center }
.fc-guide-b { flex: 0 0 auto; min-width: max-content; padding: 6px 14px }
.fc-deux .fc-taille-sel { min-width: 0 }
/* v166 — un seul bouton taille/prix : il ouvre le guide des tailles */
.fc-taille-b { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 9px 18px; border: 1.5px solid #fff; border-radius: 14px; background: rgba(255,255,255,.5); font: inherit; color: var(--ink); text-align: left; cursor: pointer; transition: background .2s }
.fc-taille-b:hover { background: rgba(255,255,255,.9) }
.fc-tb-t { display: flex; flex-direction: column; min-width: 0 }
.fc-tb-t > span { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.fc-tb-t small { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 2px }
.fc-taille-b .chev { display: inline-block; flex: none; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); margin-right: 4px }
.gt-p[aria-pressed="true"] { background: var(--ink); color: var(--paper) } .gt-p[aria-pressed="true"] span { color: var(--paper) }
/* v167 — rotation Blender dans la fiche : la vue garde toute la largeur (les images sont en position absolue) */
.fc-vue { align-self: stretch; width: 100% }
/* v168 — fiche : sapin en 3D libre exporté de Blender (GLB) */
.fc-glb { position: relative; width: 100%; height: 100%; touch-action: none }
.fc-glb canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; cursor: grab }
.fc-glb .fc-repli { position: absolute; inset: 0; margin: auto; height: 100%; width: auto; max-width: 100%; object-fit: contain; transition: opacity .4s }
.fc-glb.fc-glb-pret .fc-repli { opacity: 0; pointer-events: none }
.fc-glb .msg3d { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 13px; color: var(--muted); margin: 0 }
.fc-vue { align-self: stretch; width: 100% }
/* v169 — pastilles : l'œil à part, la rangée se replie sous la première teinte ; « P » personnalisable */
.fc-pastilles { align-items: flex-start; flex-wrap: nowrap }
.fc-past-l { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 12px; min-width: 0 }
.fc-past-p { display: grid; place-items: center; padding: 0; background: conic-gradient(#e2a52a, #bc4077, #063971, #5d6b2e, #b55a2a, #e2a52a); color: #fff; font: inherit; font-weight: 800; font-size: 16px; text-shadow: 0 1px 2px rgba(0,0,0,.5); cursor: pointer }
.fc-past-p[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px }
.fc.fc-perso .fc-past-on { outline: none }
/* mode « P » : légende, panier et prix remplacés par la demande de projet */
.fc-perso-t { display: none; margin: 0 }
.fc-perso-t b { display: block; font-weight: 400; font-size: 18px; margin-bottom: 4px }
.fc.fc-perso .fc-perso-t { display: block }
.fc.fc-perso .fc-perso-cache, .fc.fc-perso .fc-desc, .fc.fc-perso .fc-taille-b, .fc.fc-perso .fc-panier, .fc.fc-perso .fc-mentions, .fc.fc-perso .fc-alma, .fc.fc-perso .fc-oeil { display: none }
.fc-projet { display: none; align-items: center; justify-content: center; padding: 14px 18px; border-radius: 14px; background: var(--ink); color: var(--paper); font-size: 17px; font-weight: 700; text-decoration: none }
.fc.fc-perso .fc-projet { display: flex }
/* bouton « 3D » : ouvre la 3D libre en plein écran */
.fc-vue > .fc-3d { pointer-events: auto; cursor: pointer; font: inherit; color: var(--ink) }
.fc-vue > .fc-3d:hover { color: var(--corten) }
.fc-3d-plein { position: fixed; inset: 0; z-index: 60; background: var(--fond-video, #cdc7c0) }
.fc-3d-plein[hidden] { display: none }
.fc-3d-plein .fc-glb { position: absolute; inset: 0; width: 100%; height: 100% }
.fc-3d-x { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 14px); right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink); background: rgba(255,255,255,.6); color: var(--ink); font-size: 22px; line-height: 1; display: grid; place-items: center; cursor: pointer; padding: 0 }
.fc-3d-aide { position: absolute; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); margin: 0; text-align: center; font-size: 13px; color: var(--muted); pointer-events: none }
html.fc-3d-on, html.fc-3d-on body { overflow: hidden }
.perso-mail { color: var(--corten); font-weight: 700 }
.fc-3d-plein .fc-glb { top: calc(env(safe-area-inset-top, 0px) + 56px); bottom: calc(env(safe-area-inset-bottom, 0px) + 44px); height: auto }

/* v170 — panier lisible, vrai bouton « Explorer en 3D » */
.fc-panier { font-size: 20px; font-weight: 800; letter-spacing: .03em; padding: 15px 18px; text-shadow: 0 1px 2px rgba(0,0,0,.7), 0 0 8px rgba(0,0,0,.45) }
.fc-panier.fc-clair { color: var(--ink); text-shadow: 0 0 2px #fff, 0 0 10px rgba(255,255,255,.9) }
.fc-vue > .fc-3d { top: 8px; left: 8px; height: auto; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1.5px solid #fff; border-radius: 14px; background: rgba(255,255,255,.6); box-shadow: 0 2px 8px rgba(31,42,36,.12); font-size: 16px; font-weight: 600; color: var(--ink); transition: background .2s, transform .15s, box-shadow .15s }
.fc-vue > .fc-3d:hover { background: #fff; color: var(--ink); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(31,42,36,.18) }
.fc-nc { margin: 2px 0 0; font-size: 12px; color: var(--muted) }
@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 800; font-display: swap; src: url(fonts/m-plus-rounded-1c-latin-800-normal.woff2) format('woff2'); }
.fc-panier { font-family: 'M PLUS Rounded 1c', sans-serif; font-weight: 800 }
.fc-panier, .fc-panier span { font-weight: 800 !important }   /* exception à la graisse unique du site : demandé pour la lisibilité */
/* v171 — bouton « 3D » compact, flèche qui tourne ; desktop : bloc d'achat en bas, bouton 3D plus bas */
.fc-vue > .fc-3d { padding: 8px 14px; gap: 7px; font-size: 16px }
.fc-3d svg { animation: fc3dTourne 3.2s linear infinite; transform-origin: 50% 50% }
@keyframes fc3dTourne { to { transform: rotate(360deg) } }
@media (prefers-reduced-motion: reduce) { .fc-3d svg { animation: none } }
@media (min-width: 821px) { .fc { align-items: end } .fc-info { align-self: end } .fc-vue > .fc-3d { top: 56px } }
/* v172 — menu : familles sous « Sapins de Noël » */
.menu .nav .menu-fam { display: flex; flex-direction: column; padding: 2px 0 8px 14px; border-bottom: 1px solid var(--line) }
.menu .nav .menu-fam a { font-size: 16px; padding: 6px 0; border-bottom: 0; color: var(--ink) }
.menu .nav .menu-fam a[aria-current="page"] { color: var(--corten) }
.menu .nav > a:first-child { border-bottom: 0 }
/* v175 — « Commander » sous le prix de chaque tuile (l'image du sapin ne change pas) */
.vue-c { flex-basis: 100%; order: 4; display: block; margin-top: 6px; padding: 7px 10px; border: 1.5px solid #fff; border-radius: 12px; background: rgba(255,255,255,.5); font-size: 15px; color: var(--ink); text-align: center; transition: background .2s }
.vue-a:hover .vue-c { background: #fff }
@media (max-width: 820px) { .fam-g .vue-c { font-size: 13px; padding: 6px 8px; margin-top: 4px } }
.m11-t { margin: 0 0 4px; font-size: 16px; color: var(--ink) } .m11-t:empty { display: none }
/* v178 — films imprimés sous verre : vue 1:1 franche, comme les composites imprimés (plus de voile laiteux) */
.m11-verre.m11-motif .m11-f { opacity: 1 }
/* v179 — bouton 3D en bas à droite du sapin ; œil carré à droite du bouton des tailles ; réservation ; annonce d'ouverture */
.fc-vue > .fc-3d, .fc-vue > .fc-3d:hover { top: auto; left: auto; right: 8px; bottom: 8px }
@media (min-width: 821px) { .fc-vue > .fc-3d { top: auto } }
.fc-tr { display: flex; gap: 8px; align-items: stretch }
.fc-tr .fc-taille-b { flex: 1 1 auto; min-width: 0; width: auto }
.fc-tr .fc-oeil { flex: none; width: 58px; height: auto; min-height: 52px; border-radius: 14px; border: 1.5px solid #fff; margin: 0 }
.fc-tr .fc-oeil svg { width: 24px; height: 24px }
.fc-pastilles { align-items: center }
.fc-past-l { padding-top: 0 }
.fc.fc-perso .fc-tr .fc-oeil { display: none }
button.fc-panier { width: 100%; font: inherit; cursor: pointer }
button.fc-panier, button.fc-panier span { font-family: 'M PLUS Rounded 1c', 'Arial Rounded MT Bold', sans-serif; font-size: 25px; font-weight: 800; letter-spacing: .02em; line-height: 1.15 }   /* « Ajouter au panier » bien plus grand et en gras (22/11) : font:inherit ramenait le texte à 17 px */
.fc-res { max-width: 520px }
.res-f { display: grid; gap: 12px; padding: 4px 2px 6px }
.res-f label { display: grid; gap: 4px; font-size: 15px }
.res-f label small { color: var(--muted) }
.res-f input, .res-f textarea { font: inherit; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--sheet); color: var(--ink) }
.res-f input:focus, .res-f textarea:focus { outline: 2px solid var(--corten); outline-offset: 1px }
.res-sel { margin: 0; font-size: 19px }
.res-int { margin: 0; color: var(--muted); font-size: 14px }
.res-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }
.res-ok { font: inherit; font-weight: 700; padding: 14px; border: 0; border-radius: 14px; background: var(--ink); color: #fff; cursor: pointer }
.res-ok:disabled { opacity: .6 }
.res-etat { margin: 0; min-height: 1.2em; color: var(--corten) }
.res-merci { margin: 8px 0 12px; font-size: 17px }
.res-merci b { display: block; margin-bottom: 4px }
/* annonce d'ouverture : bandeau en tête, visible jusqu'au 10 novembre 2026 */
.ouv { display: none }
.ouv-on .ouv { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 34px; padding: 4px 44px; position: relative; background: var(--ink); color: #fff; font-size: 14px; text-align: center }
.ouv p { margin: 0 } .ouv b { font-weight: 700; color: #f0c27a }
.ouv-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 18px; line-height: 1; cursor: pointer }
:root.ouv-on { --top-h: 154px }
.ouv-on .top .wrap { min-height: calc(var(--top-h) - 34px) }
@media (max-width: 900px) { :root.ouv-on { --top-h: 126px } .ouv-on .ouv { font-size: 13px } .ouv-s { display: none } }
.home.ouv-on .ouv, .ouv-on .home .ouv { position: fixed; top: 0; left: 0; right: 0; z-index: 150 }
.res-f { padding: 4px 22px 20px }
/* v180 — annonce d'ouverture plus grande, permanente jusqu'au 10 novembre ; logo de l'accueil plus grand */
.ouv-on .ouv { min-height: 50px; padding: 6px 16px; font-size: 18px; gap: 6px 14px; flex-wrap: wrap }
.ouv-on .ouv p { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px }
.ouv b { font-size: 1.08em }
:root.ouv-on { --top-h: 170px }
.ouv-on .top .wrap { min-height: calc(var(--top-h) - 50px) }
@media (max-width: 900px) { .ouv-on .ouv { min-height: 58px; font-size: 15px; padding: 6px 12px } .ouv-on .ouv-s { display: block; font-size: 13.5px; opacity: .9 } .ouv-on .ouv p { flex-direction: column } :root.ouv-on { --top-h: 150px } .ouv-on .top .wrap { min-height: calc(var(--top-h) - 58px) } }
.h1-intro .h1-logo { font-size: 1.75em }
/* accueil : l'en-tête reste masqué, seule l'annonce s'affiche, posée en haut de la photo */
.ouv-on .home .top { display: block; position: fixed; top: 0; left: 0; right: 0; z-index: 150; background: none; border: 0; backdrop-filter: none }
.ouv-on .home .top .wrap { display: none }
.ouv-on .home .hero.foret .txt { margin-top: 50px }
@media (max-width: 900px) { .ouv-on .home .hero.foret .txt { margin-top: 58px } }
.ouv p { max-width: none }
/* v183 — tableau des données (Confidentialité) */
.tab-conf { width: 100%; border-collapse: collapse; font-size: 14px; margin: 8px 0 16px; display: block; overflow-x: auto }
.tab-conf th, .tab-conf td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid var(--line) }
.tab-conf th { font-weight: 400; color: var(--muted); white-space: nowrap }
@media (max-width: 600px) { .tab-conf, .tab-conf tbody, .tab-conf tr, .tab-conf td { display: block; width: 100% } .tab-conf thead { display: none }
  .tab-conf tr { border: 1px solid var(--line); border-radius: 12px; padding: 6px 12px; margin-bottom: 10px }
  .tab-conf td { border: 0; padding: 4px 0 } .tab-conf td::before { content: attr(data-l); display: block; font-size: 12px; color: var(--muted) } }
/* v184 — tant que l'annonce d'ouverture est affichée : sapin qui tourne un peu plus petit sur la page Sapins de Noël */
@media (min-width: 821px) { .ouv-on .vit3 { --vid-h: calc(100svh - var(--top-h) - 56px - 40px - 70px) } .ouv-on .vit3 .vit2-vid { height: calc(100svh - var(--top-h) - 160px); margin-top: 18px } }
@media (max-width: 820px) { .ouv-on .vit3 .vit2-vid { height: calc(100svh - var(--top-h) - 130px) } }
@media (max-width: 820px) { .ouv-on .vit3 .vit2-vid video { transform: scale(1.04); transform-origin: 50% 50% } }   /* le sapin entier, sans recadrage, tant que l’annonce est affichée */

.fc-port { margin: 0 0 8px; font-size: 14px; color: var(--muted) }
.fc-port b { color: var(--ink); font-weight: 700 }
.gt-port { margin: 8px 0 0; font-size: 13px; color: var(--muted); text-align: center }

/* onglet des langues (FR · EN · IT), à gauche du panier */
.lng{position:relative;margin-left:auto;flex:none;z-index:40}
.lng+.pan-ico{margin-left:2px}
.lng summary{list-style:none;cursor:pointer;height:44px;display:flex;align-items:center;gap:6px;padding:0 6px;font-weight:800;font-size:13px;letter-spacing:.08em;color:var(--ink);-webkit-user-select:none;user-select:none}
.lng summary::-webkit-details-marker{display:none}
.lng summary::after{content:"";width:6px;height:6px;border-right:1.7px solid currentColor;border-bottom:1.7px solid currentColor;transform:translateY(-2px) rotate(45deg)}
.lng[open] summary::after{transform:translateY(1px) rotate(-135deg)}
.lng-l{position:absolute;right:0;top:46px;display:flex;flex-direction:column;min-width:150px;background:var(--sheet,#fff);border:1px solid var(--line);border-radius:14px;padding:6px;box-shadow:0 14px 34px rgba(31,42,34,.12)}
.lng-l a{padding:9px 12px;border-radius:10px;text-decoration:none;color:var(--ink);font-size:15px}
.lng-l a:hover{background:var(--paper)}
.lng-l a[aria-current]{font-weight:800}
.lng-l a[aria-current]::after{content:" ✓";color:var(--corten,#a8532a)}
