/* Site Express Lorraine — Marc Pelluchon
   Feuille de style unique. Aucune police ni ressource externe : rien n'est
   envoyé à un tiers au chargement de la page (utile pour le RGPD). */

:root {
  --cream: #FFF5E1;
  --warm-white: #FFFDF7;
  --paper: #FFFFFF;
  --ink: #2A1810;
  --muted: #5A4032;
  --muted-2: #6B4E3D;
  --accent: #C2410C;
  --accent-dark: #9A3412;
  --sun: #F2B705;
  --line: #EBD3AE;
  --line-2: #E2C79A;
  --soft: #F2E2C3;
  --sand: #F7E7C8;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --f-head: "Trebuchet MS", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --wrap: 1120px;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 17px/1.55 var(--f-body);
  overflow-x: clip;
}

img, svg { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none;
}
.skip:focus { top: 12px; color: #fff; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 { font-family: var(--f-head); letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.1; font-weight: 700; }
h3 { font-size: 22px; line-height: 1.2; }
p { margin: 0; }
.muted { color: var(--muted); }

.ic { width: 18px; height: 18px; flex: none; margin-top: 4px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ic--sun { stroke: var(--sun); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 245, 225, 0.92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px -16px rgba(42, 24, 16, 0.5); }
.header-in { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 20px var(--f-head); letter-spacing: -0.01em; }
.brand:hover { color: var(--ink); }
.brand svg { width: 28px; height: 28px; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 10px 0; background: linear-gradient(var(--accent), var(--accent)) left bottom 8px / 0 2px no-repeat; transition: background-size .25s ease; }
.site-nav a:hover, .site-nav a[aria-current] { background-size: 100% 2px; color: var(--ink); }
.site-nav a.nav-cta { background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 8px; transition: translate .15s ease, background-color .2s; }
.site-nav a.nav-cta:hover { background: var(--accent); color: #fff; translate: 0 -2px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 14px 26px; border-radius: 10px;
  font-weight: 600; text-decoration: none; text-align: center; border: 2px solid transparent;
  transition: transform .2s ease-out, translate .15s ease, background-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { translate: 0 -2px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 22px -12px rgba(194, 65, 12, .9); }
.btn--primary:hover { background: var(--accent-dark); color: #fff; }
.btn--line { color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #ffc92e; color: var(--ink); }

/* ---------- Accroche ---------- */
.hero { position: relative; --mx: 72%; --my: 30%; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(242, 183, 5, 0.22), transparent 70%);
}
.hero-in { position: relative; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 40px; padding-bottom: 64px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; font-weight: 700; letter-spacing: -0.025em; }
.hl { background: var(--sun); padding: 0 8px; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.lead { font-size: 19px; max-width: 540px; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-size: 15px; color: var(--muted-2); }
.hero-note strong { color: var(--ink); }

.hero-visual { flex: 1 1 340px; min-width: 0; position: relative; padding: 24px 0; }
[data-depth] { transition: transform .3s ease-out; will-change: transform; }
.sun { position: absolute; right: 0; top: 0; width: 150px; height: 150px; border-radius: 50%; background: var(--sun); animation: pulse 5s ease-in-out infinite; }
.mock { position: relative; z-index: 1; margin: 0 16px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 24px 48px -28px rgba(42, 24, 16, .5); animation: floaty 6s ease-in-out infinite; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--sand); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.mock-bar span { flex: 1; margin-left: 10px; background: #fff; border-radius: 999px; padding: 4px 14px; font-size: 12px; color: var(--muted-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mock-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.mock-tag { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.mock-title { font: 700 26px/1.15 var(--f-head); letter-spacing: -0.01em; }
.mock-line { height: 8px; border-radius: 4px; background: var(--soft); }
.mock-btn { align-self: flex-start; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: 8px; }
.mock-tiles { display: flex; gap: 10px; margin-top: 6px; }
.mock-tiles div { flex: 1; height: 74px; border-radius: 8px; background: var(--soft); }
.mock-tiles div:last-child { background: var(--sun); }

@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-text > * { animation: rise .7s ease-out both; }
.hero-text > *:nth-child(2) { animation-delay: .08s; }
.hero-text > *:nth-child(3) { animation-delay: .16s; }
.hero-text > *:nth-child(4) { animation-delay: .24s; }
.hero-text > *:nth-child(5) { animation-delay: .32s; }

/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--ink); color: #FFE2A0; overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; flex: none; list-style: none; margin: 0; padding: 0; }
.marquee-group li { display: flex; align-items: center; gap: 28px; padding-right: 28px; font: 700 20px var(--f-head); white-space: nowrap; }
.marquee-group li::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sun); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Atouts ---------- */
.perks { background: var(--warm-white); border-top: 1px solid #EEDCBB; border-bottom: 1px solid #EEDCBB; }
.perks-in { display: flex; flex-wrap: wrap; gap: 28px 32px; padding-top: 36px; padding-bottom: 36px; }
.perk { flex: 1 1 220px; min-width: 0; display: flex; gap: 12px; align-items: flex-start; }
.perk svg { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.perk strong { display: block; }
.perk span { font-size: 15px; color: var(--muted-2); }

/* ---------- Sections ---------- */
.section { padding-top: 80px; }
.section--tight { padding-top: 72px; }

/* Cartes interactives (survol souris) */
.card { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }
.card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s ease;
  background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 50%), rgba(242, 183, 5, .24), transparent 70%);
}
.card:hover::after { opacity: 1; }
[data-tilt] {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: opacity .7s ease var(--d, 0s), translate .7s ease var(--d, 0s), transform .2s ease-out, box-shadow .25s ease;
  will-change: transform;
}
[data-tilt]:hover { box-shadow: 0 26px 40px -26px rgba(42, 24, 16, .55); }

/* Qui je suis */
.about { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.about-text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.about-id { display: flex; align-items: center; gap: 16px; }
.avatar { flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font: 700 26px var(--f-head); }
.about-name { font: 700 24px var(--f-head); }
.about-role { font-size: 15px; color: var(--muted-2); }
.quote { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 24px; font: 500 20px/1.35 var(--f-head); }
.values { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.values h3 { font-size: 19px; color: var(--accent); margin-bottom: 2px; }
.values p { color: var(--muted); font-size: 16px; }

/* Pour qui */
.stack-24 { display: flex; flex-direction: column; gap: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.chips li { padding: 10px 18px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line-2); font-weight: 500; font-size: 16px; transition: background-color .2s, color .2s, translate .2s; }
.chips li:hover { background: var(--ink); color: #fff; translate: 0 -3px; }

/* Étapes */
.steps { display: flex; flex-wrap: wrap; gap: 32px; }
.step { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--ink); padding-top: 16px; position: relative; }
.step::before { content: ""; position: absolute; left: 0; top: -3px; height: 3px; width: 0; background: var(--accent); transition: width .5s ease; }
.step:hover::before { width: 100%; }
.step-n { font: 700 44px/1 var(--f-head); color: var(--accent); }
.step p { color: var(--muted); }

.why { display: flex; flex-wrap: wrap; gap: 32px; }
.why > div { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--ink); padding-top: 16px; }
.why h3 { font-size: 24px; }
.why p { color: var(--muted); }

/* Référencement */
.seo { background: var(--paper); border-top: 1px solid #EEDCBB; border-bottom: 1px solid #EEDCBB; margin-top: 80px; }
.seo-in { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 64px; padding-bottom: 64px; }
.seo-intro { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.seo-intro p { color: var(--muted); }
.frank { background: var(--cream); border-radius: 14px; padding: 18px 20px; color: var(--muted); font-size: 16px; }
.seo-list { flex: 1 1 460px; min-width: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid #EEDCBB; }
.seo-list li { padding: 16px 12px; border-bottom: 1px solid #EEDCBB; transition: background-color .2s, padding-left .25s ease; }
.seo-list li:hover { background: var(--warm-white); padding-left: 20px; }
.seo-list strong { display: block; font-weight: 600; }
.seo-list span { font-size: 16px; color: var(--muted); }

/* Nos derniers projets : la page défile dans la carte au passage de la souris */
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr)); gap: 24px; margin-top: 8px; }
.proj {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  color: var(--ink); text-decoration: none;
  transition: opacity .7s ease var(--d, 0s), translate .7s ease var(--d, 0s), transform .25s ease-out, box-shadow .25s ease;
}
.proj:hover, .proj:focus-visible { transform: translateY(-4px); box-shadow: 0 26px 40px -26px rgba(42, 24, 16, .55); color: var(--ink); }
.proj-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--sand); border-bottom: 1px solid var(--line); }
.proj-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); }
.proj-bar span { flex: 1; margin-left: 8px; background: #fff; border-radius: 999px; padding: 2px 12px; font-size: 11px; color: var(--muted-2); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.proj-view { position: relative; aspect-ratio: 2.1 / 1; container-type: size; overflow: hidden; background: #fff; }
.pg { transition: transform .9s ease; will-change: transform; font-size: 10px; line-height: 1.35; }
.proj:hover .pg, .proj:focus-visible .pg { transform: translateY(min(0px, calc(-100% + 100cqh))); transition-duration: 7s; transition-timing-function: cubic-bezier(.45, .05, .4, 1); }
.pg img { display: block; width: 100%; height: auto; transform-origin: 50% 0; transition: transform 7s ease; }
.pg img.still { height: 100cqh; object-fit: cover; object-position: 50% 0; }
/* Capture d'écran de la page d'accueil : léger zoom au survol. Une capture pleine page plus haute que la fenêtre défile à la place. */
.proj:hover .pg img.still, .proj:focus-visible .pg img.still { transform: scale(1.08); }
.pg-nav { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: #fff; border-bottom: 1px solid var(--soft); font-weight: 700; letter-spacing: .04em; font-size: 9px; }
.pg-nav span { display: flex; gap: 5px; }
.pg-nav b { width: 22px; height: 4px; border-radius: 2px; background: var(--line-2); display: block; }
.pg-hero { padding: 22px 14px 20px; background: var(--hero, var(--sand)); display: flex; flex-direction: column; gap: 8px; }
.pg-h1 { font: 700 17px/1.15 var(--f-head); letter-spacing: -0.01em; }
.pg-sub { font-size: 10px; color: var(--muted); }
.pg-btn { align-self: flex-start; background: var(--ink); color: #fff; font-weight: 600; font-size: 9px; padding: 5px 10px; border-radius: 6px; }
.pg-sec { padding: 16px 14px; display: flex; flex-direction: column; gap: 7px; border-bottom: 1px solid var(--soft); }
.pg-sec:nth-child(even) { background: var(--warm-white); }
.pg-t { font: 700 12px var(--f-head); }
.pg-line { height: 5px; border-radius: 3px; background: var(--soft); }
.pg-tiles { display: flex; gap: 6px; }
.pg-tiles div { flex: 1; height: 46px; border-radius: 6px; background: var(--soft); }
.pg-tiles div:nth-child(2) { background: var(--sand); }
.pg-tiles div:nth-child(3) { background: var(--line); }
.pg-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.pg-chips span { padding: 3px 8px; border-radius: 999px; background: var(--sand); font-size: 9px; font-weight: 600; }
.proj-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; }
.proj-body h3 { font-size: 20px; }
.proj-body p { font-size: 15px; color: var(--muted); }
.proj-link { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--accent); }
.proj:hover .proj-link { text-decoration: underline; text-underline-offset: 3px; }
.proj-note { font-size: 14px; color: var(--muted-2); margin-top: 20px; }
@keyframes pgscroll { to { transform: translateY(min(0px, calc(-100% + 100cqh))); } }
@keyframes kenburns { to { transform: scale(1.08); } }
@media (hover: none) { .pg { animation: pgscroll 16s ease-in-out infinite alternate; } .pg img.still { animation: kenburns 12s ease-in-out infinite alternate; } }

/* Offres */
.offers-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.offers-head p { color: var(--muted); max-width: 640px; }
.offers { display: flex; flex-wrap: wrap; gap: 20px; align-items: stretch; }
.offer { flex: 1 1 290px; min-width: 0; background: var(--paper); border: 1px solid var(--line-2); border-radius: 16px; padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.offer::after { border-radius: 16px; }
.offer h3 { font-size: 24px; }
.offer-sub { font-size: 15px; color: var(--muted-2); }
.offer-price { font: 700 40px var(--f-head); letter-spacing: -0.02em; }
.offer ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 16px; }
.offer li { display: flex; gap: 10px; }
.offer .btn { margin-top: auto; }
.offer--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.offer--dark .offer-sub { color: #F0D9BC; }
.offer-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge { background: var(--sun); color: var(--ink); font: 700 12px var(--f-body); letter-spacing: .06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }

/* Après la livraison */
.after { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 8px 28px; }
.after-row { display: flex; flex-wrap: wrap; gap: 6px 32px; padding: 22px 0; border-bottom: 1px solid var(--soft); }
.after-row:last-child { border-bottom: 0; }
.after-row h3 { flex: 1 1 220px; min-width: 0; font-size: 19px; }
.after-row p { flex: 3 1 320px; min-width: 0; color: var(--muted); font-size: 16px; }
.after-row p strong { color: var(--ink); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq-list { border-top: 1px solid #DDC194; margin-top: 24px; }
details { border-bottom: 1px solid #DDC194; }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 18px; min-height: 44px; transition: color .2s; }
summary::-webkit-details-marker { display: none; }
summary:hover { color: var(--accent); }
summary svg { width: 20px; height: 20px; flex: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; fill: none; transition: transform .25s ease; }
details[open] summary svg { transform: rotate(45deg); }
details p { margin: 0 0 20px; color: var(--muted); }

/* Contact */
.contact { background: var(--ink); color: #fff; margin-top: 88px; }
.contact-in { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.contact-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact h2 { font-size: clamp(30px, 4.5vw, 46px); line-height: 1.08; }
.contact-text p { font-size: 18px; color: #F0D9BC; max-width: 520px; }
.contact-cards { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-card { background: #fff; color: var(--ink); border-radius: 14px; padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.contact-card .label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.contact-card a { font: 700 24px var(--f-head); color: var(--ink); text-decoration: none; overflow-wrap: anywhere; transition: color .2s; }
.contact-card a:hover { color: var(--accent); }
.contact-card strong { font: 700 22px/1.25 var(--f-head); }
.contact-card span.txt { font-size: 16px; color: var(--muted); }
.contact-note { font-size: 15px; color: #F0D9BC; }
.contact .hover-lift { transition: translate .2s ease; }
.contact .hover-lift:hover { translate: 0 -3px; }

/* Pied de page */
.site-footer { background: var(--ink); color: #D2B997; font-size: 14px; }
.footer-in { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; padding-top: 0; padding-bottom: 32px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a, .site-footer button { color: #F0D9BC; background: none; border: 0; padding: 6px 0; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.site-footer a:hover, .site-footer button:hover { color: #fff; }

/* ---------- Pages légales ---------- */
.legal { max-width: 780px; padding-top: 56px; padding-bottom: 24px; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.08; margin-bottom: 12px; }
.legal h2 { font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 22px; margin: 12px 0 0; display: flex; flex-direction: column; gap: 8px; }
.legal .updated { font-size: 15px; color: var(--muted-2); }
.legal dl { margin: 12px 0 0; display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 10px 20px; }
.legal dt { font-weight: 600; color: var(--ink); }
.legal dd { margin: 0; color: var(--muted); }
.legal .table-wrap { overflow-x: auto; margin-top: 16px; }
.legal table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: 15px; background: var(--paper); }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid var(--line); color: var(--muted); }
.legal th { background: var(--sand); color: var(--ink); }
.todo { background: #FFE08A; color: var(--ink); padding: 0 5px; border-radius: 4px; font-weight: 600; }
.back { display: inline-block; margin-bottom: 20px; font-size: 15px; }
@media (max-width: 560px) { .legal dl { grid-template-columns: minmax(0, 1fr); gap: 2px; } .legal dd { margin-bottom: 10px; } }

/* ---------- Bandeau cookies ---------- */
.cookie {
  position: fixed; z-index: 200; left: 16px; bottom: 16px; width: min(460px, calc(100vw - 32px));
  background: #fff; color: var(--ink); border: 1px solid var(--line-2); border-radius: 16px; padding: 20px 22px;
  box-shadow: 0 24px 60px -20px rgba(42, 24, 16, .55);
  margin-bottom: env(safe-area-inset-bottom, 0px);
  opacity: 0; transform: translateY(20px); transition: opacity .3s ease, transform .3s ease;
}
.cookie.is-in { opacity: 1; transform: none; }
.cookie[hidden] { display: none; }
.cookie h2 { font-size: 19px; margin-bottom: 8px; }
.cookie p { font-size: 15px; color: var(--muted); }
.cookie-panel { margin-top: 14px; padding: 14px; background: var(--cream); border-radius: 12px; }
.cookie-opt { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.cookie-opt input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.cookie-opt small { display: block; font-size: 13px; color: var(--muted-2); margin-top: 2px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 16px; }
.cookie-btn { flex: 1 1 130px; min-height: 46px; padding: 10px 16px; border-radius: 10px; font: 600 15px var(--f-body); cursor: pointer; background: var(--ink); color: #fff; border: 2px solid var(--ink); transition: background-color .2s, border-color .2s; }
.cookie-btn:hover { background: var(--accent); border-color: var(--accent); }
.cookie-link { flex: 1 1 100%; min-height: 40px; background: none; border: 0; color: var(--ink); font: 600 15px var(--f-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cookie-link:hover { color: var(--accent); }

/* ---------- Apparition au défilement ---------- */
.js .reveal { opacity: 0; translate: 0 26px; transition: opacity .7s ease var(--d, 0s), translate .7s ease var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; translate: none; }
  .proj:hover .pg, .proj:focus-visible .pg, .proj:hover .pg img.still, .proj:focus-visible .pg img.still { transform: none; }
  .marquee-track { width: auto; flex-wrap: wrap; }
  .marquee-group[aria-hidden="true"] { display: none; }
  .marquee-group { flex-wrap: wrap; row-gap: 8px; }
  .cookie { opacity: 1; transform: none; }
}

@media (max-width: 640px) {
  .site-nav { gap: 0 16px; font-size: 14px; }
  .site-nav a.nav-cta { padding: 9px 14px; }
  .sun { width: 110px; height: 110px; }
  .cookie { left: 12px; bottom: 12px; width: calc(100vw - 24px); }
}
