/* =============================================================================
   CENTRE VÉRONNEAU — Feuille de styles principale
   Refonte visuelle 2026 : noir profond · os/greige · accent cuivre
   (inspirée d'une direction artistique éditoriale moderne — structure inchangée)
   -----------------------------------------------------------------------------
   L'ancienne version (palette ivoire/doré) est conservée dans
   site-backup-2026-07-03/css/styles.css
   ============================================================================= */

/* -----------------------------------------------------------------------------
   1. Jetons de design (couleurs, typographie, espacements)
----------------------------------------------------------------------------- */
:root {
  /* Couleurs — clair */
  --bg:          #F4F2EC;   /* Fond principal (os / greige chaud) */
  --bg-2:        #ECE9E0;   /* Fond secondaire / alternance */
  --surface:     #FFFFFF;   /* Cartes, panneaux */
  --ink:         #141414;   /* Texte principal (noir profond, neutre) */
  --ink-2:       #55534D;   /* Texte secondaire */
  --ink-3:       #6E6B63;   /* Texte tertiaire / légendes */

  /* Couleurs — sombre (en-tête, héros, pied de page) */
  --noir:        #121212;   /* Sections sombres */
  --noir-2:      #1C1C1C;   /* Surfaces sur fond sombre */
  --bone:        #F7F5E8;   /* Texte os sur fond sombre */
  --bone-2:      #CFCBC0;   /* Texte os atténué sur fond sombre */

  /* Accent cuivre (remplace le doré ; noms conservés pour compatibilité) */
  --gold:        #C96A2E;   /* Cuivre décoratif (traits, bordures) */
  --gold-text:   #A8500F;   /* Cuivre lisible pour petits textes / surtitres */
  --gold-soft:   #F6E3D3;   /* Cuivre très pâle (fonds, surbrillance) */
  --copper-vif:  #FF7A3B;   /* Cuivre vif — détails sur fond sombre uniquement */

  --border:      #E3E0D5;   /* Bordures fines */
  --border-2:    #D3CFC1;   /* Bordures plus marquées */
  --ink-btn:     #141414;   /* Bouton principal */

  /* Typographie */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Rayons */
  --r-card: 16px;
  --r-md:   12px;
  --r-sm:   8px;
  --r-pill: 999px;

  /* Ombres (très subtiles) */
  --sh-sm: 0 1px 2px rgba(18,18,18,.04), 0 1px 3px rgba(18,18,18,.03);
  --sh-md: 0 10px 30px -14px rgba(18,18,18,.18), 0 2px 6px -3px rgba(18,18,18,.06);
  --sh-lg: 0 26px 50px -22px rgba(18,18,18,.30);

  /* Mise en page */
  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --header-h: 76px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* -----------------------------------------------------------------------------
   2. Base
----------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
/* <picture> (WebP + repli) : se comporte comme l'image qu'il enveloppe. */
picture { display: block; }
.hero__bg picture, .space-card__media picture, .aside-card__media picture { width: 100%; height: 100%; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

p { margin: 0; }

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

::selection { background: var(--gold-soft); color: var(--ink); }

/* -----------------------------------------------------------------------------
   3. Mise en page utilitaire
----------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--alt { background: var(--bg-2); }
.section--ink { background: var(--noir); color: var(--bone-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

.serif { font-family: var(--serif); }

/* Titres éditoriaux */
.display {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.06;
}

.section-head { max-width: 64ch; }
.section-head.center { margin-inline: auto; text-align: center; }

.h-section {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.15rem + 2vw, 2.7rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.lead {
  color: var(--ink-2);
  font-size: clamp(1.02rem, 0.98rem + 0.3vw, 1.18rem);
  line-height: 1.65;
  max-width: 60ch;
}

.muted { color: var(--ink-2); }
.center { text-align: center; }

.divider-gold { width: 54px; height: 2px; background: var(--gold); border: 0; margin: 1.4rem 0; }
.section-head.center .divider-gold { margin-inline: auto; }

/* -----------------------------------------------------------------------------
   4. Boutons
----------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-size: .94rem;
  font-weight: 500;
  letter-spacing: .01em;
  padding: .9rem 1.65rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease),
              border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--ink-btn); color: var(--bone); }
.btn--primary:hover { background: #B4571E; color: #fff; box-shadow: var(--sh-md); }

.btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--border-2); }
.btn--secondary:hover { border-color: var(--gold); color: var(--ink); box-shadow: var(--sh-sm); }

.btn--ghost { background: transparent; color: var(--ink); border-color: transparent; padding-inline: .4rem; }
.btn--ghost:hover { color: var(--gold-text); }

.btn--light { background: var(--bone); color: var(--ink); }
.btn--light:hover { background: #fff; }

.btn--outline-light { background: transparent; color: var(--bone); border-color: rgba(247,245,232,.38); }
.btn--outline-light:hover { border-color: var(--copper-vif); color: #fff; }

.btn--block { width: 100%; }

.arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow, .link-gold:hover .arrow { transform: translateX(3px); }

/* Lien cuivré avec flèche (nom conservé) */
.link-gold {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
  color: var(--ink);
}
.link-gold::after {
  content: "";
  position: relative;
  display: inline-block;
}
.link-gold .arrow { color: var(--gold-text); }
.link-gold:hover { color: var(--gold-text); }

/* -----------------------------------------------------------------------------
   5. En-tête / navigation — clair (logo original), au-dessus du héros sombre
----------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244,242,236,.9);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

/* Mot-symbole */
.brand { display: inline-flex; align-items: center; gap: .7rem; line-height: 1; }
.brand__logo { height: 54px; width: auto; display: block; }
.brand__name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: .005em;
  color: var(--ink);
}
.brand__sub {
  font-size: .66rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink-2);
  font-weight: 500;
}

.nav { display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2.1rem); }
.nav__link {
  position: relative;
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  padding-block: .4rem;
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover { color: var(--gold-text); }
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--ink); }

