/* ==========================================================
   Dr7.fr — refonte 2026 (graffiti / sticker / affiche collée)
   Pas de Bootstrap / jQuery / Font Awesome.
   ========================================================== */

:root {
	--ink: #151412;
	--paper: #ECE9E2;
	--paper-light: #FAF8F3;
	--pink: #FF4F9A;
	--yellow: #FFE14D;
	--blue: #3B6BFF;
	--green: #2FD08A;
	--orange: #FF7A2F;
	--tape: rgba(255, 255, 255, .65);
	--tape-border: rgba(21, 20, 18, .08);

	--f-display: 'Bowlby One', 'Arial Black', sans-serif;
	--f-marker: 'Permanent Marker', cursive;
	--f-text: 'Archivo', system-ui, sans-serif;

	--gutter: clamp(16px, 4vw, 48px);
	--b: 3px solid var(--ink);
	--ease: .25s ease;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }

body {
	margin: 0;
	min-height: 100vh;
	font-family: var(--f-text);
	color: var(--ink);
	background-color: var(--paper);
	background-image: radial-gradient(rgba(21, 20, 18, .13) 1px, transparent 1.2px);
	background-size: 16px 16px;
	overflow-x: hidden;
	-webkit-tap-highlight-color: transparent;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; display: block; }
/* <picture> transparent pour la mise en page : les règles « .xxx img » s’appliquent telles quelles */
picture { display: contents; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; }
a:hover { color: var(--pink); }
::selection { background: var(--yellow); color: var(--ink); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

button { font: inherit; color: inherit; cursor: pointer; }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); border: var(--b); padding: 8px 14px; font-weight: 800; }
.skip:focus { top: 12px; }

.wrap { max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 1280px; }

.label { font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; }
.dot { color: var(--pink); }

/* Scotch */
.tape {
	position: absolute; z-index: 3; height: 28px; width: 96px;
	background: var(--tape); border: 1px solid var(--tape-border);
	pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 40;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 12px var(--gutter);
	padding-top: max(12px, env(safe-area-inset-top));
	background: var(--paper);
	border-bottom: var(--b);
}

.logo {
	font-family: var(--f-display); font-size: 30px; line-height: 1;
	letter-spacing: -.5px; text-decoration: none; color: var(--ink);
	display: flex; align-items: baseline;
}
.logo:hover { color: var(--ink); }
/* Logo unifié : D orange, r7 jaune, .fr noir */
.logo-d { color: var(--orange); -webkit-text-stroke: 1.5px var(--ink); }
.logo-r7 { color: var(--yellow); -webkit-text-stroke: 1.5px var(--ink); }
.logo-fr { color: var(--ink); margin-left: -.07em; }

.site-nav { display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; gap: 4px; margin-right: 6px; }
.nav-links a {
	display: block; padding: 8px 14px; text-decoration: none;
	font-weight: 800; font-size: 14px; letter-spacing: 1px; text-transform: uppercase;
}
.nav-links a:hover, .nav-links a[aria-current] { background: var(--ink); color: var(--paper); }

