/* ═══════════════════════════════════════════════════════════════
   La Petite Concierge — style
   Palette : vert bouteille · ivoire · laiton · cachet
   Type    : Cormorant Garamond (display) · Jost (étiquettes/corps)
   ═══════════════════════════════════════════════════════════════ */

:root {
  --vert-nuit:   #0E271F;
  --vert-fonce:  #143528;
  --ivoire:      #F1EDE2;
  --ivoire-2:    #E9E3D2;
  --laiton:      #B99356;
  --laiton-clair:#D3B87E;
  --encre:       #1F2D26;
  --craie:       #EAE4D4;
  --cachet:      #7E2D26;

  --display: "Cormorant Garamond", "Times New Roman", serif;
  --sans:    "Jost", "Avenir Next", "Century Gothic", sans-serif;

  --wrap: 1120px;

  /* grain de papier (spécks noirs pour l'ivoire, blancs pour le vert) */
  --grain-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  --grain-d: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.035 0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  color: var(--encre);
  background: var(--vert-nuit);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--laiton); color: var(--vert-nuit); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: .005em;
}

a { color: inherit; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }

/* ── Étiquettes (eyebrows) ─────────────────────────────────── */
.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .38em;
  text-transform: uppercase;
  color: var(--laiton);
  margin-bottom: 20px;
}

/* ── Boutons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 34px 13px;
  border: 1px solid currentColor;
  background: transparent;
  cursor: pointer;
  transition: background .35s ease, color .35s ease, border-color .35s ease, letter-spacing .35s ease;
}
.btn:hover { letter-spacing: .34em; }
.btn-outline { color: var(--laiton-clair); }
.btn-outline:hover, .btn-outline:focus-visible { background: var(--laiton-clair); color: var(--vert-nuit); }
.btn-brass { color: var(--laiton-clair); }
.btn-brass:hover, .btn-brass:focus-visible { background: var(--laiton-clair); color: var(--vert-nuit); }
.btn-vert { color: var(--vert-nuit); }
.btn-vert:hover, .btn-vert:focus-visible { background: var(--vert-nuit); color: var(--ivoire); }

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

/* ── Header ────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* en haut de page : posé À L'INTÉRIEUR du double filet du hero (inset 26px+7px) */
  padding: 48px 60px;
  color: var(--craie);
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
.site-header.scrolled {
  background: rgba(14, 39, 31, .92);
  backdrop-filter: blur(8px);
  padding: 12px 36px;
  box-shadow: 0 1px 0 rgba(185, 147, 86, .25);
}
.brand {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: var(--craie);
}
.brand-keys { width: 30px; height: 30px; color: var(--laiton); flex-shrink: 0; }
.brand-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: .04em;
  line-height: 1;
  transform: translateY(.5px);   /* calé sur le milieu des clefs (PC) */
}
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a {
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--craie);
  opacity: .85;
  transition: opacity .3s, color .3s;
}
.site-nav a:hover, .site-nav a:focus-visible { opacity: 1; color: var(--laiton-clair); }
.site-nav > a:not(.nav-cta) { position: relative; }
.site-nav > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -5px;
  height: 1px;
  background: var(--laiton-clair);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s cubic-bezier(.22, .61, .36, 1);
}
.site-nav > a:not(.nav-cta):hover::after,
.site-nav > a:not(.nav-cta):focus-visible::after { transform: scaleX(1); }
.site-nav .nav-cta {
  border: 1px solid var(--laiton);
  color: var(--laiton-clair);
  padding: 9px 18px 7px;
  opacity: 1;
}
.site-nav .nav-cta:hover, .site-nav .nav-cta:focus-visible {
  background: var(--laiton-clair);
  color: var(--vert-nuit);
}