.nav__cta { margin-left: .4rem; }
/* Page courante lorsque le CTA pointe vers la page affichée (ex. Contact) */
.site-header .nav__cta.btn--primary[aria-current="page"] { background: #B4571E; color: #fff; }

/* Bouton hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: var(--r-sm);
  padding: 0 11px;
}
.nav-toggle span {
  display: block; height: 1.5px; width: 100%;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* -----------------------------------------------------------------------------
   6. Héros (accueil) — cinématique sombre
----------------------------------------------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--noir);
  color: var(--bone);
  padding-block: clamp(4rem, 7vw, 7rem) clamp(3.5rem, 6vw, 5.5rem);
}
/* Arrière-plan : le hall, sous un voile sombre et feutré */
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(96deg, rgba(18,18,18,.96) 0%, rgba(18,18,18,.9) 32%, rgba(18,18,18,.62) 58%, rgba(18,18,18,.34) 100%),
    linear-gradient(0deg, rgba(18,18,18,.55) 0%, rgba(18,18,18,0) 30%);
}
.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero .eyebrow { color: var(--copper-vif); }
.hero .eyebrow::before { background: var(--copper-vif); }
.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.7rem, 1.5rem + 4.6vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: .2rem 0 1.3rem;
  color: var(--bone);
}
.hero__lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.24rem); color: #DEDAD0; max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
/* Boutons inversés sur fond sombre */
.hero .btn--primary { background: var(--bone); color: var(--ink); }
.hero .btn--primary:hover { background: var(--copper-vif); color: #141414; box-shadow: none; }
.hero .btn--secondary { background: transparent; color: var(--bone); border-color: rgba(247,245,232,.38); }
.hero .btn--secondary:hover { border-color: var(--copper-vif); color: #fff; box-shadow: none; }

/* Carte « Trouver rapidement » */
.finder {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--sh-lg);
  padding: clamp(1.5rem, 2vw, 2.1rem);
}
.finder__label {
  font-size: .7rem; font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold-text); margin: 0 0 .25rem;
}
.finder__title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 1.1rem; }
.finder__search { position: relative; }
.finder__search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.finder__input {
  width: 100%;
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: .95rem 1rem .95rem 2.9rem;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.finder__input::placeholder { color: var(--ink-3); }
.finder__input:focus { outline: none; border-color: var(--gold); background: var(--surface); box-shadow: 0 0 0 3px rgba(201,106,46,.16); }

.finder__cats-label { font-size: .76rem; letter-spacing: .04em; color: var(--ink-2); margin: 1.4rem 0 .7rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  font-size: .85rem; font-weight: 500; color: var(--ink);
  padding: .5rem .95rem;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--r-pill);
  transition: all .2s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold-text); background: var(--surface); }

