/* Fontanel & Haudry, experts-comptables */

@font-face { font-family: "Brygada"; src: url(fonts/brygada-1918-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Brygada"; src: url(fonts/brygada-1918-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Brygada"; src: url(fonts/brygada-1918-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Brygada"; src: url(fonts/brygada-1918-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Franklin"; src: url(fonts/libre-franklin-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Franklin"; src: url(fonts/libre-franklin-500.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Franklin"; src: url(fonts/libre-franklin-600.woff2) format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --paper: oklch(0.972 0.011 88);
  --paper-2: oklch(0.946 0.017 86);
  --sheet: oklch(0.992 0.005 88);
  --ink: oklch(0.235 0.022 255);
  --ink-2: oklch(0.43 0.018 255);
  --ink-3: oklch(0.505 0.016 255);
  --line: oklch(0.875 0.016 86);
  --line-2: oklch(0.81 0.02 86);
  --green: oklch(0.365 0.062 168);
  --green-deep: oklch(0.29 0.048 170);
  --green-ink: oklch(0.93 0.025 160);
  --green-soft: oklch(0.82 0.04 165);
  --band: oklch(0.948 0.028 160);
  --red: oklch(0.53 0.155 29);
  --rule-blue: oklch(0.88 0.035 235);

  --serif: "Brygada", "Iowan Old Style", Georgia, serif;
  --sans: "Franklin", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1200px;
  --gut: clamp(20px, 4.5vw, 56px);
  --sec: clamp(72px, 10vw, 136px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  font-kerning: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--green); color: var(--paper); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 2px; }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 100; text-decoration: none; }
.skip:focus { top: 12px; }

/* Typo */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.012em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 1.35rem + 3.2vw, 4.25rem); line-height: 1.06; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.85rem, 1.3rem + 1.9vw, 2.75rem); line-height: 1.12; margin: 0; text-wrap: balance; }
h3 { font-size: 1.375rem; line-height: 1.25; margin: 0; }
h2 .mute, h1 .mute { color: var(--ink-3); }
.sec-head h2 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.num { font-variant-numeric: tabular-nums lining-nums; }
.small { font-size: 0.875rem; color: var(--ink-2); line-height: 1.55; }

/* Boutons */
.btn {
  --bg: var(--green); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: var(--radius);
  background: var(--bg); color: var(--fg); border: 1px solid var(--bg);
  font-family: var(--sans); font-weight: 500; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { --bg: var(--green-deep); }
.btn:active { transform: translateY(1px); }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(3px); }
.btn.ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { --bg: var(--sheet); border-color: var(--ink-3); }
.btn.light { --bg: var(--paper); --fg: var(--green-deep); }
.btn.light:hover { --bg: var(--sheet); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.link { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; text-decoration-color: color-mix(in oklch, var(--green) 40%, transparent); transition: text-decoration-color .2s; font-weight: 500; }
.link:hover { text-decoration-color: var(--green); }

/* En-tête */
.site-head { position: sticky; top: 0; z-index: 40; background: color-mix(in oklch, var(--paper) 94%, transparent); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.site-head.scrolled { border-bottom-color: var(--line); }
.head-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: block; color: var(--ink); text-decoration: none; flex: none; }
.brand svg { height: 32px; width: auto; display: block; }
.brand .rule { stroke: var(--red); }
.brand .amp, .foot-brand .amp { fill: var(--green); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 0.95rem; color: var(--ink-2); padding: 6px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }
.head-tel { font-size: 0.95rem; text-decoration: none; color: var(--ink); white-space: nowrap; }
.head-tel:hover { color: var(--green); }
.head-cta { min-height: 42px; padding: 0 16px; font-size: 0.95rem; white-space: nowrap; }
.cta-s { display: none; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); background: transparent; border-radius: var(--radius); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px auto; transition: transform .3s var(--ease), opacity .2s; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.mobile-nav { display: none; }

@media (max-width: 900px) {
  .nav, .head-tel { display: none; }
  .menu-btn { display: block; margin-left: 0; }
  .head-in { gap: 10px; height: 64px; }
  .brand { margin-right: auto; }
  .brand svg { height: 26px; }
  .head-cta { min-height: 40px; padding: 0 12px; font-size: 0.9rem; }
  .cta-l { display: none; } .cta-s { display: inline; }
  .mobile-nav { display: block; position: fixed; inset: 64px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gut) 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
  .mobile-nav.open { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
  .mobile-nav a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 1.35rem; }
  .mobile-nav .small { margin-top: 16px; }
}
@media (max-width: 380px) { .brand svg { height: 22px; } }

/* Premier écran */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(48px, 6vw, 72px); text-align: center; }
.hero h1 { max-width: 21ch; margin-inline: auto; }
.nw { white-space: nowrap; }
.hero .lead { margin: 24px auto 0; max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 34px; }
.people { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; color: var(--ink-2); font-size: 0.95rem; text-align: left; }
.faces { display: flex; flex: none; }
.faces img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper); }
.faces img + img { margin-left: -12px; }
.people p { max-width: 46ch; }