/* ── Sélecteur de langue ───────────────────────────────────── */
.lang { position: relative; }
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--craie);
  background: none;
  border: none;
  padding: 6px 0;
  cursor: pointer;
  opacity: .85;
  transition: opacity .3s, color .3s;
}
.lang-btn:hover, .lang-btn:focus-visible, .lang.open .lang-btn { opacity: 1; color: var(--laiton-clair); }
.lang-btn svg { width: 9px; height: 6px; transition: transform .35s cubic-bezier(.22, .61, .36, 1); }
.lang.open .lang-btn svg { transform: rotate(180deg); }
.lang-panel {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  min-width: 168px;
  background: rgba(14, 39, 31, .96);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(185, 147, 86, .45);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .3s, transform .3s, visibility .3s;
}
.lang.open .lang-panel { opacity: 1; visibility: visible; transform: none; }
.lang-panel a {
  display: block;
  padding: 10px 24px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--craie);
  opacity: .75;
  transition: opacity .3s, color .3s;
}
.lang-panel a:hover, .lang-panel a:focus-visible { opacity: 1; color: var(--laiton-clair); }
.lang-panel a[aria-current] { opacity: 1; color: var(--laiton); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--craie);
  background: var(--grain-d), var(--vert-nuit);
  overflow: hidden;
  padding: 120px 24px 80px;
}
/* halo de lampe, respiration très lente */
.hero::before {
  content: "";
  position: absolute;
  inset: -15%;
  background: radial-gradient(ellipse 45% 35% at 50% 42%, rgba(185, 147, 86, .13), transparent 62%);
  animation: respirer 18s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes respirer {
  from { transform: scale(1); opacity: .75; }
  to   { transform: scale(1.15); opacity: 1; }
}
/* plaque gravée : double filet laiton en retrait */
.hero-frame {
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(185, 147, 86, .45);
  pointer-events: none;
  /* ticks de coin, plus francs que le filet */
  --tick: rgba(211, 184, 126, .85);
  background:
    linear-gradient(var(--tick), var(--tick)) top left    / 16px 1px,
    linear-gradient(var(--tick), var(--tick)) top left    / 1px 16px,
    linear-gradient(var(--tick), var(--tick)) top right   / 16px 1px,
    linear-gradient(var(--tick), var(--tick)) top right   / 1px 16px,
    linear-gradient(var(--tick), var(--tick)) bottom left / 16px 1px,
    linear-gradient(var(--tick), var(--tick)) bottom left / 1px 16px,
    linear-gradient(var(--tick), var(--tick)) bottom right/ 16px 1px,
    linear-gradient(var(--tick), var(--tick)) bottom right/ 1px 16px;
  background-repeat: no-repeat;
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(185, 147, 86, .2);
}
.hero-inner { position: relative; max-width: 900px; }
.hero-keys { width: 58px; height: 58px; color: var(--laiton); margin-bottom: 30px; }
/* les deux clefs balaient en rond et se referment en croix */
.hero-keys .key {
  transform-box: view-box;
  transform-origin: 32px 28px;
}
.hero-keys .key-d {
  transform: rotate(38deg);
  animation: cle-droite 1.6s cubic-bezier(.3, .75, .35, 1) .1s both;
}
.hero-keys .key-g {
  transform: rotate(-38deg);
  animation: cle-gauche 1.6s cubic-bezier(.3, .75, .35, 1) .1s both;
}
@keyframes cle-droite {
  0%   { transform: rotate(160deg); }
  74%  { transform: rotate(30deg); }
  100% { transform: rotate(38deg); }
}
@keyframes cle-gauche {
  0%   { transform: rotate(-160deg); }
  74%  { transform: rotate(-30deg); }
  100% { transform: rotate(-38deg); }
}
.hero h1 {
  font-size: clamp(44px, 7.2vw, 88px);
  font-weight: 400;
  color: var(--ivoire);
  margin-bottom: 26px;
}
.hero-sub {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(19px, 2.4vw, 25px);
  color: var(--laiton-clair);
  margin-bottom: 44px;
}
.hero-social {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 36px;
  margin-bottom: 26px;   /* respiration avant la ligne des horloges */
}
.hero-social a {
  color: rgba(234, 228, 212, .5);
  transition: color .3s;
}
.hero-social a:hover, .hero-social a:focus-visible { color: var(--laiton-clair); }
.hero-social svg { width: 19px; height: 19px; display: block; }

.hero-foot {
  position: absolute;
  bottom: 48px;
  left: 0;
  right: 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(234, 228, 212, .55);
}
.clock { white-space: nowrap; }
.hero-foot .clock { opacity: 0; transition: opacity .7s ease; }
.hero-foot .clock.on { opacity: 1; }
.clock-time {
  font-variant-numeric: tabular-nums;
  color: rgba(211, 184, 126, .8);
}
/* split-flap : chaque chiffre est une fiche */
.clock-time .ft {
  display: inline-block;
  min-width: .74em;
  text-align: center;
}
.clock-time .ft.spin {
  animation: flap .12s linear infinite;
  transform-origin: 50% 58%;
}
@keyframes flap {
  0%   { transform: rotateX(0); }
  50%  { transform: rotateX(-72deg); }
  100% { transform: rotateX(0); }
}

/* ── Sections ──────────────────────────────────────────────── */
.section { padding: 130px 0; }
.section-ivoire { background: var(--grain-l), var(--ivoire); color: var(--encre); }
/* filigrane de clefs croisées, presque imperceptible (quinconce) */
#services,
#methode,
.filigrane {
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='224' height='224'%3E%3Cg fill='none' stroke='%23B08D4A' stroke-opacity='0.09' stroke-width='2' stroke-linecap='round'%3E%3Cg transform='translate(40 40)'%3E%3Cg transform='rotate(38 32 28)'%3E%3Ccircle cx='32' cy='48' r='6'/%3E%3Cpath d='M32 42 V16 M32 16 h6 M32 22 h6'/%3E%3C/g%3E%3Cg transform='rotate(-38 32 28)'%3E%3Ccircle cx='32' cy='48' r='6'/%3E%3Cpath d='M32 42 V16 M32 16 h-6 M32 22 h-6'/%3E%3C/g%3E%3C/g%3E%3Cg transform='translate(152 152)'%3E%3Cg transform='rotate(38 32 28)'%3E%3Ccircle cx='32' cy='48' r='6'/%3E%3Cpath d='M32 42 V16 M32 16 h6 M32 22 h6'/%3E%3C/g%3E%3Cg transform='rotate(-38 32 28)'%3E%3Ccircle cx='32' cy='48' r='6'/%3E%3Cpath d='M32 42 V16 M32 16 h-6 M32 22 h-6'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
    var(--grain-l),
    var(--ivoire);
}
.section-vert   { background: var(--grain-d), var(--vert-nuit); color: var(--craie); }

.section h2 {
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 500;
  margin-bottom: 24px;
}
.section-ivoire h2 { color: var(--encre); }
.section-vert h2   { color: var(--ivoire); }

.lede {
  max-width: 620px;
  font-size: 17px;
  margin-bottom: 56px;
}
.section-vert .lede { color: rgba(234, 228, 212, .82); }

/* ── Encart « à propos du nom » (pages non francophones) ───── */
.encart-nom {
  max-width: 680px;
  margin: 0 auto 84px;
  padding: 32px 42px 34px;
  border: 1px solid rgba(185, 147, 86, .55);
  background: var(--ivoire-2);
  text-align: center;
}
.encart-label {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--laiton);
  margin-bottom: 14px;
}
.encart-nom p:not(.encart-label) {
  font-family: var(--display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: rgba(31, 45, 38, .85);
}

/* ── Services ──────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(31, 45, 38, .18);           /* filets entre cellules */
  border-top: 1px solid rgba(31, 45, 38, .18);
  border-bottom: 1px solid rgba(31, 45, 38, .18);
}
/* remplit la cellule restante de la rangée incomplète (8 cartes / 3 colonnes) —
   à recalibrer si le nombre de cartes change */
