/* ==========================================================
   Said Tamaris — Maître ébéniste
   Palette : chêne blond, noyer, feuille d’or — pas de noir
   ========================================================== */
:root {
  --ink: #3b2415;
  --ink-2: #4a2e1a;
  --walnut: #563620;
  --cream: #f4e7d1;
  --cream-2: #eadbc0;
  --paper: #fffaf0;
  --text: #3d2a1b;
  --muted: #7a6149;
  --gold: #c9a45c;
  --gold-2: #e3c88c;
  --gold-3: #a8813c;
  --line: rgba(201, 164, 92, .35);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --chene: linear-gradient(rgba(251, 244, 231, .5), rgba(251, 244, 231, .5)), #f1e3c9 url('../img/bois-chene.webp') 0 0 / 1000px auto repeat;
  --miel: #c99a5e url('../img/bois-miel.webp') 0 0 / 1000px auto repeat;
  --noyer: #5b3a22 url('../img/bois-noyer.webp') 0 0 / 1000px auto repeat;
  --leaf: linear-gradient(160deg, #fbe7b3 0%, #dcb768 38%, #b98c3f 62%, #e9cd86 100%);
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1240px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--text);
  background: var(--chene); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: #e4c784; color: var(--ink); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 48px, 820px); }
.section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vw, 90px) 0; }
.section--dark { background: radial-gradient(ellipse at 50% -10%, rgba(255, 214, 160, .16), transparent 60%), linear-gradient(rgba(58, 34, 17, .28), rgba(58, 34, 17, .28)), var(--noyer); color: #f5e9d4; box-shadow: inset 0 14px 24px -14px rgba(40, 22, 10, .7), inset 0 -14px 24px -14px rgba(40, 22, 10, .7); }
.section--cream { background: linear-gradient(rgba(252, 243, 226, .58), rgba(252, 243, 226, .58)), var(--miel); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), inset 0 -1px 0 rgba(110, 70, 35, .25); }
.muted { color: var(--muted); font-size: .95rem; }

/* ---------- Typo ---------- */
h1, h2, h3, .h2, .h3 { font-family: var(--serif); font-weight: 420; font-variation-settings: 'SOFT' 100, 'WONK' 0; line-height: 1.06; letter-spacing: -.022em; margin: 0 0 .5em; }
h1 em, h2 em, h3 em, .h2 em { font-variation-settings: 'SOFT' 100, 'WONK' 1; font-weight: 380; }
.h2 { font-size: clamp(2.1rem, 4.3vw, 3.6rem); }
.h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
h1 em, h2 em, .h2 em { font-style: italic; color: #9a6b2c; }
.section--dark h2 em, .section--dark .h2 em, .hero em, .page-hero em, .cta-band em { color: var(--gold-2); }
.eyebrow {
  font-family: var(--sans); font-size: .76rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: #94652a; margin: 0 0 18px; display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ''; width: 9px; height: 9px; border: 1.5px solid currentColor; transform: rotate(45deg); flex: none; }
.eyebrow--light { color: var(--gold-2); }
.lead { font-family: var(--serif); font-size: clamp(1.2rem, 1.8vw, 1.45rem); line-height: 1.5; font-style: italic; font-weight: 350; color: var(--walnut); }

/* ---------- Boutons : plaques de feuille d’or et de bois, filet mouluré ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-radius: 10px;
  transition: transform .35s var(--ease), box-shadow .35s, color .35s, filter .35s; white-space: nowrap;
}
.btn svg { flex: none; transition: transform .35s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn::before { /* reflet qui file sur la surface, comme le passage du rabot */
  content: ''; position: absolute; inset: -2px auto -2px -60%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 246, 220, .55), transparent); transform: skewX(-18deg); opacity: 0;
}
.btn:hover::before { animation: sheen .9s var(--ease); }
@keyframes sheen { 0% { left: -60%; opacity: 1; } 100% { left: 120%; opacity: 1; } }
.btn:active { transform: translateY(1px); filter: brightness(.95); }
.btn--gold {
  background: var(--leaf); color: #3b2210;
  box-shadow: inset 0 0 0 1px rgba(255, 245, 215, .75), inset 0 0 0 4px rgba(214, 178, 104, .0), inset 0 0 0 5px rgba(120, 80, 28, .45), 0 12px 26px -12px rgba(120, 78, 25, .8);
  text-shadow: 0 1px 0 rgba(255, 240, 200, .6);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1px rgba(255, 245, 215, .75), inset 0 0 0 5px rgba(120, 80, 28, .45), 0 18px 30px -12px rgba(120, 78, 25, .9); }
