/* =========================================================
   MIMOUN AVOCAT - Feuille de styles principale
   Site responsive : téléphone, tablette, ordinateur
   ========================================================= */

/* ---------- 1. Variables ---------- */
:root {
  /* Couleurs reprises du logo MIMOUN AVOCAT */
  --ink:        #1C1C1A;   /* noir du cercle et du monogramme */
  --ink-2:      #262624;
  --ink-3:      #34342F;
  --gold:       #A0833B;   /* or du monogramme */
  --gold-deep:  #8A6F30;   /* or assombri, lisible en petit corps sur fond clair */
  --gold-soft:  #B4995A;
  --gold-light: #C4A55E;   /* or éclairci, lisible sur fond sombre */
  --grey:       #838381;   /* gris du mot-symbole MIMOUN AVOCAT */
  --paper:      #FFFFFF;
  --paper-2:    #F7F5F0;
  --paper-3:    #EDE9E0;
  --text:       #26261F;
  --muted:      #6A6A66;
  --line:       #E3DED2;
  --ok:         #1F7A4C;
  --err:        #B3261E;

  --titre: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1180px;
  --gut: clamp(1.25rem, 5vw, 3.5rem);
  --sect: clamp(2.2rem, 4vw, 3.4rem);
  --radius: 6px;
  --radius-lg: 22px;
  --radius-xl: 30px;
  --shadow: 0 1px 2px rgba(28,28,26,.05), 0 8px 30px rgba(28,28,26,.07);
  --shadow-lg: 0 2px 4px rgba(28,28,26,.06), 0 24px 60px rgba(28,28,26,.13);
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.58;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }

h1, h2, h3, h4 {
  font-family: var(--titre);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  margin: 0 0 .42em;
  letter-spacing: -.028em;
}
h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; }
h2 { font-size: clamp(1.85rem, 4.3vw, 2.9rem); font-weight: 800; letter-spacing: -.034em; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 700; letter-spacing: -.024em; }
h4 { font-size: clamp(1.05rem, 1.9vw, 1.2rem); font-weight: 700; letter-spacing: -.018em; }
p  { margin: 0 0 .85em; }
p:last-child { margin-bottom: 0; }

a { color: var(--ink); text-decoration-color: var(--gold); text-underline-offset: .22em; }
a:hover { color: var(--gold); }

ul, ol { margin: 0 0 .85em; padding-left: 1.1em; }
li { margin-bottom: .3em; }

strong { font-weight: 600; color: var(--ink); }

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

.skip-link {
  position: absolute; left: 0; top: -100px; z-index: 999;
  background: var(--ink); color: #fff; padding: .85rem 1.4rem;
  font-size: .85rem; letter-spacing: .06em; text-transform: uppercase;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- 3. Utilitaires ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 760px; }
.section { padding-block: var(--sect); }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--ink); color: #D6D3CA; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark a { color: var(--gold-light); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.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;
}

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 .7rem;
  display: block;
}
.section--dark .eyebrow, .cta-band .eyebrow, .hero .eyebrow,
.band .eyebrow, .hero-split .eyebrow { color: var(--gold-light); }


.lead {
  font-size: clamp(1.02rem, 1.8vw, 1.16rem);
  line-height: 1.58;
  color: var(--muted);
}
.section--dark .lead { color: #B0ADA4; }

.rule { width: 42px; height: 2px; background: var(--gold); border: 0; margin: 1rem 0 1.4rem; }
.center .rule { margin-inline: auto; }

/* ---------- 4. Boutons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.85rem;
  min-height: 48px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease), transform .2s var(--ease);
}
.btn:hover { --btn-bg: var(--gold-deep); --btn-bd: var(--gold-deep); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--gold { --btn-bg: #C0A052; --btn-bd: #C0A052; --btn-fg: var(--ink); }
.btn--gold:hover { --btn-bg: #fff; --btn-bd: #fff; color: var(--ink); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-bd: var(--ink); color: #fff; }
.btn--light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); }
.btn--light:hover { --btn-bg: #fff; --btn-bd: #fff; color: var(--ink); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }
.center .btn-row { justify-content: center; }

/* ---------- 5. En-tête ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(255,255,255,0);
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1rem, 2.5vw, 2.2rem);
  min-height: 84px;
  max-width: 1420px;
  transition: min-height .35s var(--ease);
}
.header.is-solid {
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px rgba(28,28,26,.06);
}
.header.is-solid .header__inner { min-height: 70px; }

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }

.brand__sub {
  font-size: .6rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-top: 2px;
}
.header--on-hero:not(.is-solid) .brand__name { color: #fff; }
.header--on-hero:not(.is-solid) .brand__sub { color: var(--gold-light); }

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  position: relative;
  padding: .5rem .62rem;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .11em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: .62rem; right: .62rem; bottom: .18rem;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--gold); }
.header--on-hero:not(.is-solid) .nav a { color: rgba(255,255,255,.88); }
.header--on-hero:not(.is-solid) .nav a:hover { color: #fff; }

.header__cta { display: flex; align-items: center; gap: .5rem; flex: none; }
.header__cta .btn { white-space: nowrap; }
.header__inner { flex-wrap: nowrap; }
.brand { flex: none; }
.nav { flex: 0 1 auto; justify-content: flex-end; }
.header__cta .btn { padding: .65rem 1.05rem; min-height: 42px; font-size: .7rem; letter-spacing: .08em; }
.header--on-hero:not(.is-solid) .header__cta .btn--ghost {
  --btn-fg: #fff; --btn-bd: rgba(255,255,255,.42);
}
.header--on-hero:not(.is-solid) .header__cta .btn--ghost:hover { --btn-bg: #fff; color: var(--ink); }

.burger {
  display: none;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; padding: 0;
}
.burger span {
  display: block; position: relative; width: 24px; height: 1.5px;
  background: var(--ink); transition: background .2s var(--ease);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 24px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.burger span::before { top: -7px; }
.burger span::after  { top: 7px; }
.header--on-hero:not(.is-solid) .burger span,
.header--on-hero:not(.is-solid) .burger span::before,
.header--on-hero:not(.is-solid) .burger span::after { background: #fff; }
.burger[aria-expanded="true"] span { background: transparent !important; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); background: var(--ink) !important; }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); background: var(--ink) !important; }

/* Tiroir mobile */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--paper);
  padding: 96px var(--gut) calc(2rem + env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a {
  font-family: var(--titre);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--ink);
  text-decoration: none;
  padding: .72rem 0;
  border-bottom: 1px solid var(--line);
}
.drawer nav a[aria-current="page"] { color: var(--gold); }
.drawer__foot { margin-top: auto; padding-top: 2.2rem; }
.drawer__foot .btn { margin-bottom: .7rem; }
.drawer__meta { font-size: .9rem; color: var(--muted); margin-top: 1.4rem; }
.drawer__meta a { color: var(--ink); font-weight: 500; }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--ink);
  overflow: hidden;
}
.hero__inner { margin-top: auto; }
.hero--page { min-height: min(62vh, 560px); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  opacity: .42;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,28,26,.72) 0%, rgba(28,28,26,.4) 38%, rgba(28,28,26,.92) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(3.5rem, 9vw, 6.5rem); width: 100%; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero--page h1 { max-width: 22ch; }
.hero .lead { color: rgba(255,255,255,.8); max-width: 52ch; margin-top: 1.5rem; }
.hero .btn-row { margin-top: 2.4rem; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%);
  z-index: 3; color: rgba(255,255,255,.55); font-size: .68rem;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 34px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollpulse 2.4s var(--ease) infinite;
}
@keyframes scrollpulse { 0%,100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

.hero__strip {
  position: relative; z-index: 2;
  background: rgba(255,255,255,.06);
  border-top: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
}
.hero__strip .wrap {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1rem; padding-block: 1.35rem;
}
.hero__strip a, .hero__strip div {
  display: flex; align-items: center; gap: .7rem;
  color: rgba(255,255,255,.86); font-size: .84rem; text-decoration: none;
}
.hero__strip svg { width: 18px; height: 18px; color: var(--gold-light); flex: none; }
.hero__strip a:hover { color: #fff; }

/* ---------- 7. Grilles & cartes ---------- */
.grid { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: stretch; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.split--wide-text { grid-template-columns: 1.15fr 1fr; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.split__media--framed::before {
  content: ""; position: absolute; inset: -18px -18px 18px 18px;
  border: 1px solid var(--gold); border-radius: var(--radius-lg); z-index: -1;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card__num {
  font-family: var(--titre); font-size: 1.9rem; font-weight: 800; letter-spacing: -.04em; color: var(--gold);
  line-height: 1; margin-bottom: .6rem;
}
.card__icon {
  width: 40px; height: 40px; margin-bottom: .95rem; color: var(--gold);
}
.card__icon svg { width: 100%; height: 100%; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .96rem; }
.card__link {
  margin-top: auto; padding-top: 1.1rem;
  font-size: .77rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem;
}
.card__link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.card:hover .card__link { color: var(--gold); }
.card:hover .card__link svg { transform: translateX(4px); }

/* Carte domaine avec image */
.domain {
  position: relative; overflow: hidden; border-radius: var(--radius-lg);
  min-height: 370px; display: flex; align-items: flex-start;
  background: var(--ink); text-decoration: none; color: #fff;
}
.domain img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%) contrast(1.08); opacity: .62;
  transition: transform .8s var(--ease), opacity .5s var(--ease);
}
.domain::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,28,26,.93) 0%, rgba(28,28,26,.72) 34%, rgba(28,28,26,.12) 62%, rgba(28,28,26,.35) 100%);
}
.domain:hover img { transform: scale(1.06); opacity: .78; }
.domain__body { position: relative; z-index: 2; padding: clamp(1.5rem, 2.8vw, 2rem); }
.domain h3 { color: #fff; margin-bottom: .5rem; }
.domain p { color: rgba(255,255,255,.75); font-size: .93rem; margin-bottom: 1.1rem; }
.domain__more {
  font-size: .75rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold-light); font-weight: 600;
  display: inline-flex; align-items: center; gap: .5rem;
}
.domain__more svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.domain:hover .domain__more svg { transform: translateX(4px); }