.services-grid::after {
  content: "";
  grid-column: span 1;
  background: var(--ivoire);
}
.service {
  background: var(--ivoire);
  padding: 40px 34px 44px;
}
/* transition complète (révélation + survol) — spécificité > .reveal qui ne
   transitionne qu'opacity/transform et écraserait le survol */
.services-grid .service {
  transition:
    opacity .8s cubic-bezier(.22, .61, .36, 1),
    transform .8s cubic-bezier(.22, .61, .36, 1),
    background .35s ease,
    box-shadow .35s ease;
}
.service:hover {
  background: #EAE2CB;
  box-shadow: inset 0 0 0 1px rgba(185, 147, 86, .45);
}
.service-change:hover {
  background: #E2D9BD;
  box-shadow: inset 0 0 0 1px var(--laiton);
}
.service h3 {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 25px;
  margin-bottom: 14px;
}
.carte-ico {
  width: 21px;
  height: 21px;
  color: var(--laiton);
  flex-shrink: 0;
}
.service p { font-size: 15px; color: rgba(31, 45, 38, .78); }
.service-change {
  background: var(--ivoire-2);
  box-shadow: inset 0 0 0 1px var(--laiton);
}
.service-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 11.5px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cachet);
}
.service-link:hover, .service-link:focus-visible { text-decoration: underline; text-underline-offset: 4px; }