.btn-menu, .btn-install {
	border: var(--b); box-shadow: 4px 4px 0 var(--ink);
	transition: transform var(--ease), box-shadow var(--ease);
}
.btn-menu {
	padding: 9px 16px; background: var(--yellow);
	font-family: var(--f-marker); font-size: 18px; line-height: 1;
	transform: rotate(-2deg);
}
.btn-menu:hover { transform: rotate(0) translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-install {
	padding: 9px 14px; background: var(--green);
	font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 1px;
}
.btn-install:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn-install[hidden] { display: none; }

/* ---------- Accueil : hero ---------- */
.hero {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: clamp(40px, 6vw, 80px);
	align-items: center;
	padding-top: clamp(32px, 6vw, 80px);
	padding-bottom: clamp(40px, 6vw, 72px);
}
.hero-text { position: relative; }

.hero-tag {
	position: relative; z-index: 2; display: inline-block;
	margin: 0 0 -8px 8px;
	font-family: var(--f-marker); font-size: clamp(28px, 4vw, 44px);
	color: var(--pink); transform: rotate(-6deg);
}

.dr7 {
	position: relative; z-index: 1;
	font-family: var(--f-display); font-weight: 400;
	font-size: clamp(130px, 24vw, 300px); line-height: .86; letter-spacing: -.02em;
	margin-bottom: clamp(70px, 9vw, 100px);
}
.dr7-shadow, .dr7-face { display: block; -webkit-text-stroke: 4px var(--ink); }
.dr7-shadow { position: absolute; left: 12px; top: 12px; color: var(--pink); }
.dr7-face { position: relative; color: var(--yellow); }

/* Coulures, positionnées en em : elles suivent la taille du lettrage */
.drip {
	position: absolute;
	width: var(--w, 12px);
	border: var(--b); border-top: none;
	border-radius: 0 0 8px 8px;
}
.drip.pink { z-index: -1; top: .78em; height: calc(.06em + var(--h)); background: var(--pink); }
.drip.yellow { z-index: 2; top: .72em; height: var(--h); background: var(--dc, var(--yellow)); border-radius: 0 0 10px 10px; }
/* « Patchs » jaunes qui masquent le contour de la lettre à la jonction */
.drip.yellow::before, .drip.yellow::after { content: ""; position: absolute; top: 0; background: var(--dc, var(--yellow)); z-index: 1; }
.drip.yellow::before { left: -3px; width: var(--w, 12px); height: .046em; }
.drip.yellow::after { left: 0; width: calc(var(--w, 12px) - 6px); height: .058em; }

/* Les coulures « coulent » au chargement : d'abord les jaunes (devant), puis les roses */
.drip { animation: drip-flow var(--dur, 1.8s) cubic-bezier(.6, .05, .35, 1) var(--delay, .4s) both; }
.drips .drip:nth-child(1) { --delay: 1.05s; --dur: 1.6s; }
.drips .drip:nth-child(2) { --delay: 1.3s;  --dur: 2s; }
.drips .drip:nth-child(3) { --delay: 1.15s; --dur: 1.3s; }
.drips .drip:nth-child(4) { --delay: .35s;  --dur: 1.9s; }
.drips .drip:nth-child(5) { --delay: .7s;   --dur: 1.4s; }
.drips .drip:nth-child(6) { --delay: .5s;   --dur: 2.4s; }
@keyframes drip-flow {
	0%  { height: 0; opacity: 0; }
	6%  { opacity: 1; }
}

.now {
	display: inline-flex; flex-direction: column; gap: 6px; max-width: 100%;
	margin-top: 28px; padding: 16px 22px;
	background: var(--ink); color: var(--paper);
	transform: rotate(1.5deg); box-shadow: 6px 6px 0 var(--pink);
}
.now-title { font-family: var(--f-marker); font-size: 20px; color: var(--yellow); }
/* « En ce moment… » et photo à la une : liens vers le projet du moment */
a.now { text-decoration: none; transition: transform var(--ease), box-shadow var(--ease); }
a.now:hover, a.now:focus-visible { color: var(--paper); transform: rotate(0) translate(-3px, -3px); box-shadow: 9px 9px 0 var(--pink); }
.now-title, .now-text { display: block; }
.now-arrow { display: inline-block; color: var(--pink); transition: transform var(--ease); }
a.now:hover .now-arrow { transform: translateX(6px); }
a.frame { display: block; transition: transform var(--ease), box-shadow var(--ease); }
a.frame:hover, a.frame:focus-visible { transform: rotate(0) translate(-4px, -4px); box-shadow: 16px 16px 0 var(--ink); }
.now-text { font-weight: 800; font-size: clamp(18px, 2.2vw, 24px); text-wrap: pretty; }

.hero-feature { position: relative; padding: 10px; }
.hero-feature .tape-a { top: -6px; right: 22%; width: 120px; height: 30px; transform: rotate(6deg); }
.hero-feature .tape-b { bottom: -4px; left: 12%; width: 100px; height: 28px; transform: rotate(-8deg); }
.frame {
	border: var(--b); background: var(--paper-light); padding: 12px;
	box-shadow: 12px 12px 0 var(--ink); transform: rotate(2deg);
}
.frame img {
	/* Format paysage plafonné en hauteur : l’image est recadrée (cover) plutôt que de dominer l’écran */
	width: 100%; aspect-ratio: 5 / 4; max-height: min(58vh, 520px); object-fit: cover; object-position: center 35%;
	border: var(--b); background: var(--paper);
}

/* ---------- Bandeau défilant (noms des projets, cliquables) ---------- */
.marquee {
	margin: 0 -60px; padding: 14px 0; overflow: hidden;
	background: var(--ink); border-block: var(--b);
	transform: rotate(-1.2deg);
}
/* 4 copies, déplacement de -50 % (= 2 copies) : même vitesse qu'avant, boucle sans fin */
.marquee-track { display: flex; width: max-content; animation: dr7-marquee 100s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-strip { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee-strip a {
	font-family: var(--f-display); font-size: 30px; text-transform: uppercase; white-space: nowrap;
	text-decoration: none; transition: color var(--ease), transform var(--ease);
}
.marquee-strip a:hover, .marquee-strip a:focus-visible { color: var(--paper); transform: skewX(-8deg); }
.marquee-strip i { flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); }
.m-pink { color: var(--pink); }
.m-yellow { color: var(--yellow); }
@keyframes dr7-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-top: clamp(56px, 8vw, 110px); padding-bottom: clamp(64px, 8vw, 120px); }
.section-page { padding-top: clamp(28px, 5vw, 64px); padding-bottom: clamp(64px, 8vw, 120px); }

.section-head {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap;
	margin-bottom: clamp(36px, 5vw, 64px);
}
.big-title {
	font-family: var(--f-display); font-weight: 400;
	font-size: clamp(56px, 10vw, 128px); line-height: .9; letter-spacing: -.01em;
}
.highlight { position: relative; z-index: 0; }
.highlight::after {
	content: ""; position: absolute; z-index: -1;
	left: -8px; right: 20%; bottom: 6px; height: 26px;
	background: var(--yellow); transform: skewX(-14deg) rotate(-1.5deg);
}
.see-list {
	font-family: var(--f-marker); font-size: 20px; text-decoration: none;
	border-bottom: var(--b); padding-bottom: 2px;
}

/* ---------- Cartes projet ---------- */
.project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
	gap: 48px 36px;
}
.project-card { position: relative; transform: rotate(var(--r, 0deg)); transition: transform var(--ease); }
.project-card:hover, .project-card:focus-within { transform: rotate(0) translate(-3px, -3px); }
.project-card .tape-top { top: -14px; left: 50%; margin-left: -48px; transform: rotate(-4deg); }