/* Chiffres clés */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 1.2rem .6rem; }
.stat__n {
  font-family: var(--titre); font-weight: 800; letter-spacing: -.04em; font-size: clamp(2.3rem, 4.8vw, 3.2rem);
  color: var(--gold-light); line-height: 1; display: block; margin-bottom: .5rem;
}
.stat__n .u { font-size: .42em; margin-left: .18em; letter-spacing: .04em; }
.stat__l { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.section--dark .stat__l { color: #96938B; }

/* ---------- 8. Frise chronologique ---------- */
.timeline { position: relative; max-width: 820px; margin-inline: auto; }
.timeline::before {
  content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px;
  width: 1px; background: linear-gradient(180deg, var(--gold), var(--line));
}
.tl-item { position: relative; padding: 0 0 1.7rem 2.6rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 0; top: .5rem;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--gold);
}
.tl-item__y {
  font-family: var(--titre); font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; color: var(--gold);
  line-height: 1; margin-bottom: .35rem; display: block;
}
.tl-item p { color: var(--muted); }
.section--tint .tl-item::before { background: var(--paper-2); }

/* ---------- 9. Accordéon ---------- */
.acc { border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: 1.15rem 0; background: none; border: 0; cursor: pointer;
  font-family: var(--titre); font-size: clamp(1.05rem, 1.95vw, 1.22rem); font-weight: 700; letter-spacing: -.02em;
  color: var(--ink); text-align: left; line-height: 1.3;
}
.acc__btn:hover { color: var(--gold); }
.acc__sign { position: relative; width: 18px; height: 18px; flex: none; }
.acc__sign::before, .acc__sign::after {
  content: ""; position: absolute; background: var(--gold);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.acc__sign::before { left: 0; top: 8px; width: 18px; height: 2px; }
.acc__sign::after  { left: 8px; top: 0; width: 2px; height: 18px; }
.acc__btn[aria-expanded="true"] .acc__sign::after { transform: rotate(90deg); opacity: 0; }
.acc__panel {
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .38s var(--ease);
}
.acc__panel[data-open="true"] { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel .acc__inner { padding-bottom: 1.3rem; color: var(--muted); max-width: 78ch; }

/* ---------- 10. Formulaires ---------- */
.form { display: grid; gap: .85rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: .85rem; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field label {
  font-size: .74rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink);
}
.field .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--sans); font-size: 1rem; color: var(--text);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .85rem 1rem;
  min-height: 50px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field textarea { min-height: 148px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23616874' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 17px;
  padding-right: 2.8rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(178,147,79,.16);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: var(--err); box-shadow: 0 0 0 3px rgba(179,38,30,.12);
}
.field__err { font-size: .8rem; color: var(--err); min-height: 1.1em; }
.field__hint { font-size: .82rem; color: var(--muted); }

.check { display: flex; align-items: flex-start; gap: .75rem; font-size: .88rem; color: var(--muted); line-height: 1.55; }
.check input { width: 19px; height: 19px; min-height: 0; margin-top: .18rem; flex: none; accent-color: var(--gold); }
.check a { color: var(--ink); }

.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; }

.form__status { font-size: .95rem; padding: 1rem 1.15rem; border-radius: var(--radius); display: none; }
.form__status[data-state="ok"]  { display: block; background: #EAF5EF; color: var(--ok); border: 1px solid #BFE0CE; }
.form__status[data-state="err"] { display: block; background: #FCECEB; color: var(--err); border: 1px solid #F1C7C4; }
.form__status[data-state="wait"]{ display: block; background: var(--paper-2); color: var(--muted); border: 1px solid var(--line); }

.form-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}

/* ---------- 11. Simulateur ---------- */
.simu { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
.simu__out {
  background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem); position: sticky; top: 100px;
}
.simu__line {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.12);
}
.simu__line:last-of-type { border-bottom: 0; }
.simu__line dt { font-size: .84rem; color: #B0ADA4; margin: 0; }
.simu__line dd {
  margin: 0; font-family: var(--titre); font-size: 1.5rem; font-weight: 800; letter-spacing: -.03em;
  color: var(--gold-light); white-space: nowrap;
}
.simu__line--big dd { font-size: 1.95rem; color: #fff; }
.simu__note { font-size: .8rem; color: #96938B; margin-top: 1.4rem; line-height: 1.6; }
.simu__note a { color: var(--gold-light); }
.disclaimer {
  font-size: .84rem; color: var(--muted); background: var(--paper-3);
  border-left: 3px solid var(--gold); padding: 1.1rem 1.3rem;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* ---------- 12. Carte & contact ---------- */
.map-consent {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--ink-2); display: grid; place-items: center; text-align: center;
  padding: 2rem; border: 1px solid var(--line);
}
.map-consent img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%) blur(2px); opacity: .3;
}
.map-consent__body { position: relative; z-index: 2; max-width: 40ch; color: #D6D3CA; }
.map-consent__body p { font-size: .9rem; margin-bottom: 1.3rem; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent.is-loaded { background: none; padding: 0; }
.map-consent.is-loaded .map-consent__body, .map-consent.is-loaded > img { display: none; }

.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: .95rem; padding: .8rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.info-list li:last-child { border-bottom: 0; }
.info-list svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: .28rem; }
.info-list strong { display: block; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); font-weight: 600; margin-bottom: .28rem; }
.info-list a, .info-list span { font-size: 1.05rem; color: var(--ink); text-decoration: none; font-weight: 500; }
.info-list a:hover { color: var(--gold); }

/* ---------- 13. Actualités ---------- */
.post-card {
  display: flex; flex-direction: column; text-decoration: none;
  border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  background: var(--paper);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.post-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-3); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: transform .7s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.05); }