/* -----------------------------------------------------------------------------
   7. Bandeau image pleine largeur
----------------------------------------------------------------------------- */
.feature-band {
  position: relative;
  min-height: clamp(320px, 46vw, 560px);
  display: flex;
  align-items: flex-end;
  color: var(--bone);
  overflow: hidden;
}
.feature-band img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.feature-band__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,18,18,.14) 0%, rgba(18,18,18,.22) 45%, rgba(18,18,18,.82) 100%);
}
.feature-band__inner { position: relative; padding-block: clamp(2rem, 4vw, 3.5rem); width: 100%; }
.feature-band__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.7rem, 1.05rem + 2.3vw, 2.8rem);
  max-width: 22ch; line-height: 1.12;
}
.feature-band .eyebrow { color: var(--copper-vif); }
.feature-band .eyebrow::before { background: var(--copper-vif); }

/* -----------------------------------------------------------------------------
   8. Bande de statistiques
----------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: clamp(1.8rem, 3vw, 2.6rem);
}
.stat { text-align: center; }
.stat__num { font-family: var(--serif); font-size: clamp(1.9rem, 1.35rem + 1.6vw, 2.7rem); font-weight: 600; line-height: 1; }
.stat__num .unit { color: var(--gold-text); }
.stat__label { font-size: .82rem; color: var(--ink-2); letter-spacing: .04em; margin-top: .5rem; }

/* -----------------------------------------------------------------------------
   9. Grilles & cartes
----------------------------------------------------------------------------- */
.grid { display: grid; gap: clamp(1.1rem, 2vw, 1.6rem); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--cats { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 1.5rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--border-2); }

/* Tuile de catégorie */
.cat-tile {
  display: flex; flex-direction: column; gap: .35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 1.6rem 1.5rem;
  min-height: 142px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--gold); }
.cat-tile__icon { color: var(--gold-text); margin-bottom: .6rem; }
.cat-tile__name { font-family: var(--serif); font-size: 1.32rem; font-weight: 600; line-height: 1.15; }
.cat-tile__count { font-size: .84rem; color: var(--ink-2); margin-top: auto; }
.cat-tile__count b { color: var(--ink); font-weight: 600; }

/* Carte commerce */
.shop-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 1.5rem 1.5rem 1.35rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.shop-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--border-2); }
.shop-card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.shop-card__cat {
  font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-text);
}
.shop-card__local {
  flex: none;
  font-size: .74rem; font-weight: 600; letter-spacing: .04em;
  color: var(--ink-2);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: .28rem .7rem;
}
.shop-card__name { font-family: var(--serif); font-size: 1.24rem; font-weight: 600; line-height: 1.2; margin: .55rem 0 .9rem; }
.shop-card__meta { display: flex; flex-direction: column; gap: .5rem; margin-top: auto; }
.shop-card__row { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--ink-2); }
.shop-card__row svg { color: var(--ink-3); flex: none; }
.shop-card__row a { color: var(--ink-2); transition: color .2s var(--ease); word-break: break-word; }
.shop-card__row a:hover { color: var(--gold-text); }
.shop-card__sep { height: 1px; background: var(--border); margin: 1.1rem 0 0; }

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem);
  color: var(--ink-2);
  border: 1px dashed var(--border-2);
  border-radius: var(--r-card);
  background: var(--surface);
}
.empty-state strong { color: var(--ink); font-family: var(--serif); font-size: 1.3rem; display: block; margin-bottom: .4rem; font-weight: 600; }

/* -----------------------------------------------------------------------------
   10. Sous-en-tête de page (pages internes)
----------------------------------------------------------------------------- */
.page-head { padding-block: clamp(2.6rem, 5vw, 4.2rem) clamp(1.5rem, 3vw, 2.4rem); }
.page-head__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.1rem, 1.45rem + 2.5vw, 3.4rem);
  line-height: 1.08; letter-spacing: -0.02em; margin-bottom: 1rem;
}