.card-body {
	display: block; text-decoration: none; color: var(--ink);
	border: var(--b); background: var(--c, var(--pink)); padding: 10px;
	box-shadow: 8px 8px 0 var(--ink);
}
.card-body:hover { color: var(--ink); }
.card-img { display: block; border: var(--b); background: var(--paper-light); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.ratio-45 { aspect-ratio: 4 / 5; }
.ratio-43 { aspect-ratio: 4 / 3; }

.card-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 4px 6px; }
.card-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.card-num { font-family: var(--f-marker); font-size: 16px; }
.card-name { font-family: var(--f-display); font-size: 22px; line-height: 1.05; text-transform: uppercase; text-wrap: pretty; overflow-wrap: anywhere; }
.card-name.small { font-size: 20px; }
.card-body:hover .card-name { text-decoration: underline; text-decoration-thickness: 3px; }
.round-arrow {
	flex: none; width: 44px; height: 44px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--ink); color: var(--paper); font-weight: 800; font-size: 20px;
}

/* ---------- Projet ---------- */
.back-link {
	display: inline-block; margin-bottom: 28px; text-decoration: none;
	font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 13px;
	border-bottom: 2px solid var(--ink);
}
.pr-meta { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.pr-num {
	font-family: var(--f-marker); font-size: 22px;
	background: var(--c); border: var(--b); padding: 4px 12px; transform: rotate(-3deg);
}
.pr-title {
	margin-bottom: clamp(36px, 5vw, 64px);
	font-family: var(--f-display); font-weight: 400;
	font-size: clamp(52px, 11vw, 150px); line-height: .9; letter-spacing: -.01em;
	text-transform: uppercase; text-wrap: balance; overflow-wrap: anywhere;
}
.pr-title .dot { color: var(--c); -webkit-text-stroke: 3px var(--ink); }

/* Texte riche issu de la base (description_pr / description_oe / qrtexte_pr) */
.rich { font-size: 17px; line-height: 1.6; max-width: 72ch; overflow-wrap: break-word; }
.rich img { height: auto; margin: 12px auto; border: var(--b); }
.rich a { font-weight: 600; }
.rich p, .rich div { margin-bottom: .4em; }
.rich [style*="font-size"] { font-size: inherit !important; }
.pr-desc { margin: -24px 0 clamp(40px, 5vw, 64px); }

.masonry { columns: 3 280px; column-gap: 36px; }
.work-card { break-inside: avoid; margin-bottom: 40px; padding: 4px; }
.work-card a {
	display: block; text-decoration: none; color: var(--ink);
	border: var(--b); background: var(--paper-light); padding: 8px;
	box-shadow: 6px 6px 0 var(--ink);
	transform: rotate(var(--r, 0deg)); transition: transform var(--ease), color var(--ease);
}
.work-card a:hover, .work-card a:focus-visible { transform: rotate(0) translate(-2px, -2px); color: var(--pink); }
.work-img { position: relative; display: block; border: 2px solid var(--ink); background: var(--c); }
.work-img img { width: 100%; height: 100%; object-fit: cover; }
.work-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 4px 4px; }
.work-name { font-weight: 800; font-size: 17px; line-height: 1.2; text-wrap: pretty; }
.work-see { flex: none; font-family: var(--f-marker); font-size: 16px; }