/* « voir le carnet en entier » : carton d'invitation sous la grille */
.carnet-more {
  display: block;
  position: relative;
  width: fit-content;
  margin: 64px auto 0;
  padding: 30px 64px 28px;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(185, 147, 86, .55);
  transition: background .45s ease, border-color .45s ease;
}
.carnet-more::after {              /* second filet en retrait, comme la plaque */
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(185, 147, 86, .25);
  pointer-events: none;
  transition: border-color .45s ease;
}
.carnet-more-title {
  display: block;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #8F6D33;
  transition: color .45s ease;
}
.carnet-more-sub {
  display: block;
  margin-top: 10px;
  font-family: var(--display);
  font-style: italic;
  font-size: 17px;
  color: rgba(31, 45, 38, .6);
  transition: color .45s ease;
}
.carnet-more:hover, .carnet-more:focus-visible { background: var(--vert-nuit); border-color: var(--vert-nuit); }
.carnet-more:hover::after, .carnet-more:focus-visible::after { border-color: rgba(211, 184, 126, .55); }
.carnet-more:hover .carnet-more-title, .carnet-more:focus-visible .carnet-more-title { color: var(--laiton-clair); }
.carnet-more:hover .carnet-more-sub, .carnet-more:focus-visible .carnet-more-sub { color: rgba(234, 228, 212, .8); }

/* ── Page carnet (/services/) ──────────────────────────────── */
.page-head {
  position: relative;
  text-align: center;
  padding: 150px 0 64px;
}
.page-head .hero-keys { width: 44px; height: 44px; margin-bottom: 20px; }
.page-head h1 {
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 500;
  color: var(--ivoire);
  margin-bottom: 18px;
}
.page-lede {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(18px, 2.2vw, 23px);
  color: var(--laiton-clair);
}
.ledger {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 76px;
}
.ledger-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 8px;
  padding: 24px 10px;
  margin: 0;
  border-top: 1px solid rgba(31, 45, 38, .14);
}
/* transition complète (révélation + survol) — même piège de cascade que les
   cartes services : .reveal écraserait une transition posée sur .ledger-row */