.post-card__body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: .5rem; }
.post-card h3 { font-size: 1.2rem; margin-bottom: .55rem; line-height: 1.26; }
.post-card p { color: var(--muted); font-size: .93rem; }
.post-card .card__link { margin-top: auto; padding-top: 1.3rem; }

.article { max-width: 720px; margin-inline: auto; }
.article__meta { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 1rem; }
.article h2 { margin-top: 2rem; font-size: clamp(1.45rem, 2.8vw, 1.9rem); }
.article h3 { margin-top: 1.5rem; }
.article blockquote {
  margin: 1.7rem 0; padding: 1rem 0 1rem 1.5rem;
  border-left: 3px solid var(--gold);
  font-family: var(--titre); font-size: 1.22rem; font-weight: 600; letter-spacing: -.02em;
  line-height: 1.5; color: var(--ink);
}
.article ul li::marker { color: var(--gold); }
.article__back { display: inline-flex; align-items: center; gap: .5rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; text-decoration: none; margin-bottom: 2rem; }
.article__back svg { width: 15px; height: 15px; }

/* ---------- 14. Bandeau CTA ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); opacity: .22; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(28,28,26,.95), rgba(28,28,26,.62)); }
.cta-band .wrap { position: relative; z-index: 2; }

/* ---------- 15. Pied de page (composition centrée) ---------- */
.footer {
  background: var(--ink);
  color: #96938B;
  padding-block: clamp(3rem, 6vw, 4.6rem) 0;
  text-align: center;
}

/* Bloc d'en-tête : le logo est isolé, seul sur sa ligne */
.footer__tete {
  max-width: 640px;
  margin-inline: auto;
  padding-bottom: clamp(2.2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer__logo {
  width: 96px; height: 96px;
  margin: 0 auto 1.4rem;
}
.footer__nom {
  font-family: var(--titre);
  font-size: 1.05rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: #fff; margin: 0 0 .5rem;
}
.footer__sous {
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-light); margin: 0 0 1.6rem;
}
.footer__phrase {
  font-size: .95rem; line-height: 1.7; color: #96938B;
  max-width: 56ch; margin: 0;
}
.footer .signature { max-width: 150px; margin: 1.8rem auto 0; opacity: .85; }

/* Trois colonnes de liens, centrées */
.footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.8rem, 4vw, 3.5rem);
  padding-block: clamp(2.2rem, 4vw, 3rem);
  max-width: 940px;
  margin-inline: auto;
}
.footer h4 {
  color: #fff; font-family: var(--titre);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: .7rem; line-height: 1.55; }
.footer a {
  color: #96938B; text-decoration: none; font-size: .93rem;
  transition: color .25s var(--ease);
}
.footer a:hover { color: var(--gold-light); }

/* Réseaux sociaux, centrés */
.footer__reseaux {
  padding-block: 0 clamp(2rem, 4vw, 2.8rem);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: clamp(2rem, 4vw, 2.6rem);
}
.footer__reseaux .socials { justify-content: center; }

/* Barre légale, centrée */
.footer__bar {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: center; gap: .9rem;
  font-size: .8rem;
}
.footer__bar p { margin: 0; }
.footer__bar nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem; }

@media (max-width: 700px) {
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__logo { width: 80px; height: 80px; }
  .footer__nom { font-size: .92rem; letter-spacing: .24em; }
}

/* ---------- 16. Barre d'action mobile ---------- */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: .55rem var(--gut) calc(.55rem + env(safe-area-inset-bottom));
  box-shadow: 0 -2px 22px rgba(28,28,26,.09);
}
.actionbar__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.actionbar a {
  display: flex; flex-direction: column; align-items: center; gap: .28rem;
  padding: .5rem .2rem; text-decoration: none; color: var(--ink);
  font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; font-weight: 600;
  border-radius: var(--radius); min-height: 52px; justify-content: center;
}
.actionbar a svg { width: 19px; height: 19px; color: var(--gold); }
.actionbar a:active { background: var(--paper-2); }

/* ---------- 17. Bouton haut de page ---------- */
.totop {
  position: fixed; right: 1.2rem; bottom: 1.4rem; z-index: 88;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: #fff; border: 0; cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background .25s var(--ease);
  box-shadow: var(--shadow-lg);
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--gold); }
.totop svg { width: 19px; height: 19px; }

/* ---------- 18. Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* =========================================================
   19. RESPONSIVE - tablette puis téléphone
   ========================================================= */

/* Petits ordinateurs / grandes tablettes */
@media (max-width: 1560px) {
  .header__cta .btn--ghost { display: none; }
}
@media (max-width: 1080px) {
  .nav a { padding: .45rem .5rem; font-size: .7rem; }
}

/* Aucun élément orphelin : une grille de 3 reste à 3, une grille de 4 passe à 2 */
@media (max-width: 1100px) {
  .grid--3 { gap: 1.2rem; }
  .grid--3 .card { padding: 1.4rem; }
  .grid--3 .card h3, .grid--3 .domain h3 { font-size: 1.15rem; }
  .grid--3 .card p, .grid--3 .domain p { font-size: .9rem; }
  .domain { min-height: 320px; }
  .domain__body { padding: 1.2rem; }
}