.js [data-rise] { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Échéancier */
.stage { background: var(--green); color: var(--green-ink); padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 88px); }
.stage-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: 28px; }
.stage-head h2 { color: var(--paper); max-width: 22ch; }
.stage-head p { max-width: 46ch; color: var(--green-soft); }
.ledger { background: var(--sheet); color: var(--ink); border-radius: 6px; box-shadow: 0 1px 0 oklch(0.2 0.04 170 / .25), 0 24px 60px -30px oklch(0.15 0.05 170 / .55); overflow: hidden; display: grid; grid-template-columns: 210px 1fr; grid-template-rows: auto 1fr; }
.ledger-bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: var(--paper); font-size: 0.85rem; color: var(--ink-2); }
.ledger-bar strong { font-weight: 600; color: var(--ink); }
.ledger-bar .yr { margin-left: auto; }
.play { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); background: var(--sheet); border-radius: 999px; padding: 4px 12px 4px 8px; font-size: 0.8rem; cursor: pointer; color: var(--ink-2); }
.play:hover { color: var(--ink); border-color: var(--ink-3); }
.play svg { width: 14px; height: 14px; }
.months { list-style: none; margin: 0; padding: 10px 0; border-right: 1px solid var(--line); background: var(--paper); }
.months button { position: relative; display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 8px 18px 8px 22px; background: none; border: 0; text-align: left; cursor: pointer; font-size: 0.95rem; color: var(--ink-2); }
.months button .n { font-size: 0.75rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.months button:hover { color: var(--ink); background: var(--paper-2); }
.months button[aria-selected="true"] { color: var(--ink); font-weight: 600; background: var(--sheet); }
.months .prog { position: absolute; left: 22px; right: 18px; bottom: 3px; height: 1.5px; background: var(--line); overflow: hidden; opacity: 0; }
.months button[aria-selected="true"] .prog { opacity: 1; }
.months .prog i { display: block; height: 100%; background: var(--green); transform: scaleX(0); transform-origin: left; }

.page { position: relative; padding: 26px clamp(18px, 3vw, 40px) 26px clamp(44px, 5vw, 76px); display: flex; flex-direction: column; }
.page::before, .page::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--red); opacity: .75; }
.page::before { left: clamp(26px, 3vw, 50px); }
.page::after { left: calc(clamp(26px, 3vw, 50px) + 5px); }
.page-title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--rule-blue); }
.page-title h3 { font-size: 1.75rem; }
.page-title .tag { font-size: 0.8rem; color: var(--ink-3); }
.rows { list-style: none; margin: 0; padding: 0; }
.rows li { display: grid; grid-template-columns: 150px 1fr 120px; gap: 16px; align-items: center; min-height: 60px; padding: 10px 0; border-bottom: 1px solid var(--rule-blue); opacity: 0; transform: translateY(6px); }
.rows.show li { animation: rowin .55s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms); }
@keyframes rowin { to { opacity: 1; transform: none; } }
.rows .date { font-size: 0.85rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.rows .what { font-size: 0.98rem; line-height: 1.35; }
.rows .what small { display: block; color: var(--ink-3); font-size: 0.8rem; margin-top: 2px; }
.who { justify-self: end; font-size: 0.78rem; font-weight: 600; letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.who.nous { background: var(--band); color: var(--green-deep); }
.who.vous { background: oklch(0.94 0.035 75); color: oklch(0.4 0.07 60); }
.who.ens { background: var(--paper-2); color: var(--ink-2); }
.page-foot { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.85rem; color: var(--ink-2); }
.page-foot .count { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rows { margin-bottom: 8px; }
.stage-note { margin-top: 18px; font-size: 0.85rem; color: var(--green-soft); max-width: 80ch; }

@media (max-width: 760px) {
  .ledger { grid-template-columns: 1fr; min-height: 0; }
  .months { display: flex; overflow-x: auto; padding: 0; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; scroll-snap-type: x proximity; }
  .months::-webkit-scrollbar { display: none; }
  .months li { flex: none; scroll-snap-align: start; }
  .months button { padding: 12px 14px; width: auto; }
  .months button .n { display: none; }
  .months .prog { left: 14px; right: 14px; }
  .rows li { grid-template-columns: 1fr auto; grid-template-areas: "date who" "what what"; gap: 4px 12px; padding: 12px 0; min-height: 0; align-content: center; }
  .rows .date { grid-area: date; } .rows .what { grid-area: what; } .rows .who { grid-area: who; }
  .page { padding: 18px 16px 22px 36px; min-height: 620px; }
  .page::before { left: 18px; } .page::after { left: 23px; }
  .page-title h3 { font-size: 1.45rem; }
  .ledger-bar .yr { display: none; }
}

/* Faits */
.facts { border-bottom: 1px solid var(--line); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 30px 26px 30px 0; font-size: 0.95rem; color: var(--ink-2); line-height: 1.5; }
.facts li + li { padding-left: 26px; border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; color: var(--ink); margin-bottom: 6px; line-height: 1.25; }
@media (max-width: 900px) {
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { padding: 24px 18px 24px 0; }
  .facts li + li { padding-left: 0; border-left: 0; }
  .facts li:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 520px) {
  .facts ul { grid-template-columns: 1fr; }
  .facts li, .facts li:nth-child(even) { padding: 20px 0; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--line); }
}

/* Sections */
.sec { padding: var(--sec) 0; }
.sec-head { max-width: 860px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head p { margin-top: 18px; }

/* Missions, tableau de tuiles inégales */
.missions { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.mi { background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 10px; transition: border-color .3s var(--ease), transform .4s var(--ease); }
.mi:hover { border-color: var(--line-2); transform: translateY(-2px); }
.mi p { color: var(--ink-2); font-size: 0.98rem; max-width: 48ch; }
.mi .viz { margin-top: auto; padding-top: 18px; }
.mi-a { grid-column: span 7; } .mi-b { grid-column: span 5; } .mi-c { grid-column: span 4; } .mi-d { grid-column: span 4; } .mi-e { grid-column: span 4; } .mi-f { grid-column: span 12; }
.mi-a { background: var(--band); border-color: transparent; }
.mi-f { flex-direction: row; align-items: center; gap: 40px; background: var(--paper-2); border-color: transparent; }
.mi-f > div:first-child { flex: 1 1 50%; }
.mi-f h3 { margin-bottom: 10px; }
.mi-f .viz { flex: 1 1 50%; margin: 0; padding: 0; }
@media (max-width: 960px) { .mi-a, .mi-b { grid-column: span 12; } .mi-c, .mi-d, .mi-e { grid-column: span 6; } .mi-e { grid-column: span 12; } .mi-f { flex-direction: column; align-items: stretch; gap: 20px; } }
@media (max-width: 620px) { .mi-c, .mi-d, .mi-e { grid-column: span 12; } .mi { padding: 22px 20px; } }

/* Aperçus */
.v-ledger { font-size: 0.85rem; background: var(--sheet); border-radius: 4px; border: 1px solid oklch(0.88 0.03 160); }
.v-ledger div { display: grid; grid-template-columns: 70px 1fr auto 22px; gap: 10px; padding: 9px 12px; align-items: center; font-variant-numeric: tabular-nums; }
.v-ledger div + div { border-top: 1px solid var(--line); }
.v-ledger .amt { color: var(--ink-2); }
.v-ledger .ok { width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background .4s var(--ease), border-color .4s var(--ease); }
.v-ledger .ok svg { width: 10px; height: 10px; stroke: var(--paper); opacity: 0; transition: opacity .3s .1s; }
.in .v-ledger .ok { background: var(--green); border-color: var(--green); }
.in .v-ledger .ok svg { opacity: 1; }
.in .v-ledger div:nth-child(2) .ok { transition-delay: .35s; } .in .v-ledger div:nth-child(3) .ok { transition-delay: .7s; } .in .v-ledger div:nth-child(4) .ok { transition-delay: 1.05s; }
.v-bilan { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 4px; font-size: 0.82rem; }
.v-bilan > div { padding: 10px 12px; }
.v-bilan > div + div { border-left: 1px solid var(--line); }
.v-bilan b { display: block; font-family: var(--serif); font-weight: 500; font-size: 0.95rem; margin-bottom: 6px; }
.v-bilan span { display: block; color: var(--ink-2); padding: 3px 0; border-bottom: 1px dotted var(--line-2); }
.v-bilan span:last-child { border-bottom: 0; }
.v-slip { border: 1px solid var(--line); border-radius: 4px; font-size: 0.82rem; padding: 12px; }
.v-slip .tick { width: 11px; height: 11px; color: var(--green); }
.v-slip .l { display: flex; align-items: center; justify-content: space-between; color: var(--ink-2); padding: 3px 0; }
.v-slip .l.t { color: var(--ink); font-weight: 600; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; }
.v-slip .bar { height: 6px; border-radius: 3px; background: var(--paper-2); overflow: hidden; margin-top: 10px; }
.v-slip .bar i { display: block; height: 100%; width: 0; background: var(--green); transition: width 1.4s var(--ease); }
.in .v-slip .bar i { width: 100%; }
.v-steps { list-style: none; margin: 0; padding: 0; font-size: 0.85rem; counter-reset: s; }
.v-steps li { counter-increment: s; display: flex; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.v-steps li::before { content: counter(s); width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 0.72rem; transition: background .4s var(--ease), color .4s, border-color .4s; }
.in .v-steps li::before { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.in .v-steps li:nth-child(2)::before { transition-delay: .3s; } .in .v-steps li:nth-child(3)::before { transition-delay: .6s; } .in .v-steps li:nth-child(4)::before { transition-delay: .9s; }
.v-letter { font-family: var(--serif); font-size: 0.95rem; line-height: 1.55; background: var(--sheet); border: 1px solid var(--line); border-radius: 4px; padding: 18px 20px 18px 34px; position: relative; color: var(--ink-2); }
.v-letter::before, .v-letter::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--red); opacity: .7; }
.v-letter::before { left: 16px; } .v-letter::after { left: 20px; }
.v-letter .hd { font-family: var(--sans); font-size: 0.78rem; color: var(--ink-3); margin-bottom: 8px; }
.v-split { font-size: 0.82rem; }
.v-split .r { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; padding: 6px 0; color: var(--ink-2); }
.v-split .track { height: 10px; border-radius: 2px; background: var(--paper-2); overflow: hidden; display: flex; }
.v-split .track i { display: block; height: 100%; transition: width 1.2s var(--ease); width: 0; }
.v-split .track i.a { background: var(--green); } .v-split .track i.b { background: var(--green-soft); }
.in .v-split .r1 i.a { width: 62%; } .in .v-split .r1 i.b { width: 22%; }
.in .v-split .r2 i.a { width: 40%; } .in .v-split .r2 i.b { width: 46%; }

/* Associés */
.partners { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.pt figure { margin: 0; overflow: hidden; border-radius: 4px; aspect-ratio: 3 / 2; background: var(--paper-2); }
.pt figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.pt:hover figure img { transform: scale(1.03); }
.pt-text { display: grid; grid-template-columns: 1fr; gap: 6px; padding-top: 20px; }
.pt-text .role { font-size: 0.9rem; color: var(--ink-3); }
.pt-text p { color: var(--ink-2); margin-top: 8px; max-width: 52ch; }
.pt-text .mail { margin-top: 10px; font-size: 0.95rem; }
@media (max-width: 760px) { .partners { grid-template-columns: 1fr; gap: 44px; } }

/* Premier rendez-vous */
.first { background: var(--paper-2); }
.first-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.photo-tag { position: relative; overflow: hidden; border-radius: 4px; }
.first-grid > .photo-tag { position: sticky; top: 100px; }
.photo-tag img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; transition: transform 1.4s var(--ease); }
.photo-tag:hover img { transform: scale(1.03); }
.photo-tag .label { position: absolute; left: 16px; bottom: 16px; background: var(--sheet); color: var(--ink); font-size: 0.85rem; padding: 8px 12px; border-radius: 3px; display: flex; gap: 10px; align-items: center; box-shadow: 0 6px 20px -10px oklch(0.2 0.03 255 / .5); }
.photo-tag .label { max-width: calc(100% - 32px); }
@media (max-width: 560px) { .photo-tag .label { font-size: 0.78rem; left: 12px; bottom: 12px; padding: 7px 10px; } }
.photo-tag .label i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex: none; }
.steps { list-style: none; margin: 30px 0 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line-2); }
.steps li:last-child { border-bottom: 1px solid var(--line-2); }
.steps .when { font-family: var(--serif); font-size: 1.05rem; color: var(--green); }
.steps h3 { font-size: 1.15rem; margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 860px) { .first-grid { grid-template-columns: 1fr; } .first-grid > .photo-tag { position: relative; top: 0; } .steps li { grid-template-columns: 1fr; gap: 4px; } }

/* Honoraires (aperçu) */
.fees-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.fees-strip > div { padding: 26px 26px 28px 0; }
.fees-strip > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.fees-strip .who-for { font-size: 0.9rem; color: var(--ink-3); }
.fees-strip .price { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.1vw, 2.1rem); margin: 8px 0 6px; font-variant-numeric: tabular-nums lining-nums; }
.fees-strip .price small { font-family: var(--sans); font-size: 0.85rem; color: var(--ink-2); }
.fees-strip p { font-size: 0.95rem; color: var(--ink-2); }
.fees-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
@media (max-width: 820px) { .fees-strip { grid-template-columns: 1fr; } .fees-strip > div, .fees-strip > div + div { padding: 22px 0; border-left: 0; } .fees-strip > div + div { border-top: 1px solid var(--line); } }

/* Questions */
.faq { border-top: 1px solid var(--ink); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-family: var(--serif); font-size: 1.2rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq summary:hover { color: var(--green); }
.faq .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq details[open] .ans { grid-template-rows: 1fr; }
.faq .ans > div { overflow: hidden; }
.faq .ans p { color: var(--ink-2); padding-bottom: 24px; max-width: 68ch; }
.faq .ans p + p { margin-top: -10px; }

/* Appel final */
.final { background: var(--green); color: var(--green-ink); padding: clamp(64px, 9vw, 120px) 0; }
.final-in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; }
.final h2 { color: var(--paper); max-width: 22ch; }
.final p { color: var(--green-soft); margin-top: 18px; max-width: 48ch; }
.final .contact { font-size: 1rem; line-height: 1.8; }
.final .contact a { color: var(--paper); text-decoration: none; border-bottom: 1px solid oklch(0.7 0.04 165 / .6); }
.final .contact a:hover { border-bottom-color: var(--paper); }
.final .btn { margin-top: 22px; }
@media (max-width: 820px) { .final-in { grid-template-columns: 1fr; } }

/* Pied */
.foot { padding: 56px 0 40px; font-size: 0.9rem; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand svg { height: 28px; width: auto; color: var(--ink); }
.foot-brand .rule { stroke: var(--red); }
.foot h4 { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; line-height: 2; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--ink-3); line-height: 1.6; max-width: 110ch; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* Révélations au défilement */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Page honoraires ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.6rem); max-width: 20ch; }
.page-hero .lead { margin-top: 20px; }
.crumb { font-size: 0.88rem; color: var(--ink-3); margin-bottom: 22px; }
.crumb a { text-decoration: none; } .crumb a:hover { color: var(--ink); }