.ledger .ledger-row {
  transition:
    opacity .8s cubic-bezier(.22, .61, .36, 1),
    transform .8s cubic-bezier(.22, .61, .36, 1),
    background .35s ease;
}
.ledger-row:hover { background: rgba(185, 147, 86, .09); }
.ledger-row:last-child { border-bottom: 1px solid rgba(31, 45, 38, .16); }
.ledger-num {
  grid-row: 1 / span 2;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--laiton);
}
.ledger-row h3 { font-size: 24px; margin-bottom: 6px; }
.ledger-row p { font-size: 14.5px; color: rgba(31, 45, 38, .78); }
.ledger-row .service-link { margin-top: 8px; }
.ledger-fin { margin-top: 48px; text-align: center; }
.ledger-fin .fleuron { margin-bottom: 24px; color: var(--laiton); }
.ledger-note {
  max-width: 640px;
  margin: 0 auto;
  font-family: var(--display);
  font-style: italic;
  font-size: 20px;
  color: rgba(31, 45, 38, .7);
}
.ledger-cta { margin-top: 26px; }

/* ── Interludes photographiques ────────────────────────────── */
.interlude {
  position: relative;
  height: clamp(240px, 40vw, 440px);
  background-size: cover;
  background-position: center;
}
.interlude::after {           /* voile vert + grain pour rester dans la palette */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--grain-d), linear-gradient(rgba(14, 39, 31, .26), rgba(14, 39, 31, .26));
}
.interlude::before {          /* filet laiton en retrait, écho de la plaque */
  content: "";
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(211, 184, 126, .4);
  z-index: 1;
}

/* ── Bande de transition fine : entrelacs guilloché laiton ─── */
.divider {
  display: flex;
  justify-content: center;
  padding: 44px 0 12px;
  background: var(--grain-d), var(--vert-nuit);
}
.divider-lignes {
  width: min(820px, 84%);
  height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='28'%3E%3Cpath d='M0 14 H64' stroke='%23B99356' stroke-opacity='.25' stroke-width='1'/%3E%3Crect x='12' y='10' width='8' height='8' transform='rotate(45 16 14)' fill='none' stroke='%23B99356' stroke-opacity='.65' stroke-width='1'/%3E%3Crect x='46' y='12' width='4' height='4' transform='rotate(45 48 14)' fill='%23B99356' fill-opacity='.55'/%3E%3C/svg%3E") repeat-x center;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

/* ── Comptoir de change ────────────────────────────────────── */
.comptoir-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: center;
}
.comptoir-points {
  list-style: none;
  margin: -18px 0 44px;
}
.comptoir-points li {
  position: relative;
  padding: 10px 0 10px 30px;
  font-size: 15px;
  color: rgba(234, 228, 212, .85);
  border-bottom: 1px solid rgba(185, 147, 86, .18);
}
.comptoir-points li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--laiton);
}

.board {
  border: 1px solid var(--laiton);
  padding: 46px 46px 38px;
  background: linear-gradient(160deg, rgba(185, 147, 86, .07), transparent 55%), var(--vert-fonce);
  box-shadow: 0 0 0 5px var(--vert-nuit), 0 0 0 6px rgba(185, 147, 86, .35);
}
.board-title {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .38em;
  text-transform: uppercase;
  text-align: center;
  color: var(--laiton);
  margin-bottom: 34px;
}
.board-releve {
  font-family: var(--display);
  font-style: italic;
  font-size: 16px;
  text-align: center;
  color: rgba(211, 184, 126, .7);
  margin: -28px 0 28px;
}
.board-row {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 15px 0;
}
.board-row + .board-row { border-top: 1px solid rgba(185, 147, 86, .16); }
.board-pair {
  font-family: var(--display);
  font-size: 21px;
  font-weight: 500;
  color: var(--craie);
  white-space: nowrap;
}
.board-dots {
  flex: 1;
  border-bottom: 1px dotted rgba(185, 147, 86, .45);
  transform: translateY(-5px);
}
.board-rate {
  font-family: var(--display);
  font-size: 27px;
  font-weight: 500;
  color: var(--laiton-clair);
  white-space: nowrap;
  font-variant-numeric: lining-nums;
}
.board-note {
  margin-top: 30px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(234, 228, 212, .5);
  text-align: center;
}