/* Tablette */
@media (max-width: 1300px) {
  html { scroll-padding-top: 80px; }
  .nav, .header__cta { display: none; }
  .burger { display: flex; }
  .header__inner { min-height: 72px; }
  .header.is-solid .header__inner { min-height: 64px; }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .split, .split--wide-text { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--rev .split__media { order: -1; }
  .split__media--framed::before { inset: -12px -12px 12px 12px; }
  .simu { grid-template-columns: 1fr; }
  .simu__out { position: static; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: min(88vh, 720px); }
  .hero--page { min-height: 42vh; }
}

/* Téléphone */
@media (max-width: 640px) {
  html { scroll-padding-top: 76px; }
  h1 { font-size: clamp(1.95rem, 8.4vw, 2.5rem); }
  h2 { font-size: clamp(1.6rem, 6.6vw, 2.1rem); }
  body { font-size: .98rem; padding-bottom: 68px; }
  .actionbar { display: block; }
  .totop { bottom: 78px; right: 1rem; }

  .brand img { width: 38px; height: 38px; }
  .brand__name { font-size: 1.2rem; }
  .brand__sub { font-size: .55rem; letter-spacing: .24em; }

  .hero { min-height: auto; }
  .hero__inner { padding-block: 6.5rem 2.2rem; }
  .hero .lead { font-size: 1rem; }
  .hero .btn-row { margin-top: 1.7rem; }
  .hero--page .hero__inner { padding-block: 7rem 2.6rem; }
  .hero__scroll { display: none; }
  .hero__strip .wrap { grid-template-columns: 1fr; gap: .85rem; padding-block: 1.1rem; }

  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--3 .card { padding: 1.6rem; }
  .grid--3 .card h3, .grid--3 .domain h3 { font-size: 1.25rem; }
  .grid--3 .card p, .grid--3 .domain p { font-size: .95rem; }
  .stats { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .stat { padding: .9rem .4rem; }
  .form__row { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; }
  .drawer nav a { font-size: 1.5rem; }
  .domain { min-height: 300px; }
  .simu__line { flex-direction: column; align-items: flex-start; gap: .2rem; }
  .article blockquote { font-size: 1.1rem; padding-left: 1.2rem; }
}

/* Très petits écrans */
@media (max-width: 380px) {
  .brand__sub { display: none; }
  .actionbar a { font-size: .6rem; }
}

/* ---------- 20. Impression ---------- */
@media print {
  .header, .drawer, .actionbar, .totop, .hero__scroll, .cta-band, .map-consent { display: none !important; }
  body { padding: 0; color: #000; }
  .section { padding-block: 1.5rem; }
  a { text-decoration: none; color: #000; }
}


/* =========================================================
   21. Logo, images en couleur et inserts arrondis
   ========================================================= */

/* ---- Logo de l'en-tête : deux versions, échange automatique ---- */
.brand__logo { position: relative; width: 46px; height: 46px; flex: none; }
.brand__logo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 0; transition: opacity .35s var(--ease);
}
.brand__logo .logo--clair { opacity: 0; }
.header--on-hero:not(.is-solid) .brand__logo .logo--clair { opacity: 1; }
.header--on-hero:not(.is-solid) .brand__logo .logo--fonce { opacity: 0; }

/* Mot-symbole repris de la typographie du logo */
.brand__name {
  font-family: var(--sans);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink);
}
.brand__sub {
  font-size: .58rem; letter-spacing: .26em; text-transform: uppercase;
  color: var(--grey); font-weight: 500; margin-top: 4px;
}
.header--on-hero:not(.is-solid) .brand__name { color: #fff; }
.header--on-hero:not(.is-solid) .brand__sub  { color: var(--gold-light); }

/* ---- Filigrane du logo complet dans la bannière ---- */
.hero__mark {
  position: absolute; right: clamp(-40px, -2vw, 0px); bottom: 8%;
  width: clamp(220px, 34vw, 460px);
  opacity: .10; z-index: 1; pointer-events: none;
  filter: grayscale(100%) brightness(3);
}

/* ---- Bannières en couleur (mosaïque LEX, vitrail JUS, portrait) ---- */
.hero--color .hero__bg img { filter: none; opacity: .58; }
.hero--color::after {
  background: linear-gradient(180deg, rgba(28,28,26,.62) 0%, rgba(28,28,26,.34) 34%, rgba(28,28,26,.92) 100%);
}
.domain--color img { filter: none; opacity: .62; }
.domain--color:hover img { opacity: .72; }

/* ---- Inserts photo à coins arrondis ---- */
.insert {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.insert img { width: 100%; height: 100%; object-fit: cover; display: block; }
.insert--tall  { aspect-ratio: 3 / 4; }
.insert--wide  { aspect-ratio: 16 / 10; }
.insert--square{ aspect-ratio: 1 / 1; }
.insert--round { border-radius: 999px; aspect-ratio: 1 / 1; }
.insert--gold::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(160,131,59,.55);
  border-radius: inherit; pointer-events: none;
}
.insert__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.2rem 1.5rem 1.2rem;
  background: linear-gradient(180deg, transparent, rgba(28,28,26,.85));
  color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
}

/* Duo d'inserts décalés */
.insert-duo { position: relative; padding-bottom: 3.5rem; padding-right: 3.5rem; }
.insert-duo .insert:first-child { width: 82%; }
.insert-duo .insert:last-child {
  position: absolute; right: 0; bottom: 0; width: 46%;
  border: 5px solid var(--paper);
}
.section--tint .insert-duo .insert:last-child { border-color: var(--paper-2); }

/* ---- Bande photo pleine largeur (image de fond fixée) ---- */
.band {
  position: relative;
  min-height: clamp(300px, 46vw, 520px);
  display: grid; place-items: center;
  background: var(--ink);
  overflow: hidden;
}
.band__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  background-attachment: fixed;
}
.band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(28,28,26,.86), rgba(28,28,26,.5));
}
.band .wrap { position: relative; z-index: 2; text-align: center; padding-block: clamp(3rem,7vw,5rem); }
.band h2 { color: #fff; max-width: 20ch; margin-inline: auto; }
.band p  { color: rgba(255,255,255,.8); }
@media (hover: none), (max-width: 1300px) {
  .band__bg { background-attachment: scroll; }
}

/* ---- Signature manuscrite ---- */
.signature { max-width: 168px; margin-top: 1.9rem; opacity: .9; }


/* ---- Galerie du cabinet ---- */
.galerie { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.galerie .insert { aspect-ratio: 1 / 1; }
.galerie .insert:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.galerie .insert:nth-child(6) { grid-column: span 2; aspect-ratio: 2 / 1; }
.galerie .insert:nth-child(7) { grid-column: span 2; aspect-ratio: 2 / 1; }
@media (max-width: 1300px) {
  .galerie { grid-template-columns: repeat(2, 1fr); }
  .galerie .insert:nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 2 / 1; }
  .galerie .insert:nth-child(6), .galerie .insert:nth-child(7) { grid-column: auto; aspect-ratio: 1 / 1; }
}
@media (max-width: 640px) {
  .galerie { grid-template-columns: 1fr 1fr; gap: .7rem; }
  .galerie .insert:nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 4 / 3; }
  .insert-duo { padding-bottom: 2.4rem; padding-right: 2.4rem; }
  .hero__mark { display: none; }
  .brand__name { font-size: .82rem; letter-spacing: .24em; }
}