/* -----------------------------------------------------------------------------
   11. Barre de filtres / recherche (commerces)
----------------------------------------------------------------------------- */
.toolbar {
  position: sticky; top: var(--header-h); z-index: 40;
  background: rgba(244,242,236,.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 1rem;
}
.toolbar__inner { display: flex; flex-direction: column; gap: 1rem; }
.search {
  position: relative; max-width: 460px; width: 100%;
}
.search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.search input {
  width: 100%; font-family: inherit; font-size: .98rem; color: var(--ink);
  padding: .8rem 2.6rem .8rem 2.8rem;
  background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--r-md);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,106,46,.16); }
.search__clear {
  position: absolute; right: .55rem; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; display: none; align-items: center; justify-content: center;
  border: 0; background: var(--bg-2); color: var(--ink-2); border-radius: 50%;
}
.search__clear:hover { color: var(--ink); }
.search.has-value .search__clear { display: inline-flex; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter {
  font-size: .85rem; font-weight: 500; color: var(--ink);
  display: inline-flex; align-items: center; min-height: 44px;
  padding: .5rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--r-pill);
  transition: all .2s var(--ease);
}
.filter:hover { border-color: var(--gold); color: var(--gold-text); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--bone); border-color: var(--ink); }
.filter .count { opacity: .6; margin-left: .35em; font-variant-numeric: tabular-nums; }

.results-meta { font-size: .88rem; color: var(--ink-2); margin-bottom: 1.4rem; }
.results-meta b { color: var(--ink); font-weight: 600; }

/* Séparateur d'étage dans le répertoire (même style que les surtitres) */
.floor-sep {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: .65em;
  font-size: .74rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-text);
  margin: .5rem 0 -.3rem;
}
.floor-sep::before { content: ""; width: 26px; height: 1px; background: var(--gold); flex: none; }
.floor-sep::after { content: ""; height: 1px; background: var(--border-2); flex: 1; }
.floor-sep:first-child { margin-top: 0; }

/* -----------------------------------------------------------------------------
   12. Espaces à louer
----------------------------------------------------------------------------- */
.space-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.space-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--border-2); }
.space-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.space-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.space-card:hover .space-card__media img { transform: scale(1.04); }
.space-card__tag {
  position: absolute; top: 1rem; left: 1rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  color: var(--ink); background: rgba(255,255,255,.94);
  padding: .35rem .75rem; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: .45em;
}
.space-card__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3E7C4F; }
.space-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.space-card__local { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.space-card__title { font-family: var(--serif); font-size: 1.42rem; font-weight: 600; margin: .35rem 0 .2rem; }
.space-card__sub { font-size: .9rem; color: var(--ink-2); margin-bottom: .9rem; }
.space-card__resume { color: var(--ink-2); font-size: .96rem; margin-bottom: 1.3rem; }
.space-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.space-card__specs { display: flex; gap: 1.3rem; font-size: .82rem; color: var(--ink-2); margin-bottom: 1.2rem; }
.space-card__spec b { display: block; color: var(--ink); font-weight: 600; font-size: .92rem; }

/* -----------------------------------------------------------------------------
   13. Modale
----------------------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 200; display: none; }
.modal.is-open { display: block; }
.modal__overlay { position: absolute; inset: 0; background: rgba(18,18,18,.6); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s var(--ease); }
.modal.is-open .modal__overlay { opacity: 1; }
.modal__dialog {
  position: relative;
  max-width: 920px; width: calc(100% - 2rem);
  max-height: min(880px, calc(100vh - 3rem));
  margin: 1.5rem auto;
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: var(--sh-lg);
  overflow: hidden;
  display: grid; grid-template-columns: 1.05fr 1fr;
  transform: translateY(14px) scale(.985); opacity: 0;
  transition: transform .35s var(--ease), opacity .3s var(--ease);
}
.modal.is-open .modal__dialog { transform: none; opacity: 1; }
.modal__media { position: relative; background: var(--bg-2); min-height: 280px; }
.modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Plan d'étage : affiché en entier sur fond blanc (jamais rogné) */
.modal__media--plan { background: #fff; }
.modal__media--plan img { object-fit: contain; padding: 1.2rem 1.2rem 2.6rem; }
.modal__media--plan figcaption { color: var(--ink-2); background: none; text-align: center; }
.modal__media figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-size: .72rem; color: var(--bone); padding: 1.4rem 1.2rem .9rem;
  background: linear-gradient(transparent, rgba(18,18,18,.62));
}
.modal__body { padding: clamp(1.6rem, 3vw, 2.4rem); overflow-y: auto; min-height: 0; max-height: min(880px, calc(100vh - 3rem)); }
.modal__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.94); border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.modal__close:hover { background: #fff; transform: rotate(90deg); }
.modal__local { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.modal__title { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + .9vw, 2.2rem); font-weight: 600; margin: .3rem 0 .6rem; }
.modal__specs { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1rem 0 1.3rem; }
.spec-pill { font-size: .8rem; color: var(--ink-2); background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-pill); padding: .4rem .85rem; }
.spec-pill b { color: var(--ink); font-weight: 600; }
.modal__desc { color: var(--ink-2); margin-bottom: 1.4rem; }
.atouts { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: .55rem; }
.atouts li { display: flex; gap: .65rem; align-items: flex-start; font-size: .94rem; color: var(--ink); }
.atouts li svg { color: var(--gold-text); flex: none; margin-top: 3px; }
/* Liste des commodités sur deux colonnes (fiche d'un local) */
.modal__sub { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; margin: .2rem 0 1rem; }
.atouts--cols { grid-template-columns: 1fr 1fr; gap: .6rem 1.4rem; margin-bottom: .55rem; }
.atouts-more { color: var(--gold-text); font-weight: 600; font-size: .92rem; margin: 0 0 1.6rem; }
@media (max-width: 600px) { .atouts--cols { grid-template-columns: 1fr; } }