/* ── Méthode ───────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-top: 26px;
}
.step-num {
  display: block;
  font-family: var(--display);
  font-size: 46px;
  font-weight: 400;
  color: var(--laiton);
  line-height: 1;
  margin-bottom: 18px;
}
.step h3 { font-size: 23px; margin-bottom: 12px; }
.step p { font-size: 14.5px; color: rgba(31, 45, 38, .75); }

/* ── Citation ──────────────────────────────────────────────── */
.section-citation { padding: 110px 0 100px; text-align: center; }
.fleuron {
  width: 120px;
  height: 12px;
  color: var(--laiton);
  margin-bottom: 44px;
}
.citations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px;
}
.citations-grid blockquote { display: flex; flex-direction: column; }
.section-citation .citations-grid cite { margin-top: auto; padding-top: 24px; }
.citations-grid blockquote:nth-child(2) { transition-delay: .09s; }
.citations-grid blockquote:nth-child(3) { transition-delay: .18s; }
.section-citation blockquote p {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.55;
  color: var(--ivoire);
}
.section-citation cite {
  display: block;
  margin-top: 24px;
  font-family: var(--sans);
  font-style: normal;
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--laiton);
}

/* ── Contact ───────────────────────────────────────────────── */
.section-contact {
  background:
    var(--grain-d),
    radial-gradient(ellipse 70% 60% at 50% 110%, rgba(185, 147, 86, .1), transparent 60%),
    var(--vert-nuit);
}
.contact-wrap { display: flex; justify-content: center; }
.carte {
  position: relative;
  width: min(620px, 100%);
  background: var(--ivoire);
  color: var(--encre);
  padding: 64px 64px 52px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.carte h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 34px; color: var(--encre); }
.cachet {
  position: absolute;
  top: -26px;
  right: 44px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #96423a, var(--cachet) 65%);
  color: rgba(241, 237, 226, .85);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .4);
}
.cachet svg { width: 34px; height: 34px; }
/* les clefs du sceau se referment quand la carte apparaît */
.cachet .key {
  transform-box: view-box;
  transform-origin: 32px 28px;
}
.cachet .key-d { transform: rotate(38deg); }
.cachet .key-g { transform: rotate(-38deg); }
.carte.visible .cachet .key-d { animation: cle-droite 1.4s cubic-bezier(.3, .75, .35, 1) .25s backwards; }
.carte.visible .cachet .key-g { animation: cle-gauche 1.4s cubic-bezier(.3, .75, .35, 1) .25s backwards; }

.carte form { display: flex; flex-direction: column; gap: 26px; }
.carte label span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(31, 45, 38, .6);
  margin-bottom: 8px;
}
.carte input, .carte textarea {
  width: 100%;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  color: var(--encre);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(31, 45, 38, .35);
  padding: 6px 2px 10px;
  transition: border-color .3s;
}
.carte input:focus, .carte textarea:focus {
  outline: none;
  border-bottom-color: var(--laiton);
}
.carte input::placeholder, .carte textarea::placeholder { color: rgba(31, 45, 38, .35); }
.carte textarea { resize: vertical; }
.carte .btn { align-self: flex-start; margin-top: 6px; }
.carte-note { font-size: 12.5px; color: rgba(31, 45, 38, .55); }

/* ── Footer (compact, deux colonnes) ───────────────────────── */
.site-footer {
  padding: 30px 40px 26px;
  color: var(--craie);
  border-top: 1px solid rgba(185, 147, 86, .25);
}
.footer-cols {
  max-width: var(--wrap);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.footer-left { text-align: left; }
.footer-name {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ivoire);
  margin-bottom: 5px;
}
.footer-keys { width: 22px; height: 22px; color: var(--laiton); flex-shrink: 0; }
.footer-line {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(234, 228, 212, .55);
  margin-bottom: 6px;
}
.footer-copy { font-size: 10.5px; color: rgba(234, 228, 212, .32); }
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.footer-social { display: flex; align-items: center; gap: 24px; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(234, 228, 212, .6);
  transition: color .3s;
}
.footer-social a:hover, .footer-social a:focus-visible { color: var(--laiton-clair); }
.footer-social svg { width: 14px; height: 14px; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(234, 228, 212, .38);
  transition: color .3s;
}
.footer-legal a:hover, .footer-legal a:focus-visible { color: var(--laiton-clair); }