.btn--ghost, .btn--ghost-dark {
  background: linear-gradient(rgba(70, 42, 20, .15), rgba(70, 42, 20, .15)), var(--noyer); background-size: auto, 700px auto; color: #fbeed6;
  box-shadow: inset 0 0 0 1px rgba(255, 225, 170, .22), inset 0 0 0 5px rgba(50, 28, 12, .35), inset 0 0 0 6px rgba(201, 164, 92, .7), 0 12px 26px -14px rgba(30, 14, 4, .9);
  text-shadow: 0 -1px 0 rgba(30, 14, 4, .6);
}
.btn--ghost:hover, .btn--ghost-dark:hover { transform: translateY(-2px); color: var(--gold-2); }
.btn--outline {
  background: linear-gradient(rgba(255, 240, 210, .12), rgba(255, 240, 210, .12)), var(--miel); background-size: auto, 700px auto; color: #3e2410;
  box-shadow: inset 0 0 0 1px rgba(255, 240, 210, .5), inset 0 0 0 5px rgba(120, 75, 30, .25), inset 0 0 0 6px rgba(120, 75, 30, .55), 0 12px 24px -14px rgba(90, 55, 20, .8);
  text-shadow: 0 1px 0 rgba(255, 235, 200, .55);
}
.btn--outline:hover { transform: translateY(-2px); }
.section--dark .btn--outline { color: #3e2410; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn-row--center { justify-content: center; }
/* Arrivée des boutons : ils se « dégagent » de gauche à droite, comme un copeau sous le rabot */
.js .btn[data-plane] { clip-path: inset(-20% 100% -20% -2%); transition: clip-path 1.05s cubic-bezier(.65, 0, .25, 1) var(--bd, 0ms), transform .35s var(--ease), box-shadow .35s; }
.js .btn[data-plane].is-planed { clip-path: inset(-20% -6% -20% -2%); }
.js .btn[data-plane].is-planed::before { animation: sheen 1.1s var(--ease) calc(var(--bd, 0ms) + .35s) both; }
.js .btn[data-plane] > * { opacity: 0; transform: translateX(-10px); transition: opacity .6s, transform .6s var(--ease); transition-delay: calc(var(--bd, 0ms) + .45s); }
.js .btn[data-plane].is-planed > * { opacity: 1; transform: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8e5f25; padding-bottom: 4px; background: var(--leaf) 0 100% / 30px 2px no-repeat; transition: background-size .5s var(--ease); }
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow svg { transition: transform .35s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: linear-gradient(rgba(62, 37, 19, .35), rgba(62, 37, 19, .35)), var(--noyer); color: var(--cream); box-shadow: inset 0 -2px 0 rgba(201, 164, 92, .55); transition: background .4s, height .4s, box-shadow .4s; }
.header--over { position: fixed; inset: 0 0 auto 0; background: transparent; }
.header--over:not(.is-scrolled) { box-shadow: none; }
.header.is-scrolled { background: linear-gradient(rgba(62, 37, 19, .3), rgba(62, 37, 19, .3)), var(--noyer); height: 70px; box-shadow: inset 0 -2px 0 rgba(201, 164, 92, .55), 0 12px 28px -18px rgba(50, 28, 12, .9); }
.header__inner { height: 100%; width: min(100% - 48px, 1400px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 50px; height: 50px; flex: none; filter: drop-shadow(0 2px 2px rgba(40, 20, 5, .45)); transition: transform 1.2s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; font-variation-settings: 'SOFT' 100, 'WONK' 1; letter-spacing: -.01em; }
.logo__sub { font-size: .6rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) { font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav a:not(.btn):hover::after, .nav a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current] { color: var(--gold-2); }
.nav__cta { min-height: 44px; padding: 0 20px; font-size: .74rem; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--cream); transition: transform .4s var(--ease), top .4s; }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 26px; }
.nav-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Héros accueil ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--noyer); }
.hero__slides, .hero__slide { position: absolute; inset: 0; }
.hero__slide { opacity: 0; transition: opacity 1.8s ease; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.12) translate3d(0, 0, 0); } to { transform: scale(1.02) translate3d(-1.5%, -1%, 0); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(66, 38, 18, .9) 0%, rgba(66, 38, 18, .66) 42%, rgba(66, 38, 18, .12) 100%), linear-gradient(0deg, rgba(66, 38, 18, .7), transparent 40%); }
.hero__inner { position: relative; padding: calc(var(--header-h) + 40px) 0 120px; }
.hero__title { font-size: clamp(2.9rem, 7.6vw, 6.8rem); line-height: .98; margin: 0 0 28px; max-width: 12ch; font-weight: 400; }
.hero__title span { display: block; overflow: hidden; }
.hero__title em { font-weight: 330; }
.hero__lead { max-width: 560px; font-size: clamp(1rem, 1.3vw, 1.15rem); color: rgba(255, 255, 255, .82); }
.hero__dots { position: absolute; right: clamp(24px, 4vw, 60px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 14px; }
.hero__dots button { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--gold-2); transition: background .3s, transform .3s; }
.hero__dots button[aria-selected="true"] { background: var(--gold-2); transform: scale(1.25); }
.hero__scroll { position: absolute; left: 50%; bottom: 30px; width: 26px; height: 42px; border: 1px solid rgba(255, 255, 255, .5); border-radius: 20px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold-2); animation: scrolldot 2s infinite; }
@keyframes scrolldot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
/* animation d'entrée */
.hero__eyebrow, .hero__title span, .hero__lead { opacity: 0; transform: translateY(30px); animation: rise 1.1s var(--ease) forwards; }
.hero__title span:nth-child(1) { animation-delay: .15s; } .hero__title span:nth-child(2) { animation-delay: .3s; } .hero__title span:nth-child(3) { animation-delay: .45s; }
.hero__lead { animation-delay: .65s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--miel); color: #4a2a12; overflow: hidden; padding: 18px 0; border-block: 3px solid transparent; border-image: var(--leaf) 1; box-shadow: inset 0 6px 10px -6px rgba(60, 30, 10, .5), inset 0 -6px 10px -6px rgba(60, 30, 10, .5); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-size: 1.4rem; font-style: italic; font-weight: 500; text-shadow: 0 1px 0 rgba(255, 228, 180, .55), 0 -1px 0 rgba(60, 30, 10, .45); padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee span::after { content: '✦'; font-style: normal; font-size: .85rem; color: #8a5d22; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- À propos ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.about__media { position: relative; }
.frame { position: relative; padding: 14px; border: 1px solid var(--line); }
.frame::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--gold); z-index: -1; }
.frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.about__badge { position: absolute; right: -26px; bottom: 40px; background: linear-gradient(rgba(60, 35, 17, .2), rgba(60, 35, 17, .2)), var(--noyer); color: var(--cream); padding: 22px 26px; text-align: center; border-radius: 3px; box-shadow: 0 30px 50px -25px rgba(50, 26, 10, .7), inset 0 0 0 1px rgba(255, 225, 170, .18), inset 0 0 0 5px rgba(60, 35, 17, .3), inset 0 0 0 6px rgba(201, 164, 92, .55); }
.about__badge strong { display: block; font-family: var(--serif); font-size: 2.6rem; font-weight: 500; color: var(--gold-2); line-height: 1; margin-bottom: 6px; }
.about__badge > span { display: block; font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: end; gap: 24px clamp(30px, 6vw, 70px); margin: 40px 0 0; padding-top: 32px; border-top: 1px solid var(--line); }
.stats div { margin: 0; }
.stats dt { font-family: var(--serif); font-size: clamp(2.3rem, 3.6vw, 3.1rem); font-weight: 400; line-height: 1; color: #94652a; }
.stats__big dt { font-size: clamp(4.2rem, 7vw, 6rem); font-weight: 560; letter-spacing: -.03em; color: #9a6a2b; text-shadow: 0 2px 0 rgba(255, 244, 220, .9); }
.stats__big dd { color: var(--walnut); font-weight: 700; }
.stats dt small { font-size: .5em; }
.stats dd { margin: 8px 0 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- En-têtes de section ---------- */
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 70px); }
.section-head p:last-child:not(.eyebrow) { color: inherit; opacity: .8; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow::after { content: ''; width: 34px; height: 1px; background: currentColor; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head--split .h2 { margin: 0; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service { background: linear-gradient(rgba(48, 28, 13, .55), rgba(48, 28, 13, .72)); position: relative; overflow: hidden; border-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255, 220, 170, .14), 0 22px 40px -26px rgba(30, 15, 5, .9); }
.service__media { aspect-ratio: 4/3.4; overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85) brightness(.85); transition: transform 1.2s var(--ease), filter .6s; }
.service:hover .service__media img { transform: scale(1.08); filter: saturate(1) brightness(1); }
.service__body { padding: 26px 26px 32px; }
.service__num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.service h3 { font-size: 1.75rem; margin: 6px 0 10px; color: var(--cream); }
.service p { margin: 0; font-size: .93rem; color: rgba(245, 233, 212, .8); line-height: 1.6; }
.services__more { text-align: center; margin: 46px auto 0; max-width: 720px; font-family: var(--serif); font-style: italic; font-weight: 350; font-size: 1.25rem; color: var(--gold-2); }

/* ---------- Bloc « détail » ---------- */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; padding: 0; background: linear-gradient(rgba(252, 243, 226, .58), rgba(252, 243, 226, .58)), var(--miel); overflow: hidden; }
.feature__media { height: 100%; min-height: 560px; overflow: hidden; }
.feature__media img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.feature__text { padding: clamp(50px, 8vw, 120px); max-width: 640px; }

/* ---------- Étapes ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.step { padding: 38px 34px 40px 0; border-bottom: 1px solid var(--line); position: relative; }
.step:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.step:not(:nth-child(3n+1)) { padding-left: 34px; }
.step__num { font-family: var(--serif); font-size: 3.4rem; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1.2px #a8783a; text-shadow: 0 2px 0 rgba(255, 240, 210, .6); }
.step h3 { font-size: 1.7rem; margin: 14px 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Mosaïque accueil ---------- */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; }
.mosaic__item { position: relative; overflow: hidden; background: var(--cream-2); }
.mosaic__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.mosaic__item:hover img { transform: scale(1.07); }
.mosaic__item::after { content: '+'; position: absolute; right: 14px; bottom: 10px; color: #fff; font-family: var(--serif); font-size: 2rem; opacity: 0; transform: translateY(8px); transition: .4s var(--ease); text-shadow: 0 2px 10px rgba(0, 0, 0, .5); }
.mosaic__item:hover::after { opacity: 1; transform: none; }
.mosaic__item--0 { grid-row: span 2; } .mosaic__item--1 { grid-row: span 2; } .mosaic__item--3 { grid-column: span 2; grid-row: span 2; }
.mosaic__item--6 { grid-row: span 2; } .mosaic__item--9 { grid-column: span 2; }

/* ---------- Vidéos ---------- */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.video__btn, .video iframe { display: block; width: 100%; aspect-ratio: 16/9; position: relative; overflow: hidden; border: 1px solid rgba(201, 164, 92, .3); }
.video__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; filter: brightness(.75); }
.video__btn:hover img { transform: scale(1.05); filter: brightness(.95); }
.video__play { position: absolute; inset: 0; display: grid; place-items: center; }
.video__title { font-family: var(--serif); font-size: 1.35rem; margin: 16px 0 0; color: var(--cream); }