.est { display: grid; grid-template-columns: 1fr 420px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.est-form fieldset { border: 0; margin: 0; padding: 0 0 28px; }
.est-form fieldset + fieldset { border-top: 1px solid var(--line); padding-top: 26px; }
.est-form legend { float: left; width: 100%; font-family: var(--serif); font-size: 1.25rem; padding: 0; margin-bottom: 4px; }
.est-form legend + * { clear: both; }
.est-form .hint { font-size: 0.9rem; color: var(--ink-3); margin-bottom: 14px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.95rem; background: var(--sheet); transition: background .2s var(--ease), border-color .2s var(--ease), color .2s; cursor: pointer; line-height: 1.3; }
.choice:hover span { border-color: var(--ink-3); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.choice input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; background: var(--sheet); }
.stepper button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; border-radius: 50%; }
.stepper button:hover { background: var(--paper-2); }
.stepper output { min-width: 3ch; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.range-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; background: linear-gradient(to right, var(--green) var(--p, 30%), var(--line-2) var(--p, 30%)); border-radius: 2px; }
input[type="range"]::-moz-range-track { height: 3px; background: var(--line-2); border-radius: 2px; }
input[type="range"]::-moz-range-progress { height: 3px; background: var(--green); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sheet); border: 2px solid var(--green); margin-top: -9.5px; transition: transform .2s var(--ease); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--sheet); border: 2px solid var(--green); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.range-val { min-width: 12ch; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; font-size: 0.95rem; }
.toggle { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; padding: 8px 0; }
.toggle input { appearance: none; -webkit-appearance: none; width: 40px; height: 24px; border-radius: 999px; background: var(--line-2); position: relative; flex: none; cursor: pointer; transition: background .25s var(--ease); margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--sheet); transition: transform .3s var(--ease); }
.toggle input:checked { background: var(--green); }
.toggle input:checked::after { transform: translateX(16px); }
.toggle span small { display: block; color: var(--ink-3); font-size: 0.88rem; }

