/* =========================================================================
   ECB-MARTIN — Feuille de style
   Palette bois / pierre / laiton — design éditorial haut de gamme
   ========================================================================= */

:root {
  --ink: #1c1a17;
  --charcoal: #2a2724;
  --stone-700: #57514a;
  --stone-500: #8a8179;
  --stone-300: #c9c0b4;
  --stone-200: #e4ded5;
  --stone-100: #efe9df;
  --cream: #f7f2ea;
  --paper: #ffffff;
  --accent: #a9793f;      /* laiton / ocre */
  --accent-dark: #8c6231;
  --accent-soft: #f0e4d3;
  --ok: #2f7d4f;
  --err: #b23b3b;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(28, 26, 23, .06), 0 2px 8px rgba(28, 26, 23, .05);
  --shadow-md: 0 6px 24px rgba(28, 26, 23, .10);
  --shadow-lg: 0 18px 50px rgba(28, 26, 23, .16);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }

/* ---------------------------------------------------------------- layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-stone { background: var(--stone-100); }
.bg-ink { background: var(--ink); color: var(--stone-200); }

/* --------------------------------------------------------- typographie */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.1; color: var(--ink); letter-spacing: 0; }
h1 { font-size: clamp(2.9rem, 7vw, 5rem); font-weight: 500; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 500; }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); font-weight: 600; }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-dark); display: inline-flex; align-items: center; gap: .6em; margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--accent); display: inline-block; }
.bg-ink .eyebrow { color: var(--accent); }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--stone-700); }
.bg-ink .lead { color: var(--stone-300); }
.prose p { margin-bottom: 1.15rem; color: var(--stone-700); }
.prose h3 { margin: 2.2rem 0 .8rem; color: var(--ink); }
.prose strong { color: var(--charcoal); }
.measure { max-width: 40rem; }
.measure-wide { max-width: 52rem; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-inline: auto; }

/* -------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--accent); --btn-fg: #fff; --btn-bd: var(--accent);
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.6em; border-radius: 999px; font-weight: 600; font-size: .95rem;
  background: var(--btn-bg); color: var(--btn-fg); border: 1px solid var(--btn-bd);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn svg { width: 1.05em; height: 1.05em; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--stone-300); }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--accent-dark); }
.link-arrow svg { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 76px; }
.brand { font-family: var(--font-serif); font-weight: 600; font-size: 1.62rem; letter-spacing: .05em; color: #fff; transition: color .3s var(--ease); }
.brand b { color: var(--accent); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a { font-size: .93rem; font-weight: 500; color: rgba(255,255,255,.9); position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width .25s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { width: 100%; }
.nav a[aria-current="page"] { color: #fff; }

/* état "scrollé" ou pages sans hero sombre */
.site-header.is-solid { background: rgba(247,242,234,.92); backdrop-filter: blur(10px); border-bottom-color: var(--stone-200); box-shadow: var(--shadow-sm); }
.site-header.is-solid .brand { color: var(--ink); }
.site-header.is-solid .nav a { color: var(--stone-700); }
.site-header.is-solid .nav a[aria-current="page"] { color: var(--ink); }
.site-header.is-solid .burger span { background: var(--ink); }

.header-cta { display: inline-flex; }

/* burger */
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
body.menu-open .burger span { background: var(--ink); }