/* ---------- Articles (cartes) ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.card-post { display: flex; flex-direction: column; background: var(--paper); border: 1px solid rgba(168, 120, 58, .28); border-radius: 3px; overflow: hidden; box-shadow: 0 18px 34px -28px rgba(70, 40, 15, .6); transition: transform .5s var(--ease), box-shadow .5s; }
.card-post:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -35px rgba(43, 32, 23, .55); }
.card-post__media { aspect-ratio: 16/11; overflow: hidden; display: block; }
.card-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card-post:hover .card-post__media img { transform: scale(1.06); }
.card-post__body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.card-post__meta { display: flex; gap: 14px; flex-wrap: wrap; margin: 0 0 12px; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.card-post__meta span:first-child { color: var(--gold-3); }
.card-post__title { font-size: 1.6rem; line-height: 1.15; margin: 0 0 12px; }
.card-post__title a { background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.card-post:hover .card-post__title a { background-size: 100% 1px; }
.card-post__excerpt { font-size: .93rem; color: var(--muted); margin: 0 0 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-post .link-arrow { margin-top: auto; }
.card-post.is-hidden, .masonry__item.is-hidden { display: none; }
@media (min-width: 1000px) {
  .posts-grid--featured .card-post.is-first { grid-column: span 3; flex-direction: row; }
  .posts-grid--featured .card-post.is-first .card-post__media { flex: 1.3; aspect-ratio: auto; min-height: 460px; }
  .posts-grid--featured .card-post.is-first .card-post__body { flex: 1; padding: 54px; justify-content: center; }
  .posts-grid--featured .card-post.is-first .card-post__title { font-size: 2.6rem; }
  .posts-grid--featured .card-post.is-first .card-post__excerpt { -webkit-line-clamp: 5; font-size: 1rem; }
  .posts-grid--featured .card-post.is-first .card-post__body::before { content: 'Nouveau'; align-self: flex-start; margin-bottom: 18px; padding: 6px 12px; font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; background: var(--noyer); color: var(--gold-2); }
}
.next-post { text-align: center; margin: 50px 0 0; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--muted); }
.next-post strong { color: var(--gold-3); font-weight: 600; }

/* ---------- Filtres ---------- */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 46px; }
.chip { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--walnut); transition: .3s; }
.chip:hover { border-color: var(--gold); }
.chip { background: rgba(255, 250, 240, .6); }
.chip.is-active { background: var(--noyer); color: var(--gold-2); border-color: var(--walnut); }