/* Rangée de boutons compacte (itinéraires) */
.btn-row--compact { gap: .55rem; }
.btn-row--compact .btn {
  padding: .62rem .95rem; min-height: 42px; font-size: .68rem; letter-spacing: .08em; flex: 1 1 auto;
}
.btn-row--compact .btn svg { width: 15px; height: 15px; }
@media (max-width: 640px) {
  .btn-row--compact { flex-direction: row; flex-wrap: wrap; }
  .btn-row--compact .btn { width: auto; flex: 1 1 30%; }
}


/* =========================================================
   22. Réseaux sociaux
   ========================================================= */
/* Les puces sont en ligne, et non en flex : l'alignement suit alors
   celui du bloc qui les contient - centré là où la page est centrée. */
.socials { list-style: none; padding: 0; margin: -.3rem; font-size: 0; }
.socials li { display: inline-block; margin: .3rem; font-size: 1rem; }
.socials a {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .6rem .95rem; min-height: 44px;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .06em;
  color: var(--ink); text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
}
.socials svg { width: 19px; height: 19px; flex: none; }
/* Survol doré, sur fond clair comme sur fond sombre.
   L'or profond assure un contraste suffisant avec le blanc (4,8:1). */
.socials a:hover,
.socials a:focus-visible {
  background: var(--gold-deep); border-color: var(--gold-deep); color: #fff;
  transform: translateY(-1px);
}
.socials a:hover svg, .socials a:focus-visible svg { color: #fff; }

.socials--light a { border-color: rgba(255,255,255,.22); color: #D6D3CA; }
.socials--light svg { color: var(--gold-light); }

/* =========================================================
   23. Jurisprudence
   ========================================================= */
.juri__bar {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  align-items: flex-end; justify-content: space-between;
  padding-bottom: 1.2rem; margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--line);
}
.juri__filtres { display: flex; flex-wrap: wrap; gap: .5rem; }
.juri__f {
  padding: .6rem 1.15rem; min-height: 42px;
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  font-family: var(--sans); font-size: .76rem; font-weight: 600;
  letter-spacing: .07em; color: var(--muted); cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.juri__f:hover { color: var(--ink); border-color: var(--ink); }
.juri__f.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }

.juri__liste { display: grid; gap: 1.1rem; }

.juri {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.juri:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.juri[hidden] { display: none; }

.juri__head { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-bottom: .75rem; }
.juri__tag {
  font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: .34rem .72rem; border-radius: 999px;
}
.juri__tag--travail          { background: #EFE6CF; color: #6E5720; }
.juri__tag--securite-sociale { background: #E2E6E0; color: #3E4A3D; }
.juri__tag--pub              { background: var(--ink); color: var(--gold-light); }
.juri__date { margin-left: auto; font-size: .8rem; color: var(--muted); white-space: nowrap; }

.juri h3 { font-size: clamp(1.1rem, 2vw, 1.32rem); margin-bottom: .55rem; line-height: 1.24; }
.juri__ref {
  font-family: var(--sans); font-size: .82rem; font-weight: 600;
  color: var(--gold-deep); margin-bottom: .7rem;
}
.juri__sol { color: var(--text); margin-bottom: 1rem; }
.juri__prat {
  background: var(--paper-2); border-radius: var(--radius);
  padding: .9rem 1.1rem; margin-bottom: .9rem;
}
.juri__prat strong {
  display: block; font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--gold-deep); margin-bottom: .45rem;
}
.juri__prat p { color: var(--muted); font-size: .95rem; margin: 0; }
.juri__src {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
}
.juri__src svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.juri__src:hover { color: var(--gold); }
.juri__src:hover svg { transform: translateX(4px); }
.juri__vide { text-align: center; color: var(--muted); padding: 3rem 0; }

@media (min-width: 900px) {
  .juri__liste { grid-template-columns: repeat(2, 1fr); }
  /* Jamais de fiche seule sur la dernière ligne */
  .juri--pleine { grid-column: 1 / -1; }
  .juri--pleine .juri__sol { max-width: 78ch; }
}
@media (max-width: 640px) {
  .juri__bar { flex-direction: column; align-items: stretch; }
  .juri__filtres .juri__f { flex: 1 1 auto; }
  .juri__date { margin-left: 0; width: 100%; }
  .socials a { flex: 1 1 auto; justify-content: center; }
}


/* =========================================================
   24. Titre signature de la bannière d'accueil
   ========================================================= */
.titre-signature {
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.045em;
  margin-bottom: .38em;
  color: #fff;
}
.titre-signature .esp {
  font-weight: 500;
  color: var(--gold-light);
  padding-inline: .04em;
}
/* La phrase se poursuit sous le titre : pas de majuscule, léger retrait optique */
.lead--suite {
  font-size: clamp(1.1rem, 2.05vw, 1.35rem);
  line-height: 1.62;
  max-width: 46ch;
}
.lead--suite strong { color: #fff; font-weight: 600; }
.hero .lead--suite { color: rgba(255,255,255,.86); }

/* =========================================================
   25. Manifeste de la page d'accueil
   ========================================================= */
.manifeste .eyebrow { margin-bottom: .9rem; }
.manifeste__ouverture {
  font-family: var(--titre);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.028em;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.manifeste__ouverture strong { font-weight: 800; color: var(--gold-deep); }

.manifeste__cas {
  position: relative;
  border-left: 3px solid var(--gold);
  background: var(--paper-2);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: clamp(1.1rem, 2.2vw, 1.5rem) clamp(1.2rem, 2.6vw, 1.7rem);
  margin-bottom: 1.4rem;
}
.manifeste__cas p {
  margin: 0;
  font-size: clamp(.98rem, 1.5vw, 1.05rem);
  line-height: 1.62;
  color: var(--text);
}
.manifeste__souligne {
  display: block;
  margin-top: .9rem;
  font-family: var(--titre);
  font-size: clamp(1.05rem, 1.75vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -.022em;
  line-height: 1.42;
  color: var(--ink);
}

.manifeste__cloture {
  font-family: var(--titre);
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -.015em;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 0;
  padding-left: 1.3rem;
  border-left: 3px solid var(--gold);
}
.manifeste .signature { margin-top: 1.2rem; max-width: 160px; }

@media (max-width: 640px) {
  .titre-signature { line-height: 1.06; }
  .manifeste__souligne { margin-top: .7rem; }
}


/* =========================================================
   26. Bannière d'accueil en deux colonnes
   ========================================================= */
.hero-split {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  padding-block: clamp(7rem, 12vw, 10rem) clamp(3.5rem, 7vw, 6rem);
}
.hero-split__fond { position: absolute; inset: 0; }
.hero-split__fond img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: .38;
  filter: grayscale(20%) contrast(1.05);
}
.hero-split::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(115% 85% at 6% 45%, rgba(28,28,26,.95) 0%, rgba(28,28,26,.82) 38%, rgba(28,28,26,.5) 100%),
    linear-gradient(180deg, rgba(28,28,26,.88) 0%, rgba(28,28,26,.3) 32%, rgba(28,28,26,.8) 100%);
}
.hero-split__inner {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1.06fr .84fr;
  gap: clamp(1.8rem, 3.2vw, 2.8rem);
  align-items: start;
}

/* Le credo manuscrit de l'accroche */
:root {
  --main:    "Caveat", "Segoe Script", "Bradley Hand", cursive;
  --garalde: "EB Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}

.credo {
  margin: 0 0 1.4rem;
  padding: 0;
  border: 0;
  max-width: none;
  font-family: var(--main);
  font-size: clamp(1.47rem, 2.3vw, 1.79rem);   /* 1,5 pt de plus qu'avant */
  font-weight: 600;
  font-style: italic;
  line-height: 1.34;
  letter-spacing: .004em;
  color: rgba(255,255,255,.94);
}
.credo p { margin: 0 0 .5rem; max-width: none; }

/* Signature sous le texte, calée sous le mot « je » ; nom à sa droite */
.credo__fin { display: block; }
.credo__fin p { margin-bottom: 0; }

.credo__auteur {
  display: flex;
  flex-direction: row;
  align-items: center;          /* le nom se centre sur la hauteur de la signature */
  justify-content: flex-start;
  gap: 1rem;
  margin-top: .5rem;
  padding-left: 15%;            /* alignement sur « je » de la dernière ligne */
}
.credo__signature {
  display: block;
  width: 116px; height: auto;
  margin: 0;
  opacity: .92;
}
.credo__auteur cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: .78rem;            /* corps de « - Avocat à la Cour » */
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .07em;
  text-align: left;
  white-space: nowrap;
  color: var(--gold-light);
}
.credo__nom {
  font-size: .905rem;           /* 1,5 point de plus que la qualité */
  font-weight: 600;
  letter-spacing: .085em;
}
.credo__nom b { font-weight: 700; }

@media (max-width: 1100px) { .credo__auteur { padding-left: 0; } }

@media (max-width: 780px) {
  .credo { font-size: clamp(1.36rem, 5.4vw, 1.56rem); }
  .credo__auteur { gap: .75rem; padding-left: 0; flex-wrap: wrap; }
  .credo__signature { width: 98px; }
  .credo__auteur cite { font-size: .72rem; letter-spacing: .06em; }
  .credo__nom { font-size: .84rem; }
}
.hero-split__matieres {
  /* Quatre matières : le corps et l'interlettrage s'ajustent pour tenir sur
     une ligne aux largeurs courantes, sans laisser un mot orphelin. */
  font-size: clamp(.66rem, 1vw, .78rem);
  font-weight: 600;
  letter-spacing: .068em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 2.2rem;
  text-wrap: balance;   /* deux lignes équilibrées plutôt qu'un mot orphelin */
  line-height: 1.7;
}
/* Le point suit sa matière : une ligne ne peut donc pas commencer par un point */
.hero-split__matieres span { white-space: nowrap; }
.hero-split__matieres span:not(:last-child)::after {
  content: " ·"; opacity: .5; padding-left: .42em;
}

.hero-split__preuves {
  grid-column: 1 / -1;
  list-style: none; padding: 1.7rem 0 0;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 5rem);
  border-top: 1px solid rgba(255,255,255,.16);
  text-align: center;
}
.hero-split__preuves li { margin: 0; display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.hero-split__preuves strong {
  font-family: var(--titre); font-size: 1.85rem; font-weight: 800;
  letter-spacing: -.04em; color: #fff; line-height: 1;
}
.hero-split__preuves span {
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #96938B; line-height: 1.35;
}

.hero-split__portrait { position: relative; width: 100%; max-width: 420px; margin: 0; }
.hero-split__portrait img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 90px rgba(0,0,0,.5);
}
.hero-split__portrait::before {
  content: ""; position: absolute; inset: -15px -15px 15px 15px;
  border: 1px solid rgba(196,165,94,.45);
  border-radius: var(--radius-xl);
}
.hero-split__badge {
  position: absolute; left: -1.8rem; bottom: 1.7rem;
  display: flex; align-items: center; gap: .7rem;
  background: rgba(255,255,255,.97);
  color: var(--ink);
  padding: .8rem 1.1rem;
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0,0,0,.34);
  font-size: .73rem; font-weight: 700; line-height: 1.3;
  letter-spacing: .02em;
}
.hero-split__badge svg { width: 21px; height: 21px; color: var(--gold); flex: none; }

@media (max-width: 1200px) {
  .hero-split__inner { grid-template-columns: 1fr .82fr; gap: clamp(1.5rem, 3vw, 2.4rem); }
  .hero-split__portrait { max-width: 340px; }
}
@media (max-width: 900px) {
  .hero-split__inner { grid-template-columns: 1fr .8fr; gap: 1.3rem; }
  .hero-split__portrait { max-width: 280px; }
  .hero-split__badge { left: -.9rem; font-size: .66rem; padding: .6rem .85rem; }
  .hero-split__badge svg { width: 17px; height: 17px; }
}
/* En dessous, la colonne est trop étroite : le portrait passe sous le texte */
@media (max-width: 780px) {
  .hero-split__inner { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-split__portrait { max-width: 320px; margin: 0; }
  .credo { max-width: 100%; }
}
@media (max-width: 640px) {
  .hero-split { padding-block: 6.5rem 3rem; }
  .hero-split__portrait { max-width: 300px; }
  .hero-split__portrait::before { inset: -8px -8px 8px 8px; }
  .hero-split__badge { left: .8rem; bottom: .9rem; font-size: .68rem; }
  .hero-split__preuves { gap: 1.2rem 1.8rem; }
  .hero-split__preuves strong { font-size: 1.5rem; }
}

/* =========================================================
   27. Presse
   ========================================================= */
.presse { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.presse__journal {
  display: inline-flex; align-items: baseline; gap: .7rem;
  font-family: var(--titre); font-weight: 800; letter-spacing: -.03em;
  font-size: 1.35rem; color: var(--ink); margin-bottom: .9rem;
}
.presse__journal em {
  font-style: normal; font-size: .7rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--grey);
}
.presse__cite {
  font-family: var(--titre);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 700; letter-spacing: -.028em; line-height: 1.32;
  color: var(--ink);
  border-left: 3px solid var(--gold);
  padding-left: 1.3rem;
  margin: 0 0 1.4rem;
}
.presse__coupure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.presse__coupure img { width: 100%; }
.presse__legende { font-size: .82rem; color: var(--muted); margin-top: .9rem; text-align: center; }
.presse__coupure + .presse__legende { text-align: left; }
@media (max-width: 900px) { .presse { grid-template-columns: 1fr; } }


/* =========================================================
   28. Plan de situation
   ========================================================= */
.plan {
  position: relative;
  aspect-ratio: 16 / 11;
  max-width: 460px;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  background: var(--paper-2);
}
.plan iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .plan { aspect-ratio: 4 / 3; max-width: 100%; } }

/* Mention d'intervention nationale dans la bannière */
.hero-split__france {
  display: inline-flex; align-items: flex-start; gap: .55rem;
  font-size: .86rem; color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  padding: .5rem 1rem .5rem .85rem;
  margin: 0 0 2.1rem;
}
.hero-split__france strong { color: #fff; font-weight: 600; }
.hero-split__france svg { width: 16px; height: 16px; color: var(--gold-light); flex: none; margin-top: .15em; }
.hero-split__france span { line-height: 1.45; }


/* =========================================================
   29. Photographies en fond de rubrique
   ========================================================= */
.section--fond { position: relative; overflow: hidden; isolation: isolate; }
.section--fond::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-image: var(--fond);
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) contrast(1.08);
  opacity: .28;
}
.section--fond::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    var(--paper) 0%, rgba(255,255,255,.68) 20%,
    rgba(255,255,255,.68) 80%, var(--paper) 100%);
}
.section--tint.section--fond::after {
  background: linear-gradient(180deg,
    var(--paper-2) 0%, rgba(247,245,240,.72) 20%,
    rgba(247,245,240,.72) 80%, var(--paper-2) 100%);
}