/* ── Animations ────────────────────────────────────────────── */
.reveal-load {
  opacity: 0;
  transform: translateY(18px);
  animation: rise .9s cubic-bezier(.22, .61, .36, 1) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes rise {
  to { opacity: 1; transform: none; }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1);
}
.reveal.visible { opacity: 1; transform: none; }

/* léger décalage colonne par colonne — sur la révélation seulement,
   pas sur le survol (ordre : opacity, transform, background, box-shadow) */
.services-grid .service:nth-child(3n+2) { transition-delay: .09s, .09s, 0s, 0s; }
.services-grid .service:nth-child(3n)   { transition-delay: .18s, .18s, 0s, 0s; }
.steps .step:nth-child(2) { transition-delay: .09s; }
.steps .step:nth-child(3) { transition-delay: .18s; }
.steps .step:nth-child(4) { transition-delay: .27s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-load { animation: none; opacity: 1; transform: none; }
  .reveal { transition: none; opacity: 1; transform: none; }
  .hero::before { animation: none; }
  .hero-keys .key { animation: none; }
  .cachet .key { animation: none !important; }
  .hero-foot .clock { opacity: 1; transition: none; }
  .clock-time .ft { animation: none; }
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid::after { content: none; }  /* 8 cartes = 4 rangées de 2, complètes */
  .comptoir-wrap { grid-template-columns: 1fr; gap: 64px; }
  .citations-grid { grid-template-columns: 1fr; gap: 52px; max-width: 620px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 640px) {
  .site-header { padding: 28px 32px; }
  .site-header.scrolled { padding: 10px 20px; }
  .site-nav { gap: 18px; }
  .site-nav > a:not(.nav-cta) { display: none; }
  .brand-name { font-size: 15px; white-space: nowrap; transform: translateY(2px); }
  .lang-btn { white-space: nowrap; }
  .section { padding: 90px 0; }
  .wrap { padding: 0 22px; }
  .services-grid { grid-template-columns: 1fr; }
  .services-grid::after { content: none; }
  .steps { grid-template-columns: 1fr; }
  .hero-frame { inset: 14px; }
  .hero-frame::after { inset: 5px; }
  /* hero compacté pour tenir dans la hauteur d'écran, plaque fermée comprise */
  .hero { padding: 90px 24px 70px; }
  .hero-keys { width: 48px; height: 48px; margin-bottom: 20px; }
  .hero h1 { margin-bottom: 20px; }
  .hero-sub { margin-bottom: 32px; }
  .hero-social { margin-top: 26px; margin-bottom: 0; }
  .hero-foot {
    bottom: 32px;
    left: 34px;
    right: 34px;
    font-size: 10px;
    letter-spacing: .14em;
    line-height: 2.1;
  }
  .page-head { padding: 130px 0 52px; }
  .ledger { grid-template-columns: 1fr; }
  .ledger-row { padding: 20px 4px; }
  .ledger-num { font-size: 20px; }
  .board { padding: 32px 24px 28px; box-shadow: none; }
  .board-pair { font-size: 18px; }
  .board-rate { font-size: 21px; }
  .carte { padding: 48px 28px 40px; }
  .footer-cols { flex-direction: column; align-items: center; gap: 18px; text-align: center; }
  .footer-left { text-align: center; }
  .footer-name { justify-content: center; }
  .footer-right { align-items: center; }
  .cachet { right: 24px; }
}