/* ---------- Galerie (masonry) ---------- */
.masonry { columns: 3 320px; column-gap: 16px; }
.masonry__item { display: block; position: relative; margin-bottom: 16px; break-inside: avoid; overflow: hidden; background: var(--cream-2); animation: fadein .6s var(--ease); }
.masonry__item img { width: 100%; transition: transform 1.2s var(--ease); }
.masonry__item:hover img { transform: scale(1.05); }
.masonry__cap { position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px; color: #fff; font-family: var(--serif); font-size: 1.1rem; background: linear-gradient(transparent, rgba(60, 34, 15, .88)); opacity: 0; transform: translateY(10px); transition: .45s var(--ease); }
.masonry__item:hover .masonry__cap { opacity: 1; transform: none; }
@keyframes fadein { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; background: linear-gradient(rgba(52, 31, 15, .93), rgba(52, 31, 15, .93)), var(--noyer); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: fadein .4s var(--ease); }
.lightbox figcaption { color: var(--cream); font-family: var(--serif); font-size: 1.3rem; margin-top: 16px; text-align: center; }
.lightbox__close { position: absolute; top: 14px; right: 22px; font-size: 2.6rem; color: var(--cream); line-height: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 3.4rem; color: var(--gold-2); width: 60px; height: 80px; }
.lightbox__prev { left: 8px; } .lightbox__next { right: 8px; }

/* ---------- Bandeau contact ---------- */
.cta-band { position: relative; padding: clamp(90px, 12vw, 160px) 0; color: #fff; text-align: center; overflow: hidden; background: var(--noyer); }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; mix-blend-mode: luminosity; }
.cta-band__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(78, 46, 22, .5), rgba(70, 41, 20, .92) 75%); }
.cta-band__inner { position: relative; max-width: 820px; }
.cta-band .eyebrow { color: var(--gold-2); }
.cta-band .eyebrow::after { content: ''; width: 34px; height: 1px; background: currentColor; }
.cta-band__title { font-size: clamp(2.3rem, 5vw, 4.2rem); }
.cta-band p { color: rgba(255, 255, 255, .8); }