.receipt { position: sticky; top: 96px; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.receipt-head { padding: 22px 24px 18px; background: var(--green); color: var(--green-ink); }
.receipt-head .k { font-size: 0.85rem; color: var(--green-soft); }
.receipt-head .total { font-family: var(--serif); color: var(--paper); font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.4rem); line-height: 1.15; margin-top: 4px; font-variant-numeric: tabular-nums lining-nums; }
.receipt-head .total small { font-family: var(--sans); font-size: 0.95rem; color: var(--green-ink); }
.receipt-head .per { margin-top: 6px; font-size: 0.95rem; }
.lines { list-style: none; margin: 0; padding: 6px 0; }
.lines li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 24px; font-size: 0.93rem; font-variant-numeric: tabular-nums; }
.lines li:nth-child(odd) { background: var(--band); }
.lines li span:first-child { color: var(--ink-2); }
.lines li.off { color: var(--ink-3); }
.lines li.off span:last-child { font-size: 0.85rem; }
.receipt-foot { padding: 16px 24px 22px; border-top: 1px solid var(--line); }
.receipt-foot p { font-size: 0.86rem; color: var(--ink-2); }
.receipt-foot .btn { width: 100%; margin-top: 14px; }
.flash { animation: flash .6s var(--ease); }
@keyframes flash { from { opacity: .35; } to { opacity: 1; } }
@media (max-width: 980px) { .est { grid-template-columns: 1fr; } .receipt { position: static; } }

