/* =====================================================================
   AKTIBAT — Maçonnerie générale · Feuille de style principale
   Vanilla CSS, mobile-first, sans framework.
   ===================================================================== */

/* ---------- Police auto-hébergée (variable, latin) ---------- */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../fonts/montserrat-variable-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Design tokens ---------- */
:root {
  --red: #e3261c;
  --red-dark: #b81d15;
  --red-soft: #fdecea;
  --ink: #151515;
  --text: #2b2b2b;
  --muted: #666;
  --line: #e4e0da;
  --stone: #f5f2ee;
  --stone-2: #ece7e0;
  --white: #fff;
  --ok: #1f8f4e;
  --err: #c62828;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 30px rgba(20, 20, 20, .08);
  --shadow-lg: 0 20px 50px rgba(20, 20, 20, .16);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; color: var(--ink); font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
strong, b { font-weight: 700; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 2000;
  background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-sm);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.2rem, 5vw + 1rem, 6.5rem); }
.section--tight { padding-block: clamp(2.2rem, 3vw + 1rem, 4rem); }
.section--stone { background: var(--stone); }
.section--dark { background: var(--ink); color: #d9d9d9; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3.2rem); text-align: center; }
.section-head--left { margin-inline: 0; text-align: left; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--red); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--red); border-radius: 3px; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-top: 1rem; }
.section--dark .section-head p { color: #bdbdbd; }
.grid { display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.6rem; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.1;
  border: 2px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 10px 24px rgba(227, 38, 28, .28); }
.btn--primary:hover { background: var(--red-dark); box-shadow: 0 14px 30px rgba(227, 38, 28, .34); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--stone); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .3s, border-color .3s;
}
.header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); border-color: var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: auto; height: 50px; }
@media (min-width: 1000px) { .brand img { height: 56px; } }
.nav { display: none; }
.nav__list { display: flex; gap: .25rem; align-items: center; }
.nav__link {
  display: inline-block; padding: .55rem .85rem; border-radius: 999px; font-weight: 600; font-size: .96rem; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav__link:hover { background: var(--stone); }
.nav__link[aria-current="page"] { color: var(--red); }
.header__cta { display: none; }
.header__phone { display: none; align-items: center; gap: .5rem; font-weight: 700; color: var(--ink); }
.header__phone svg { width: 20px; height: 20px; color: var(--red); }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 46px; height: 46px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
}
.burger span { display: block; height: 3px; width: 100%; background: var(--ink); border-radius: 3px; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Menu mobile */
.mobile-nav {
  /* Le header (backdrop-filter) sert de bloc conteneur : on positionne le panneau sous lui, en absolu */
  position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); z-index: 990;
  background: #fff; padding: 1.2rem var(--gutter) 2rem; overflow-y: auto; border-top: 1px solid var(--line);
  transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.mobile-nav.is-open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mobile-nav__list { display: grid; gap: .25rem; margin-bottom: 1.4rem; }
.mobile-nav__link {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem .6rem; font-size: 1.15rem; font-weight: 700; border-bottom: 1px solid var(--line); color: var(--ink);
}
.mobile-nav__link[aria-current="page"] { color: var(--red); }
.mobile-nav__link svg { width: 18px; height: 18px; color: var(--muted); }
.mobile-nav .btn { width: 100%; }
.mobile-nav__contact { margin-top: 1.4rem; color: var(--muted); font-size: .95rem; display: grid; gap: .4rem; }
body.nav-open { overflow: hidden; }

@media (min-width: 1000px) {
  .nav { display: block; }
  .burger, .mobile-nav { display: none; }
  .header__cta { display: inline-flex; }
  .header__phone { display: inline-flex; }
  .header__actions { display: flex; align-items: center; gap: 1.2rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--ink);
  min-height: min(92vh, 780px); display: flex; align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10, 10, 10, .9) 0%, rgba(10, 10, 10, .72) 45%, rgba(10, 10, 10, .35) 100%);
}
.hero__inner { position: relative; z-index: 1; max-width: 800px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem .45rem .5rem;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  font-size: .85rem; font-weight: 600; margin-bottom: 1.4rem; backdrop-filter: blur(6px);
}
.hero__badge i { display: inline-block; width: 26px; height: 26px; border-radius: 50%; background: var(--red); flex: none; }
.hero h1 { color: #fff; margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero__lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); color: #e6e6e6; max-width: 640px; margin-bottom: 1.8rem; }
.hero .btn-row { margin-bottom: 2.2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1rem 1.8rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .2); }
.hero__trust li { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .95rem; color: #f0f0f0; }
.hero__trust svg { width: 20px; height: 20px; color: var(--red); flex: none; }
.hero--page { min-height: 0; padding-block: clamp(3rem, 6vw, 5rem); }
.hero--page .hero__media img { object-position: center; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .88rem; color: #cfcfcf; margin-bottom: 1.1rem; }
.breadcrumb li + li::before { content: "›"; margin-right: .4rem; color: #8f8f8f; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.hero--page h1 { margin-bottom: .8rem; }
.hero--page .hero__lead { margin-bottom: 0; }

/* ---------- Bandeau de chiffres clés ---------- */
.stats { background: var(--red); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
.stats__item { padding: 1.4rem 1rem; text-align: center; border-right: 1px solid rgba(255, 255, 255, .22); border-bottom: 1px solid rgba(255, 255, 255, .22); }
.stats__item:nth-child(2n) { border-right: 0; }
.stats__num { display: block; font-size: clamp(1.8rem, 1.5rem + 1.5vw, 2.6rem); font-weight: 800; line-height: 1; }
.stats__label { display: block; font-size: .88rem; font-weight: 600; opacity: .95; margin-top: .4rem; }
@media (min-width: 700px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stats__item { border-bottom: 0; }
  .stats__item:nth-child(2n) { border-right: 1px solid rgba(255, 255, 255, .22); }
  .stats__item:last-child { border-right: 0; }
}

/* ---------- Cartes services ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 2vw, 2rem);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__icon {
  width: 54px; height: 54px; border-radius: 14px; background: var(--red-soft); color: var(--red);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.card__icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .98rem; }
.card ul { margin-top: .8rem; display: grid; gap: .35rem; font-size: .94rem; }
.card li { padding-left: 1.2rem; position: relative; }
.card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }

/* ---------- Bloc image + texte ---------- */
.split { display: grid; gap: clamp(1.6rem, 4vw, 4rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--rev > :first-child { order: 2; } }
.split__media { position: relative; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split__media--tall img { aspect-ratio: 3 / 4; }
.split__stamp {
  position: absolute; right: -8px; bottom: -14px; background: #fff; border-radius: var(--radius); padding: .9rem 1.2rem;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: .8rem; max-width: 260px;
}
.split__stamp strong { display: block; font-size: 1.6rem; line-height: 1; color: var(--red); }
.split__stamp span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.split__body h2 { margin-bottom: 1rem; }
.split__body p { color: var(--text); }
.check-list { display: grid; gap: .7rem; margin: 1.4rem 0 1.8rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 500; }
.check-list svg { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: .1em; }

/* ---------- Étapes ---------- */
.steps { display: grid; gap: 1.2rem; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 1.6rem 1.4rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-block; font-size: 2.2rem; font-weight: 800; color: var(--red); line-height: 1; margin-bottom: .8rem;
}
.step h3 { font-size: 1.1rem; margin-bottom: .5rem; }
.step p { font-size: .95rem; color: var(--muted); }

/* ---------- Galerie (aperçu et page) ---------- */
.gallery-grid { display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 1.1rem; } }
.gallery-grid--3 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .gallery-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.tile {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--stone-2);
  aspect-ratio: 4 / 3; cursor: zoom-in; margin: 0;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); }
.tile figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2rem .8rem .7rem; font-size: .78rem; font-weight: 600; color: #fff; line-height: 1.3;
  background: linear-gradient(to top, rgba(0, 0, 0, .75), transparent); opacity: 0; transition: opacity .3s;
}
.tile:hover figcaption, .tile:focus-visible figcaption { opacity: 1; }
.tile[hidden] { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-bottom: 1.8rem; }
.filters button {
  padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .9rem;
  transition: background .2s, color .2s, border-color .2s;
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.filters button small { opacity: .7; font-weight: 500; }
.gallery-count { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 1.2rem; }
.load-more { text-align: center; margin-top: 2rem; }

/* Avant / pendant / après */
.apa { display: grid; gap: 1.6rem; }
@media (min-width: 900px) { .apa { grid-template-columns: repeat(3, 1fr); } }
.apa__col h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.apa__col h3 span { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; font-size: .9rem; }
.apa__col .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.video-box { display: grid; gap: 1.4rem; align-items: center; }
@media (min-width: 900px) { .video-box { grid-template-columns: 1.1fr 1fr; } }
.video-box video { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #000; max-height: 70vh; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 3000; background: rgba(8, 8, 8, .94); display: none; align-items: center; justify-content: center;
  padding: 0; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; color: #fff;
}
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: transparent; }
.lightbox__img { max-width: min(96vw, 1400px); max-height: 82vh; object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox__figure { margin: 0; display: grid; place-items: center; gap: .8rem; }
.lightbox__caption { font-size: .95rem; color: #ddd; text-align: center; max-width: 80ch; padding-inline: 1rem; }
.lightbox__btn {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff;
  display: grid; place-items: center; transition: background .2s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .25); }
.lightbox__btn svg { width: 24px; height: 24px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 12px; top: 50%; transform: translateY(-50%); }
.lightbox__counter { position: absolute; top: 28px; left: 20px; font-size: .9rem; color: #bbb; font-weight: 600; }

/* ---------- Témoignage / citation ---------- */
.quote { position: relative; background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.quote::before { content: "“"; position: absolute; top: -10px; left: 18px; font-size: 5rem; line-height: 1; color: var(--red); opacity: .25; font-family: Georgia, serif; }
.quote p { font-size: 1.05rem; font-style: italic; }
.quote footer { margin-top: 1rem; font-weight: 700; font-size: .9rem; color: var(--muted); }

/* ---------- Zones d'intervention ---------- */
.zones { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .zones { grid-template-columns: repeat(3, 1fr); } }
.zone { background: #fff; border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); }
.zone h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.zone h3 span { background: var(--red); color: #fff; font-size: .8rem; padding: .2rem .55rem; border-radius: 6px; }
.zone ul { display: flex; flex-wrap: wrap; gap: .4rem; }
.zone li { background: var(--stone); padding: .3rem .7rem; border-radius: 999px; font-size: .86rem; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: .8rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.3rem; font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
  transform: rotate(45deg); transition: transform .25s; margin-right: .3rem;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .faq__body { padding: 1rem 1.3rem 1.3rem; color: var(--text); }

/* ---------- Bandeau CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.cta-band::before { content: ""; position: absolute; inset: -40% auto auto -10%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(227, 38, 28, .35), transparent 65%); pointer-events: none; }
.cta-band__inner { position: relative; display: grid; gap: 1.6rem; align-items: center; text-align: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.4fr 1fr; text-align: left; } .cta-band .btn-row { justify-content: flex-end; } }
.cta-band h2 { color: #fff; margin-bottom: .6rem; }
.cta-band p { color: #cfcfcf; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Formulaire de contact ---------- */
.contact-layout { display: grid; gap: 2rem; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1.25fr .9fr; gap: 3rem; align-items: start; } }
.form-card { background: #fff; border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: .4rem; }
.field label small { font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid #d6d1ca; border-radius: var(--radius-sm); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 38, 28, .12); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--err); }
.field__error { display: none; color: var(--err); font-size: .85rem; margin-top: .35rem; font-weight: 600; }
.field.is-invalid .field__error { display: block; }
.field--check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.field--check input { width: 20px; height: 20px; margin-top: .15rem; flex: none; accent-color: var(--red); }
.hp { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: var(--radius-sm); margin-top: 1.2rem; font-weight: 600; }
.form-status.is-ok { display: block; background: #e7f6ed; color: #14532d; border: 1px solid #b7e2c7; }
.form-status.is-err { display: block; background: #fdecea; color: #7f1d1d; border: 1px solid #f5c2be; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

.info-card { background: var(--ink); color: #e9e9e9; border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); }
.info-card h2 { color: #fff; font-size: 1.4rem; margin-bottom: 1.2rem; }
.info-list { display: grid; gap: 1.1rem; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; }
.info-list svg { width: 22px; height: 22px; color: var(--red); flex: none; margin-top: .15rem; }
.info-list strong { display: block; color: #fff; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .15rem; }
.info-list a:hover { text-decoration: underline; }
.info-card hr { border: 0; border-top: 1px solid rgba(255, 255, 255, .15); margin: 1.4rem 0; }
.info-card .btn { margin-top: .4rem; }

/* Carte (chargée au clic) */
.map { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--stone-2); aspect-ratio: 16 / 10; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 1.5rem; gap: .4rem; align-content: center; }
.map__placeholder p { font-size: .9rem; color: var(--muted); max-width: 40ch; }

/* ---------- Page « À propos » ---------- */
.timeline { position: relative; display: grid; gap: 1.4rem; padding-left: 1.6rem; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -1.6rem; top: .35rem; width: 14px; height: 14px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px #fff; }
.timeline strong { display: block; color: var(--red); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.values { display: grid; gap: 1rem; }
@media (min-width: 640px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .values { grid-template-columns: repeat(4, 1fr); } }
.value { padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.value svg { width: 32px; height: 32px; color: var(--red); margin-bottom: .8rem; }
.value h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.value p { font-size: .93rem; color: var(--muted); }

/* ---------- Page « Mentions légales » ---------- */
.legal { max-width: 860px; margin-inline: auto; }
.legal h2 { font-size: 1.45rem; margin: 2.4rem 0 .9rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.legal h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.4rem; margin: 0 0 1.2rem; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: .1rem; } .legal dd { margin-bottom: .7rem; } }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; }
.legal a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.legal ul { padding-left: 1.2rem; list-style: disc; display: grid; gap: .4rem; }
.legal .toc { background: var(--stone); padding: 1.2rem 1.4rem; border-radius: var(--radius-sm); margin-bottom: 2rem; }
.legal .toc ol { columns: 2; column-gap: 2rem; padding-left: 1.2rem; list-style: decimal; font-size: .95rem; }
@media (max-width: 560px) { .legal .toc ol { columns: 1; } }
.legal .toc a { color: var(--ink); text-decoration: none; }
.legal .toc a:hover { color: var(--red); }

/* ---------- Page « Plan du site » ---------- */
.sitemap { display: grid; gap: 1.1rem; max-width: 900px; margin-inline: auto; }
.sitemap__card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.sitemap__card:hover, .sitemap__card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(227, 38, 28, .35); }
.sitemap__main { display: flex; align-items: center; gap: 1.1rem; padding: 1.3rem 1.4rem; text-decoration: none; }
.sitemap__icon {
  flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); transition: transform .35s var(--ease), background .3s, color .3s;
}
.sitemap__icon svg { width: 28px; height: 28px; }
.sitemap__card:hover .sitemap__icon { transform: scale(1.1) rotate(-6deg); background: var(--red); color: #fff; }
.sitemap__text { display: grid; gap: .2rem; min-width: 0; }
.sitemap__text strong { font-size: 1.15rem; color: var(--ink); transition: color .2s; }
.sitemap__text span { font-size: .93rem; color: var(--muted); }
.sitemap__card:hover .sitemap__text strong { color: var(--red); }
.sitemap__arrow { margin-left: auto; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s; }
.sitemap__arrow svg { width: 18px; height: 18px; }
.sitemap__card:hover .sitemap__arrow { transform: translateX(6px); background: var(--ink); color: #fff; border-color: var(--ink); }
.sitemap__sub { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0 1.4rem 1.3rem 5.4rem; }
.sitemap__sub a {
  display: inline-flex; align-items: center; gap: .3rem; padding: .4rem .8rem .4rem .55rem; border-radius: 999px;
  background: var(--stone); font-size: .88rem; font-weight: 600; color: var(--text); text-decoration: none;
  transition: background .2s, color .2s, transform .2s var(--ease);
}
.sitemap__sub a svg { width: 14px; height: 14px; color: var(--red); transition: transform .2s; }
.sitemap__sub a:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.sitemap__sub a:hover svg { transform: translateX(3px); color: #fff; }
@media (max-width: 560px) {
  .sitemap__main { padding: 1.1rem 1rem; gap: .9rem; }
  .sitemap__icon { width: 46px; height: 46px; border-radius: 12px; }
  .sitemap__arrow { display: none; }
  .sitemap__sub { padding: 0 1rem 1.1rem 1rem; }
}

/* ---------- Footer ---------- */
.footer { background: #0f0f0f; color: #bdbdbd; font-size: .95rem; }
.footer__grid { display: grid; gap: 2rem; padding-block: clamp(2.6rem, 5vw, 4.5rem) 2rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer__brand img { height: 64px; width: auto; background: #fff; padding: 8px; border-radius: 10px; margin-bottom: 1rem; }
.footer h3 { color: #fff; font-size: .95rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer ul { display: grid; gap: .55rem; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer address { font-style: normal; display: grid; gap: .5rem; }
.footer address a { display: flex; gap: .6rem; align-items: flex-start; }
.footer address svg { width: 18px; height: 18px; color: var(--red); flex: none; margin-top: .2rem; }
.footer__social { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem; padding: .5rem .9rem; border: 1px solid #333; border-radius: 999px; font-weight: 600; }
.footer__social svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid #262626; padding: 1.2rem 0; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; font-size: .85rem; color: #8a8a8a; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Barre CTA mobile ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0);
  transform: translateY(110%); transition: transform .3s var(--ease);
}
.mobile-cta.is-visible { transform: none; }
.mobile-cta a { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: .9rem .6rem; font-weight: 700; font-size: .95rem; background: #fff; color: var(--ink); }
.mobile-cta a.is-primary { background: var(--red); color: #fff; }
.mobile-cta svg { width: 20px; height: 20px; }
body.has-mobile-cta { padding-bottom: 64px; }
@media (min-width: 1000px) { .mobile-cta { display: none; } body.has-mobile-cta { padding-bottom: 0; } }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Page 404 ---------- */
.error-page { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.error-page .big { font-size: clamp(5rem, 15vw, 10rem); font-weight: 800; line-height: 1; color: var(--red); }

/* ---------- Impression ---------- */
@media print {
  .header, .footer, .mobile-cta, .mobile-nav, .burger, .cta-band, .lightbox { display: none !important; }
  body { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}