/* ---------- Héros des pages ---------- */
.page-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; color: #fff; background: var(--noyer); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); opacity: .72; animation: zoomout 2.4s var(--ease) both; }
@keyframes zoomout { from { transform: scale(1.15); } }
.page-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(66, 38, 18, .92) 8%, rgba(66, 38, 18, .35) 60%, rgba(66, 38, 18, .12)); }
.page-hero__inner { position: relative; padding: 140px 0 70px; }
.page-hero__title { font-size: clamp(2.8rem, 6.5vw, 5.6rem); margin: 0 0 16px; animation: rise 1s var(--ease) both; }
.page-hero__intro { max-width: 640px; color: rgba(255, 255, 255, .82); font-size: 1.08rem; margin: 0; }

/* ---------- Article ---------- */
.post-hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; color: #fff; background: var(--noyer); overflow: hidden; }
.post-hero__bg { position: absolute; inset: 0; }
.post-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .62; animation: zoomout 2.4s var(--ease) both; }
.post-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(66, 38, 18, .95) 5%, rgba(66, 38, 18, .22) 75%); }
.post-hero__inner { position: relative; padding: 150px 0 70px; max-width: 980px; }
.post-hero__title { font-size: clamp(2.4rem, 5.4vw, 4.6rem); margin: 0 0 20px; animation: rise 1s var(--ease) both; }
.post-hero__meta { display: flex; gap: 12px; flex-wrap: wrap; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .75); margin: 0; }
.crumbs { display: flex; gap: 10px; font-size: .76rem; letter-spacing: .1em; color: rgba(255, 255, 255, .6); margin-bottom: 26px; }
.crumbs a:hover { color: var(--gold-2); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 6vw, 90px); padding: clamp(60px, 8vw, 100px) 0; }
.post-body { max-width: 760px; font-size: 1.08rem; }
.post-body h2 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin: 2em 0 .55em; }
.post-body h3 { font-size: 1.6rem; margin: 1.6em 0 .4em; }
.post-body p { margin: 0 0 1.3em; }
.post-body ul { padding: 0; margin: 0 0 1.5em; list-style: none; }
.post-body li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.post-body li::before { content: ''; position: absolute; left: 4px; top: .7em; width: 8px; height: 8px; border: 1px solid var(--gold-3); transform: rotate(45deg); }
.post-body a { color: var(--gold-3); text-decoration: underline; text-underline-offset: 3px; }
.post-body strong { color: var(--walnut); }
.post-lead { font-family: var(--serif); font-size: 1.45rem; line-height: 1.5; font-style: italic; font-weight: 350; color: var(--walnut); padding-bottom: 30px; margin-bottom: 40px !important; border-bottom: 1px solid var(--line); }
.post-lead::first-letter { font-size: 3.4em; float: left; line-height: .8; padding: 6px 12px 0 0; color: var(--gold-3); font-style: normal; }
.post-figure { margin: 2.4em 0; }
.post-figure img { width: 100%; max-height: 640px; object-fit: cover; }
.post-figure figcaption { font-size: .84rem; color: var(--muted); margin-top: 10px; padding-left: 14px; border-left: 2px solid var(--gold); }
.post-cta { margin: 3em 0 1em; padding: 40px; background: linear-gradient(rgba(58, 34, 17, .3), rgba(58, 34, 17, .3)), var(--noyer); color: var(--cream); position: relative; border-radius: 3px; }
.post-cta::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(201, 164, 92, .35); pointer-events: none; }
.post-cta p { font-family: var(--serif); font-size: 1.35rem; font-weight: 350; line-height: 1.4; margin: 0 0 22px; position: relative; }
.post-cta strong { color: var(--gold-2); display: block; font-size: 1.8rem; margin-bottom: 6px; }
.post-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; position: relative; }
.post-body .post-cta a { text-decoration: none; color: var(--ink); }
.post-body .post-cta .btn--ghost-dark { color: var(--cream); }
.share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 50px; padding-top: 26px; border-top: 1px solid var(--line); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.share a, .share button { display: inline-flex; align-items: center; gap: 8px; height: 42px; min-width: 42px; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--walnut) !important; text-decoration: none !important; transition: .3s; }
.share a:hover, .share button:hover { background: var(--walnut); color: var(--gold-2) !important; border-color: var(--ink); }
.share button span { font-size: .7rem; }
.post-aside { position: relative; }
.author-card { position: sticky; top: 100px; background: var(--paper); border-radius: 3px; padding: 26px; text-align: center; border: 1px solid var(--line); }
.author-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; border: 2px solid var(--gold); padding: 3px; background: #fff; }
.author-card__name { font-family: var(--serif); font-size: 1.6rem; margin: 0; }
.author-card p { font-size: .9rem; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 0 0 24px; }
.contact__list li { border-bottom: 1px solid var(--line); }
.contact__list a, .contact__row { display: flex; gap: 18px; align-items: center; padding: 18px 0; transition: color .3s; }
.contact__list a:hover { color: var(--gold-3); }
.contact__list strong { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.contact__ic { width: 50px; height: 50px; border-radius: 50%; background: var(--noyer); background-size: 300px auto; box-shadow: inset 0 0 0 2px rgba(201, 164, 92, .7), inset 0 -3px 6px rgba(40, 20, 5, .4); color: var(--gold-2); display: grid; place-items: center; flex: none; }
.map { margin-top: 24px; border: 1px solid var(--line); filter: sepia(.35) saturate(.8); }
.map iframe { width: 100%; height: 300px; border: 0; display: block; }
.form { background: var(--paper); border-radius: 3px; padding: clamp(28px, 4vw, 50px); border: 1px solid var(--line); box-shadow: 0 40px 60px -50px rgba(43, 32, 23, .5); }
.form label { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--walnut); margin-bottom: 20px; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 8px; padding: 14px 16px; font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--text); background: #fbf3e4; border: 1px solid rgba(122, 109, 95, .3); border-radius: var(--radius); transition: border-color .3s, box-shadow .3s; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 164, 92, .2); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__error { color: #a3402c; font-size: .9rem; }
.form .btn-row { margin-top: 10px; }