.tbl-wrap { overflow-x: auto; margin-top: 8px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 0.97rem; min-width: 560px; }
.tbl caption { text-align: left; }
.tbl th, .tbl td { text-align: left; padding: 13px 16px; vertical-align: top; }
.tbl thead th { font-weight: 600; font-size: 0.85rem; color: var(--ink-2); border-bottom: 1px solid var(--ink); }
.tbl tbody tr:nth-child(odd) { background: var(--band); }
.tbl td.p { white-space: nowrap; font-variant-numeric: tabular-nums; text-align: right; }
.tbl th.p { text-align: right; }
.tbl td small { display: block; color: var(--ink-3); font-size: 0.85rem; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.inc h3 { font-size: 1.25rem; margin-bottom: 12px; }
.inc ul { margin: 0; padding: 0; list-style: none; }
.inc li { padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }

/* ---------- Page rendez-vous ---------- */
.rdv { display: grid; grid-template-columns: 1fr 340px; gap: clamp(28px, 5vw, 64px); align-items: start; }
.track-steps { list-style: none; margin: 0 0 30px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: st; }
.track-steps li { counter-increment: st; font-size: 0.85rem; color: var(--ink-3); padding-top: 12px; border-top: 2px solid var(--line); transition: color .3s, border-color .4s var(--ease); }
.track-steps li::before { content: counter(st) ". "; }
.track-steps li.on { color: var(--ink); border-top-color: var(--green); font-weight: 600; }
.track-steps li.done { color: var(--ink-2); border-top-color: var(--green-soft); }
.panel { display: none; }
.panel.active { display: block; animation: panelin .5s var(--ease); }
@keyframes panelin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel h2 { font-size: clamp(1.6rem, 1.3rem + 1.1vw, 2.1rem); }
.panel > .hint { color: var(--ink-2); margin-top: 8px; margin-bottom: 24px; max-width: 60ch; }
.opts { display: grid; gap: 10px; }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.opt .box { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--sheet); transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s; }
.opt .dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-2); margin-top: 3px; position: relative; transition: border-color .2s; }
.opt .dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--green); transform: scale(0); transition: transform .3s var(--ease); }
.opt b { font-weight: 600; display: block; }
.opt small { display: block; color: var(--ink-2); font-size: 0.92rem; margin-top: 2px; }
.opt:hover .box { border-color: var(--ink-3); }
.opt input:checked + .box { border-color: var(--green); background: color-mix(in oklch, var(--band) 60%, var(--sheet)); box-shadow: inset 0 0 0 1px var(--green); }
.opt input:checked + .box .dot { border-color: var(--green); }
.opt input:checked + .box .dot::after { transform: scale(1); }
.opt input:focus-visible + .box { outline: 2px solid var(--green); outline-offset: 2px; }
.opts.row { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 640px) { .opts.row { grid-template-columns: 1fr; } }