/* -----------------------------------------------------------------------------
   14. Formulaires
----------------------------------------------------------------------------- */
.form-layout { display: grid; grid-template-columns: 1.45fr .85fr; gap: clamp(1.5rem, 3vw, 2.6rem); align-items: start; }
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: clamp(1.6rem, 3vw, 2.4rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--ink); }
.field .req { color: var(--gold-text); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: .98rem; color: var(--ink);
  padding: .8rem .9rem;
  background: var(--bg);
  border: 1px solid var(--border-2);
  border-radius: var(--r-md);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: var(--surface);
  box-shadow: 0 0 0 3px rgba(201,106,46,.16);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.form-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.form-note { font-size: .82rem; color: var(--ink-2); }

.callout {
  display: flex; gap: .85rem;
  background: var(--gold-soft);
  border: 1px solid #E8C8AA;
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
  font-size: .9rem; color: #6E3E17; line-height: 1.5;
  margin-top: 1.4rem;
}
.callout svg { flex: none; color: var(--gold-text); margin-top: 2px; }

/* Carte « À propos » (aside) */
.aside-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; }
.aside-card__media { aspect-ratio: 4 / 3; background: var(--bg-2); }
.aside-card__media img { width: 100%; height: 100%; object-fit: cover; }
.aside-card__body { padding: 1.5rem; }
.aside-card__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 1rem; }
.spec-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.spec-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--border); font-size: .92rem; }
.spec-list li:last-child { border-bottom: 0; }
.spec-list .k { color: var(--ink-2); }
.spec-list .v { color: var(--ink); font-weight: 600; text-align: right; }

/* Message de confirmation (après envoi) */
.form-success {
  text-align: center;
  padding: clamp(2rem, 4vw, 3rem) 1.5rem;
}
.form-success__icon {
  width: 64px; height: 64px; margin: 0 auto 1.2rem;
  border-radius: 50%; background: var(--gold-soft); color: var(--gold-text);
  display: grid; place-items: center; border: 1px solid #E8C8AA;
}
.form-success h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; margin-bottom: .6rem; }
.form-success p { color: var(--ink-2); max-width: 46ch; margin-inline: auto; }
.field-error { color: #9c3b2e; font-size: .78rem; }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: #c8745f; }
.form-error-box {
  background: #FBECE8; border: 1px solid #E3B4A8; color: #8A3322;
  border-radius: var(--r-md); padding: .85rem 1.1rem; margin-bottom: 1.2rem; font-size: .92rem;
}
.form-error-box a { color: #8A3322; text-decoration: underline; }
/* Champ « pot de miel » anti-pourriel : invisible aux humains, rempli par les robots. */
.cv-hp { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* -----------------------------------------------------------------------------
   15. Contact
----------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(1.5rem, 3vw, 3rem); align-items: stretch; }
.contact-info { display: flex; flex-direction: column; gap: 1.6rem; }
.info-row { display: flex; gap: 1rem; align-items: flex-start; }
.info-row__icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--gold-text);
}
.info-row__label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; margin-bottom: .2rem; }
.info-row__value { font-size: 1.05rem; color: var(--ink); }
.info-row__value a:hover { color: var(--gold-text); }
.map-frame { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--border); min-height: 360px; box-shadow: var(--sh-sm); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; filter: grayscale(.2) contrast(1.02); }