/* ---------- Pages simples ---------- */
.page--plain main { padding-top: 20px; }
.legal h2 { font-size: 1.7rem; margin-top: 1.8em; }
.legal a { color: var(--gold-3); text-decoration: underline; }
.notfound { text-align: center; min-height: 60vh; display: grid; place-items: center; }

/* ---------- Pied de page ---------- */
.footer { background: linear-gradient(rgba(52, 31, 15, .45), rgba(52, 31, 15, .45)), var(--noyer); color: rgba(245, 233, 212, .82); box-shadow: inset 0 3px 0 rgba(201, 164, 92, .6); padding-top: 90px; font-size: .95rem; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid rgba(201, 164, 92, .2); }
.footer__brand p { max-width: 380px; margin: 22px 0; }
.logo--footer { color: var(--cream); }
.footer__title { font-family: var(--sans); font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 22px; font-weight: 700; }
.footer__links { list-style: none; padding: 0; margin: 0; }
.footer__links li { margin-bottom: 12px; }
.footer__links a:hover { color: var(--gold-2); }
.footer__contact a, .footer__contact span { display: inline-flex; align-items: center; gap: 12px; }
.footer__contact svg { color: var(--gold); }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(201, 164, 92, .35); border-radius: 50%; color: var(--gold-2); transition: .3s; }
.footer__social a:hover { background: var(--leaf); color: var(--ink); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 26px 0 30px; font-size: .8rem; }
.footer__bottom p { margin: 0; }
.footer__bottom a:hover { color: var(--gold-2); }