/* Variante : la photo est ancrée à droite et s'efface vers le texte */
.section--fond-droite::before {
  background-position: right center;
  background-size: 54% auto;
  background-repeat: no-repeat;
  opacity: .26;
}
.section--fond-droite::after {
  background:
    linear-gradient(180deg, var(--paper) 0%, rgba(255,255,255,0) 14%, rgba(255,255,255,0) 86%, var(--paper) 100%),
    linear-gradient(90deg,
      var(--paper) 0%, var(--paper) 36%,
      rgba(255,255,255,.92) 48%, rgba(255,255,255,.7) 64%,
      rgba(255,255,255,.5) 82%, rgba(255,255,255,.45) 100%);
}
.section--fond-droite .manifeste { max-width: 60ch; }

@media (max-width: 900px) {
  .section--fond-droite::before { background-size: cover; opacity: .13; }
  .section--fond-droite::after {
    background: linear-gradient(180deg,
      var(--paper) 0%, rgba(255,255,255,.8) 20%, rgba(255,255,255,.8) 80%, var(--paper) 100%);
  }
}


/* =========================================================
   30. Avis Google
   ========================================================= */
.avis__marque {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .5rem 1rem .5rem .8rem;
}
.avis__g { display: inline-flex; }

.avis__note {
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  flex-wrap: wrap; margin-top: 1.2rem;
}
.avis__chiffre {
  font-family: var(--titre); font-size: 2.1rem; font-weight: 800;
  letter-spacing: -.04em; color: var(--ink); line-height: 1;
}
.avis__nb { font-size: .85rem; color: var(--muted); }