.flash-badge {
	position: absolute; right: -12px; top: -12px; z-index: 2;
	width: 74px; height: 74px; border-radius: 50%;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	background: var(--pink); color: var(--ink); border: var(--b);
	font-family: var(--f-marker); font-size: 13px; line-height: 1;
	transform: rotate(10deg); box-shadow: 3px 3px 0 var(--ink);
}
.flash-badge b { font-family: var(--f-display); font-weight: 400; font-size: 24px; }

/* Carte (Leaflet) */
.map {
	height: clamp(320px, 50vw, 480px); margin-top: 24px;
	border: var(--b); box-shadow: 8px 8px 0 var(--c, var(--ink));
	background: var(--paper-light); z-index: 0;
}
.map-wrap { padding-bottom: clamp(40px, 6vw, 80px); }
.map-pop { font-family: var(--f-text); font-weight: 800; }
.map-pop img { width: 180px; height: auto; margin-top: 6px; border: 2px solid var(--ink); }
.leaflet-container a.map-pop { color: var(--ink); }

/* ---------- Œuvre ---------- */
.art {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
	gap: clamp(36px, 5vw, 72px); align-items: start;
	padding-bottom: clamp(48px, 6vw, 80px);
}
.art-media { position: relative; padding: 8px; }
.art-media .tape-art { top: -8px; left: 18%; width: 110px; height: 30px; transform: rotate(-5deg); }
.art-frame {
	border: var(--b); background: var(--paper-light); padding: 12px;
	box-shadow: 12px 12px 0 var(--c), 12px 12px 0 3px var(--ink);
}
.art-frame img {
	width: 100%; height: auto; max-height: 82vh; object-fit: contain;
	border: 2px solid var(--ink); background: var(--paper);
}
.art-text { display: flex; flex-direction: column; gap: 22px; padding-top: 8px; min-width: 0; }

.pr-pill {
	align-self: flex-start; text-decoration: none; color: var(--ink);
	font-family: var(--f-marker); font-size: 20px;
	background: var(--c); border: var(--b); padding: 6px 14px;
	transform: rotate(-2deg); box-shadow: 4px 4px 0 var(--ink);
	transition: transform var(--ease);
}
.pr-pill:hover { color: var(--ink); transform: rotate(0) translate(-2px, -2px); }
.art-title {
	font-family: var(--f-display); font-weight: 400;
	font-size: clamp(44px, 6.5vw, 92px); line-height: .95; text-wrap: balance; overflow-wrap: anywhere;
}
.art-meta { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.pink-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }

.art-nav { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.btn {
	min-height: 48px; padding: 12px 20px; display: inline-flex; align-items: center;
	border: var(--b); text-decoration: none;
	font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 14px;
	transition: background var(--ease), color var(--ease);
}
.btn-prev { background: var(--paper-light); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); }
.btn-prev:hover { background: var(--yellow); color: var(--ink); }
.btn-next { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--pink); }
.btn-next:hover { background: var(--pink); color: var(--ink); }

.catch {
	align-self: flex-start; max-width: 100%;
	background: var(--yellow); border: var(--b); padding: 14px 18px;
	font-family: var(--f-marker); font-size: 18px; line-height: 1.4; text-align: center;
	transform: rotate(-1.5deg); box-shadow: 6px 6px 0 var(--pink);
}

.others { border-top: 3px dashed var(--ink); padding-top: clamp(40px, 6vw, 80px); }
.others-head { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 44px; }
.mid-title { font-family: var(--f-display); font-weight: 400; font-size: clamp(36px, 5vw, 64px); line-height: 1; }
.others-tag { font-family: var(--f-marker); font-size: 22px; color: var(--pink); transform: rotate(-3deg); }
.others-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 40px 32px;
}