/* ---------- Bouton WhatsApp : disque de noyer tourné, filet d’or ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; display: flex; align-items: center; }
.wa-float__disc {
  position: relative; width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; color: #f1d58f; flex: none;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 228, 185, .42), transparent 46%),
    radial-gradient(circle, transparent 61%, rgba(35, 18, 6, .45) 63%, rgba(255, 220, 170, .25) 66%, transparent 68%),
    url('../img/bois-noyer.webp') 40% 30% / 260px auto, #6a4428;
  box-shadow: 0 0 0 3px #c9a45c, 0 0 0 4px rgba(90, 58, 20, .6), 0 14px 26px -8px rgba(50, 25, 8, .8), inset 0 2px 2px rgba(255, 225, 175, .35), inset 0 -4px 8px rgba(25, 12, 3, .55);
  transition: transform .8s var(--ease);
}
.wa-float__disc svg { width: 30px; height: 30px; filter: drop-shadow(0 -1px 0 rgba(30, 14, 4, .8)) drop-shadow(0 1px 0 rgba(255, 235, 190, .35)); }
.wa-float__disc::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #d9b56a; animation: pulse 2.6s infinite; pointer-events: none; }
.wa-float:hover .wa-float__disc { transform: rotate(-25deg) scale(1.06); }
.wa-float__label {
  margin-right: -18px; padding: 12px 34px 12px 20px; border-radius: 10px 0 0 10px; font-size: .86rem; line-height: 1.25; color: #3e2410; white-space: nowrap;
  background: linear-gradient(rgba(255, 240, 210, .15), rgba(255, 240, 210, .15)), url('../img/bois-miel.webp') 0 0 / 600px auto, #c99a5e;
  box-shadow: inset 0 0 0 1px rgba(255, 240, 210, .45), 0 10px 22px -10px rgba(70, 40, 10, .8); text-shadow: 0 1px 0 rgba(255, 235, 200, .5);
  clip-path: inset(0 0 0 100%); transition: clip-path .7s cubic-bezier(.65, 0, .25, 1);
}
.wa-float__label strong { display: block; font-family: var(--serif); font-size: 1.05rem; font-weight: 500; }
.wa-float:hover .wa-float__label, .wa-float.is-peek .wa-float__label { clip-path: inset(0 0 0 0); }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.5); opacity: 0; } }

/* ---------- Compteur à rouleaux ---------- */
.odo { --h: 1.18em; display: inline-flex; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.odo > span { display: inline-flex; }
.odo__d { display: inline-block; height: var(--h); overflow: hidden; }
.odo__reel { display: flex; flex-direction: column; transform: translateY(calc(var(--n) * var(--h) * -1)); }
.odo__reel > span { display: block; height: var(--h); line-height: var(--h); text-align: center; }
.js .odo .odo__reel { transform: translateY(0); }
.js .odo.is-on .odo__reel { transform: translateY(calc(var(--n) * var(--h) * -1)); transition: transform calc(2.2s + var(--i) * .5s) cubic-bezier(.12, .7, .18, 1) calc(var(--i) * .08s); }

/* ---------- Médaillon « ans de métier » du héros ---------- */
.seal { position: absolute; right: 0; bottom: 110px; width: 210px; height: 210px; border-radius: 50%; display: grid; place-items: center; animation: rise 1.2s var(--ease) 1s both; }
.seal::before { content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, rgba(255, 226, 180, .3), transparent 50%), linear-gradient(rgba(60, 35, 17, .15), rgba(60, 35, 17, .15)), url('../img/bois-noyer.webp') 30% 40% / 700px auto, #5b3a22;
  box-shadow: 0 0 0 4px #c9a45c, 0 0 0 5px rgba(90, 58, 20, .7), 0 30px 50px -18px rgba(30, 14, 4, .85), inset 0 3px 3px rgba(255, 225, 175, .3), inset 0 -8px 16px rgba(25, 12, 3, .55); }
.seal::after { content: ''; position: absolute; inset: 34px; border-radius: 50%; border: 1.5px solid rgba(217, 181, 106, .75); box-shadow: inset 0 2px 6px rgba(25, 12, 3, .5); }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 36s linear infinite; }
.seal__ring text { font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: 2px; fill: #ecd08c; }
@keyframes spin { to { transform: rotate(360deg); } }
.seal__core { position: relative; z-index: 1; text-align: center; color: #f3d996; }
.seal__core .odo { font-family: var(--serif); font-size: 4.4rem; font-weight: 500; letter-spacing: -.03em; color: #f0d48e; text-shadow: 0 -1px 0 rgba(25, 12, 3, .7), 0 2px 3px rgba(25, 12, 3, .5); }
.seal__unit { display: block; margin-top: 2px; font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #f1e2c4; }
@media (max-width: 1100px) { .seal { width: 170px; height: 170px; bottom: 120px; } .seal::after { inset: 28px; } .seal__core .odo { font-size: 3.5rem; } .seal__ring text { font-size: 16px; } }
@media (max-width: 760px) {
  /* sur téléphone : petit macaron à droite de « depuis 1982. » */
  .seal { position: relative; right: auto; bottom: auto; width: 92px; height: 92px; margin: -70px -6px 16px auto; }
  .seal::before { box-shadow: 0 0 0 2.5px #c9a45c, 0 0 0 3.5px rgba(90, 58, 20, .7), 0 14px 24px -10px rgba(30, 14, 4, .85), inset 0 2px 2px rgba(255, 225, 175, .3), inset 0 -5px 10px rgba(25, 12, 3, .55); }
  .seal::after { inset: 17px; border-width: 1px; }
  .seal__ring text { font-size: 19px; letter-spacing: 1px; }
  .seal__core .odo { font-size: 2rem; } .seal__unit { display: none; }
  .hero__title { margin-bottom: 28px; }
}
@media (max-width: 380px) {
  .seal { width: 84px; height: 84px; margin: -64px -10px 14px auto; } .seal::after { inset: 15px; } .seal__core .odo { font-size: 1.8rem; }
}

/* ---------- Apparition au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }


/* ---------- Vidéos muettes ---------- */
.clip { margin: 0; position: relative; }
.clip video { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--ink-2); border-radius: 16px; box-shadow: 0 0 0 4px #d2ad62, 0 0 0 5px rgba(120, 80, 28, .55), 0 30px 60px -30px rgba(40, 20, 5, .8); }
.clip figcaption { margin-top: 10px; font-family: var(--serif); font-style: italic; font-weight: 350; font-size: 1.05rem; color: var(--gold-2); text-align: center; }
.section--cream .clip figcaption { color: var(--gold-3); }
.reel { overflow: hidden; }
.reel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 55%, rgba(201, 164, 92, .14), transparent 60%); pointer-events: none; }
.reel__stage { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 440px) 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.reel__main { position: relative; }
.reel__frame { position: relative; padding: 14px; border-radius: 24px; background: var(--leaf); box-shadow: 0 40px 70px -30px rgba(30, 14, 4, .9), inset 0 0 0 1px rgba(255, 240, 200, .7), inset 0 0 0 5px rgba(150, 105, 45, .5); }
.reel__frame::before { content: ''; position: absolute; inset: -10px; border-radius: 32px; border: 1px solid rgba(201, 164, 92, .3); pointer-events: none; }
.reel__frame video { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 13px; background: var(--ink); box-shadow: 0 0 0 2px rgba(110, 72, 28, .6); }
.reel__side { display: flex; flex-direction: column; gap: 40px; }
.reel__side .clip { width: min(230px, 100%); }
.reel__side--left { align-items: flex-end; }
.reel__side--right { align-items: flex-start; }
.clip--a { transform: translateX(-30px) rotate(-3deg); }
.clip--b { transform: translateX(20px) rotate(2deg); }
.clip--c { transform: translateX(-20px) rotate(-2deg); }
.clip--d { transform: translateX(30px) rotate(3deg); }
.js .reel__side .clip { opacity: 0; transition: opacity 1.2s var(--ease), translate 1.2s var(--ease); translate: 0 60px; }
.js .reel.is-in .reel__side .clip { opacity: 1; translate: 0 0; }
.js .reel.is-in .clip--b, .js .reel.is-in .clip--d { transition-delay: .25s; }
.reel__more { text-align: center; margin: 60px 0 0; }
.clip--float { width: 210px; position: absolute; z-index: 2; }
.clip--float-right { right: max(24px, calc((100vw - var(--container)) / 2 - 40px)); top: clamp(60px, 8vw, 110px); transform: rotate(3deg); }
.clip--float-left { left: max(24px, calc((100vw - var(--container)) / 2 - 60px)); top: clamp(90px, 9vw, 130px); width: 170px; transform: rotate(-4deg); }
@media (max-width: 1240px) { .clip--float-left { display: none; } }
@media (max-width: 960px) {
  .reel__stage { grid-template-columns: 1fr 1fr; }
  .reel__main { grid-column: 1 / -1; grid-row: 1; max-width: 440px; margin: 0 auto 10px; width: 100%; }
  .reel__side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .reel__side .clip { width: 100%; transform: none; }
  .clip--float { display: none; }
  .clip--float-right { display: block; position: static; width: min(340px, 86%); margin: -10px auto 50px; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .nav ul { gap: 20px; }
}
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .burger { display: block; z-index: 2; }
  .nav { position: fixed; inset: 0; background: linear-gradient(rgba(52, 31, 15, .4), rgba(52, 31, 15, .4)), var(--noyer); flex-direction: column; justify-content: center; gap: 40px; opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; }
  .nav ul { flex-direction: column; align-items: center; gap: 22px; }
  .nav a:not(.btn) { font-family: var(--serif); font-size: 2.1rem; letter-spacing: -.01em; text-transform: none; font-weight: 400; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .about__grid, .contact, .post-layout { grid-template-columns: 1fr; }
  .about__badge { right: 10px; }
  .feature { grid-template-columns: 1fr; }
  .feature__media { min-height: 380px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step, .step:not(:nth-child(3n+1)) { padding: 30px 24px 30px 0; border-right: 0 !important; }
  .step:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
  .posts-grid, .videos { grid-template-columns: 1fr 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .mosaic__item--3, .mosaic__item--9 { grid-column: span 2; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: span 2; }
  .hero__dots { display: none; }
  .author-card { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { width: min(100% - 36px, var(--container)); }
  .logo__name { font-size: 1.3rem; }
  .logo__mark { width: 42px; height: 42px; }
  .services, .posts-grid, .videos, .steps, .form__row, .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .step:nth-child(even) { padding-left: 0; border-left: 0; }
  .stats { gap: 12px; }
  .hero__inner { padding-bottom: 100px; }
  .hero .btn { width: 100%; }
  .post-cta { padding: 28px 22px; }
  .lightbox { padding: 50px 10px; }
  .lightbox__nav { width: 44px; font-size: 2.6rem; }
  .wa-float { right: 16px; bottom: 16px; }
  .wa-float__disc { width: 58px; height: 58px; }
  .wa-float__label { font-size: .8rem; padding: 10px 30px 10px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .btn[data-plane] { clip-path: none; } .js .btn[data-plane] > * { opacity: 1; transform: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