.avis__etoiles { display: inline-flex; gap: .12rem; }
.etoile { fill: #E7A400; flex: none; }
.etoile--vide { fill: #D8D3C7; }

.avis__liste {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.6rem);
  align-items: stretch;
  max-width: 1000px; margin-inline: auto;
}
/* Un ou deux avis seulement : les cartes restent centrées et lisibles */
.avis__liste:has(.avis:only-child) { max-width: 640px; }
.avis {
  margin: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.6vw, 1.9rem);
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.avis:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.avis blockquote {
  margin: .9rem 0 1.2rem;
  font-size: .96rem; line-height: 1.62; color: var(--text);
}
.avis blockquote::before { content: "« "; color: var(--gold); }
.avis blockquote::after  { content: " »"; color: var(--gold); }
.avis figcaption {
  margin-top: auto;
  font-size: .84rem; font-weight: 600; color: var(--ink);
  display: flex; flex-direction: column; gap: .15rem;
}
.avis figcaption span { font-weight: 400; font-size: .78rem; color: var(--muted); }

.avis__attente {
  max-width: 560px; margin-inline: auto; text-align: center;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 4vw, 2.6rem);
}
.avis__attente p { color: var(--muted); }
.avis__attente-note { font-size: .9rem; margin-bottom: 0; }