/* ---------- Contact ---------- */
.contact { padding-top: clamp(32px, 6vw, 80px); }
.contact-title { position: relative; display: inline-block; margin-bottom: clamp(36px, 5vw, 64px); }
.huge-title {
	position: relative; z-index: 1;
	font-family: var(--f-display); font-weight: 400;
	font-size: clamp(64px, 13vw, 170px); line-height: .88;
}
.hello {
	position: absolute; right: -10px; top: -18px; z-index: 2;
	font-family: var(--f-marker); font-size: clamp(20px, 2.6vw, 30px);
	color: var(--paper); background: var(--blue); border: var(--b); padding: 4px 12px;
	transform: rotate(8deg);
}
.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: clamp(36px, 5vw, 72px); align-items: start;
}
.contact-form {
	display: flex; flex-direction: column; gap: 16px;
	background: var(--paper-light); border: var(--b);
	padding: clamp(18px, 3vw, 32px); box-shadow: 10px 10px 0 var(--ink);
}
.contact-form input, .contact-form textarea {
	width: 100%; font: inherit; font-size: 16px; color: var(--ink);
	padding: 14px 16px; min-height: 52px;
	border: var(--b); border-radius: 0; background: var(--paper);
	outline: none; -webkit-appearance: none; appearance: none;
	transition: background var(--ease);
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { background: var(--yellow); }
.contact-form ::placeholder { color: rgba(21, 20, 18, .55); }

.captcha { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.captcha img { border: var(--b); background: #fff; flex: none; }
.captcha input { flex: 1 1 160px; width: auto; text-align: center; letter-spacing: 4px; }

.btn-send {
	min-height: 56px; padding: 16px;
	font-family: var(--f-display); font-size: 22px; text-transform: uppercase;
	color: var(--ink); background: var(--pink);
	border: var(--b); box-shadow: 5px 5px 0 var(--ink);
	transition: background var(--ease);
}
.btn-send:hover { background: var(--yellow); }
.btn-send:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }

.form-msg {
	font-family: var(--f-marker); font-size: 20px;
	border: var(--b); padding: 10px 14px; transform: rotate(-1.5deg);
}
.form-msg.ok { background: var(--green); }
.form-msg.ko { background: var(--orange); }

.stickers { display: flex; flex-direction: column; gap: 22px; }
.sticker { border: var(--b); padding: 20px 22px; box-shadow: 6px 6px 0 var(--ink); }
.sticker .label { font-size: 12px; margin-bottom: 6px; }
.sticker-val { display: block; font-size: 20px; font-weight: 600; text-decoration: none; color: inherit; }
.s-yellow { background: var(--yellow); transform: rotate(-1.5deg); }
.s-green { background: var(--green); transform: rotate(1.2deg); margin-left: clamp(0px, 3vw, 32px); }
.s-green a:hover { color: var(--ink); text-decoration: underline; }
.s-ink { background: var(--ink); color: var(--paper); transform: rotate(-.8deg); box-shadow: 6px 6px 0 var(--pink); }
.s-ink .label { color: var(--yellow); }

/* ---------- Footer ---------- */
.site-footer {
	display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px;
	padding: clamp(40px, 6vw, 72px) var(--gutter);
	background: var(--ink); color: var(--paper);
}
.footer-logo { font-family: var(--f-display); font-size: clamp(56px, 10vw, 120px); line-height: .9; letter-spacing: -.02em; }
.footer-logo .logo-fr { color: var(--paper); }
.footer-side { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.footer-links { display: flex; gap: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; }
.footer-links a { color: var(--paper); text-decoration: none; }
.footer-links a:hover { color: var(--yellow); }
.copy { font-size: 13px; opacity: .8; }
.copy-mirror { display: inline-block; transform: scaleX(-1); }

/* ---------- Barre mobile ---------- */
.tabbar { display: none; }

@media (max-width: 759px) {
	.nav-links, .btn-menu { display: none; }
	.site-footer { padding-bottom: calc(clamp(40px, 6vw, 72px) + 96px); }

	/* Mobile : visuels moins hauts (recadrés) pour garder du rythme au scroll */
	.hero { gap: 32px; }
	.hero-feature { padding-right: 16px; }
	.frame { padding: 8px; box-shadow: 8px 8px 0 var(--ink); }
	.frame img { aspect-ratio: 4 / 3; max-height: 42vh; }
	.project-grid { gap: 36px; }
	.project-grid .ratio-45 { aspect-ratio: 16 / 10; }
	.card-bar { padding-top: 10px; }
	.footer-side { align-items: flex-start; }

	.tabbar {
		position: fixed; z-index: 45;
		left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
		display: grid; grid-template-columns: repeat(3, 1fr);
		background: var(--ink); border: var(--b); box-shadow: 5px 5px 0 var(--pink);
	}
	.tabbar a {
		min-height: 56px; display: flex; align-items: center; justify-content: center;
		color: var(--paper); text-decoration: none;
		font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: 13px;
	}
	.tabbar a[aria-current] { background: var(--yellow); color: var(--ink); }
	body.menu-open .tabbar a[aria-current] { background: none; color: var(--paper); }
	body.menu-open .tabbar a[data-menu-open] { background: var(--yellow); color: var(--ink); }

	.flash-badge { right: -6px; top: -10px; }
}

/* ---------- Menu plein écran ---------- */
.menu {
	position: fixed; inset: 0; z-index: 60; overflow-y: auto; overscroll-behavior: contain;
	background: var(--ink); color: var(--paper);
	padding: max(18px, env(safe-area-inset-top)) var(--gutter) 120px;
}
.menu[hidden] { display: none; }
.menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: clamp(24px, 4vw, 48px); }
.menu-title { font-family: var(--f-marker); font-size: 26px; color: var(--yellow); transform: rotate(-3deg); }
.menu-close {
	width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
	background: none; color: var(--paper); border: 3px solid var(--paper);
	font-weight: 800; font-size: 22px;
}
.menu-close:hover { background: var(--pink); color: var(--ink); border-color: var(--pink); }
.menu-list a {
	display: flex; align-items: baseline; gap: clamp(12px, 2vw, 24px);
	padding: 6px 0; border-bottom: 1px solid rgba(236, 233, 226, .18);
	color: var(--c); text-decoration: none;
	transition: transform var(--ease);
}
.menu-list a:hover, .menu-list a:focus-visible { transform: skewX(-8deg) translateX(12px); color: var(--c); }
.menu-num { flex: none; width: 2.2em; font-family: var(--f-marker); font-size: clamp(14px, 1.6vw, 20px); }
.menu-name { font-family: var(--f-display); font-size: clamp(30px, 6.4vw, 84px); line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.menu-contact {
	display: inline-block; margin-top: 36px; padding: 8px 18px;
	font-family: var(--f-display); font-size: clamp(26px, 4vw, 44px);
	background: var(--paper); color: var(--ink); text-decoration: none;
	transform: rotate(-2deg); transition: transform var(--ease);
}
.menu-contact:hover { color: var(--ink); background: var(--yellow); transform: rotate(0); }

/* ---------- Accueil : présentation ---------- */
.about { padding-bottom: clamp(64px, 8vw, 120px); }
.about-card {
	display: flex; flex-direction: column; align-items: flex-start; gap: 20px;
	max-width: 860px; padding: clamp(22px, 4vw, 44px);
	background: var(--yellow); border: var(--b); box-shadow: 10px 10px 0 var(--ink);
	transform: rotate(-1deg);
}
.about-text { font-size: clamp(18px, 2vw, 22px); font-weight: 600; line-height: 1.5; text-wrap: pretty; }

/* ---------- Sélecteur de langue ---------- */
.lang-switch { display: flex; gap: 6px; }
.lang-switch a {
	display: block; padding: 4px 8px; border: 2px solid rgba(236, 233, 226, .4);
	color: var(--paper); text-decoration: none; font-weight: 800; font-size: 12px; letter-spacing: 1px;
}
.lang-switch a:hover { border-color: var(--yellow); color: var(--yellow); }
.lang-switch a[aria-current] { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---------- 404 ---------- */
.notfound { padding-block: clamp(48px, 8vw, 120px); }
.notfound p { font-size: 20px; font-weight: 600; margin: 24px 0 32px; }

/* ---------- Apparition au scroll (activée par JS, voir dr7.js) ---------- */
.reveal-on [data-reveal] {
	opacity: 0; translate: 0 48px; scale: .92;
	transition: opacity .5s ease, translate .6s cubic-bezier(.2, 1.4, .4, 1), scale .6s cubic-bezier(.2, 1.4, .4, 1);
	transition-delay: var(--d, 0s);
}
.reveal-on [data-reveal].is-in { opacity: 1; translate: 0 0; scale: 1; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
	.marquee-track, .drip { animation: none; }
	.marquee { overflow-x: auto; scrollbar-width: none; }
	.marquee-strip + .marquee-strip { display: none; }
	*, *::before, *::after { transition: none !important; }
}

/* Champ piège anti-spam */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { min-height: 65px; }
