/* ==========================================================
   Said Tamaris — Maître ébéniste
   Palette : noyer profond, crème, or
   ========================================================== */
:root {
  --ink: #14100b;
  --ink-2: #1d1711;
  --walnut: #2b2017;
  --cream: #f6f0e6;
  --cream-2: #efe6d6;
  --paper: #fbf8f2;
  --text: #2a231c;
  --muted: #7a6d5f;
  --gold: #c9a45c;
  --gold-2: #e3c88c;
  --gold-3: #a8813c;
  --line: rgba(201, 164, 92, .35);
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --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(--paper); -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: var(--gold); 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: var(--ink); color: #e9e0d2; }
.section--cream { background: var(--cream); }
.muted { color: var(--muted); font-size: .95rem; }

/* ---------- Typo ---------- */
h1, h2, h3, .h2, .h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; }
.h2 { font-size: clamp(2.2rem, 4.6vw, 3.9rem); }
.h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }
h1 em, h2 em, .h2 em { font-style: italic; color: var(--gold-3); }
.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: .74rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-3); margin: 0 0 18px; display: inline-flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ''; width: 34px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--gold-2); }
.lead { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.45; font-style: italic; color: var(--walnut); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; border-radius: 999px;
  transition: transform .35s var(--ease), background .35s, color .35s, border-color .35s, box-shadow .35s; white-space: nowrap;
}
.btn svg { flex: none; transition: transform .35s var(--ease); }
.btn:hover svg:last-child { transform: translateX(3px); }
.btn--gold { background: linear-gradient(135deg, #e7cd8f, #c9a45c 55%, #b48b45); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(201, 164, 92, .7); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(201, 164, 92, .9); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(4px); }
.btn--ghost:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn--ghost-dark { border: 1px solid var(--line); color: var(--cream); }
.btn--ghost-dark:hover { border-color: var(--gold-2); color: var(--gold-2); }
.btn--outline { border: 1px solid var(--gold); color: var(--walnut); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--gold-2); }
.section--dark .btn--outline { color: var(--cream); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn-row--center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-3); }
.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: rgba(20, 16, 11, .96); color: var(--cream); transition: background .4s, height .4s, box-shadow .4s; }
.header--over { position: fixed; inset: 0 0 auto 0; background: transparent; }
.header.is-scrolled { background: rgba(20, 16, 11, .94); backdrop-filter: blur(10px); height: 70px; box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .8); }
.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: 44px; height: 44px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .01em; }
.logo__sub { font-size: .62rem; letter-spacing: .3em; 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(--ink); }
.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(14, 10, 7, .92) 0%, rgba(14, 10, 7, .7) 42%, rgba(14, 10, 7, .2) 100%), linear-gradient(0deg, rgba(14, 10, 7, .7), transparent 40%); }
.hero__inner { position: relative; padding: calc(var(--header-h) + 40px) 0 120px; }
.hero__title { font-size: clamp(3rem, 8.2vw, 7.4rem); line-height: .98; margin: 0 0 28px; max-width: 12ch; font-weight: 500; }
.hero__title span { display: block; overflow: hidden; }
.hero__title em { font-weight: 400; }
.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, .hero .btn-row { 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; } .hero .btn-row { animation-delay: .8s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Bandeau défilant ---------- */
.marquee { background: var(--gold); color: var(--ink); overflow: hidden; padding: 16px 0; border-block: 1px solid var(--gold-3); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-size: 1.45rem; font-style: italic; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee span::after { content: '✦'; font-style: normal; font-size: .8rem; }
@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: var(--ink); color: var(--cream); padding: 22px 26px; text-align: center; box-shadow: 0 30px 50px -25px rgba(0, 0, 0, .6); }
.about__badge strong { display: block; font-family: var(--serif); font-size: 2.8rem; font-weight: 500; color: var(--gold-2); line-height: 1; }
.about__badge span { font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; 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.4rem, 4vw, 3.4rem); line-height: 1; color: var(--gold-3); }
.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: 2px; background: rgba(201, 164, 92, .18); border: 1px solid rgba(201, 164, 92, .18); }
.service { background: var(--ink); position: relative; overflow: hidden; }
.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(233, 224, 210, .72); line-height: 1.6; }
.services__more { text-align: center; margin: 46px auto 0; max-width: 720px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold-2); }

/* ---------- Bloc « détail » ---------- */
.feature { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; padding: 0; background: var(--cream); 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; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--gold); }
.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: #fff; border: 1px solid rgba(201, 164, 92, .25); 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(--ink); 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.is-active { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }

/* ---------- 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.15rem; background: linear-gradient(transparent, rgba(14, 10, 7, .85)); 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: rgba(10, 8, 6, .96); 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(--ink); }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.cta-band__bg::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(20, 16, 11, .55), rgba(20, 16, 11, .95) 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(--ink); 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(14, 10, 7, .92) 8%, rgba(14, 10, 7, .35) 60%, rgba(14, 10, 7, .15)); }
.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(--ink); 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(14, 10, 7, .96) 5%, rgba(14, 10, 7, .25) 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.6rem; line-height: 1.45; font-style: italic; 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: var(--ink); color: var(--cream); position: relative; }
.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.45rem; 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(--ink); 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(--cream); 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(--ink); 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: #fff; 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: var(--paper); 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: var(--ink); color: rgba(233, 224, 210, .75); 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(--gold); 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 flottant ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: linear-gradient(135deg, #f3dea6, #c9a45c 55%, #a8813c); border: 1px solid rgba(255, 240, 200, .6); box-shadow: 0 14px 30px -10px rgba(201, 164, 92, .8), inset 0 1px 0 rgba(255, 255, 255, .5); transition: transform .35s var(--ease); }
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold); animation: pulse 2.4s infinite; }
.wa-float:hover { transform: scale(1.08); }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- 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: 1px solid rgba(201, 164, 92, .45); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.clip figcaption { margin-top: 10px; font-family: var(--serif); font-style: italic; font-size: 1.1rem; 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: 12px; border: 1px solid var(--gold); }
.reel__frame::before { content: ''; position: absolute; inset: -10px; 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; background: #000; }
.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: var(--ink); 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.2rem; letter-spacing: 0; text-transform: none; font-weight: 500; }
  .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: 38px; height: 38px; }
  .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 { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