/* menu mobile plein écran */
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--cream); transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; justify-content: center; padding: 2rem; }
body.menu-open .mobile-menu { transform: translateX(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: .3rem; }
.mobile-menu a { font-family: var(--font-serif); font-size: 1.7rem; color: var(--ink); padding: .35rem 0; border-bottom: 1px solid var(--stone-200); }
.mobile-menu a[aria-current="page"] { color: var(--accent-dark); }
.mobile-menu .btn { margin-top: 1.6rem; align-self: flex-start; }
.mobile-menu__contact { margin-top: 2rem; color: var(--stone-700); font-size: .95rem; }
.mobile-menu__contact a { color: var(--ink); font-weight: 600; }

/* ----------------------------------------------------------------- hero */
.hero { position: relative; isolation: isolate; min-height: min(88vh, 780px); display: flex; align-items: center; color: var(--ink); background: var(--cream); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
/* voile clair : l'image reste à peine visible, comme sur le site d'origine */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(130% 100% at 28% 42%, rgba(247,242,234,.18), rgba(247,242,234,.50) 72%),
  linear-gradient(180deg, rgba(247,242,234,.34) 0%, rgba(247,242,234,.20) 45%, rgba(247,242,234,.60) 100%); }
.hero__inner { padding-block: clamp(4rem, 12vh, 8rem); max-width: 42rem; }
.hero h1 { color: var(--ink); margin-bottom: 1.3rem; }
.hero h1 em { font-style: italic; color: var(--accent-dark); }
.hero .lead { color: var(--stone-700); margin-bottom: 2rem; max-width: 34rem; }
.hero .eyebrow { color: var(--accent-dark); }
.hero .eyebrow::before { background: var(--accent); }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: var(--stone-500); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.scroll-cue span { width: 1px; height: 34px; background: linear-gradient(var(--stone-400, var(--stone-500)), transparent); animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* page header (pages internes) */
.page-hero { position: relative; isolation: isolate; padding-block: clamp(8.5rem, 16vh, 12rem) clamp(3rem, 7vw, 5rem); color: #fff; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, var(--ink), var(--charcoal) 60%, #3a352f); z-index: -1; }
.page-hero--photo::before { display: none; }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,18,15,.6), rgba(20,18,15,.72)); }
.page-hero h1 { color: #fff; }
.page-hero .lead { color: rgba(255,255,255,.85); margin-top: 1rem; }
.breadcrumb { font-size: .82rem; letter-spacing: .04em; color: rgba(255,255,255,.65); margin-bottom: 1.1rem; }
.breadcrumb a:hover { color: #fff; }

/* --------------------------------------------------------------- grids */
.grid { display: grid; gap: clamp(1.4rem, 3vw, 2.2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split--media-first .split__media { order: -1; }

/* ---------------------------------------------------------------- cards */
.card { background: var(--paper); border: 1px solid var(--stone-200); border-radius: var(--radius); padding: 2rem 1.8rem; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); height: 100%; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--stone-300); }
.card__icon { width: 46px; height: 46px; color: var(--accent-dark); margin-bottom: 1.2rem; }
.card__icon svg { width: 100%; height: 100%; }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--stone-700); font-size: .98rem; }

/* carte lien (expertise / matériaux) */
.tile { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 340px; color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,18,15,.1), rgba(20,18,15,.8)); }
.tile:hover img { transform: scale(1.06); }
.tile__body { position: absolute; inset: auto 0 0 0; padding: 1.8rem; }
.tile h3 { color: #fff; margin-bottom: .3rem; }
.tile p { color: rgba(255,255,255,.85); font-size: .92rem; }
.tile__body .link-arrow { color: var(--accent-soft); margin-top: .6rem; }

/* image encadrée */
.media-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-stack { display: grid; gap: 1.2rem; grid-template-columns: 1fr 1fr; }
.media-stack .tall { grid-row: span 2; }

/* portrait (Lionel) */
.portrait { position: relative; max-width: 460px; margin-inline: auto; }
.portrait .media-frame { aspect-ratio: 4 / 5; }
.portrait__cap { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; background: rgba(28,26,23,.74); backdrop-filter: blur(6px); color: #fff; padding: .8rem 1.1rem; border-radius: var(--radius); display: flex; flex-direction: column; box-shadow: var(--shadow-md); }
.portrait__name { font-family: var(--font-serif); font-size: 1.18rem; }
.portrait__role { font-size: .82rem; color: var(--stone-300); letter-spacing: .01em; }

/* ------------------------------------------------------- feature list */
.checklist { display: grid; gap: 1rem; }
.checklist li { display: grid; grid-template-columns: 26px 1fr; gap: .8rem; align-items: start; color: var(--stone-700); }
.checklist svg { width: 22px; height: 22px; color: var(--accent-dark); margin-top: 2px; }
.checklist strong { color: var(--ink); display: block; font-weight: 600; }

/* étapes / process */
.steps { counter-reset: step; display: grid; gap: 1.6rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1.3rem; align-items: start; }
.step__num { counter-increment: step; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent-dark); font-family: var(--font-serif); font-size: 1.3rem; display: grid; place-items: center; }
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { margin-bottom: .3rem; }
.step p { color: var(--stone-700); font-size: .97rem; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: center; }
.stat .num { font-family: var(--font-serif); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--accent-dark); line-height: 1; }
.stat .label { font-size: .85rem; letter-spacing: .04em; color: var(--stone-500); margin-top: .5rem; }
.bg-ink .stat .num { color: var(--accent); }
.bg-ink .stat .label { color: var(--stone-300); }