@media (max-width: 1100px) { .avis__liste { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .avis { padding: 1.3rem; } .avis blockquote { font-size: .9rem; } }
@media (max-width: 700px)  { .avis__liste { grid-template-columns: 1fr !important; } }


/* =========================================================
   31. Composition centrée sur l'ensemble du site
   ========================================================= */
.section > .wrap { text-align: center; }

/* Le texte courant garde une largeur de lecture confortable */
.section > .wrap p,
.section > .wrap > .manifeste,
.section > .wrap > div > p { margin-inline: auto; }
.section > .wrap p { max-width: 68ch; }

.section .eyebrow { justify-content: center; }
.section .rule { margin-inline: auto; }
.section .btn-row { justify-content: center; }

/* Manifeste : blocs centrés, filets déplacés en haut plutôt qu'à gauche */
.manifeste { max-width: 760px; margin-inline: auto; text-align: center; }
.manifeste__ouverture { max-width: 24ch; margin-inline: auto; }
.manifeste__cas {
  border-left: 0;
  border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  text-align: center;
}
.manifeste__cloture {
  border-left: 0;
  padding-left: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  max-width: 62ch;
  margin-inline: auto;
}
.manifeste .signature { margin-inline: auto; }

/* Cartes, frise et presse : contenu centré */
.card, .avis, .presse, .tl-item { text-align: center; }
.card__icon, .card__num { margin-inline: auto; }
.card__link { justify-content: center; }
.avis__etoiles { justify-content: center; }
.avis figcaption { align-items: center; }
.domain__body { text-align: center; }
.domain__more { justify-content: center; }

.timeline { max-width: 640px; }
.timeline::before { left: 50%; transform: translateX(-50%); }
.tl-item { padding: 0 0 1.6rem; }
.tl-item::before { left: 50%; transform: translateX(-50%); top: auto; bottom: .35rem; }
.tl-item:last-child::before { display: none; }

.presse__journal { justify-content: center; }
.presse__cite {
  border-left: 0; padding-left: 0;
  padding-top: .9rem; border-top: 2px solid var(--gold);
  max-width: 46ch; margin-inline: auto;
}
.presse__legende { text-align: center; }

/* Listes d'information : bloc centré, texte aligné à gauche pour rester lisible */
.info-list { max-width: 480px; margin-inline: auto; text-align: left; }

/* Encadré d'avertissement : filet en haut, texte centré */
.disclaimer {
  border-left: 0; border-top: 3px solid var(--gold);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  text-align: center; max-width: 70ch; margin-inline: auto;
}

/* Ce qui reste aligné à gauche, pour des raisons de lisibilité ou d'usage */
.form, .field, .check, .acc, .acc__btn, .acc__inner,
.article, .juri, .juri__bar > div:first-child,
.footer__grid, .footer__bar { text-align: left; }
.check { text-align: left; }
.acc__btn { text-align: left; }
.juri__etoiles { justify-content: flex-start; }
.article p, .juri p { max-width: none; margin-inline: 0; }
.post-card__body { text-align: center; }
.post-card__body p { max-width: none; margin-inline: auto; }
.form p, .field p { max-width: none; margin-inline: 0; }

/* La bannière d'accueil reste alignée à gauche : c'est une composition en colonnes */
.hero-split .eyebrow { justify-content: flex-start; }
.hero-split__texte { text-align: left; }
.hero-split__texte p { margin-inline: 0; }
.hero-split .btn-row { justify-content: flex-start; }

@media (max-width: 780px) {
  .hero-split__texte { text-align: left; }
}

/* Signature du bas de page « Le cabinet » */
.wrap-narrow .signature { margin-inline: auto; }

/* Les surtitres suivent l'alignement du texte, pas la largeur de lecture */
.section > .wrap p.eyebrow,
.section p.eyebrow { max-width: none; margin-inline: 0; }
.juri__bar p { max-width: none; margin-inline: 0; }

/* Les deux boutons de la bannière restent sur une seule ligne */
.hero-split .btn-row { flex-wrap: nowrap; gap: .7rem; }
.hero-split .btn-row .btn { padding-inline: 1.25rem; white-space: nowrap; flex: 0 1 auto; }
@media (max-width: 1100px) {
  .hero-split .btn-row .btn { padding-inline: .95rem; font-size: .73rem; letter-spacing: .07em; }
  .hero-split .btn-row .btn svg { width: 15px; height: 15px; }
}
@media (max-width: 780px) {
  .hero-split .btn-row { flex-wrap: wrap; }
  .hero-split__preuves { gap: 1.6rem 2.2rem; }
}


/* =========================================================
   32. Calendrier de prise de rendez-vous
   ========================================================= */
.cal { position: relative; text-align: left; }
.cal__natif { position: absolute; opacity: 0; pointer-events: none; height: 0; width: 0; }

.cal__declencheur {
  display: flex; align-items: center; gap: .7rem;
  width: 100%; min-height: 50px;
  padding: .85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--sans); font-size: 1rem; color: var(--muted);
  text-align: left; cursor: pointer;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.cal__declencheur:hover { border-color: var(--gold); }
.cal__declencheur[aria-expanded="true"] {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(160,131,59,.16);
}
.cal__declencheur--rempli { color: var(--ink); font-weight: 500; }
.cal__declencheur svg { width: 19px; height: 19px; color: var(--gold); flex: none; }

.cal__panneau {
  margin-top: .6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
}

.cal__tete {
  display: flex; align-items: center; justify-content: space-between;
  gap: .5rem; margin-bottom: .8rem;
}
.cal__mois {
  font-family: var(--titre); font-size: 1rem; font-weight: 700;
  letter-spacing: -.02em; color: var(--ink);
  text-transform: capitalize; text-align: center; flex: 1;
}
.cal__nav {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 1.2rem; line-height: 1; color: var(--ink); cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.cal__nav:hover:not(:disabled) { background: var(--ink); border-color: var(--ink); color: #fff; }
.cal__nav:disabled { opacity: .3; cursor: not-allowed; }

.cal__entetes, .cal__grille {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px;
}
.cal__entetes {
  margin-bottom: .35rem;
}
.cal__entetes span {
  text-align: center; font-size: .68rem; font-weight: 700;
  letter-spacing: .06em; color: var(--grey); padding-bottom: .25rem;
}

.cal__jour {
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  background: transparent; border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--sans); font-size: .9rem; font-weight: 500;
  color: var(--ink); cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.cal__jour:hover:not(:disabled) { background: var(--paper-3); border-color: var(--gold); }
.cal__jour--choisi {
  background: var(--gold) !important; border-color: var(--gold) !important;
  color: #fff !important; font-weight: 700;
}
.cal__jour--ferme {
  color: #C3BFB4;
  background: repeating-linear-gradient(135deg,
    transparent 0 4px, rgba(0,0,0,.035) 4px 5px);
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: rgba(0,0,0,.22);
}
.cal__jour--ferme:hover { background: repeating-linear-gradient(135deg,
    transparent 0 4px, rgba(0,0,0,.035) 4px 5px); border-color: transparent; }

/* Journée déjà occupée dans l'agenda : même grisé, teinte discrètement dorée */
.cal__jour--pris,
.cal__jour--pris:hover {
  color: #BCAE8C;
  background: repeating-linear-gradient(135deg,
    transparent 0 4px, rgba(160,131,59,.10) 4px 5px);
  text-decoration-color: rgba(160,131,59,.30);
}

/* Bloc de réservation directe, affiché si un agenda en ligne est branché */
.reserve { margin: 0 auto 2.2rem; max-width: 40rem; }
.reserve[hidden] { display: none; }
.reserve__txt { margin: 0 0 1rem; font-weight: 600; color: var(--ink); }
.reserve__ou {
  margin: 1.5rem 0 0; font-size: .82rem; color: var(--muted);
  letter-spacing: .02em;
}

.cal__legende {
  margin: .9rem 0 0; padding-top: .7rem;
  border-top: 1px solid var(--line);
  font-size: .76rem; line-height: 1.5; color: var(--muted); max-width: none;
}

@media (max-width: 640px) {
  .cal__jour { font-size: .84rem; }
  .cal__panneau { padding: .8rem; }
}

/* =========================================================
   En-tête : dimensions en pixels au-delà de 1300 px.
   Certains visiteurs agrandissent la police de leur navigateur ;
   en rem, le bandeau déborde. Voir enteteAdaptatif() dans main.js.
   ========================================================= */
@media (min-width: 1301px) {
  .header .wrap.header__inner {
    max-width: 1500px;
    padding-inline: clamp(16px, 3vw, 40px);
    gap: clamp(14px, 2vw, 28px);
  }
  .header .brand { gap: 12px; }
  .header .brand__name { font-size: 17px; letter-spacing: .26em; }
  .header .brand__sub  { font-size: 9.5px; letter-spacing: .28em; }
  .header .nav { gap: 2px; }
  .header .nav a { font-size: 12px; padding: 8px 9px; letter-spacing: .09em; }
  .header .nav a::after { left: 9px; right: 9px; }
  .header .header__cta { gap: 8px; }
  .header .header__cta .btn { font-size: 11px; padding: 10px 16px; min-height: 42px; }

  /* Étape 1 : on retire le bouton téléphone. */
  .header.est-serre .header__cta .btn--ghost { display: none; }
  /* Étape 2 : on bascule sur le menu. */
  .header.est-menu .nav,
  .header.est-menu .header__cta { display: none; }
  .header.est-menu .burger { display: flex; }
}