/* -----------------------------------------------------------------------------
   16. Bloc « média + texte » (alternances)
----------------------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.split__media { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--sh-sm); }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split--reverse .split__media { order: -1; }

.amenity-list { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: .75rem; }
.amenity-list li { display: flex; gap: .7rem; align-items: flex-start; color: var(--ink); }
.amenity-list li svg { color: var(--gold-text); flex: none; margin-top: 3px; }

/* Grille de commodités (page Espaces à louer) — cellules avec séparateurs fins */
.amenity-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: var(--border);
  border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden;
  box-shadow: var(--sh-sm);
}
.amenity-grid li {
  background: var(--surface);
  padding: 1.5rem 1.4rem;
  display: flex; align-items: center; gap: .75rem;
  font-size: 1rem; color: var(--ink);
}
.amenity-grid li svg { color: var(--gold-text); flex: none; }
.amenity-grid__more { margin: 1.4rem 0 0; color: var(--gold-text); font-weight: 600; }
@media (max-width: 900px) { .amenity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .amenity-grid { grid-template-columns: 1fr; } }

/* -----------------------------------------------------------------------------
   17. Pied de page — sombre
----------------------------------------------------------------------------- */
.site-footer { background: var(--noir); color: var(--bone-2); }
.site-footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(3rem, 5vw, 4.5rem);
}
.footer-logo { width: 240px; max-width: 72%; margin-bottom: 1.3rem; }
.site-footer p { color: #A5A199; font-size: .95rem; max-width: 38ch; }
.footer-col__title { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: #E08B52; font-weight: 600; margin-bottom: 1.1rem; }
.footer-col address { font-style: normal; color: var(--bone-2); line-height: 1.8; font-size: .98rem; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.footer-nav a { color: var(--bone-2); font-size: .98rem; transition: color .2s var(--ease); }
.footer-nav a:hover { color: var(--copper-vif); }
.site-footer__bottom {
  border-top: 1px solid rgba(247,245,232,.12);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: center; justify-content: space-between;
  font-size: .84rem; color: #96938B;
}
.site-footer__bottom a { color: #96938B; }
.site-footer__bottom a:hover { color: var(--copper-vif); }

/* -----------------------------------------------------------------------------
   18. Accès rapide / passerelle (sous-pied)
----------------------------------------------------------------------------- */
.cta-band { background: var(--bg-2); border-top: 1px solid var(--border); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }

/* -----------------------------------------------------------------------------
   19. Animations d'apparition
----------------------------------------------------------------------------- */
/* Sans JavaScript, le contenu reste visible (amélioration progressive). */
.reveal { opacity: 1; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Sauter au contenu (accessibilité) */
.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 300;
  background: var(--noir); color: var(--bone); padding: .7rem 1.1rem; border-radius: var(--r-sm);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* -----------------------------------------------------------------------------
   19b. Tuile « Bijouterie » — mise en valeur douce (accent cuivre)
----------------------------------------------------------------------------- */
.cat-tile--feature { border-color: var(--gold); background: linear-gradient(180deg, #FFF9F4, var(--surface)); }
.cat-tile--feature:hover { border-color: var(--gold); }
.cat-tile--feature .cat-tile__icon { color: var(--gold); }
.cat-tile--feature .cat-tile__count { color: var(--gold-text); font-weight: 500; }

/* -----------------------------------------------------------------------------
   19c. Événements (code de couleur : à venir = cuivre · passé = atténué)
----------------------------------------------------------------------------- */
.event-legend { display: flex; gap: 1.5rem; margin-bottom: 1.6rem; font-size: .82rem; color: var(--ink-2); }
.event-legend__item { display: inline-flex; align-items: center; gap: .5rem; }
.event-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.event-dot--avenir { background: var(--gold); }
.event-dot--passe { background: #C4C0B4; }
.event-note { color: var(--ink-2); font-size: .95rem; margin-bottom: 1.4rem; }

.event-list { display: grid; gap: 1.1rem; }
.event-card {
  display: grid; grid-template-columns: 116px 1fr; gap: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 1.6rem 1.7rem;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.event-card:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.event-date { display: flex; flex-direction: column; padding-right: 1.6rem; border-right: 1px solid var(--border); }
.event-date__day { font-family: var(--serif); font-weight: 600; font-size: 2.5rem; line-height: 1; color: var(--ink); }
.event-date__mon { font-size: .84rem; color: var(--ink-2); margin-top: .35rem; }
.event-card__head { display: flex; align-items: center; gap: .7rem; margin-bottom: .55rem; flex-wrap: wrap; }
.event-badge { font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .65rem; border-radius: var(--r-pill); }
.event-type { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.event-card__title { font-family: var(--serif); font-size: 1.38rem; font-weight: 600; line-height: 1.15; margin-bottom: .55rem; }
.event-card__desc { color: var(--ink-2); margin-bottom: .9rem; }
.event-card__lieu { display: inline-flex; align-items: center; gap: .45rem; font-size: .88rem; color: var(--ink-2); }
.event-card__lieu svg { color: var(--ink-3); flex: none; }

.event-card--avenir { border-color: #E7C7A9; box-shadow: 0 0 0 1px rgba(201,106,46,.12); }
.event-card--avenir .event-date { border-right-color: #E9CDB2; }
.event-card--avenir .event-date__day { color: var(--gold-text); }
.event-badge--avenir { background: var(--gold-soft); color: #6E3E17; }

.event-card--passe { background: #F2F0EA; }
.event-card--passe .event-date__day { color: var(--ink-3); }
.event-badge--passe { background: #E5E2D8; color: var(--ink-2); }
.event-card--passe .event-card__title { color: #45433E; }

@media (max-width: 620px) {
  .event-card { grid-template-columns: 1fr; gap: 1rem; }
  .event-date { flex-direction: row; align-items: baseline; gap: .6rem; padding-right: 0; padding-bottom: .9rem; border-right: 0; border-bottom: 1px solid var(--border); }
  .event-date__day { font-size: 1.9rem; }
  .event-date__mon { margin-top: 0; }
  .event-card--avenir .event-date { border-bottom-color: #E9CDB2; }
}

/* -----------------------------------------------------------------------------
   20. Responsive
----------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  /* Sur mobile, le voile sombre s'accentue pour préserver la lisibilité */
  .hero__bg img { object-position: 68% 42%; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(18,18,18,.88) 0%, rgba(18,18,18,.9) 55%, rgba(18,18,18,.94) 100%); }
  .grid--3, .grid--cats { grid-template-columns: repeat(2, 1fr); }
  .form-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .modal__dialog { grid-template-columns: 1fr; overflow-y: auto; }
  .modal__media { min-height: 200px; aspect-ratio: 16/9; }
  .modal__body { max-height: none; overflow-y: visible; }
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

@media (max-width: 1024px) {
  .nav-toggle { display: inline-flex; }
  /* Panneau de navigation mobile (le même élément que la nav de bureau) — clair */
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-md);
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.4rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .3s var(--ease), opacity .3s var(--ease);
  }
  .site-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: .95rem 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .nav__link::after { display: none; }
  /* Le soulignement étant masqué ici, la page courante se signale en cuivre */
  .nav__link[aria-current="page"] { color: var(--gold-text); font-weight: 600; }
  .nav__cta { margin: 1.1rem 0 0; }
  .nav__cta.btn { width: 100%; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid--3, .grid--2, .grid--cats { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .brand__sub { display: none; }
  .brand__logo { height: 45px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
  .feature-band { min-height: 300px; }
}

/* -----------------------------------------------------------------------------
   21. Préférences de mouvement réduit
----------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