/* --------------------------------------------------------- témoignages */
.quote-grid { columns: 3; column-gap: 1.6rem; }
.quote { break-inside: avoid; background: var(--paper); border: 1px solid var(--stone-200); border-radius: var(--radius); padding: 1.8rem; margin-bottom: 1.6rem; }
.quote__mark { font-family: var(--font-serif); font-size: 3rem; line-height: .5; color: var(--accent); opacity: .5; }
.quote p { color: var(--charcoal); font-size: 1.02rem; margin: .6rem 0 1.1rem; }
.quote__author { font-weight: 600; color: var(--ink); font-size: .95rem; }
.quote__place { color: var(--stone-500); font-size: .85rem; }

/* --------------------------------------------------------------- galerie */
.gallery { columns: 3; column-gap: 1.2rem; }
.gallery__item { break-inside: avoid; margin-bottom: 1.2rem; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; position: relative; background: var(--stone-200); }
.gallery__item img { width: 100%; height: auto; display: block; transition: transform .5s var(--ease), filter .3s; }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: rgba(20,18,15,.0); transition: background .3s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:hover::after { background: rgba(20,18,15,.15); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(16,14,12,.94); display: none; align-items: center; justify-content: center; padding: 3vw; opacity: 0; transition: opacity .25s; }
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 3px; box-shadow: var(--shadow-lg); }
.lightbox__btn { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lightbox__btn:hover { background: rgba(255,255,255,.22); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lb-close { top: 22px; right: 22px; }
.lb-prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lb-next { right: 3vw; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .85rem; letter-spacing: .05em; }

/* ------------------------------------------------------------- FAQ */
.faq { border-top: 1px solid var(--stone-200); }
.faq__item { border-bottom: 1px solid var(--stone-200); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.35rem 0; font-family: var(--font-serif); font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 600; color: var(--ink); transition: color .2s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--accent-dark); }
.faq__ico { position: relative; width: 18px; height: 18px; flex: none; }
.faq__ico::before, .faq__ico::after { content: ""; position: absolute; background: var(--accent-dark); transition: transform .3s var(--ease), opacity .3s; }
.faq__ico::before { left: 0; top: 8px; width: 18px; height: 2px; }
.faq__ico::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq__item[open] summary { color: var(--accent-dark); }
.faq__item[open] .faq__ico::after { transform: rotate(90deg); opacity: 0; }
.faq__a { padding: 0 0 1.4rem; }
.faq__a p { margin: 0; color: var(--stone-700); max-width: 46rem; }

/* ------------------------------------------------------------ CTA band */
.cta-band { position: relative; isolation: isolate; overflow: hidden; text-align: center; color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, var(--ink), #3b342c); z-index: -1; }
.cta-band h2 { color: #fff; }
.cta-band .lead { color: rgba(255,255,255,.82); margin: 1rem auto 2rem; max-width: 34rem; }
.cta-band .btn-row { justify-content: center; }

/* ------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.info-block { display: grid; gap: 1.6rem; }
.info-item { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.info-item__icon { width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; }
.info-item__icon svg { width: 20px; height: 20px; }
.info-item h4 { font-family: var(--font-sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone-500); font-weight: 600; margin-bottom: .2rem; }
.info-item a, .info-item p { color: var(--ink); font-weight: 500; }
.info-item a:hover { color: var(--accent-dark); }
.info-item .muted { color: var(--stone-500); font-weight: 400; font-size: .92rem; }

/* formulaire */
.form { background: var(--paper); border: 1px solid var(--stone-200); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-sm); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--charcoal); margin-bottom: .4rem; }
.field label .req { color: var(--accent-dark); }
.field input, .field textarea, .field select {
  width: 100%; padding: .8em .95em; border: 1px solid var(--stone-300); border-radius: var(--radius);
  background: var(--cream); color: var(--ink); font: inherit; font-size: .97rem; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(169,121,63,.15); }
.field textarea { resize: vertical; min-height: 130px; }
.form__consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--stone-700); margin-bottom: 1.2rem; }
.form__consent input { width: auto; margin-top: 4px; accent-color: var(--accent-dark); }
.form__consent a { color: var(--accent-dark); text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button[type=submit] { width: 100%; justify-content: center; }
.form__status { margin-top: 1rem; padding: .9rem 1rem; border-radius: var(--radius); font-size: .92rem; display: none; }
.form__status.show { display: block; }
.form__status.ok { background: #eaf5ee; color: var(--ok); border: 1px solid #bfe0cb; }
.form__status.err { background: #fbeaea; color: var(--err); border: 1px solid #ecc4c4; }
.form.is-sending button[type=submit] { opacity: .6; pointer-events: none; }

/* carte / map */
.map-embed { border: 1px solid var(--stone-200); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; filter: grayscale(.2) contrast(1.02); }

/* --------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: var(--stone-300); padding-block: clamp(3.5rem, 6vw, 5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand { font-family: var(--font-serif); font-size: 1.6rem; color: #fff; margin-bottom: 1rem; }
.footer-brand b { color: var(--accent); }
.site-footer p { color: var(--stone-300); font-size: .95rem; }
.footer-col h4 { font-family: var(--font-sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--stone-500); margin-bottom: 1.1rem; }
.footer-col li { margin-bottom: .6rem; }
.footer-col a { color: var(--stone-300); font-size: .95rem; transition: color .2s; }
.footer-col a:hover { color: var(--accent); }
.footer-contact a { color: #fff; font-weight: 500; }
.footer-social { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.2rem; color: var(--stone-300); }
.footer-social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; display: grid; place-items: center; transition: background .25s, border-color .25s, color .25s; }
.footer-social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.8rem; font-size: .82rem; color: var(--stone-500); }
.footer-bottom a { color: var(--stone-500); }
.footer-bottom a:hover { color: var(--stone-300); }

/* ---------------------------------------------------------- animations */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* utilitaires */
.mt-1 { margin-top: .8rem; } .mt-2 { margin-top: 1.6rem; } .mt-3 { margin-top: 2.4rem; }
.mb-0 { margin-bottom: 0; }
.divider { height: 1px; background: var(--stone-200); border: 0; margin-block: clamp(2rem,5vw,4rem); }
.tag { display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .05em; color: var(--accent-dark); background: var(--accent-soft); padding: .3em .8em; border-radius: 999px; }
.note { font-size: .85rem; color: var(--stone-500); font-style: italic; }

/* ----------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { columns: 2; }
  .gallery { columns: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav, .header-cta { display: none; }
  .burger { display: block; }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split--media-first .split__media { order: 0; }
  .grid-2, .grid-3, .grid-4, .stats { grid-template-columns: 1fr; }
  .stats { gap: 2rem; }
  .form__row { grid-template-columns: 1fr; }
  .quote-grid, .gallery { columns: 1; }
  .media-stack { grid-template-columns: 1fr; }
  .media-stack .tall { grid-row: auto; }
  .lb-prev { left: 12px; } .lb-next { right: 12px; }
}
