/* =========================================================
   EBC 55 — Bureaux à louer à Suresnes
   Feuille de styles principale (responsive, mobile-first)
   ========================================================= */

:root {
  --ink: #0d141f;
  --night: #121c2b;
  --navy: #1a2a40;
  --ivory: #f7f3ec;
  --sand: #ece5d8;
  --stone: #d9d0c0;
  --gold: #b08d57;
  --gold-soft: #cdb382;
  --gold-deep: #8c6d3d;
  --text: #2b2f36;
  --muted: #666a72;
  --line: rgba(13, 20, 31, .12);
  --line-light: rgba(255, 255, 255, .18);
  --white: #fff;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --header-h: 76px;
  --radius: 2px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow: 0 30px 60px -30px rgba(13, 20, 31, .35);
}

/* ---------- Reset ---------- */
*, *::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;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(16px, .25vw + 15px, 17.5px);
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: .2em; }
a:hover { color: var(--gold-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 400; }
h3 { font-size: clamp(1.45rem, 2vw, 1.9rem); }
h4 { font-size: 1.25rem; }
p { margin: 0 0 1.15em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1.2em; }
li { margin-bottom: .35em; }
strong { font-weight: 600; color: var(--ink); }
em { font-style: italic; }
hr { border: 0; border-top: 1px solid var(--line); margin: 3rem 0; }
::selection { background: var(--gold-soft); color: var(--ink); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; 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;
}

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 860px; }
.section { padding: clamp(72px, 10vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 90px) 0; }
.section--sand { background: var(--sand); }
.section--dark { background: var(--night); color: rgba(255, 255, 255, .78); }
.section--dark h2, .section--dark h3, .section--dark h4, .section--dark strong { color: #fff; }
.section--dark a { color: #fff; }
.section--dark .eyebrow { color: var(--gold-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .28em; text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 1.4rem;
}
.eyebrow::before { content: ""; width: 38px; height: 1px; background: currentColor; }

.lead { font-size: clamp(1.1rem, 1.1vw + .8rem, 1.35rem); line-height: 1.7; color: var(--text); font-weight: 300; }
.section--dark .lead { color: rgba(255, 255, 255, .85); }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; width: 38px; height: 1px; background: currentColor; }

.grid { display: grid; gap: clamp(24px, 3vw, 44px); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.split { display: grid; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-media { grid-template-columns: 1.15fr .85fr; }
  .split--reverse > :first-child { order: 2; }
}
.split__media { position: relative; }
.split__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.split__media--land img { aspect-ratio: 4 / 3; }
.split__media::after {
  content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold);
  z-index: -1; pointer-events: none;
}
@media (max-width: 600px) { .split__media::after { inset: 12px -10px -12px 10px; } }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul li::marker { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--gold); --fg: #fff; --bd: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 14px 30px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border-radius: var(--radius);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}
.btn:hover { --bg: var(--gold-deep); --bd: var(--gold-deep); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--ghost { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .55); }
.btn--ghost:hover { --bg: #fff; --fg: var(--ink); --bd: #fff; color: var(--ink); }
.btn--dark { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn--dark:hover { --bg: var(--gold); --bd: var(--gold); }
.btn--line { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--line:hover { --bg: var(--ink); --fg: #fff; }
.btn--block { width: 100%; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--ink);
}
.link-arrow::after { content: ""; width: 36px; height: 1px; background: var(--gold); transition: width .35s var(--ease); }
.link-arrow:hover::after { width: 56px; }
.section--dark .link-arrow { color: #fff; }

/* ---------- Header (sticky) ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  color: #fff;
  transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom, rgba(13, 20, 31, .55), rgba(13, 20, 31, 0));
  transition: opacity .4s var(--ease);
}
.site-header.is-solid, .no-hero .site-header {
  background: rgba(247, 243, 236, .94); color: var(--ink);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-solid::before, .no-hero .site-header::before { opacity: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.brand:hover { color: inherit; }
.brand__mark {
  display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid currentColor;
  font-family: var(--serif); font-size: 1.15rem; font-weight: 600; letter-spacing: .02em;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; letter-spacing: .06em; }
.brand__tag { font-size: .58rem; letter-spacing: .26em; text-transform: uppercase; opacity: .78; margin-top: 4px; }

.main-nav { display: none; }
.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(14px, 1.6vw, 30px); }
.main-nav li { margin: 0; position: relative; }
.main-nav a, .main-nav .nav-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 0;
  font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: inherit; background: none; border: 0; cursor: pointer;
}
.main-nav a[aria-current="page"], .main-nav .is-current > .nav-toggle { color: var(--gold-soft); }
.is-solid .main-nav a[aria-current="page"], .no-hero .main-nav a[aria-current="page"],
.is-solid .main-nav .is-current > .nav-toggle, .no-hero .main-nav .is-current > .nav-toggle { color: var(--gold-deep); }
.nav-toggle svg { width: 10px; height: 10px; transition: transform .3s; }
.has-sub:hover .nav-toggle svg, .has-sub:focus-within .nav-toggle svg { transform: rotate(180deg); }
.sub-menu {
  position: absolute; top: 100%; left: -24px; min-width: 290px; list-style: none; margin: 0; padding: 14px 0;
  background: var(--ivory); color: var(--ink); box-shadow: var(--shadow); border-top: 2px solid var(--gold);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 9px 24px; letter-spacing: .12em; font-size: .7rem; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { color: var(--gold-deep); background: var(--sand); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-phone {
  display: none; align-items: center; gap: 8px; text-decoration: none; color: inherit;
  font-size: .82rem; font-weight: 600; letter-spacing: .06em; white-space: nowrap;
}
.header-phone svg { width: 16px; height: 16px; }
.header-cta { min-height: 44px; padding: 10px 18px; font-size: .68rem; letter-spacing: .16em; }
.header-cta span.long { display: none; }

.burger {
  width: 46px; height: 46px; display: inline-grid; place-items: center; background: none; border: 1px solid currentColor;
  color: inherit; cursor: pointer; border-radius: var(--radius);
}
.burger span, .burger span::before, .burger span::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .3s, background .3s;
}
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 560px) {
  .header-cta span.long { display: inline; }
}
@media (min-width: 1180px) {
  .main-nav { display: block; }
  .burger { display: none; }
  .header-phone { display: inline-flex; }
}
@media (max-width: 400px) {
  .brand__tag { display: none; }
  .brand__mark { width: 38px; height: 38px; font-size: 1rem; }
  .brand__name { font-size: 1.3rem; }
  .header-cta { padding: 10px 12px; }
}

/* Mobile menu (plein écran) */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95; background: var(--night); color: #fff;
  padding: calc(var(--header-h) + 24px) var(--gutter) 120px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.menu-open .site-header { background: var(--night); color: #fff; box-shadow: none; }
.menu-open .site-header::before { opacity: 0; }
.mobile-menu ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu > ul > li { border-bottom: 1px solid var(--line-light); margin: 0; }
.mobile-menu .group-title {
  display: block; padding: 18px 0 6px; font-size: .68rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft);
}
.mobile-menu a { display: block; padding: 10px 0; font-family: var(--serif); font-size: 1.55rem; text-decoration: none; color: #fff; }
.mobile-menu a[aria-current="page"] { color: var(--gold-soft); }
.mobile-menu .sub a { font-size: 1.25rem; padding: 7px 0 7px 14px; color: rgba(255, 255, 255, .82); }
.mobile-menu__contact { margin-top: 32px; display: grid; gap: 12px; }
@media (min-width: 1180px) { .mobile-menu { display: none; } }

/* Barre de contact mobile fixe */
.mobile-bar {
  position: fixed; inset: auto 0 0 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr;
  background: var(--ink); box-shadow: 0 -10px 30px rgba(0, 0, 0, .2);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar a, .mobile-bar button {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px;
  color: #fff; text-decoration: none; border: 0; background: none; cursor: pointer;
  font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
}
.mobile-bar button { background: var(--gold); }
.mobile-bar svg { width: 18px; height: 18px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }
@media (max-width: 899px) { body { padding-bottom: 58px; } }

/* ---------- Hero plein écran ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
}
.hero--page { min-height: 78vh; min-height: 78svh; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: kenburns 22s var(--ease) forwards; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 20, 31, .55) 0%, rgba(13, 20, 31, .18) 35%, rgba(13, 20, 31, .55) 70%, rgba(13, 20, 31, .9) 100%),
    linear-gradient(90deg, rgba(13, 20, 31, .55) 0%, rgba(13, 20, 31, 0) 70%);
}
.hero__content { width: 100%; padding-top: calc(var(--header-h) + 40px); padding-bottom: clamp(48px, 9vh, 110px); }
.hero h1 { color: #fff; max-width: 15ch; margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--gold-soft); }
.hero .eyebrow { color: var(--gold-soft); }
.hero__lead { max-width: 620px; font-size: clamp(1.05rem, .8vw + .85rem, 1.3rem); font-weight: 300; color: rgba(255, 255, 255, .9); margin-bottom: 2rem; }
.hero--page h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); max-width: 18ch; }
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 40px; display: none; flex-direction: column; align-items: center; gap: 12px;
  font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .8); writing-mode: vertical-rl; text-decoration: none;
}
.hero__scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--gold-soft), transparent); animation: scrollcue 2.4s infinite; }
@media (min-width: 900px) { .hero__scroll { display: flex; } }

@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1.02); } }
@keyframes scrollcue { 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; } }

/* Chiffres clés */
.keyfacts {
  display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(28px, 5vh, 56px);
  border-top: 1px solid var(--line-light);
}
.keyfact { padding: 20px 16px 0 0; }
.keyfact__value { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1; color: #fff; }
.keyfact__value small { font-size: .45em; margin-left: 4px; color: var(--gold-soft); }
.keyfact__label { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .72); margin-top: 8px; display: block; line-height: 1.5; }
@media (min-width: 760px) { .keyfacts { grid-template-columns: repeat(4, 1fr); } .keyfact { padding-right: 24px; } .keyfact + .keyfact { padding-left: 24px; border-left: 1px solid var(--line-light); } }
@media (max-width: 759px) { .keyfact:nth-child(n+3) { padding-top: 16px; } }

/* ---------- Fil d'Ariane ---------- */
.breadcrumb { background: var(--ivory); border-bottom: 1px solid var(--line); font-size: .78rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0; padding: 16px 0; }
.breadcrumb li { margin: 0; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; color: var(--gold); }
.breadcrumb a { text-decoration: none; color: var(--ink); }
.breadcrumb a:hover { color: var(--gold-deep); }

/* ---------- Bande photo plein écran ---------- */
.fullbleed {
  position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: center; color: #fff; overflow: hidden; isolation: isolate;
}
.fullbleed__media { position: absolute; inset: -8% 0; z-index: -2; }
.fullbleed__media img { width: 100%; height: 100%; object-fit: cover; }
.fullbleed::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 20, 31, .82) 0%, rgba(13, 20, 31, .45) 55%, rgba(13, 20, 31, .2) 100%); }
.fullbleed h2 { color: #fff; max-width: 16ch; }
.fullbleed p { max-width: 560px; color: rgba(255, 255, 255, .88); }
.fullbleed .eyebrow { color: var(--gold-soft); }
.fullbleed--right::after { background: linear-gradient(270deg, rgba(13, 20, 31, .82) 0%, rgba(13, 20, 31, .45) 55%, rgba(13, 20, 31, .2) 100%); }
.fullbleed--right .wrap { display: flex; justify-content: flex-end; }
.fullbleed--right .fullbleed__inner { max-width: 600px; }
.fullbleed__caption { position: absolute; left: var(--gutter); bottom: 22px; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.fullbleed--right .fullbleed__caption { left: auto; right: var(--gutter); }

/* ---------- Cartes ---------- */
.card {
  background: #fff; padding: clamp(28px, 3vw, 44px); position: relative; height: 100%;
  border: 1px solid var(--line); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card__num { font-family: var(--serif); font-size: 3rem; line-height: 1; color: var(--gold); margin-bottom: 18px; display: block; }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card__icon { width: 46px; height: 46px; color: var(--gold); margin-bottom: 22px; }
.card--link { text-decoration: none; display: block; color: inherit; }
.card--link .link-arrow { margin-top: 10px; }
.section--dark .card { background: rgba(255, 255, 255, .04); border-color: var(--line-light); }
.section--dark .card:hover { background: rgba(255, 255, 255, .07); }

.card-photo { position: relative; display: block; overflow: hidden; text-decoration: none; color: #fff; min-height: 460px; isolation: isolate; }
.card-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.card-photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(13, 20, 31, 0) 30%, rgba(13, 20, 31, .88) 100%); }
.card-photo:hover img { transform: scale(1.06); }
.card-photo__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px; }
.card-photo h3 { color: #fff; margin-bottom: .3em; }
.card-photo p { color: rgba(255, 255, 255, .85); margin-bottom: 14px; font-size: .95rem; }
.card-photo .link-arrow { color: #fff; }
.card-photo:hover { color: #fff; }

/* ---------- Listes de caractéristiques ---------- */
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.features li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); margin: 0; align-items: flex-start; }
.features li:first-child { border-top: 1px solid var(--line); }
.features svg { flex: none; width: 22px; height: 22px; color: var(--gold); margin-top: 4px; }
.features strong { display: block; }
.section--dark .features li { border-color: var(--line-light); }
@media (min-width: 760px) { .features--2 { grid-template-columns: 1fr 1fr; column-gap: 48px; } .features--2 li:nth-child(2) { border-top: 1px solid var(--line); } }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .72em; width: 16px; height: 1px; background: var(--gold); }

/* ---------- Tableaux ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.5em; border: 1px solid var(--line); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 480px; font-size: .95rem; }
caption { text-align: left; padding: 16px 20px; font-family: var(--serif); font-size: 1.3rem; color: var(--ink); border-bottom: 1px solid var(--line); }
th, td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--ink); color: #fff; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
tbody th { font-weight: 600; color: var(--ink); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
tbody tr:hover { background: var(--ivory); }

/* ---------- Statistiques ---------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stat { background: var(--ivory); padding: clamp(24px, 3vw, 40px); }
.stat__value { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; color: var(--ink); }
.stat__value small { font-size: .45em; color: var(--gold-deep); margin-left: 4px; }
.stat__label { display: block; margin-top: 10px; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.section--sand .stat { background: var(--sand); }

/* ---------- Citation / encadrés ---------- */
.quote { font-family: var(--serif); font-size: clamp(1.6rem, 2.8vw, 2.5rem); line-height: 1.3; font-style: italic; color: var(--ink); max-width: 30ch; margin: 0 auto; }
.section--dark .quote { color: #fff; }
.note { border-left: 2px solid var(--gold); background: #fff; padding: 20px 24px; font-size: .95rem; margin: 1.5em 0; }
.note strong { color: var(--gold-deep); }
.section--sand .note { background: var(--ivory); }

/* ---------- Timeline ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 36px 74px; margin: 0; }
.steps li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: -4px;
  font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--gold);
}
.steps li::after { content: ""; position: absolute; left: 22px; top: 44px; bottom: 6px; width: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.45rem; margin-bottom: .3em; }
.section--dark .steps li::after { background: var(--line-light); }

/* ---------- Accordéon (FAQ) ---------- */
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 24px 0; font-family: var(--serif); font-size: clamp(1.2rem, 1.6vw, 1.5rem); color: var(--ink); line-height: 1.3;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: "+"; flex: none; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--gold);
  color: var(--gold-deep); font-family: var(--sans); font-size: 1.2rem; transition: transform .3s var(--ease), background .3s;
}
.accordion details[open] summary::after { content: "–"; background: var(--gold); color: #fff; }
.accordion .answer { padding: 0 0 26px; max-width: 75ch; }
.accordion .answer p:last-child { margin-bottom: 0; }

/* ---------- Galerie ---------- */
.gallery { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(3, 1fr); } .gallery .is-wide { grid-column: span 2; } }
.gallery figure { margin: 0; position: relative; overflow: hidden; background: var(--sand); }
.gallery a { display: block; position: relative; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.gallery .is-wide img { aspect-ratio: 16 / 9; }
@media (max-width: 1023px) { .gallery .is-wide img { aspect-ratio: 4 / 3; } }
.gallery a:hover img { transform: scale(1.05); }
.gallery figcaption { padding: 14px 4px 6px; font-size: .85rem; color: var(--muted); }
.gallery figcaption strong { display: block; font-family: var(--serif); font-size: 1.2rem; font-weight: 500; color: var(--ink); }
.zoom-hint {
  position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; display: grid; place-items: center;
  background: rgba(13, 20, 31, .65); color: #fff; opacity: 0; transition: opacity .3s;
}
.zoom-hint svg { width: 18px; height: 18px; }
.gallery a:hover .zoom-hint, .gallery a:focus-visible .zoom-hint { opacity: 1; }
@media (hover: none) { .zoom-hint { opacity: 1; } }

.plan-figure { margin: 0; background: #fff; border: 1px solid var(--line); padding: clamp(12px, 2vw, 28px); }
.plan-figure a { display: block; }
.plan-figure img { width: 100%; }
.plan-figure figcaption { margin-top: 14px; font-size: .88rem; color: var(--muted); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(8, 12, 19, .96); display: none;
  align-items: center; justify-content: center; padding: 64px 16px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1400px, 100%); max-height: 100%; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: rgba(255, 255, 255, .8); font-size: .85rem; padding: 0 70px; }
.lightbox button {
  position: absolute; width: 50px; height: 50px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .04); color: #fff; cursor: pointer; font-size: 1.5rem; line-height: 1;
}
.lightbox button:hover { background: var(--gold); border-color: var(--gold); }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 10px; transform: none; } }

/* ---------- Carte (chargement à la demande) ---------- */
.map-consent { position: relative; background: var(--sand); border: 1px solid var(--line); overflow: hidden; }
.map-consent img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: .55; filter: grayscale(.2); }
.map-consent__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 14px; }
.map-consent__overlay p { max-width: 42ch; font-size: .88rem; background: rgba(247, 243, 236, .92); padding: 12px 16px; margin: 0; }
.map-consent iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; }
@media (max-width: 640px) { .map-consent img, .map-consent iframe { aspect-ratio: 3 / 4; } }

/* ---------- Simulateur ---------- */
.simulator { background: #fff; border: 1px solid var(--line); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.simulator__controls { display: grid; gap: 18px; margin-bottom: 28px; }
@media (min-width: 760px) { .simulator__controls { grid-template-columns: 1.4fr 1fr 1fr; align-items: end; } }
.sim-result { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 640px) { .sim-result { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .sim-result { grid-template-columns: repeat(4, 1fr); } }
.sim-result div { background: var(--ivory); padding: 20px; }
.sim-result span { display: block; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.sim-result output { display: block; font-family: var(--serif); font-size: 1.9rem; color: var(--ink); margin-top: 6px; font-variant-numeric: tabular-nums; }
.sim-result .total { background: var(--ink); }
.sim-result .total span { color: var(--gold-soft); }
.sim-result .total output { color: #fff; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }
.field label .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; background: #fff; border: 1px solid var(--stone); border-radius: var(--radius);
  font-size: 1rem; transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-deep) 50%), linear-gradient(135deg, var(--gold-deep) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 141, 87, .18); }
.field input:user-invalid, .field textarea:user-invalid { border-color: #b4483c; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .82rem; line-height: 1.55; color: var(--muted); }
.check input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .92rem; padding: 14px 16px; display: none; }
.form-status.is-success { display: block; background: #eef3ea; border-left: 2px solid #5c7d4a; color: #2f4524; }
.form-status.is-error { display: block; background: #f7e9e6; border-left: 2px solid #b4483c; color: #6d2a22; }
.form small.legal { font-size: .74rem; color: var(--muted); line-height: 1.55; }

/* ---------- Panneau de contact (drawer) ---------- */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 200; background: rgba(8, 12, 19, .6); opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s;
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 210; width: min(560px, 100%);
  background: var(--ivory); box-shadow: -30px 0 80px rgba(0, 0, 0, .25);
  transform: translateX(100%); transition: transform .5s var(--ease); display: flex; flex-direction: column;
  visibility: hidden;
}
.drawer-open .drawer { transform: none; visibility: visible; }
.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-open { overflow: hidden; }
.drawer__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 28px clamp(20px, 4vw, 40px) 18px; border-bottom: 1px solid var(--line); background: var(--night); color: #fff; }
.drawer__head h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0; }
.drawer__head p { margin: 6px 0 0; font-size: .86rem; color: rgba(255, 255, 255, .72); }
.drawer__close { flex: none; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, .35); background: none; color: #fff; cursor: pointer; font-size: 1.4rem; display: grid; place-items: center; }
.drawer__close:hover { background: var(--gold); border-color: var(--gold); }
.drawer__body { padding: 24px clamp(20px, 4vw, 40px) 40px; overflow-y: auto; flex: 1; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.drawer__direct { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.drawer__direct a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; border: 1px solid var(--line); background: #fff; text-decoration: none; font-size: .85rem; color: var(--ink); word-break: break-word; }
.drawer__direct a span { font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
@media (max-width: 420px) { .drawer__direct { grid-template-columns: 1fr; } }

/* ---------- Bandeau CTA ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center; padding: clamp(90px, 14vw, 180px) 0; }
.cta-band .fullbleed__media { inset: 0; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(13, 20, 31, .78); }
.cta-band h2 { color: #fff; max-width: 20ch; margin-left: auto; margin-right: auto; }
.cta-band p { max-width: 600px; margin: 0 auto 2rem; color: rgba(255, 255, 255, .85); }
.cta-band .btn-row { justify-content: center; }
.cta-band .eyebrow { color: var(--gold-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: clamp(64px, 8vw, 110px) 0 0; font-size: .92rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 1.2rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55em; }
.site-footer .brand { color: #fff; margin-bottom: 20px; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-bottom { margin-top: 64px; border-top: 1px solid var(--line-light); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .78rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-bottom li { margin: 0; }

/* ---------- Divers ---------- */
.badge { display: inline-block; padding: 6px 12px; border: 1px solid var(--gold); color: var(--gold-deep); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.section--dark .badge, .hero .badge { color: var(--gold-soft); border-color: var(--gold-soft); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.tag-list li { margin: 0; padding: 8px 14px; border: 1px solid var(--line); background: #fff; font-size: .85rem; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.divider-gold { width: 64px; height: 1px; background: var(--gold); margin: 28px 0; border: 0; }
.toc { background: #fff; border: 1px solid var(--line); padding: 26px 28px; margin-bottom: 2.5rem; }
.toc h2 { font-family: var(--sans); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { text-decoration: none; }
.sitemap-list { columns: 1; }
@media (min-width: 760px) { .sitemap-list { columns: 2; column-gap: 48px; } }
.error-page { min-height: 80vh; display: flex; align-items: center; }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__media img { transform: none; }
}

@media print {
  .site-header, .mobile-bar, .drawer, .drawer-backdrop, .mobile-menu, .hero__scroll, .cta-band { display: none !important; }
  .hero { min-height: auto; color: #000; }
  .hero::after, .hero__media { display: none; }
  .hero h1, .hero__lead { color: #000; }
  body { background: #fff; padding: 0; }
}
mark { background: #f3e3b8; color: var(--ink); padding: 0 4px; }
.split > *, .grid > * { min-width: 0; }
.fullbleed .link-arrow, .cta-band .link-arrow { color: #fff; }
.hero .hero__media img { filter: saturate(.92) contrast(1.04); }
.hero__media picture, .fullbleed__media picture, .cta-band .fullbleed__media picture { display: block; width: 100%; height: 100%; }
table { min-width: 0; }
.table-wrap table:has(thead) { min-width: 560px; }
@media (max-width: 480px) { th, td { padding: 12px 14px; } caption { padding: 14px; font-size: 1.15rem; } }
.gallery { align-items: start; }
.gallery figure { background: transparent; }