.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label { font-weight: 500; font-size: 0.95rem; }
.field label small { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--sheet); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; line-height: 1.5; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-3); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in oklch, var(--green) 18%, transparent); }
.field .err { display: none; color: var(--red); font-size: 0.88rem; }
.field.bad input { border-color: var(--red); }
.field.bad .err { display: block; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } }

.days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 22px; }
.day { border: 1px solid var(--line-2); background: var(--sheet); border-radius: 6px; padding: 10px 6px; cursor: pointer; text-align: center; line-height: 1.25; transition: border-color .2s, background .2s, color .2s; }
.day .dw { font-size: 0.78rem; color: var(--ink-3); display: block; }
.day .dn { font-family: var(--serif); font-size: 1.35rem; display: block; font-variant-numeric: lining-nums; }
.day .dm { font-size: 0.78rem; color: var(--ink-2); display: block; }
.day:hover { border-color: var(--ink-3); }
.day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.day[aria-pressed="true"] .dw, .day[aria-pressed="true"] .dm { color: var(--line); }
.day.full { opacity: .45; cursor: not-allowed; }
.day.full .dm::after { content: " · complet"; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; min-height: 48px; }
.slot { min-height: 44px; min-width: 84px; padding: 0 14px; border: 1px solid var(--line-2); background: var(--sheet); border-radius: 999px; cursor: pointer; font-variant-numeric: tabular-nums; transition: border-color .2s, background .2s, color .2s; }
.slot:hover { border-color: var(--ink-3); }
.slot[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--paper); }
.slot[disabled] { text-decoration: line-through; color: var(--ink-3); cursor: not-allowed; background: transparent; }
.nav-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.back { background: none; border: 0; color: var(--ink-2); cursor: pointer; padding: 10px 0; font-size: 0.95rem; }
.back:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.rdv-aside { position: sticky; top: 96px; border-top: 1px solid var(--ink); padding-top: 20px; }
.host { display: flex; gap: 14px; align-items: center; }
.host-faces { display: flex; flex: none; }
.host-faces img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper); transition: opacity .35s var(--ease), width .45s var(--ease), margin .45s var(--ease); }
.host-faces img + img { margin-left: -14px; }
.host-faces img.off { width: 0; opacity: 0; margin: 0; border-width: 0; }
.host-faces:has(img.off) img:not(.off) { width: 64px; height: 64px; }
.host b { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; display: block; }
.host span { font-size: 0.88rem; color: var(--ink-3); }
.recap { list-style: none; margin: 22px 0 0; padding: 0; font-size: 0.93rem; }
.recap li { display: grid; grid-template-columns: 92px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.recap li span:first-child { color: var(--ink-3); }
.recap li .empty { color: var(--ink-3); }
.aside-note { margin-top: 20px; font-size: 0.86rem; color: var(--ink-2); }
@media (max-width: 960px) { .rdv { grid-template-columns: 1fr; } .rdv-aside { position: static; order: -1; } .rdv-aside .recap, .rdv-aside .aside-note { display: none; } }
@media (max-width: 560px) { .track-steps li { font-size: 0; } .track-steps li::before { font-size: 0.85rem; } .track-steps li.on { font-size: 0.85rem; } .track-steps { grid-template-columns: auto auto auto 1fr; } .track-steps li.on::before { content: counter(st) ". "; } .days { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; } .day .dn { font-size: 1.15rem; } .day .dm { font-size: 0.7rem; } }

.done-box { border: 1px solid var(--line); background: var(--sheet); border-radius: 6px; padding: clamp(24px, 4vw, 40px); }
.done-box .check { width: 48px; height: 48px; border-radius: 50%; background: var(--green); display: grid; place-items: center; margin-bottom: 20px; }
.done-box .check svg { width: 22px; height: 22px; stroke: var(--paper); stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .6s .2s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.bring { margin: 22px 0 0; padding: 0; list-style: none; }
.bring li { padding: 11px 0 11px 30px; border-top: 1px solid var(--line); position: relative; color: var(--ink-2); }
.bring li::before { content: ""; position: absolute; left: 4px; top: 19px; width: 12px; height: 7px; border-left: 1.5px solid var(--green); border-bottom: 1.5px solid var(--green); transform: rotate(-45deg); }
.done-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0ms !important; transition-duration: 0.001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  [data-rise], .reveal, .rows li { opacity: 1 !important; transform: none !important; }
}
@media (max-width: 620px) {
  .v-ledger div { grid-template-columns: 44px 1fr auto 18px; gap: 8px; padding: 9px 10px; font-size: 0.8rem; }
  .v-ledger div span:nth-child(2) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

@media (max-width: 640px) {
  .tbl { min-width: 0; }
  .tbl thead { display: none; }
  .tbl tr { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "m p" "d d"; gap: 2px 16px; padding: 14px 14px; }
  .tbl td { padding: 0; }
  .tbl td.m { grid-area: m; font-weight: 600; }
  .tbl td.p { grid-area: p; }
  .tbl td.d { grid-area: d; color: var(--ink-2); font-size: 0.93rem; }
}
